diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 98eab505536cd9ea61d73e2c89245718f7749144..2747eaeb4ecc5c800e0062fdc1a869bb6fc22c52 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -610,6 +610,14 @@ Added non parallel-safe :func:`~contextlib.chdir` context manager to change the current working directory and then restore it on exit. Simple wrapper around :func:`~os.chdir`. (Contributed by Filipe LaĆns in :issue:`25625`) +dataclasses +----------- + +* Change field default mutability check, allowing only defaults which are + :term:`hashable` instead of any object which is not an instance of + :class:`dict`, :class:`list` or :class:`set`. (Contributed by Eric V. Smith in + :issue:`44674`.) + datetime --------