cpython/Lib
Miss Islington (bot) fbf7aac36b
bpo-18533: Avoid RecursionError from repr() of recursive dictview (GH-4823)
dictview_repr(): Use a Py_ReprEnter() / Py_ReprLeave() pair to check
for recursion, and produce "..." if so.

test_recursive_repr(): Check for the string rather than a
RecursionError.  (Test cannot be any tighter as contents are
implementation-dependent.)

test_deeply_nested_repr(): Add new test, replacing the original
test_recursive_repr().  It checks that a RecursionError is raised in
the case of a non-recursive but deeply nested structure.  (Very
similar to what test_repr_deep() in test/test_dict.py does for a
normal dict.)

OrderedDictTests: Add new test case, to test behavior on OrderedDict
instances containing their own values() or items().
(cherry picked from commit d7773d92bd)
2018-02-26 06:42:00 -08:00
..
asyncio bpo-32841: Fix cancellation in awaiting asyncio.Condition (GH-5665) (GH-5683) 2018-02-14 12:10:18 +02:00
collections Backport docstring improvements to OrderedDict. (GH-3470) 2017-09-10 18:11:18 -07:00
concurrent [3.6] bpo-31641: Allow arbitrary iterables in `concurrent.futures.as_completed()` (GH-3830) (#3831) 2017-09-29 15:07:01 -07:00
ctypes [3.6] bpo-32297: Fix misspellings in Python source code comments (GH-4803) (#4864) 2017-12-14 16:19:51 +02:00
curses Issue #13051: Fixed recursion errors in large or resized curses.textpad.Textbox. 2016-12-28 10:16:06 +02:00
dbm Issue #28847: dbm.dumb now supports reading read-only files and no longer 2016-12-07 11:00:06 +02:00
distutils Improve error message for "setup.py upload" without dist files (GH-21060) 2018-02-18 20:14:27 -08:00
email [3.6] bpo-32746: Fix multiple typos (GH-5144) (GH-5522) 2018-02-03 21:00:24 -05:00
encodings
ensurepip bpo-31351: Set return code in ensurepip when pip fails (GH-3626) (GH-3683) 2017-09-22 06:45:37 -07:00
html
http [3.6] bpo-32297: Fix misspellings in Python source code comments (GH-4803) (#4864) 2017-12-14 16:19:51 +02:00
idlelib bpo-32916: IDLE: Change `str` to `code` in pyparse (GH-5830) 2018-02-23 19:16:00 -08:00
importlib [3.6] bpo-32303 - Consistency fixes for namespace loaders (GH-5481) (#5504) 2018-02-02 23:21:14 -05:00
json [3.6] Fix trivial typo in json module docstring (GH-2274) (#2430) 2017-06-30 21:15:18 -04:00
lib2to3 [3.6] compare with difflib not diff(1) (GH-5450) (GH-5453) 2018-01-30 11:31:10 -08:00
logging bpo-30904: Removed duplicated Host: header. (GH-4465) (#4468) 2017-11-19 19:16:17 +00:00
msilib
multiprocessing [3.6] bpo-31310: multiprocessing's semaphore tracker should be launched again if crashed (GH-3247) (#4254) 2017-11-03 14:58:37 +01:00
pydoc_data Update NEWS and pydoc topics. 2017-12-05 03:17:05 -05:00
site-packages Issue #29283: Delete accidentally added Lib/site-packages/README 2017-01-30 13:55:49 +03:00
sqlite3 bpo-31764: Prevent a crash in sqlite3.Cursor.close() in case the Cursor object is uninitialized (GH-3958) (#4303) 2017-11-06 16:45:19 -08:00
test bpo-18533: Avoid RecursionError from repr() of recursive dictview (GH-4823) 2018-02-26 06:42:00 -08:00
tkinter [3.6] bpo-32297: Fix misspellings in Python source code comments (GH-4803) (#4864) 2017-12-14 16:19:51 +02:00
turtledemo [3.6] bpo-32297: Fix misspellings in Python source code comments (GH-4803) (#4864) 2017-12-14 16:19:51 +02:00
unittest [3.6] bpo-32746: Fix multiple typos (GH-5144) (GH-5522) 2018-02-03 21:00:24 -05:00
urllib bpo-32323: urllib.parse.urlsplit() must not lowercase() IPv6 scope value (GH-4867) (#4959) 2017-12-21 14:54:45 +02:00
venv bpo-32409: Ensures activate.bat can handle Unicode contents (GH-5766) 2018-02-19 18:18:43 -08:00
wsgiref
xml [3.6] bpo-32297: Fix misspellings in Python source code comments (GH-4803) (#4864) 2017-12-14 16:19:51 +02:00
xmlrpc [3.6] bpo-32297: Fix misspellings in Python source code comments (GH-4803) (#4864) 2017-12-14 16:19:51 +02:00
__future__.py
__phello__.foo.py
_bootlocale.py
_collections_abc.py bpo-31942: Document optional support of start and stop attributes in Sequence.index method (GH-4277) (#4811) 2017-12-12 11:58:26 +01:00
_compat_pickle.py
_compression.py
_dummy_thread.py
_markupbase.py
_osx_support.py Fix misplaced positional argument in OS X support library (#1137) 2017-04-14 17:44:34 +03:00
_pydecimal.py
_pyio.py Merge from 3.5. 2016-12-07 13:31:47 +02:00
_sitebuiltins.py
_strptime.py
_threading_local.py Delete a broken threading.local example (GH-5870) 2018-02-25 07:56:56 -08:00
_weakrefset.py
abc.py bpo-32473: Improve ABCMeta._dump_registry() readability (GH-5091) 2018-01-12 19:47:36 +09:00
aifc.py bpo-31848: Fix broken error handling in Aifc_read.initfp() when the SSND chunk is not found (GH-5240) 2018-02-20 14:17:30 -08:00
antigravity.py
argparse.py Issue #29290: Merge 3.5. 2017-01-22 14:39:20 +08:00
ast.py
asynchat.py
asyncore.py bpo-30980: Fix double close in asyncore.file_wrapper (#2789) (#2898) 2017-07-27 01:27:08 +02:00
base64.py Add Python version since deprecation in base64 methods. (#33) (#429) 2017-03-03 18:07:18 +03:00
bdb.py [3.6] bpo-32650 Add support for async generators and more test for coroutines in pdb (GH-5403). (#5411) 2018-01-29 08:51:07 +02:00
binhex.py
bisect.py
bz2.py
cProfile.py
calendar.py
cgi.py
cgitb.py
chunk.py
cmd.py
code.py
codecs.py bpo-32110: codecs.StreamReader.read(n) now returns not more than n (GH-4499) (#4622) 2017-11-29 02:06:53 +02:00
codeop.py
colorsys.py
compileall.py
configparser.py [3.6] bpo-29623: Make PathLike objects work with ConfigParser.read() (#242) (#432) 2017-03-03 20:48:37 +03:00
contextlib.py bpo-30266: support "= None" pattern in AbstractContextManager (GH-1448) (GH-2054) 2017-06-09 20:36:28 -07:00
copy.py
copyreg.py [3.6] bpo-31107: Fix copyreg mangled slot names calculation. (GH-2989) (#3003) 2017-08-05 18:01:10 +03:00
crypt.py
csv.py [3.6] bpo-30157: Fix csv.Sniffer.sniff() regex pattern. (GH-5601) (GH-5603) 2018-02-10 00:01:40 +02:00
datetime.py bpo-31222: Make (datetime|date|time).replace return subclass type in Pure Python (GH-4176) (#4356) 2017-11-09 16:52:05 -08:00
decimal.py
difflib.py
dis.py
doctest.py
dummy_threading.py Rename thread to _thread and dummy_thread to _dummy_thread. Issue #2875. 2008-05-25 13:05:15 +00:00
enum.py [3.6] bpo-30616: Functional API of enum allows to create empty enums. (#2304) (#2324) 2017-06-24 09:12:20 -07:00
filecmp.py
fileinput.py
fnmatch.py
formatter.py
fractions.py
ftplib.py [3.6] bpo-30119: fix ftplib.FTP.putline() to throw an error for a illegal command (#1214) (#2886) 2017-07-26 14:11:25 +02:00
functools.py Sync-up with 3.7 by backporting minor lru_cache code beautification 2017-01-08 18:22:24 -08:00
genericpath.py
getopt.py
getpass.py getpass: update docstrings (GH-49) (GH-419) 2017-03-02 21:56:06 -08:00
gettext.py [3.6] bpo-29755: Fixed the lgettext() family of functions in the gettext module. (GH-2266) (#2297) 2017-06-20 18:06:35 +03:00
glob.py
gzip.py
hashlib.py
heapq.py
hmac.py
imaplib.py bpo-30329: Catch Windows error 10022 on shutdown() (#1538) (#1620) 2017-05-16 15:29:41 -07:00
imghdr.py
imp.py [3.6] bpo-30645: don't append to an inner loop path in imp.load_package() (GH-2268) (#2364) 2017-06-23 11:23:36 -07:00
inspect.py [3.6] bpo-25532: Protect against infinite loops in inspect.unwrap() (GH-1717) (#3778) 2017-09-27 09:34:44 +03:00
io.py
ipaddress.py [3.6] bpo-29931 fix __lt__ check in ipaddress.ip_interface for both v4 and v6. (GH-879) (#2217) 2017-06-15 17:16:38 +03:00
keyword.py
linecache.py
locale.py
lzma.py
macpath.py bpo-31802: Fix importing native path module before importing os. (GH-4017) (#5129) 2018-01-07 18:35:28 +02:00
macurl2path.py
mailbox.py Issue #28764: Fix a test_mailbox failure on Android API 24 when run as a non-root user. 2016-12-12 09:55:57 +01:00
mailcap.py
mimetypes.py [3.6] bpo-30824: Add mimetype for .json (GH-3048) (#3401) 2017-09-06 20:04:14 -04:00
modulefinder.py
netrc.py bpo-30806: Fix netrc.__repr__() format (GH-2491) 2017-11-03 14:36:45 +09:00
nntplib.py
ntpath.py bpo-31802: Fix importing native path module before importing os. (GH-4017) (#5129) 2018-01-07 18:35:28 +02:00
nturl2path.py
numbers.py
opcode.py [3.6] bpo-32746: Fix multiple typos (GH-5144) (GH-5522) 2018-02-03 21:00:24 -05:00
operator.py
optparse.py
os.py [3.6] bpo-32297: Fix misspellings in Python source code comments (GH-4803) (#4864) 2017-12-14 16:19:51 +02:00
pathlib.py bpo-31972: Improve docstrings for pathlib classes (GH-5310) 2018-02-18 16:37:00 -08:00
pdb.py
pickle.py
pickletools.py
pipes.py
pkgutil.py
platform.py [3.6] bpo-27593: Get SCM build info from git instead of hg. (#446) (#454) 2017-03-04 01:05:06 -05:00
plistlib.py bpo-32072: Fix issues with binary plists. (GH-4455) (#4654) 2017-12-01 00:15:30 +02:00
poplib.py bpo-30329: Catch Windows error 10022 on shutdown() (#1538) (#1620) 2017-05-16 15:29:41 -07:00
posixpath.py bpo-31802: Fix importing native path module before importing os. (GH-4017) (#5129) 2018-01-07 18:35:28 +02:00
pprint.py
profile.py
pstats.py bpo-29554: Improve docs for pstat module and profile. (#88) (#227) 2017-02-22 04:55:33 +03:00
pty.py
py_compile.py
pyclbr.py
pydoc.py bpo-32440: Update the docs URL to https in help() (GH-5030) (GH-5031) 2017-12-28 07:16:39 -08:00
queue.py
quopri.py
random.py [3.6] bpo-31482: Missing bytes support for random.seed() version 1 (GH-3614) (GH-3659) 2017-09-19 10:56:33 -07:00
re.py Issue #28637: Reapply changeset 223731925d06 2016-11-14 12:35:55 +01:00
reprlib.py
rlcompleter.py
runpy.py [backport to 3.5] - issue26896 - Disambiguate uses of "importer" with "finder". 2016-09-07 00:52:20 -07:00
sched.py
secrets.py Issue #29061: secrets.randbelow() would hang with a negative input 2016-12-29 22:54:25 -07:00
selectors.py
shelve.py
shlex.py Fixed #29132: Updated shlex to work better with punctuation chars in POSIX mode. 2017-01-15 10:06:52 +00:00
shutil.py Issue #14061: Misc fixes and cleanups in archiving code in shutil. 2016-12-16 19:00:55 +02:00
signal.py
site.py Issue #28637: No longer use re in site.py. 2016-11-08 20:17:35 +02:00
smtpd.py
smtplib.py bpo-32727: smtplib's SMTP.send_message behaves differently with from_addr and to_addrs (GH-5451) (#5455) 2018-01-31 15:54:09 -05:00
sndhdr.py
socket.py [3.6] bpo-31234, socket.create_connection(): Fix ref cycle (GH-3546) (#3552) 2017-09-13 15:54:34 -07:00
socketserver.py
sre_compile.py
sre_constants.py [3.6] bpo-30398: Add a docstring for re.error. (GH-1647) (#1830) 2017-05-27 16:37:40 +03:00
sre_parse.py [3.6] bpo-30605: Fix compiling binary regexs with BytesWarnings enabled. (GH-2016) (#2214) 2017-06-15 16:55:22 +03:00
ssl.py [3.6] bpo-29136: Add TLS 1.3 cipher suites and OP_NO_TLSv1_3 (GH-1363) (#3444) 2017-09-07 20:23:52 -07:00
stat.py
statistics.py
string.py bpo-31672: Fix string.Template accidentally matched non-ASCII identifiers (GH-3872) 2017-10-14 14:21:59 +09:00
stringprep.py
struct.py
subprocess.py [3.6] bpo-22635: Update the getstatusoutput docstring. (GH-3435) (#3439) 2017-09-07 16:44:58 -07:00
sunau.py
symbol.py
symtable.py
sysconfig.py
tabnanny.py fix function name in tabnanny documentation (GH-762) 2017-03-22 15:26:53 +08:00
tarfile.py [3.6] bpo-32297: Fix misspellings in Python source code comments (GH-4803) (#4864) 2017-12-14 16:19:51 +02:00
telnetlib.py
tempfile.py
textwrap.py
this.py
threading.py [3.6] bpo-31516: current_thread() should not return a dummy thread at shutdown (GH-3673) (#3856) 2017-10-02 17:20:01 +02:00
timeit.py bpo-29661: fix contradiction in timeit.Timer.autorange's docstring (GH-331) (GH-353) 2017-02-28 11:28:44 +08:00
token.py
tokenize.py
trace.py bpo-32852: Fix trace changing sys.argv to tuple. (GH-5692) 2018-02-16 23:14:41 -08:00
traceback.py [3.6] bpo-28603: Fix formatting tracebacks for unhashable exceptions (GH-4014) (#4024) 2017-10-18 01:14:19 +03:00
tracemalloc.py
tty.py
turtle.py
types.py
typing.py [bpo-28556] Minor fixes for typing module (GH-4710) (#4713) 2017-12-04 22:02:02 -05:00
uu.py
uuid.py [3.6] bpo-32370: Use the correct encoding for ipconfig output in the uuid module. (GH-5608). (#5654) 2018-02-13 11:15:21 +02:00
warnings.py Issue #28835: Tidy previous showwarning changes based on review comments. 2016-12-06 17:12:47 -05:00
wave.py
weakref.py Fix #29519: weakref spewing exceptions during interp finalization 2017-02-10 00:14:55 -08:00
webbrowser.py
xdrlib.py
zipapp.py
zipfile.py [3.6] Revert bpo-26293 for zipfile breakage. See also bpo-29094. (GH-1484). (#1485) 2017-05-06 15:10:50 +03:00