Skip to content
Snippets Groups Projects
Unverified Commit 3e6f19b9 authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by Pablo Galindo
Browse files

Add dataclass field default change to 3.11 what's new (GH-96790)



Co-authored-by: default avatarHugo van Kemenade <hugovk@users.noreply.github.com>
(cherry picked from commit 4995f5f9)

Co-authored-by: default avatarLaurie O <laurie_opperman@hotmail.com>
parent 6cce942b
Branches
Tags
No related merge requests found
......@@ -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
--------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment