cpython/Lib
Ethan Furman 5efb1a77e7
[3.8] bpo-39728: Enum: fix duplicate `ValueError` (GH-22277) (GH-22283)
fix default `_missing_` to return `None` instead of raising a `ValueError`
Co-authored-by: Andrey Darascheka <andrei.daraschenka@leverx.com>.
(cherry picked from commit c95ad7a91f)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
2020-09-16 17:38:14 -07:00
..
asyncio bpo-39651: Fix asyncio proactor _write_to_self() (GH-22197) 2020-09-12 00:09:54 -07:00
collections Expand the implementation comments (GH-19699) (GH-19701) 2020-04-24 03:04:41 -07:00
concurrent Fix typo in Lib/concurrent/futures/thread.py (GH-13953) 2019-06-15 05:02:34 -07:00
ctypes bpo-40795: ctypes calls unraisablehook with an exception (GH-20452) 2020-05-27 15:56:36 -07:00
curses bpo-36542: Allow to overwrite the signature for Python functions. (GH-12705) 2019-05-06 22:40:27 +03:00
dbm bpo-36232: Improve error message on dbm.open() when the db doesn't exist (GH-12060) 2019-04-29 16:23:28 -07:00
distutils [3.8] bpo-41043: Escape literal part of the path for glob(). (GH-20994). (GH-21277) 2020-07-02 10:05:35 +03:00
email bpo-40597: Allow email.contextmanager set_content() to set a null string. (GH-20542) 2020-07-08 14:18:38 -07:00
encodings bpo-30566: Fix IndexError when using punycode codec (GH-18632) 2020-02-25 06:42:39 +03:00
ensurepip bpo-41490: Update ensurepip to install pip 20.2.1 and setuptools 49.2.1 (GH-21775) 2020-08-07 23:10:32 +01:00
html
http bpo-39603: Prevent header injection in http methods (GH-18485) 2020-07-18 13:39:12 -07:00
idlelib Update idlelib/help.html to current IDLE doc (GH-22181) 2020-09-09 16:10:09 -07:00
importlib bpo-39595: Improve zipfile.Path performance (GH-18406) (GH-18472) 2020-02-11 22:21:32 -05:00
json [3.8] bpo-39828: Fix json.tool to catch BrokenPipeError (GH-18779). (GH-18894) 2020-03-10 01:14:08 -07:00
lib2to3 lib2to3: Support named assignment expressions (GH-12702) 2020-04-02 16:03:09 -07:00
logging [3.8] bpo-41503: Fix race between setTarget and flush in logging.handlers.MemoryHandler (GH-21765) (GH-21898) 2020-08-16 09:27:01 -07:00
msilib bpo-12639: msilib.Directory.start_component() fails if *keyfile* is not None (GH-13688) 2019-05-31 09:43:13 -07:00
multiprocessing bpo-41344: Raise ValueError when creating shared memory of size 0 (GH-21556) (GH-22019) 2020-08-30 20:42:27 +01:00
pydoc_data Python 3.8.6rc1 2020-09-07 17:52:19 +02:00
site-packages
sqlite3 bpo-40784: Fix sqlite3 deterministic test (GH-20448) 2020-05-29 05:46:34 -07:00
test [3.8] bpo-39728: Enum: fix duplicate `ValueError` (GH-22277) (GH-22283) 2020-09-16 17:38:14 -07:00
tkinter bpo-41384: Raise TclError in tkinter.OptionMenu (GH-21601) 2020-07-26 22:14:49 -04:00
turtledemo [3.8] bpo-40431: Fix syntax typo in turtledemo (GH-19777) (#19784) 2020-04-28 23:11:18 -04:00
unittest bpo-29620: iterate over a copy of sys.modules (GH-4800) (GH-20816) 2020-06-11 14:31:46 -04:00
urllib bpo-39503: CVE-2020-8492: Fix AbstractBasicAuthHandler (GH-18284) (GH-19296) 2020-04-02 12:15:55 +02:00
venv [3.8] venv: Update Aspen URL in 'activate' script comment (GH-21797) 2020-08-19 12:34:50 -07:00
wsgiref bpo-8138: Initialize wsgiref's SimpleServer as single-threaded (GH-12977) 2019-05-24 20:24:42 +03:00
xml bpo-36831: Do not apply default namespace to unprefixed attributes in ElementPath. (#13201) 2019-05-09 07:22:47 +02:00
xmlrpc bpo-38243, xmlrpc.server: Escape the server_title (GH-16373) 2019-09-27 13:19:41 -07:00
__future__.py bpo-41314: fixed annotations __future__ version (GH-21616) 2020-07-25 15:00:17 -07:00
__phello__.foo.py
_bootlocale.py
_collections_abc.py bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) 2019-06-01 11:00:15 +03:00
_compat_pickle.py [3.8] bpo-37757: Disallow PEP 572 cases that expose implementation details (GH-15491) 2019-08-26 00:41:47 +10:00
_compression.py
_dummy_thread.py bpo-36688: Adding an implementation of RLock in _dummy_thread (GH-12943) 2019-06-17 01:34:27 -07:00
_markupbase.py
_osx_support.py bpo-38360: macOS: support alternate form of -isysroot flag (GH-16480) 2020-04-22 10:13:47 -07:00
_py_abc.py bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) 2019-06-01 11:00:15 +03:00
_pydecimal.py [3.8] bpo-39794: Add --without-decimal-contextvar (GH-18702) 2020-02-29 22:16:32 +01:00
_pyio.py [3.8] closes bpo-27805: Ignore ESPIPE in initializing seek of append-mode files. (GH-17136) 2019-11-12 15:54:19 -08:00
_sitebuiltins.py
_strptime.py
_threading_local.py bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) 2019-06-01 11:00:15 +03:00
_weakrefset.py bpo-36949: Implement __repr__ on WeakSet (GH-13415) 2019-05-20 10:01:07 -07:00
abc.py bpo-35609: Remove examples for deprecated decorators in the abc module. (GH-11355) 2018-12-31 09:56:21 +02:00
aifc.py
antigravity.py
argparse.py [3.8] bpo-39546: argparse: Honor allow_abbrev=False for specified prefix_chars (GH-18337) (GH-18543) 2020-02-18 03:14:07 -08:00
ast.py [3.8] bpo-40726: handle uninitalized end_lineno on ast.increment_lineno (GH-21745) 2020-08-05 11:37:19 -07:00
asynchat.py
asyncore.py bpo-36793: Remove unneeded __str__ definitions. (GH-13081) 2019-05-06 22:29:40 +03:00
base64.py bpo-39055: Reject a trailing \n in base64.b64decode() with validate=True. (GH-17616) 2020-01-05 04:36:48 -08:00
bdb.py bpo-39649: Remove obsolete check for `__args__` in bdb.Bdb.format_stack_entry (GH-18531) 2020-02-23 19:33:07 -08:00
binhex.py
bisect.py remove duplicate code in biscet (GH-1270) 2019-04-08 17:01:09 +09:00
bz2.py bpo-35128: Fix spacing issues in warning.warn() messages. (GH-10268) 2018-11-01 12:33:35 +02:00
cProfile.py bpo-36542: Allow to overwrite the signature for Python functions. (GH-12705) 2019-05-06 22:40:27 +03:00
calendar.py bpo-28292: Mark calendar.py helper functions as private. (GH-15113) (GH-15116) 2019-08-04 13:34:56 -07:00
cgi.py bpo-34226: fix cgi.parse_multipart without content_length (GH-8530) 2020-06-15 08:51:35 -07:00
cgitb.py
chunk.py
cmd.py
code.py Fix documentation in code.py (GH-17988) 2020-01-14 12:13:59 -08:00
codecs.py bpo-38971: Open file in codecs.open() closes if exception raised. (GH-17666) 2020-03-02 00:03:08 -08:00
codeop.py [3.9] bpo-41520: Fix second codeop regression (GH-21848) 2020-08-13 11:38:55 -07:00
colorsys.py
compileall.py bpo-39769: Fix compileall ddir for subpkgs. (GH-18676) (GH-18718) 2020-03-01 10:42:56 -08:00
configparser.py fix typo in configparser doc (GH-12154) 2019-03-03 18:23:19 -08:00
contextlib.py bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) 2019-06-01 11:00:15 +03:00
contextvars.py
copy.py bpo-38293: Allow shallow and deep copying of property objects (GH-16438) 2020-01-12 10:04:18 -08:00
copyreg.py bpo-33138: Change standard error message for non-pickleable and non-copyable types. (GH-6239) 2018-10-31 02:28:07 +02:00
crypt.py bpo-25172: Raise appropriate ImportError msg when crypt module used on Windows (GH-15149) 2019-08-13 14:27:14 -07:00
csv.py bpo-27497: Add return value to csv.DictWriter.writeheader (GH-12306) 2019-05-10 03:50:11 +02:00
dataclasses.py Fix typo in dataclasses module (GH-21109) (#21111) 2020-06-24 07:14:10 -04:00
datetime.py bpo-37642: Update acceptable offsets in timezone (GH-14878) (#15227) 2019-08-15 15:08:57 -04:00
decimal.py
difflib.py [3.8] bpo-38738: Fix formatting of True and False. (GH-17083) (GH-17125) 2019-11-12 18:54:10 +02:00
dis.py bpo-41497: Fix potential UnicodeDecodeError in dis CLI (GH-21757) 2020-08-07 20:21:33 -07:00
doctest.py bpo-1812: Fix newline conversion when doctest.testfile loads from a package whose loader has a get_data method (GH-17385) 2020-03-26 09:18:52 -07:00
dummy_threading.py
enum.py [3.8] bpo-39728: Enum: fix duplicate `ValueError` (GH-22277) (GH-22283) 2020-09-16 17:38:14 -07:00
filecmp.py
fileinput.py bpo-37014: Update docstring and Documentation of fileinput.FileInput(). (GH-13545) 2019-06-02 23:01:49 +02:00
fnmatch.py
formatter.py
fractions.py bpo-39274: Ensure Fraction.__bool__() returns a bool (GH-18017) 2020-02-06 07:13:38 -08:00
ftplib.py bpo-37390: Add audit event table to documentations (GH-14406) 2019-06-27 11:07:16 -07:00
functools.py [3.8] bpo-39815: add cached_property to all (GH-18726) (GH-18728) 2020-03-02 00:08:29 +00:00
genericpath.py bpo-38807: Add os.PathLike to exception message raised by _check_arg_types (GH-17160) (GH-17249) 2019-11-18 22:46:10 -08:00
getopt.py
getpass.py
gettext.py bpo-36239: Skip comments in gettext infos (GH-12255) 2019-05-09 16:22:15 +02:00
glob.py bpo-38149: Call sys.audit() only once per call for glob.glob(). (GH-18360) 2020-02-06 00:45:18 -08:00
gzip.py bpo-39389: gzip: fix compression level metadata (GH-18077) 2020-01-21 03:42:49 -08:00
hashlib.py [3.8] bpo-38153: Normalize hashlib algorithm names (GH-16083) (GH-16144) 2019-09-16 14:08:55 +02:00
heapq.py bpo-29984: Improve 'heapq' test coverage (GH-992) 2019-05-31 21:13:57 -07:00
hmac.py bpo-33604: Raise TypeError on missing hmac arg. (GH-16805) 2019-10-17 20:48:42 -07:00
imaplib.py bpo-37390: Add audit event table to documentations (GH-14406) 2019-06-27 11:07:16 -07:00
imghdr.py [3.8] bpo-41043: Escape literal part of the path for glob(). (GH-20994). (GH-21277) 2020-07-02 10:05:35 +03:00
imp.py
inspect.py bpo-13487: Use sys.modules.copy() in inspect.getmodule() for thread safety. (GH-18786) 2020-03-04 17:04:38 -08:00
io.py bpo-36842: Implement PEP 578 (GH-12613) 2019-05-23 08:45:22 -07:00
ipaddress.py bpo-41482: Fix error in ipaddress.IPv4Network docstring (GH-21736) 2020-08-05 14:43:16 -07:00
keyword.py bpo-36143: Regenerate Lib/keyword.py from the Grammar and Tokens file using pgen (GH-12456) 2019-03-25 22:01:12 +00:00
linecache.py [3.8] bpo-25872: Fix KeyError in linecache when multithreaded (GH-18007) (GH-20092) 2020-05-29 04:59:44 -07:00
locale.py bpo-18378: Recognize "UTF-8" as a valid name in locale._parse_localename (GH-14736) 2019-08-28 21:56:00 -07:00
lzma.py
mailbox.py bpo-31522: mailbox.get_string: pass `from_` parameter to `get_bytes` (#9857) 2018-10-18 20:21:47 -04:00
mailcap.py
mimetypes.py bpo-41048: mimetypes should read the rule file using UTF-8, not the locale encoding (GH-20998) 2020-06-29 05:07:41 -07:00
modulefinder.py bpo-40260: Remove unnecessary newline in compile() call (GH-19641) 2020-04-22 12:05:10 -07:00
netrc.py
nntplib.py bpo-39242: Updated the Gmane domain into news.gmane.io (GH-17903) 2020-01-08 07:48:33 -08:00
ntpath.py bpo-38453: Ensure ntpath.realpath correctly resolves relative paths (GH-16967) 2019-11-15 15:25:03 -08:00
nturl2path.py
numbers.py
opcode.py
operator.py bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) 2019-06-01 11:00:15 +03:00
optparse.py
os.py [3.8] bpo-38878: Fix os.PathLike __subclasshook__ (GH-17336) (GH-17684) 2019-12-23 18:31:00 +00:00
pathlib.py bpo-33660: Fix PosixPath to resolve a relative path on root (GH-21975) 2020-08-27 02:47:10 +02:00
pdb.py bpo-41609: Fix output of pdb's whatis command for instance methods (GH-21935) (#21976) 2020-08-27 03:17:05 +02:00
pickle.py bpo-40327: Improve atomicity, speed, and memory efficiency of the items() loop (GH-19628) 2020-05-22 15:22:51 -07:00
pickletools.py bpo-36785: PEP 574 implementation (GH-7076) 2019-05-26 17:10:09 +02:00
pipes.py
pkgutil.py
platform.py bpo-40459: Fix NameError in platform.py (GH-19855) 2020-05-04 19:51:48 -07:00
plistlib.py Clarify that plistlib's load and dump functions take a binary file object (GH-9825) 2019-07-14 02:25:43 -07:00
poplib.py bpo-37390: Add audit event table to documentations (GH-14406) 2019-06-27 11:07:16 -07:00
posixpath.py bpo-35755: Remove current directory from posixpath.defpath (GH-11586) 2019-04-17 17:05:30 +02:00
pprint.py bpo-30670: Add pp function to the pprint module (GH-11769) 2019-03-22 10:22:20 -07:00
profile.py bpo-36542: Allow to overwrite the signature for Python functions. (GH-12705) 2019-05-06 22:40:27 +03:00
pstats.py Fix typos in docs and docstrings (GH-13745) 2019-06-03 01:12:33 +02:00
pty.py bpo-39184: Add audit events to command execution functions in os and pty modules (GH-17824) 2020-02-04 16:32:32 -08:00
py_compile.py bpo-38731: Fix NameError in command-line interface of py_compile (GH-21617) 2020-07-26 00:03:50 +03:00
pyclbr.py Fix typos in docs and docstrings (GH-13745) 2019-06-03 01:12:33 +02:00
pydoc.py bpo-21016: pydoc and trace use sysconfig (GH-18476) 2020-02-12 04:32:52 -08:00
queue.py bpo-37394: Fix pure Python implementation of the queue module (GH-14351) 2019-06-24 19:14:37 -07:00
quopri.py
random.py bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) 2019-06-01 11:00:15 +03:00
re.py bpo-40016: re docstring: Clarify relationship of inline and argument flags (GH-19078) 2020-03-25 12:01:31 -07:00
reprlib.py
rlcompleter.py
runpy.py bpo-39517: Allow runpy.run_path() to accept path-like objects (GH-18699) 2020-03-08 13:59:59 -07:00
sched.py
secrets.py
selectors.py
shelve.py
shlex.py Add docstring for shlex.split (GH-16740) (GH-17013) 2019-10-31 12:50:04 +00:00
shutil.py bpo-39184: Add audit events to functions in `fcntl`, `msvcrt`, `os`, `resource`, `shutil`, `signal`, `syslog` (GH-18407) 2020-02-13 08:30:27 +00:00
signal.py
site.py bpo-41193: Ignore OSError in readline write_history() (GH-21279) 2020-07-02 04:02:08 -07:00
smtpd.py
smtplib.py bpo-38341: Add SMTPNotSupportedError in the exports of smtplib (GH-16525) 2019-10-12 09:08:24 -07:00
sndhdr.py [3.8] bpo-41043: Escape literal part of the path for glob(). (GH-20994). (GH-21277) 2020-07-02 10:05:35 +03:00
socket.py Fix host in address of socket.create_server example. (GH-17706) 2020-01-10 21:39:01 -08:00
socketserver.py Fix typo in Lib/socketserver.py (GH-17024) 2019-11-16 10:35:08 -08:00
sre_compile.py Simplify flags checks in sre_compile.py. (GH-9718) 2018-10-05 20:53:45 +03:00
sre_constants.py bpo-36793: Remove unneeded __str__ definitions. (GH-13081) 2019-05-06 22:29:40 +03:00
sre_parse.py bpo-37723: Fix performance regression on regular expression parsing. (GH-15030) 2019-07-31 13:22:09 -07:00
ssl.py bpo-37463: match_hostname requires quad-dotted IPv4 (GH-14499) 2019-07-02 14:06:18 -07:00
stat.py bpo-38109: Add missing constants to Lib/stat.py (GH-16665) (GH-16690) 2019-10-10 15:50:32 +02:00
statistics.py bpo-40855: Fix ignored mu and xbar parameters (GH-20835) (GH-20863) 2020-06-13 16:57:17 -07:00
string.py bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) 2019-06-01 11:00:15 +03:00
stringprep.py
struct.py
subprocess.py [3.8] bpo-35182: fix communicate() crash after child closes its pipes (GH-18117) (GH-18148) 2020-01-23 15:31:29 -08:00
sunau.py
symbol.py bpo-35766: Merge typed_ast back into CPython (GH-11645) 2019-01-31 12:40:27 +01:00
symtable.py bpo-40196: Fix a bug in the symtable when reporting inspecting global variables (GH-19391) (GH-19394) 2020-04-06 17:41:55 +01:00
sysconfig.py [3.8] bpo-38234: Backport init path config changes from master (GH-16423) 2019-09-26 16:17:34 +02:00
tabnanny.py
tarfile.py [3.8] bpo-39017: Avoid infinite loop in the tarfile module (GH-21454) (GH-21483) 2020-07-15 05:30:53 -07:00
telnetlib.py bpo-37363: Add audit events for a range of modules (GH-14301) 2019-06-24 09:09:47 -07:00
tempfile.py bpo-41410: Fix outdated info in mkstemp docs (GH-21701) 2020-08-13 18:51:21 -07:00
textwrap.py bpo-30754: Document textwrap.dedent blank line behavior. (GH-14469) 2019-06-29 21:40:41 -07:00
this.py
threading.py bpo-40089: Fix threading._after_fork() (GH-19191) (GH-19194) 2020-04-07 23:35:52 +02:00
timeit.py bpo-40419: timeit CLI docs now mention 1,2,5,10,... trials instead of powers of 10 (GH-19752) 2020-05-02 09:29:51 -07:00
token.py bpo-35975: Support parsing earlier minor versions of Python 3 (GH-12086) 2019-03-07 12:38:08 -08:00
tokenize.py bpo-5028: Fix up rest of documentation for tokenize documenting line (GH-13686) 2019-05-30 15:06:32 -07:00
trace.py [3.8] bpo-41138: Fix trace CLI for non-UTF-8 files. (GH-21177) (GH-21200) 2020-06-28 17:30:08 +03:00
traceback.py Fix typo in Lib/tracepack.py (GH-19605) 2020-04-19 19:36:03 -07:00
tracemalloc.py
tty.py
turtle.py bpo-41720: Add "return NotImplemented" in turtle.Vec2D.__rmul__(). (GH-22092) 2020-09-07 09:28:04 -07:00
types.py bpo-37032: Add CodeType.replace() method (GH-13542) 2019-05-24 23:57:23 +02:00
typing.py [3.8] Fix typo in typing.py (GH-22121) (GH-22158) 2020-09-08 16:28:02 -07:00
uu.py bpo-38945: UU Encoding: Don't let newline in filename corrupt the output format (GH-17418) 2019-12-02 14:44:44 -08:00
uuid.py bpo-41364: Reduce import overhead of uuid module (GH-21586) 2020-07-22 12:26:37 +01:00
warnings.py bpo-39056: Fix handling invalid warning category in the -W option. (GH-17618) 2020-01-05 04:33:08 -08:00
wave.py Fix a typo in wave module docstring (GH-17009) 2019-11-04 21:09:48 -08:00
weakref.py bpo-38006: Avoid closure in weakref.WeakValueDictionary (GH-15641) 2019-09-09 09:24:16 -07:00
webbrowser.py [3.8] bpo-41043: Escape literal part of the path for glob(). (GH-20994). (GH-21277) 2020-07-02 10:05:35 +03:00
xdrlib.py
zipapp.py
zipfile.py bpo-41068: Fix read after write in zipfile for non-ASCII files names. (GH-21040) 2020-06-22 01:40:05 -07:00
zipimport.py [3.8] bpo-39033: Fix NameError in zipimport during hash validation (GH-17588) (GH-17642) 2020-01-14 03:39:19 -08:00