Skip to content
Branch: master
Find file History

Latest commit

cjerdonek bpo-29587: Update gen.throw() to chain exceptions (#19823)
Before this commit, if an exception was active inside a generator
when calling gen.throw(), that exception was lost (i.e. there was
no implicit exception chaining).  This commit fixes that by
setting exc.__context__ when calling gen.throw(exc).
Latest commit 0204726 May 2, 2020

Files

Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
asyncio bpo-40443: Remove unused imports in the stdlib (GH-19803) Apr 30, 2020
collections Expand the implementation comments (GH-19699) Apr 24, 2020
concurrent bpo-40443: Remove unused imports in the stdlib (GH-19803) Apr 30, 2020
ctypes bpo-40443: Remove unused imports in the stdlib (GH-19803) Apr 30, 2020
curses [3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (G… Jun 5, 2019
dbm bpo-36232: Improve error message on dbm.open() when the db doesn't ex… Apr 29, 2019
distutils bpo-40443: Remove unused imports in distutils (GH-19802) Apr 30, 2020
email bpo-39073: validate Address parts to disallow CRLF (#19007) Mar 30, 2020
encodings bpo-30566: Fix IndexError when using punycode codec (GH-18632) Feb 25, 2020
ensurepip bpo-38662: ensurepip invokes pip via runpy (GH-18901) Mar 10, 2020
html bpo-37328: remove deprecated HTMLParser.unescape (GH-14186) Aug 27, 2019
http bpo-39481: PEP 585 for a variety of modules (GH-19423) Apr 10, 2020
idlelib bpo-40443: Remove unused imports in idlelib (GH-19801) Apr 30, 2020
importlib bpo-40443: Remove unused imports in stdlib (GH-19815) May 1, 2020
json bpo-39828: Fix json.tool to catch BrokenPipeError (GH-18779) Mar 10, 2020
lib2to3 bpo-40360: Deprecate lib2to3 module in light of PEP 617 (GH-19663) Apr 24, 2020
logging bpo-40300: Allow empty logging.Formatter.default_msec_format. (GH-19551) Apr 17, 2020
msilib Remove binding of captured exceptions when not used to reduce the cha… Nov 19, 2019
multiprocessing bpo-40443: Remove unused imports in stdlib (GH-19815) May 1, 2020
pydoc_data Python 3.9.0a6 Apr 27, 2020
site-packages Issue #29283: Delete accidentally added Lib/site-packages/README Jan 30, 2017
sqlite3 bpo-39652: Truncate the column name after '[' only if PARSE_COLNAMES … Mar 21, 2020
test bpo-29587: Update gen.throw() to chain exceptions (#19823) May 2, 2020
tkinter bpo-39152: add missing ttk.Scale.configure return value (GH-17815) Jan 5, 2020
turtledemo bpo-40431: Fix syntax typo in turtledemo (GH-19777) Apr 29, 2020
unittest bpo-40462: fix variable and function names (GH-19832) May 1, 2020
urllib bpo-39481: PEP 585 for a variety of modules (GH-19423) Apr 10, 2020
venv bpo-38972: Link to instructions to change PowerShell execution policy (… Apr 2, 2020
wsgiref bpo-8138: Initialize wsgiref's SimpleServer as single-threaded (GH-12977 May 24, 2019
xml bpo-40443: Remove unused imports in the stdlib (GH-19803) Apr 30, 2020
xmlrpc bpo-38786: Add parsing of https links to pydoc (GH-17143) Nov 13, 2019
__future__.py bpo-39562: Prevent collision of future and compiler flags (GH-19230) Apr 22, 2020
__phello__.foo.py Fix the frozen bytecode for __hello__ (betcha didn't know that existed Oct 18, 2001
_aix_support.py bpo-39936: _aix_support uses _bootsubprocess (GH-18970) Mar 12, 2020
_bootlocale.py bpo-29240: PEP 540: Add a new UTF-8 Mode (#855) Dec 13, 2017
_bootsubprocess.py bpo-40094: Add os.waitstatus_to_exitcode() (GH-19201) Apr 1, 2020
_collections_abc.py bpo-39481: Implementation for PEP 585 (#18239) Apr 7, 2020
_compat_pickle.py bpo-37757: Disallow PEP 572 cases that expose implementation details (G… Aug 25, 2019
_compression.py Issue #23529: Limit the size of decompressed data when reading from Apr 10, 2015
_markupbase.py #13576: add tests about the handling of (possibly broken) condcoms. Dec 19, 2011
_osx_support.py bpo-38360: macOS: support alternate form of -isysroot flag (GH-16480) Apr 22, 2020
_py_abc.py bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) Jun 1, 2019
_pydecimal.py bpo-39794: Add --without-decimal-contextvar (#18702) Feb 29, 2020
_pyio.py bpo-39674: Revert "bpo-37330: open() no longer accept 'U' in file mode ( Mar 4, 2020
_sitebuiltins.py #9364: Improve the text printed by help(pydoc) and help(help). Apr 19, 2014
_strptime.py Fix outdated comment in _strptime.py (GH-17929) Jan 12, 2020
_threading_local.py bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) Jun 1, 2019
_weakrefset.py bpo-39481: Make weakref and WeakSet generic (GH-19497) Apr 14, 2020
abc.py bpo-35609: Remove examples for deprecated decorators in the abc modul… Dec 31, 2018
aifc.py bpo-37320: Remove openfp() of aifc, sunau and wave (GH-14169) Jun 17, 2019
antigravity.py bpo-9216: Nobody expects the geohashing FIPS inquisition (GH-19520) Apr 14, 2020
argparse.py bpo-39546: argparse: Honor allow_abbrev=False for specified prefix_ch… Feb 18, 2020
ast.py Fix typo in exception thrown by ast.unparse (GH-19534) Apr 16, 2020
asynchat.py Remove binding of captured exceptions when not used to reduce the cha… Nov 19, 2019
asyncore.py bpo-15999: Always pass bool instead of int to socket.setblocking(). (G… Sep 1, 2019
base64.py bpo-39351: Remove base64.encodestring() (GH-18022) Jan 16, 2020
bdb.py bpo-39649: Remove obsolete check for `__args__` in bdb.Bdb.format_sta… Feb 24, 2020
binhex.py bpo-39353: binascii.crc_hqx() is no longer deprecated (GH-18276) Jan 30, 2020
bisect.py bpo-38626: Add comment explaining why __lt__ is used. (GH-16978) Oct 29, 2019
bz2.py bpo-40443: Remove unused imports in the stdlib (GH-19803) Apr 30, 2020
cProfile.py [3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (G… Jun 5, 2019
calendar.py bpo-28292: Mark calendar.py helper functions as private. (GH-15113) Aug 4, 2019
cgi.py bpo-20504 : in cgi.py, fix bug when a multipart/form-data request has… ( Sep 11, 2019
cgitb.py bpo-33311: Do not display parameters displayed in parentheses for mod… May 9, 2018
chunk.py bpo-29762: More use "raise from None". (#569) Apr 5, 2017
cmd.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) Jul 4, 2013
code.py Fix documentation in code.py (GH-17988) Jan 14, 2020
codecs.py bpo-38971: Open file in codecs.open() closes if exception raised. (GH… Mar 2, 2020
codeop.py bpo-36820: Break unnecessary cycle in socket.py, codeop.py and dyld.py ( Dec 6, 2019
colorsys.py Issue #14323: Expanded the number of digits in the coefficients for the Aug 6, 2013
compileall.py compileall: Fix typos in docstring (GH-19810) Apr 30, 2020
configparser.py fix typo in configparser doc (GH-12154) Mar 4, 2019
contextlib.py bpo-39481: Implementation for PEP 585 (#18239) Apr 7, 2020
contextvars.py bpo-32436: Implement PEP 567 (#5027) Jan 23, 2018
copy.py bpo-38293: Allow shallow and deep copying of property objects (GH-16438) Jan 12, 2020
copyreg.py bpo-33138: Change standard error message for non-pickleable and non-c… Oct 31, 2018
crypt.py closes bpo-38402: Check error of primitive crypt/crypt_r. (GH-16599) Oct 8, 2019
csv.py bpo-27497: Add return value to csv.DictWriter.writeheader (GH-12306) May 10, 2019
dataclasses.py bpo-39481: PEP 585 for dataclasses, mailbox, contextvars (GH-19425) Apr 14, 2020
datetime.py bpo-38155: Add __all__ to datetime module (GH-16203) Sep 19, 2019
decimal.py Whitespace. Sep 10, 2014
difflib.py bpo-40394 - difflib.SequenceMatched.find_longest_match default args (G… Apr 30, 2020
dis.py bpo-38115: Deal with invalid bytecode offsets in lnotab (GH-16079) Sep 28, 2019
doctest.py bpo-1812: Fix newline conversion when doctest.testfile loads from a p… Mar 26, 2020
enum.py bpo-40025: Require _generate_next_value_ to be defined before members (… Apr 28, 2020
filecmp.py bpo-39481: PEP 585 for difflib, filecmp, fileinput (#19422) Apr 10, 2020
fileinput.py bpo-39481: PEP 585 for difflib, filecmp, fileinput (#19422) Apr 10, 2020
fnmatch.py bpo-32775: Fix regular expression warnings in fnmatch. (#5583) Feb 9, 2018
formatter.py Issue #25407: Drop the mention of the formatter module being removed Oct 16, 2015
fractions.py bpo-39350: Fix fractions for int subclasses (GH-18375) Feb 7, 2020
ftplib.py bpo-39380: Change ftplib encoding from latin-1 to utf-8 (GH-18048) Apr 13, 2020
functools.py bpo-39481: Make functools.cached_property, partial, partialmethod gen… Apr 14, 2020
genericpath.py bpo-38807: Add os.PathLike to exception message raised by _check_arg_… Nov 19, 2019
getopt.py Issue #25523: Correct "a" article to "an" article Nov 2, 2015
getpass.py Remove binding of captured exceptions when not used to reduce the cha… Nov 19, 2019
gettext.py bpo-36239: Skip comments in gettext infos (GH-12255) May 9, 2019
glob.py bpo-38149: Call sys.audit() only once per call for glob.glob(). (GH-1… Feb 6, 2020
gzip.py bpo-39389: gzip: fix compression level metadata (GH-18077) Jan 21, 2020
hashlib.py bpo-38153: Normalize hashlib algorithm names (GH-16083) Sep 13, 2019
heapq.py bpo-29984: Improve 'heapq' test coverage (GH-992) Jun 1, 2019
hmac.py bpo-33604: Raise TypeError on missing hmac arg. (GH-16805) Oct 18, 2019
imaplib.py bpo-40375: Implement imaplib.IMAP4.unselect (GH-19712) Apr 27, 2020
imghdr.py Issue #28228: imghdr now supports pathlib Oct 1, 2016
imp.py bpo-39674: Revert "bpo-37330: open() no longer accept 'U' in file mode ( Mar 4, 2020
inspect.py bpo-35113: Fix inspect.getsource to return correct source for inner c… Apr 18, 2020
io.py bpo-36842: Implement PEP 578 (GH-12613) May 23, 2019
ipaddress.py bpo-39481: PEP 585 for ipaddress.py (GH-19418) Apr 10, 2020
keyword.py bpo-36143: Regenerate Lib/keyword.py from the Grammar and Tokens file… Mar 25, 2019
linecache.py Fix linecache.py add lazycache to __all__ and use dict.clear to clear… Jan 26, 2020
locale.py bpo-38536: locale: Remove trailing space in formatted currency (GH-16864 Jan 20, 2020
lzma.py Issue #28229: lzma module now supports pathlib Oct 4, 2016
mailbox.py bpo-39481: PEP 585 for dataclasses, mailbox, contextvars (GH-19425) Apr 14, 2020
mailcap.py bpo-40094: mailcap.test() uses waitstatus_to_exitcode() (GH-19287) Apr 2, 2020
mimetypes.py bpo-39299: Add more tests for mimetypes and its cli. (GH-17949) Jan 13, 2020
modulefinder.py bpo-40443: Remove unused imports in the stdlib (GH-19803) Apr 30, 2020
netrc.py bpo-28334: netrc() now uses expanduser() to find .netrc file (GH-4537) Nov 25, 2017
nntplib.py bpo-39366: Remove xpath() and xgtitle() methods of NNTP (GH-18035) Jan 22, 2020
ntpath.py bpo-38453: Ensure ntpath.realpath correctly resolves relative paths (G… Nov 15, 2019
nturl2path.py bpo-29836: Remove nturl2path from test_sundry and amend the module do… Mar 17, 2017
numbers.py Fix miscellaneous typos (#4275) Nov 5, 2017
opcode.py bpo-39320: Handle unpacking of **values in compiler (GH-18141) Jan 27, 2020
operator.py bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) Jun 1, 2019
optparse.py bpo-34605: Avoid master/slave terms (GH-9101) Sep 7, 2018
os.py bpo-39481: Implementation for PEP 585 (#18239) Apr 7, 2020
pathlib.py bpo-40148: Add PurePath.with_stem() (GH-19295) Apr 19, 2020
pdb.py bpo-38723: Pdb._runscript should use io.open_code() instead of open() (… Nov 12, 2019
pickle.py bpo-40327: Improve atomicity, speed, and memory efficiency of the ite… Apr 21, 2020
pickletools.py bpo-36785: PEP 574 implementation (GH-7076) May 26, 2019
pipes.py Merge doc changes from 3.2 (#10454, #12298) Sep 1, 2011
pkgutil.py bpo-12915: Improve Unicode support for package names and attributes. (G… Feb 28, 2020
platform.py bpo-35967 resolve platform.processor late (GH-12239) Apr 16, 2020
plistlib.py bpo-40443: Remove unused imports in the stdlib (GH-19803) Apr 30, 2020
poplib.py bpo-39259: poplib now rejects timeout = 0 (GH-17912) Jan 10, 2020
posixpath.py bpo-35755: Remove current directory from posixpath.defpath (GH-11586) Apr 17, 2019
pprint.py bpo-37376: pprint support for SimpleNamespace (GH-14318) Jun 26, 2019
profile.py [3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (G… Jun 5, 2019
pstats.py bpo-37958: Adding get_profile_dict to pstats (GH-15495) Jan 15, 2020
pty.py bpo-39184: Add audit events to command execution functions in os and … Feb 5, 2020
py_compile.py bpo-22640: Add silent mode to py_compile.compile() (GH-12976) May 28, 2019
pyclbr.py Fix typos in docs and docstrings (GH-13745) Jun 2, 2019
pydoc.py bpo-40257: Improve help for the typing module (GH-19546) Apr 18, 2020
queue.py bpo-39481: PEP 585 for a variety of modules (GH-19423) Apr 10, 2020
quopri.py bpo-15999: Clean up of handling boolean arguments. (GH-15610) Sep 1, 2019
random.py Simplify choice()'s interaction with the private _randbelow() method (G… May 1, 2020
re.py bpo-40016: re docstring: Clarify relationship of inline and argument … Mar 25, 2020
reprlib.py bpo-31370: Remove support for threads-less builds (#3385) Sep 7, 2017
rlcompleter.py Merge 3.5 Feb 4, 2016
runpy.py bpo-40108: Improve the error message in runpy when importing a module… Mar 31, 2020
sched.py bpo-31370: Remove support for threads-less builds (#3385) Sep 7, 2017
secrets.py bpo-40286: Add randbytes() method to random.Random (GH-19527) Apr 17, 2020
selectors.py bpo-29255: Wait in KqueueSelector.select when no fds are registered (G… Apr 15, 2020
shelve.py Fix misleading docsting of shelve.open(). (GH-6427) Apr 9, 2018
shlex.py bpo-33262: Deprecate passing None for `s` to shlex.split() (GH-6514) Apr 1, 2020
shutil.py bpo-39184: Add audit events to functions in `fcntl`, `msvcrt`, `os`, … Feb 13, 2020
signal.py bpo-34282: Fix Enum._convert shadowing members named _convert (GH-8568) Sep 12, 2018
site.py bpo-1294959: Add sys.platlibdir attribute (GH-18381) Mar 10, 2020
smtpd.py bpo-35800: Deprecate smtpd.MailmanProxy (GH-11675) Oct 12, 2019
smtplib.py bpo-39329: Add timeout parameter for smtplib.LMTP constructor (GH-17998) Jan 14, 2020
sndhdr.py bpo-31985: Deprecate openfp in aifc, sunau, and wave (#4344) Nov 10, 2017
socket.py Fix host in address of socket.create_server example. (GH-17706) Jan 11, 2020
socketserver.py Change 'exception happened' to 'exception occurred' in two places (#1… May 1, 2020
sre_compile.py Simplify flags checks in sre_compile.py. (GH-9718) Oct 5, 2018
sre_constants.py bpo-36793: Remove unneeded __str__ definitions. (GH-13081) May 6, 2019
sre_parse.py bpo-37723: Fix performance regression on regular expression parsing. (G… Jul 31, 2019
ssl.py bpo-40443: Remove unused imports in stdlib (GH-19815) May 1, 2020
stat.py bpo-38109: Add missing constants to Lib/stat.py (GH-16665) Oct 10, 2019
statistics.py bpo-40290: Add zscore() to statistics.NormalDist. (GH-19547) Apr 16, 2020
string.py bpo-38208: Simplify string.Template by using __init_subclass__(). (GH… Oct 21, 2019
stringprep.py Merged revisions 55007-55179 via svnmerge from May 7, 2007
struct.py Issue #17804: New function ``struct.iter_unpack`` allows for streamin… Apr 26, 2013
subprocess.py bpo-40334: Rename PyConfig.use_peg to _use_peg_parser (GH-19670) Apr 23, 2020
sunau.py bpo-37320: Remove openfp() of aifc, sunau and wave (GH-14169) Jun 17, 2019
symbol.py bpo-35766: Merge typed_ast back into CPython (GH-11645) Jan 31, 2019
symtable.py bpo-40208: Remove deprecated has_exec method of SymbolTable (GH-19396) Apr 13, 2020
sysconfig.py bpo-24916: Remove an outdated comment. (GH-19101) Mar 21, 2020
tabnanny.py bpo-30166: Import command-line parsing modules only when needed. (#1293) May 4, 2017
tarfile.py bpo-18819: tarfile: only set device fields for device files (GH-18080) Feb 12, 2020
telnetlib.py bpo-37363: Add audit events for a range of modules (GH-14301) Jun 24, 2019
tempfile.py bpo-40287: Fix SpooledTemporaryFile.seek() return value (GH-19540) Apr 17, 2020
textwrap.py bpo-30754: Document textwrap.dedent blank line behavior. (GH-14469) Jun 30, 2019
this.py Fix most trivially-findable print statements. Feb 9, 2007
threading.py bpo-40234: Revert "bpo-37266: Daemon threads are now denied in subint… Apr 12, 2020
timeit.py bpo-28240: timeit: Update repeat() doc (GH-7419) Jun 6, 2018
token.py bpo-35975: Support parsing earlier minor versions of Python 3 (GH-12086) Mar 7, 2019
tokenize.py bpo-5028: Fix up rest of documentation for tokenize documenting line (G… May 30, 2019
trace.py bpo-21016: pydoc and trace use sysconfig (GH-18476) Feb 12, 2020
traceback.py Fix typo in Lib/tracepack.py (GH-19605) Apr 20, 2020
tracemalloc.py bpo-37961, tracemalloc: add Traceback.total_nframe (GH-15545) Oct 15, 2019
tty.py final round of __all__ lists (I hope) - skipped urllib2 because Moshe… Mar 1, 2001
turtle.py Fix typos in docs and docstrings (GH-13745) Jun 2, 2019
types.py bpo-39481: Implementation for PEP 585 (#18239) Apr 7, 2020
typing.py bpo-40389: Improve repr of typing.Optional (#19714) Apr 30, 2020
uu.py bpo-38945: UU Encoding: Don't let newline in filename corrupt the out… Dec 2, 2019
uuid.py bpo-39991: Enhance uuid parser for MAC address (GH-19045) Mar 17, 2020
warnings.py bpo-39056: Fix handling invalid warning category in the -W option. (G… Jan 5, 2020
wave.py Fix a typo in wave module docstring (GH-17009) Nov 5, 2019
weakref.py bpo-36144: Add union operators to WeakValueDictionary584 (#19127) Mar 25, 2020
webbrowser.py Fix typo from base to based (GH-18055) Jan 19, 2020
xdrlib.py Issue #11694: Raise ConversionError in xdrlib as documented Oct 10, 2014
zipapp.py bpo-31638: Add compression support to zipapp (GH-3819) Sep 29, 2017
zipfile.py bpo-40443: Remove unused imports in the stdlib (GH-19803) Apr 30, 2020
zipimport.py bpo-39033: Fix NameError in zipimport during hash validation (GH-17588) Dec 15, 2019
You can’t perform that action at this time.