Staging
v0.8.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
b6f5b9d Replace _pysqlite_long_from_int64() with PyLong_FromLongLong() (GH-16882) 23 October 2019, 08:09:01 UTC
ea6041c bpo-38539: Finish rename of ss1.py to spreadsheet.py (GH-16896) 23 October 2019, 04:05:02 UTC
a4aeb33 bpo-38539: Update demo files (GH-16890) 23 October 2019, 03:23:48 UTC
20bf8e0 bpo-38419: fix "check-c-globals" path (GH-16680) 23 October 2019, 00:05:54 UTC
91528f4 bpo-38466: Fix threading.excepthook doc (GH-16891) 22 October 2019, 20:37:47 UTC
028f734 bpo-37415: Fix stdatomic.h header check for ICC compiler (GH-16717) Fix stdatomic.h header check for ICC compiler: the ICC implementation lacks atomic_uintptr_t type which is needed by Python. Test: * atomic_int and atomic_uintptr_t types * atomic_load_explicit() and atomic_store_explicit() * memory_order_relaxed and memory_order_seq_cst constants But don't test ATOMIC_VAR_INIT(): it's not used in Python. 22 October 2019, 19:53:50 UTC
c987090 Bump Sphinx to 2.2.0. (GH-16532) 22 October 2019, 16:13:41 UTC
f548a3e bpo-38303: Make audioop extension module PEP-384 compatible (GH-16497) https://bugs.python.org/issue38303 Automerge-Triggered-By: @encukou 22 October 2019, 13:07:03 UTC
dfe726b Fix Zope URL (GH-16880) 22 October 2019, 09:43:10 UTC
10ecbad bpo-31202: Preserve case of literal parts in Path.glob() on Windows. (GH-16860) 21 October 2019, 17:37:15 UTC
1e73945 visit_reachable: replace release-mode test with an assert. (GH-16866) It should be impossible for an untracked object to have the collecting flag set. Back when state was stored in gc_refs, it obviously was impossible (gc_refs couldn't possibly have a positive & negative value simultaneously). While the _implementation_ of "state" has gotten much more complicated, it's still _logically_ just as impossible. 21 October 2019, 16:21:35 UTC
5bc6a7c bpo-38540: Fix possible leak in PyArg_Parse for "es#" and "et#". (GH-16869) 21 October 2019, 08:35:07 UTC
2eba6ad bpo-38493: Add os.CLD_KILLED and os.CLD_STOPPED. (GH-16821) 21 October 2019, 07:01:05 UTC
a9ed91e bpo-27961: Replace PY_LONG_LONG with long long. (GH-15386) 21 October 2019, 06:49:48 UTC
919f0bc bpo-38208: Simplify string.Template by using __init_subclass__(). (GH-16256) 21 October 2019, 06:36:21 UTC
06cd5b6 bpo-38465: Convert the type of exports counters to Py_ssize_t. (GH-16746) 21 October 2019, 06:31:46 UTC
7414207 bpo-38531: document extend action's added version (GH-16865) 20 October 2019, 20:13:54 UTC
c93883c bpo-37759: More updates to Whatsnew 3.8 (GH-16854) * math.perm() and math.comb() * math.isqrt() * Add singledispatchmethod() * itertools.accumulate() * Optional headers for xmlrpc.client.ServerProxy * IDLE non-BMP characters * import collections.abc directly * @coroutine is deprecated * pprint.pp() * New options for object.__reduce__() * DictReader no longer returns OrderedDicts * "force" option for logging.basicConfig() * Fix spelling * cProfile context manager * Various markup/grammar fixes from Kyle Stanley. Other minor fixes as well. Also, dedup the __reduce__ entry. * Fix markup * Fix grammar nits found by MS Word 20 October 2019, 18:25:16 UTC
58ccd20 bpo-36321: Fix misspelled attribute name in namedtuple() (GH-16858) 20 October 2019, 17:19:47 UTC
24dc2f8 bpo-38525: Fix a segmentation fault when using reverse iterators of empty dict (GH-16846) The reverse iterator for empty dictionaries was not handling correctly shared-key dictionaries. 19 October 2019, 20:01:08 UTC
88eeda6 Remove doc reference to unmaitained Nose package (GH-16849) The Nose package is no longer maintained. 19 October 2019, 19:22:20 UTC
e4c431e bpo-36876: Re-organize the c-analyzer tool code. (gh-16841) This is partly a cleanup of the code. It also is preparation for getting the variables from the source (cross-platform) rather than from the symbols. The change only touches the tool (and its tests). 19 October 2019, 02:00:04 UTC
ea55c51 validate_list: make flags argument impossible to spell wrongly. (GH-16843) 19 October 2019, 01:59:14 UTC
5eabec0 bpo-38521: Fix error in NormalDist.__eq__() (GH-16840) 18 October 2019, 21:20:35 UTC
ecb035c bpo-38502: regrtest uses process groups if available (GH-16829) test.regrtest now uses process groups in the multiprocessing mode (-jN command line option) if process groups are available: if os.setsid() and os.killpg() functions are available. 18 October 2019, 13:49:08 UTC
5a88d50 bpo-27657: Fix urlparse() with numeric paths (#661) * bpo-27657: Fix urlparse() with numeric paths Revert parsing decision from bpo-754016 in favor of the documented consensus in bpo-16932 of how to treat strings without a // to designate the netloc. * bpo-22891: Remove urlsplit() optimization for 'http' prefixed inputs. 18 October 2019, 13:07:20 UTC
fbe3c76 bpo-38418: Fixes audit event for os.system to be named 'os.system' (GH-16670) https://bugs.python.org/issue38418 Automerge-Triggered-By: @zooba 18 October 2019, 07:52:15 UTC
b1fa72a Fix minor typos in What's New in Python 3.8. (GH-16770) Added periods at the end of the sentences. 18 October 2019, 07:48:48 UTC
93b81e1 Doc: Add missing entry for functools.cached_property (GH-16803) 18 October 2019, 07:14:18 UTC
f33c57d bpo-33604: Raise TypeError on missing hmac arg. (GH-16805) Also updates the documentation to clarify the situation surrounding the digestmod parameter that is required despite its position in the argument list as of 3.8.0 as well as removing old python2 era references to "binary strings". We indavertently had this raise ValueError in 3.8.0 for the missing arg. This is not considered an API change as no reasonable code would be catching this missing argument error in order to handle it. 18 October 2019, 03:30:42 UTC
d8ca235 bpo-34953: Implement `mmap.mmap.__repr__` (GH-9891) 17 October 2019, 10:41:35 UTC
9c11029 bpo-37587: json: Use _PyUnicodeWriter when scanning string. (GH-15591) 17 October 2019, 07:12:41 UTC
a661392 bpo-37531: regrtest now catchs ProcessLookupError (GH-16827) Fix a warning on a race condition on TestWorkerProcess.kill(): ignore silently ProcessLookupError rather than logging an useless warning. 16 October 2019, 22:29:12 UTC
7aebbd1 bpo-38492: Remove pythonw.exe dependency on the Microsoft C++ runtime (GH-16824) 16 October 2019, 17:27:17 UTC
392a13b bpo-38006: Add unit test for weakref clear bug (GH-16788) 16 October 2019, 03:56:48 UTC
fab4ef2 bpo-35998: Fix test_asyncio.test_start_tls_server_1() (GH-16815) main() is now responsible to send the ANSWER, rather than ServerProto. main() now waits until it got the HELLO before sending the ANSWER over the new transport. Previously, there was a race condition between main() replacing the protocol and the protocol sending the ANSWER once it gets the HELLO. TLSv1.3 was disabled for the test: reenable it. 16 October 2019, 00:36:42 UTC
3f36043 Update doc switcher list for 3.8.0 (GH-16809) 15 October 2019, 21:26:05 UTC
2798b60 Typo fix - implemention should be implementation (GH-16806) 15 October 2019, 20:49:13 UTC
3cd21aa bpo-38468 : Refactor python-config (#16749) * refactor python-config * 📜🤖 Added by blurb_it. * Update Misc/NEWS.d/next/Build/2019-10-13-16-18-24.bpo-38468.buCO84.rst Co-Authored-By: Pablo Galindo <Pablogsal@gmail.com> * Use getvar for pyver * Update news entry with affected file. * Update Misc/NEWS.d/next/Build/2019-10-13-16-18-24.bpo-38468.buCO84.rst Co-Authored-By: Victor Stinner <vstinner@python.org> * Update 2019-10-13-16-18-24.bpo-38468.buCO84.rst 15 October 2019, 14:18:47 UTC
8d59eb1 bpo-37961, tracemalloc: add Traceback.total_nframe (GH-15545) Add a total_nframe field to the traces collected by the tracemalloc module. This field indicates the original number of frames before it was truncated. 15 October 2019, 12:00:16 UTC
f3ef06a bpo-38478: Correctly handle keyword argument with same name as positional-only parameter (GH-16800) 15 October 2019, 11:40:02 UTC
eb1dda2 bpo-38470: Fix test_compileall.test_compile_dir_maxlevels() (GH-16789) Fix test_compile_dir_maxlevels() on Windows without long path support: only create 3 subdirectories instead of between 20 and 100 subdirectories. Fix also compile_dir() to use the current sys.getrecursionlimit() value as the default maxlevels value, rather than using sys.getrecursionlimit() value read at startup. 15 October 2019, 09:26:13 UTC
0b60f64 bpo-11410: Standardize and use symbol visibility attributes across POSIX and Windows. (GH-16347) 15 October 2019, 07:26:12 UTC
4d20228 bpo-38133: Update docs to reflect fixes to py.exe launcher (GH-16791) 14 October 2019, 22:45:43 UTC
4504b45 Doc: 3.8 is now stable. (GH-16790) 14 October 2019, 22:13:38 UTC
274bd01 Remove draft status. Add asyncio REPL example (GH-16785) 14 October 2019, 16:01:05 UTC
d83fc27 bpo-38453: Resolve test directories before chdir to them (GH-16723) 14 October 2019, 15:42:21 UTC
298439c bpo-37759: Polish What's New in Python 3.8. (#16769) 14 October 2019, 13:10:40 UTC
19d6842 Update build docs for macOS (GH-16771) 14 October 2019, 12:16:10 UTC
aad2ee0 bpo-32498: urllib.parse.unquote also accepts bytes (GH-7768) 14 October 2019, 10:36:29 UTC
9cb51f4 Update macOS installer display files for 3.9.0a1 (GH-16765) 14 October 2019, 08:26:45 UTC
a329153 bpo-37759: Add examples for the new typing features (GH-16763) 14 October 2019, 06:32:03 UTC
61a6db5 bpo-38461 and bpo-38463: Minor fixes to Whatsnew 3.8 (GH-16761) * bpo-38461: ncurses misspelled as curses * bpo-38463: Fix broken link 14 October 2019, 04:31:12 UTC
fd5c414 bpo-38469: Handle named expression scope with global/nonlocal keywords (GH-16755) The symbol table handing of PEP572's assignment expressions is not resolving correctly the scope of some variables in presence of global/nonlocal keywords in conjunction with comprehensions. 14 October 2019, 04:18:05 UTC
8a6cbf8 bpo-38464: Document parameter for NormalDist.quantiles() (GH-16757) 14 October 2019, 02:53:30 UTC
95bfc8a Misc gc code & comment cleanups. (GH-16752) * Misc gc code & comment cleanups. validate_list: there are two temp flags polluting pointers, but this checked only one. Now it checks both, and verifies that the list head's pointers are not polluted. move_unreachable: repaired incoherent comments. Added new comments. Cleared the pollution of the unreachable list head's 'next' pointer (it was expedient while the function was running, but there's no excuse for letting this damage survive the function's end). * Update Modules/gcmodule.c Co-Authored-By: Pablo Galindo <Pablogsal@gmail.com> 13 October 2019, 21:47:04 UTC
fdfe283 bpo-38467: Fix argument name of typing functions (GH-16753) 13 October 2019, 18:31:35 UTC
8144095 bpo-28556: Remove another mention of metaclass of Generic in typing docs (GH-16743) Metaclass was removed in Python 3.7 (there is already a `versionchanged` item about this). https://bugs.python.org/issue28556 13 October 2019, 16:53:06 UTC
bb78f6c Rebased version of what's new PR (#16745) * Use Unicode character for accent * Various grammar fixes * Sort library modules alphabetically; remove duplicated idlelib/IDLE section 13 October 2019, 15:51:36 UTC
466326d bpo-38379: Don't block collection of unreachable objects when some objects resurrect (GH-16687) Currently if any finalizer invoked during garbage collection resurrects any object, the gc gives up and aborts the collection. Although finalizers are assured to only run once per object, this behaviour of the gc can lead to an ever-increasing memory situation if new resurrecting objects are allocated in every new gc collection. To avoid this, recompute what objects among the unreachable set need to be resurrected and what objects can be safely collected. In this way, resurrecting objects will not block the collection of other objects in the unreachable set. 13 October 2019, 15:48:59 UTC
e3babbd Correct signature of __build_class__ (GH-16735) 13 October 2019, 15:35:41 UTC
b16e382 bpo-38202: Fix a crash in dict_view & non-itearble. (GH-16241) 13 October 2019, 11:49:05 UTC
793cb85 bpo-38431: Fix __repr__ method of InitVar to work with typing objects. (GH-16702) 13 October 2019, 11:45:36 UTC
140a7d1 bpo-38378: Rename parameters "out" and "in" of os.sendfile(). (GH-16742) They conflicted with keyword "in". Also rename positional-only parameters of private os._fcopyfile() for consistency. 13 October 2019, 08:59:31 UTC
46113e0 bpo-38456: Handle the case when there is no 'true' command (GH-16739) 13 October 2019, 01:40:24 UTC
27b33fb bpo-38282: Correctly manage the Bluetooth L2CAP socket structure in FreeBSD (GH-16738) 13 October 2019, 01:03:54 UTC
67b93f8 bpo-38456: Use /bin/true in test_subprocess (GH-16736) * bpo-38456: Use /bin/true in test_subprocess. Instead of sys.executable, "-c", "pass" or "import sys; sys.exit(0)" use /bin/true when it is available. On a reasonable machine this shaves up to two seconds wall time off the otherwise ~40sec execution on a --with-pydebug build. It should be more notable on many buildbots or overloaded slower I/O systems (CI, etc). 12 October 2019, 23:35:53 UTC
f3751ef bpo-38417: Add umask support to subprocess (GH-16726) On POSIX systems, allow the umask to be set in the child process before we exec. 12 October 2019, 20:24:56 UTC
8177404 bpo-37731: Reorder includes in xmltok.c to avoid redefinition of _POSIX_C_SOURCE (GH-16733) 12 October 2019, 19:14:11 UTC
547c60c Fix minor typos in Whatsnew 12 October 2019, 17:53:36 UTC
e634da2 Announce the change in the CancelledError inheritance (GH-16730) This is a fairly noticeable change that requires adjustments in existing asyncio code. It should therefore be announced. 12 October 2019, 17:46:13 UTC
822922a bpo-35800: Deprecate smtpd.MailmanProxy (GH-11675) Since `smtpd.MailmanProxy` is already broken, it is not formally deprecated in 3.9. It will be removed in 3.10. https://bugs.python.org/issue35800 12 October 2019, 17:24:26 UTC
19a3d87 bpo-38449: Revert "bpo-22347: Update mimetypes.guess_type to allow oper parsing of URLs (GH-15522)" (GH-16724) This reverts commit 87bd2071c756188b6cd577889fb1682831142ceb. https://bugs.python.org/issue38449 12 October 2019, 05:41:35 UTC
2b7dc40 bpo-38347: find pathfix for Python scripts whose name contain a '-' (GH-16536) pathfix.py: Assume all files that end on '.py' are Python scripts when working recursively. 11 October 2019, 13:36:50 UTC
cbb5481 bpo-38442: Remove an execution bit from Doc/whatsnew/3.8.rst. (GH-16715) 11 October 2019, 08:44:42 UTC
c39d1dd Fix strict-aliasing rules errors on gcc 4.8.5. (GH-16714) 11 October 2019, 08:43:11 UTC
a8e0d31 Typo fix: "throuhgh" should be "through". (GH-16704) 11 October 2019, 03:43:13 UTC
f900064 docs: Add asyncio source code links (GH-16640) 10 October 2019, 23:18:46 UTC
320dd50 bpo-38437: Activate GC_DEBUG when PY_DEBUG is set (GH-16707) 10 October 2019, 21:45:17 UTC
72bbd2a Remove AppVeyor badge now that we don't use it in the CI anymore (GH-16708) 10 October 2019, 21:39:15 UTC
d565fb9 bpo-38282: Rewrite getsockaddrarg() helper function (GH-16698) Rewrite getsockaddrarg() helper function of socketmodule.c (_socket module) to prevent a false alarm when compiling codde using GCC with _FORTIFY_SOURCE=2. Pass a pointer of the sock_addr_t union, rather than passing a pointer to a sockaddr structure. Add "struct sockaddr_tipc tipc;" to the sock_addr_t union. 10 October 2019, 19:30:20 UTC
1dbe537 Re-enable the OverflowError test for test_truediv on test_complex (GH-16591) 10 October 2019, 16:23:36 UTC
b6e0fc7 bpo-38353: Fix typos in calculate_argv0_path_framework() (GH-16695) bpo-38353, bpo-38429: Fix typos introduced by commit c02b41b1fb115c87693530ea6a480b2e15460424 in calculate_argv0_path_framework() of getpath.c. 10 October 2019, 13:42:30 UTC
d47f0dd bpo-32996: Documentation fix-up. (GH-16646) PR #4906 changed the typing.Generic class hierarchy, leaving an outdated comment in the library reference. User-defined Generic ABCs now must get a abc.ABCMeta metaclass from something other than typing.Generic inheritance. 10 October 2019, 11:11:33 UTC
a05fcd3 bpo-38425: Fix ‘res’ may be used uninitialized warning (GH-16688) 10 October 2019, 07:41:26 UTC
7bb1431 bpo-38109: Add missing constants to Lib/stat.py (GH-16665) Add missing stat.S_IFDOOR, stat.S_IFPORT, stat.S_IFWHT, stat.S_ISDOOR, stat.S_ISPORT, and stat.S_ISWHT values to the Python implementation of the stat module. 10 October 2019, 07:34:46 UTC
a544773 bpo-38392: Only declare visit_validate() if Py_DEBUG is defined (GH-16689) bpo-38392, bpo-38426: Fix a compiler warning in gcmodule.c. Fix also a typo in PYMEM_DEADBYTE macro comment. 10 October 2019, 07:32:13 UTC
09895c2 bpo-38409: Fix grammar in str.strip() docstring (GH-16682) 09 October 2019, 21:09:00 UTC
ecbf35f bpo-38379: don't claim objects are collected when they aren't (#16658) * bpo-38379: when a finalizer resurrects an object, nothing is actually collected in this run of gc. Change the stats to relect that truth. 09 October 2019, 17:37:30 UTC
01171eb Typo fix: "empy" should be "empty". (GH-16666) 09 October 2019, 02:24:02 UTC
594e2ed closes bpo-36161: Use thread-safe ttyname_r instead of ttyname. (GH-14868) Signed-off-by: Antonio Gutierrez <chibby0ne@gmail.com> 09 October 2019, 02:19:48 UTC
e8bedbd bpo-38368: Added fix for ctypes crash when handling arrays in structs… (GH-16589) 08 October 2019, 20:59:06 UTC
0ec618a bpo-37531: regrtest ignores output on timeout (GH-16659) bpo-37531, bpo-38207: On timeout, regrtest no longer attempts to call `popen.communicate() again: it can hang until all child processes using stdout and stderr pipes completes. Kill the worker process and ignores its output. Reenable test_regrtest.test_multiprocessing_timeout(). bpo-37531: Change also the faulthandler timeout of the main process from 1 minute to 5 minutes, for Python slowest buildbots. 08 October 2019, 16:45:43 UTC
e53c580 test_dictviews: Add testcase for dictviews_sub (GH-16660) 08 October 2019, 15:59:10 UTC
10cd00a bpo-38395: Fix ownership in weakref.proxy methods (GH-16632) The implementation of weakref.proxy's methods call back into the Python API using a borrowed references of the weakly referenced object (acquired via PyWeakref_GET_OBJECT). This API call may delete the last reference to the object (either directly or via GC), leaving a dangling pointer, which can be subsequently dereferenced. To fix this, claim a temporary ownership of the referenced object when calling the appropriate method. Some functions because at the moment they do not need to access the borrowed referent, but to protect against future changes to these functions, ownership need to be fixed in all potentially affected methods. 08 October 2019, 15:30:50 UTC
03ab6b4 bpo-38118: Ignore Valgrind false alarm in PyUnicode_Decode() (GH-16651) Valgrind emits "Conditional jump or move depends on uninitialised value(s)" false alarms on GCC builtin strcmp() function. The GCC code is correct. Valgrind bug: https://bugs.kde.org/show_bug.cgi?id=264936 08 October 2019, 13:42:17 UTC
8252c52 bpo-38407: Add docstrings for typing.SupportsXXX classes. (GH-16644) 08 October 2019, 13:30:17 UTC
13abda4 bpo-38405: Make nested subclasses of typing.NamedTuple pickleable. (GH-16641) 08 October 2019, 13:29:52 UTC
b690a27 bpo-36698: IDLE no longer fails when write non-encodable characters to stderr. (GH-16583) It now escapes them with a backslash, as the regular Python interpreter. Added the "errors" field to the standard streams. 08 October 2019, 11:32:25 UTC
d05b000 bpo-38371: Tkinter: deprecate the split() method. (GH-16584) 08 October 2019, 11:31:35 UTC
back to top