cpython/Lib
Miss Islington (bot) 45648312e5 bpo-32953: Dataclasses: frozen should not be inherited for non-dataclass derived classes (GH-6147) (GH-6148)
If a non-dataclass derives from a frozen dataclass, allow attributes to be set.
Require either all of the dataclasses in a class hierarchy to be frozen, or all non-frozen.
Store `@dataclass` parameters on the class object under `__dataclass_params__`. This is needed to detect frozen base classes.
(cherry picked from commit f199bc655e)

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
2018-03-18 21:03:36 -04:00
..
asyncio bpo-33037: Skip sending/receiving after SSL transport closing (GH-6044) (GH-6057) 2018-03-10 18:27:01 +02:00
collections bpo-25988: Emit a warning when use or import ABCs from 'collections'. (GH-5734) 2018-02-18 17:40:59 +00:00
concurrent bpo-33056 FIX leaking fd in concurrent.futures.ProcessPoolExecutor (GH-6084) (#6092) 2018-03-13 10:10:57 +01:00
ctypes
curses
dbm
distutils Improve error message for "setup.py upload" without dist files (GH-21060) 2018-02-18 19:57:17 -08:00
email
encodings bpo-29240: PEP 540: Add a new UTF-8 Mode (#855) 2017-12-13 12:29:09 +01:00
ensurepip Update pip to 9.0.2 and setuptools to 38.6.1 (GH-6133) (#6134) 2018-03-17 11:46:05 -04:00
html
http
idlelib bpo-32984: IDLE - set __file__ for startup files (GH-5981) 2018-03-05 08:49:15 -08:00
importlib bpo-32838: Fix Python versions in the table of magic numbers. (GH-5658) 2018-02-23 11:01:54 -08:00
json
lib2to3 Revert "bpo-30406: Make async and await proper keywords (GH-1669)" (GH-6143) 2018-03-18 12:15:52 -07:00
logging Revert unneccessary changes made in bpo-30296 and apply other improvements. (GH-2624) 2018-02-26 08:22:24 -08:00
msilib
multiprocessing bpo-31804: Fix multiprocessing.Process with broken standard streams (GH-6079) (GH-6080) 2018-03-11 19:42:37 +01:00
pydoc_data Update NEWS, docs, and patchlevel for 3.7.0b2 2018-02-27 19:49:18 -05:00
site-packages
sqlite3 bpo-27645: Fix version number in 'database in transaction' fallback (GH-6131) 2018-03-18 09:24:33 +03:00
test bpo-32953: Dataclasses: frozen should not be inherited for non-dataclass derived classes (GH-6147) (GH-6148) 2018-03-18 21:03:36 -04:00
tkinter bpo-32857: Raise error when tkinter after_cancel() is called with None. (GH-5701) 2018-03-04 04:00:33 -08:00
turtledemo
unittest [3.7] bpo-32746: Fix multiple typos (GH-5144) (GH-5520) 2018-02-03 20:41:43 -05:00
urllib Revert unneccessary changes made in bpo-30296 and apply other improvements. (GH-2624) 2018-02-26 08:22:24 -08:00
venv bpo-32409: Ensures activate.bat can handle Unicode contents (GH-5765) 2018-02-19 17:45:02 -08:00
wsgiref Remove tiny bit of deadcode from wsgiref.validate (#3996) 2017-10-31 00:07:36 -04:00
xml
xmlrpc
__future__.py
__phello__.foo.py
_bootlocale.py
_collections_abc.py
_compat_pickle.py
_compression.py
_dummy_thread.py
_markupbase.py
_osx_support.py
_py_abc.py bpo-31333: Re-implement ABCMeta in C (GH-5733) 2018-02-18 17:39:43 +00:00
_pydecimal.py
_pyio.py
_sitebuiltins.py
_strptime.py
_threading_local.py Delete a broken threading.local example (GH-5870) 2018-02-25 07:23:25 -08:00
_weakrefset.py
abc.py bpo-31333: Re-implement ABCMeta in C (GH-5733) 2018-02-18 17:39:43 +00:00
aifc.py bpo-32056: Improve exceptions in aifc, wave and sunau. (GH-5951) 2018-03-18 13:50:41 -07:00
antigravity.py
argparse.py
ast.py
asynchat.py
asyncore.py
base64.py
bdb.py
binhex.py Issue #23865: close() methods in multiple modules now are idempotent and more 2015-04-10 13:29:28 +03:00
bisect.py
bz2.py
cProfile.py
calendar.py
cgi.py
cgitb.py
chunk.py
cmd.py
code.py
codecs.py
codeop.py Merged revisions 75472 via svnmerge from 2009-10-18 00:34:08 +00:00
colorsys.py
compileall.py
configparser.py
contextlib.py bpo-30306: release arguments of contextmanager (GH-1500) 2018-01-28 14:17:46 +10:00
contextvars.py
copy.py Issue #26167: Minimized overhead in copy.copy() and copy.deepcopy(). 2016-03-06 14:56:57 +02:00
copyreg.py
crypt.py
csv.py
dataclasses.py bpo-32953: Dataclasses: frozen should not be inherited for non-dataclass derived classes (GH-6147) (GH-6148) 2018-03-18 21:03:36 -04:00
datetime.py
decimal.py
difflib.py bpo-32981: Fix catastrophic backtracking vulns (GH-5955) 2018-03-03 21:55:07 -08:00
dis.py
doctest.py
dummy_threading.py
enum.py bpo-31801: Enum: add _ignore_ as class option (#5237) 2018-01-22 07:56:37 -08:00
filecmp.py
fileinput.py
fnmatch.py
formatter.py
fractions.py
ftplib.py
functools.py
genericpath.py
getopt.py
getpass.py
gettext.py
glob.py
gzip.py
hashlib.py
heapq.py
hmac.py
imaplib.py
imghdr.py
imp.py
inspect.py bpo-33009: Fix inspect.signature() for single-parameter partialmethods. (GH-6004) 2018-03-06 10:23:48 -08:00
io.py
ipaddress.py
keyword.py
linecache.py
locale.py
lzma.py
macpath.py
mailbox.py
mailcap.py
mimetypes.py
modulefinder.py
netrc.py
nntplib.py
ntpath.py
nturl2path.py
numbers.py
opcode.py
operator.py
optparse.py Merge doc and comment fixes from 3.5 2016-04-19 23:23:16 +00:00
os.py
pathlib.py bpo-31972: Improve docstrings for pathlib classes (GH-5310) 2018-02-18 16:48:07 -08:00
pdb.py
pickle.py
pickletools.py
pipes.py
pkgutil.py
platform.py
plistlib.py
poplib.py bpo-32981: Fix catastrophic backtracking vulns (GH-5955) 2018-03-03 21:55:07 -08:00
posixpath.py
pprint.py
profile.py
pstats.py Revert unneccessary changes made in bpo-30296 and apply other improvements. (GH-2624) 2018-02-26 08:22:24 -08:00
pty.py
py_compile.py
pyclbr.py
pydoc.py
queue.py
quopri.py
random.py
re.py bpo-32338: OrderedDict import is no longer needed in re. (GH-4891) 2018-03-10 23:01:58 -08:00
reprlib.py
rlcompleter.py
runpy.py
sched.py
secrets.py
selectors.py
shelve.py
shlex.py
shutil.py
signal.py
site.py
smtpd.py
smtplib.py
sndhdr.py
socket.py
socketserver.py
sre_compile.py
sre_constants.py
sre_parse.py
ssl.py bpo-31453: Add setter for min/max protocol version (GH-5259) 2018-02-27 03:41:04 -08:00
stat.py
statistics.py
string.py
stringprep.py
struct.py
subprocess.py Revert "bpo-31961: subprocess now accepts path-like args (GH-4329)" (GH-5912) (GH-5931) 2018-02-27 18:30:30 -05:00
sunau.py bpo-32056: Improve exceptions in aifc, wave and sunau. (GH-5951) 2018-03-18 13:50:41 -07:00
symbol.py
symtable.py
sysconfig.py
tabnanny.py
tarfile.py bpo-32713: Fix tarfile.itn for large/negative float values. (GH-5434) 2018-02-26 16:50:09 -08:00
telnetlib.py
tempfile.py
textwrap.py
this.py
threading.py
timeit.py
token.py
tokenize.py
trace.py bpo-32852: Fix trace changing sys.argv to tuple. (GH-5692) 2018-02-16 22:53:24 -08:00
traceback.py
tracemalloc.py
tty.py
turtle.py Revert unneccessary changes made in bpo-30296 and apply other improvements. (GH-2624) 2018-02-26 08:22:24 -08:00
types.py
typing.py
uu.py
uuid.py bpo-32370: Use the correct encoding for ipconfig output in the uuid module. (GH-5608) 2018-02-13 00:58:28 -08:00
warnings.py
wave.py bpo-32056: Improve exceptions in aifc, wave and sunau. (GH-5951) 2018-03-18 13:50:41 -07:00
weakref.py
webbrowser.py
xdrlib.py
zipapp.py
zipfile.py