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

sort by:
Revision Author Date Message Commit Date
62e4481 bpo-15248: Emit a compiler warning when missed a comma before tuple or list. (GH-11757) 16 February 2019, 06:12:19 UTC
a16ab00 bpo-36007: Bump minimum sphinx version to 1.8 (GH-11887) https://bugs.python.org/issue36007 15 February 2019, 23:41:15 UTC
3643322 bpo-35984: _xxsubinterpreters: Fix memory leak in _channel_send() (GH-11845) https://bugs.python.org/issue35984 15 February 2019, 22:28:58 UTC
4327705 bpo-35931: Gracefully handle SyntaxError in pdb debug command (GH-11782) Previously, `debug print(` would cause the interpreter to exit on a SyntaxError whereas `print(` would properly display the error and return to the pdb prompt. This patch fixes this by pre-compiling the code before passing it to `Pdb.run`. https://bugs.python.org/issue35931 15 February 2019, 20:52:53 UTC
9abb725 Improve readability of random module examples (GH-11884) Based on reviewer feedback from Allen Downey, convert ``lambda`` to ``def``. 15 February 2019, 20:40:18 UTC
903567e Fix the versionadded info for typing.NoReturn (GH-11880) The earliest version that `typing.NoReturn` appears in is [3.5.4rc1](https://docs.python.org/3/whatsnew/changelog.html#python-3-5-4-release-candidate-1) 15 February 2019, 19:20:28 UTC
522630a bpo-36006: Fix versionchanged directive alignment in io module documentation (GH-11881) https://bugs.python.org/issue36006 15 February 2019, 19:02:38 UTC
355f16f bpo-35746: Credit Colin Read and Nicolas Edet (GH-11863) Add credit for the cert parser vulnerability. Mention also Cisco TALOS-2018-0758 identifier. 15 February 2019, 11:25:47 UTC
3e028b2 bpo-35994: add sub dir for sub2_tree in os.walk test if symlink is not supported (GH-11853) https://bugs.python.org/issue35994 15 February 2019, 05:04:47 UTC
5723263 bpo-30410: Documentation of sys.stdin/out/err update to reflect change in 3.6 (GH-10264) Documentation of sys.stdin/out/err update to reflect change in 3.6 on Windows to use UTF-8. Wording by Eryk Sun and Paul Moore. https://bugs.python.org/issue30410 14 February 2019, 23:35:25 UTC
1093d42 Doc: Fix example in contextlib asynccontextmanager document (GH-8111) 14 February 2019, 19:52:30 UTC
b94d4be bpo-35633: test_lockf() fails with "PermissionError: [Errno 13] Permission denied" on AIX (GH-11424) [bpo-35633](https://bugs.python.org/issue35633): Fix a test regression introduced with [bpo-35189](https://bugs.python.org/issue35189) (PEP 475: fnctl functions are not retried if interrupted (EINTR)). Not only a blocking IO error needs to be ignored - permission errors also need to be ignored. p.s. - iirc as a "test" only correction a NEWS item is not required. If this is not correct - just mention, and I'll add a NEWS blurb. https://bugs.python.org/issue35633 14 February 2019, 18:22:35 UTC
8a1657b bpo-35976: Enable Windows projects to build with platform ARM32 (GH-11825) This change adds the necessary items to the build projects to avoid erroring out right at the start. It does not add _support_ for targeting Windows on ARM32, but is a necessary prerequisite for adding it. 14 February 2019, 16:31:30 UTC
bb3c05d closes bpo-35991: Fix a potential double free in Modules/_randommodule.c. (GH-11849) 14 February 2019, 07:43:17 UTC
d73ac0e Fix typo: equivalent code of `async with cond` (GH-11681) 14 February 2019, 02:39:25 UTC
2bdd585 bpo-35500: align expected and actual calls on mock.assert_called_with error message. (GH-11804) 14 February 2019, 02:22:29 UTC
1dc5cb9 bpo-35887: Add make regen-importlib step to importlib._bootstrap docstring (GH-11777) 13 February 2019, 23:21:17 UTC
dcb68f4 bpo-35961: Fix a crash in slice_richcompare() (GH-11830) Fix a crash in slice_richcompare(): use strong references rather than stolen references for the two temporary internal tuples. The crash (or assertion error) occurred if a garbage collection occurred during slice_richcompare(), especially while calling PyObject_RichCompare(t1, t2, op). 13 February 2019, 11:31:56 UTC
5680f65 bpo-18283: Add support for bytes to shutil.which (GH-11818) 13 February 2019, 11:25:10 UTC
cfd31f0 Be consistent about the use of from-imports in random module (GH-11837) Minor code clean-up. 13 February 2019, 10:04:17 UTC
73d6002 Remove stray quote in os.replace docstring. (GH-11556) 13 February 2019, 04:15:54 UTC
b9d2e97 Fix potential memory leak in parsetok.c (GH-11832) 13 February 2019, 00:45:53 UTC
3dc67d0 bpo-35505: Skip test_imap4_host_default_value if localhost listens on IMAP port (GH-11823) Make test_imap4_host_default_value independent on whether the local IMAP server is running. 12 February 2019, 18:30:19 UTC
16f842d bpo-35972: _xxsubinterpreters: Fix potential integer truncation on 32-bit in channel_send() (gh-11822) 12 February 2019, 16:06:43 UTC
b01786c bpo-35960: Fix dataclasses.field throwing away empty metadata. (GH-11815) 12 February 2019, 11:50:49 UTC
a31f4cc bpo-35918: Remove broken has_key method and add test (#11819) 12 February 2019, 00:37:24 UTC
522346d Complete switch cases in symtable.c; fixes bpo-35963 (GH-11821) 11 February 2019, 19:34:50 UTC
3766f18 bpo-35378: Fix multiprocessing.Pool references (GH-11627) Changes in this commit: 1. Use a _strong_ reference between the Pool and associated iterators 2. Rework PR #8450 to eliminate a cycle in the Pool. There is no test in this commit because any test that automatically tests this behaviour needs to eliminate the pool before joining the pool to check that the pool object is garbaged collected/does not hang. But doing this will potentially leak threads and processes (see https://bugs.python.org/issue35413). 11 February 2019, 17:29:00 UTC
4b250fc bpo-35766 follow-up: Add an error check to new_type_comment() (#11766) If PyUnicode_DecodeUTF8() returns NULL, PyArena_AddPyObject() would crash. Found by @msullivan for https://github.com/python/typed_ast/pull/93. 11 February 2019, 16:10:42 UTC
537b6ca bpo-22062: Updated docstring and documentation for pathlib (GH-8519) Original patch by Mike Short https://bugs.python.org/issue22062 11 February 2019, 10:47:09 UTC
9db56fb Doc sidebar: 3.6 has moved to security-fix mode. (GH-11810) 10 February 2019, 21:27:12 UTC
164686f Fix compiler warning about non initialised variable (GH-11806) 10 February 2019, 20:37:07 UTC
4207907 Fix division by 0 when checking for overflow in math.prod (GH-11808) 10 February 2019, 19:56:58 UTC
181835d Fix compiler warnings about end_col_offset and end_lineno (GH-11735) 10 February 2019, 15:39:49 UTC
5033e31 Fix broken :ref: in asyncio docs (GH-11805) 10 February 2019, 00:21:37 UTC
7b2a37b Make sure the BaseManager in test_multiprocessing is cleaned up correctly (GH-11653) 09 February 2019, 17:35:05 UTC
613f729 Do not retain references to processes and managers in TestSyncManagerTypes (GH-11801) Keeping references to processes and managers between tests makes them count as dangling processes. 09 February 2019, 17:08:49 UTC
8a03ff2 bpo-35833: Revise IDLE doc for control codes sent to Shell. (GH-11799) Add a code example block. 09 February 2019, 03:51:51 UTC
2dda72a lru_cache: Add more comments. Fix comment typos. Clarify a comment. (GH-11795) 09 February 2019, 02:55:02 UTC
7ab3d15 Rework tuple hash tests. (GH-10161) Add tooling that will useful in future updates, paying particular attention to difficult cases where only the upper bits on the input vary. 08 February 2019, 21:09:26 UTC
5741c45 bpo-35903: Use autoconfig to probe for shm_open() and shm_unlink(). (#11765) Use autoconfig to probe for shm_open() and shm_unlink(). Set SHM_NEEDS_LIBRT if we must link with librt to get the shm_* functions. Change setup.py to use the autoconfig defines. These changes should make it more likely that _multiprocessing/posixshmem.c gets built correctly on different platforms. 08 February 2019, 18:48:46 UTC
64360ad Complete and neaten-up namedtuple's replacement of builtin function lookups with derefs (GH-11794) 08 February 2019, 18:37:39 UTC
d9503c3 Add What's New entry for date subclass behavior (#11790) This was a backwards incompatible change and should be clearly noted. Related bugs: bpo-32417: https://bugs.python.org/issue32417 bpo-35364: https://bugs.python.org/issue35364 08 February 2019, 16:02:00 UTC
96d37db bpo-35615: Fix crashes when copying a Weak{Key,Value}Dictionary. (GH-11384) Protect dict iterations by wrapping them with _IterationGuard in the following methods: - WeakValueDictionary.copy() - WeakValueDictionary.__deepcopy__() - WeakKeyDictionary.copy() - WeakKeyDictionary.__deepcopy__() 07 February 2019, 19:51:59 UTC
df8d2cd bpo-35911: add cell constructor (GH-11771) Add a cell constructor, expose the cell type in the types module. 07 February 2019, 19:36:48 UTC
f289084 bpo-24209: In http.server script, rely on getaddrinfo to bind to preferred address based on the bind parameter. (#11767) In http.server script, rely on getaddrinfo to bind to preferred address based on the bind parameter. As a result, now IPv6 is used as the default (including IPv4 on dual-stack systems). Enhanced tests. 07 February 2019, 13:22:45 UTC
2848d9d bpo-35917: Test multiprocessing manager classes and shareable types (GH-11772) multiprocessing: provide unittests for manager classes and shareable types 07 February 2019, 11:03:11 UTC
bc09851 bpo-35606: Implement math.prod (GH-11359) 07 February 2019, 07:04:02 UTC
e9bc417 Fix url to core-mentorship mailing list (GH-11775) 06 February 2019, 20:45:03 UTC
cd90f6a bpo-20001: update pathlib landing image (GH-11304) 05 February 2019, 10:16:13 UTC
c95404f email: use dict instead of OrderedDict (GH-11709) 05 February 2019, 08:05:43 UTC
f345170 asyncio: use dict instead of OrderedDict (GH-11710) 05 February 2019, 08:04:40 UTC
9da3583 Fix typo (micro->nano) (GH-11759) 05 February 2019, 07:32:55 UTC
85e102a bpo-35299: Fixed sysconfig and distutils during PGO profiling (GH-11744) 05 February 2019, 01:15:13 UTC
69091cb bpo-35321: Set the spec origin to frozen in frozen modules (#11732) * bpo-35321: Set the spec origin to frozen in frozen modules This fix correctly sets the spec origin to "frozen" for the _frozen_importlib module. Note that the origin was already correctly set in _frozen_importlib_external. * đŸ“œđŸ€– Added by blurb_it. 05 February 2019, 00:56:26 UTC
89427cd bpo-32417: Make timedelta arithmetic respect subclasses (#10902) * Make timedelta return subclass types Previously timedelta would always return the `date` and `datetime` types, regardless of what it is added to. This makes it return an object of the type it was added to. * Add tests for timedelta arithmetic on subclasses * Make pure python timedelta return subclass types * Add test for fromtimestamp with tz argument * Add tests for subclass behavior in now * Add news entry. Fixes: bpo-32417 bpo-35364 * More descriptive variable names in tests Addresses Victor's comments 04 February 2019, 19:42:04 UTC
ca7d293 Post 3.8.0a1 04 February 2019, 08:39:24 UTC
e7afe1a Merge tag 'v3.8.0a1' Python 3.8.0a1 04 February 2019, 08:30:59 UTC
a8474d0 bpo-35872 and bpo-35873: Clears __PYVENV_LAUNCHER__ variable (GH-11745) After reading __PYVENV_LAUNCHER__ we now set sys._base_executable value for later use. Make the same changes for macOS to avoid extra platform checks. 04 February 2019, 07:19:38 UTC
2f6fae6 bpo-35692: pathlib no longer raises when checking file and directory existence on drives that are not ready (GH-11746) 04 February 2019, 07:08:18 UTC
e75eeb0 v3.8.0a1 03 February 2019, 13:17:38 UTC
aab0e57 [pydoc] Regenerate topics for v3.8.0a1 03 February 2019, 13:04:12 UTC
8efa3b6 [blurb] v3.8.0a1 03 February 2019, 13:02:52 UTC
f75d59e bpo-35884: Add variable access benchmarking script (GH-11725) 03 February 2019, 06:54:56 UTC
2c2ba05 Update macOS installer Welcome and ReadMe for 3.8 (GH-11748) 03 February 2019, 05:41:20 UTC
8ebc645 bpo-35890 : Fix some API calling consistency (GH-11742) Unicode version of Windows APIs are used in places, but not for GetVersionEx in Python/sysmodule.c The wcstok_s is called on Windows in Modules/main.c and PC/launcher.c, but not in Python/pathconfig.c 03 February 2019, 04:26:55 UTC
4c70d9f bpo-34691: Compile _contextvars module into main Python library (GH-11741) 02 February 2019, 22:36:23 UTC
b82bfac bpo-29734: nt._getfinalpathname handle leak (GH-740) Make sure that failure paths call CloseHandle outside of the function that failed 02 February 2019, 21:08:23 UTC
cb09047 bpo-32560: inherit the py launcher's STARTUPINFO (GH-9000) https://bugs.python.org/issue32560 02 February 2019, 19:21:04 UTC
d08ea70 bpo-35845: Add order={'C', 'F', 'A'} parameter to memoryview.tobytes(). (#11730) 02 February 2019, 17:57:41 UTC
4860f01 bpo-33895: Relase GIL while calling functions that acquire Windows loader lock (GH-7789) LoadLibrary, GetProcAddress, FreeLibrary and GetModuleHandle acquire the system loader lock. Calling these while holding the GIL will cause a deadlock on the rare occasion that another thread is detaching and needs to destroy its thread state at the same time. 02 February 2019, 17:16:42 UTC
2de576e bpo-1104: msilib.SummaryInfo.GetProperty() truncates the string by one character (GH-4517) Add one char to MsiSummaryInfoGetProperty() output Based on the patch in bpo-1104 by Anthony Tuininga (atuining) and Mark McMahon (markm). 02 February 2019, 17:13:23 UTC
05e9221 bpo-33316: PyThread_release_lock always fails (GH-6541) Use correct interpretation of return value from APIs. 02 February 2019, 16:22:55 UTC
00e9c55 bpo-26256: Document algorithm speed for the Decimal module. (#4808) 02 February 2019, 14:37:39 UTC
e5ef45b bpo-35813: Added shared_memory submodule of multiprocessing. (#11664) Added shared_memory submodule to multiprocessing in time for first alpha with cross-platform tests soon to follow. 02 February 2019, 04:52:23 UTC
d2b4c19 bpo-35879: Fix type comment leaks (GH-11728) * Fix leak for # type: ignore * Fix the type comment leak 01 February 2019, 23:28:13 UTC
ac19081 bpo-35877: Add test for while loop named expression without parentheses (GH-11726) 01 February 2019, 22:27:38 UTC
d4fceaa bpo-35877: Make parenthesis optional for named expression in while statement (GH-11724) * Add parenthesis optional in named expressions for while statement * Add NEWS entry 01 February 2019, 21:40:16 UTC
85d83ec bpo-35864: fix namedtuple._asdict() docstring (GH-11720) 01 February 2019, 20:38:57 UTC
075de6c bpo-35861: Fix SyntaxWarning in test_named_expressions.py (GH-11722) 01 February 2019, 19:58:43 UTC
3a32e3b bpo-35766 follow-up: Kill half-support for FunctionType in PyAST_obj2mod (#11714) See https://github.com/python/cpython/pull/11645/files/229874c612df868e7ae3e997e159915f49d16542#r252631862 https://bugs.python.org/issue35766 01 February 2019, 19:37:34 UTC
325e4ba bpo-35537: Fix function name in os.posix_spawnp() errors (GH-11719) 01 February 2019, 14:47:24 UTC
1e39b83 bpo-35537: Skip test_start_new_session() of posix_spawn (GH-11718) The test fails. Skip the test until a fix can be found. 01 February 2019, 10:40:26 UTC
80c5dfe bpo-35537: Add setsid parameter to os.posix_spawn() and os.posix_spawnp() (GH-11608) 01 February 2019, 10:05:22 UTC
05f1b93 Speed-up argument parsing for common cases in deque.__init__()(GH-11717) 01 February 2019, 06:13:43 UTC
ffdf1c3 Consistently move the misses update to just before the user function call (GH-11715) 31 January 2019, 23:03:38 UTC
dcfcd14 bpo-35766: Merge typed_ast back into CPython (GH-11645) 31 January 2019, 11:40:27 UTC
d97daeb doc: http: Fix enum name for status code 416 (GH-11689) 31 January 2019, 10:08:57 UTC
0bb4bdf bpo-35864: Replace OrderedDict with regular dict in namedtuple() (#11708) * Change from OrderedDict to a regular dict * Add blurb 31 January 2019, 08:59:50 UTC
0897e0c bpo-33504: fix wrong "versionchanged" (GH-11712) 31 January 2019, 08:53:48 UTC
9f3f093 bpo-34003: Use dict instead of OrderedDict in csv.DictReader (GH-8014) 31 January 2019, 08:47:53 UTC
a1f9a33 bpo-35854: Fix EnvBuilder and --symlinks in venv on Windows (GH-11700) 30 January 2019, 21:49:14 UTC
40ebe94 Document differences between random.choices() and random.choice(). (GH-11703) 30 January 2019, 21:30:20 UTC
cf991e6 bpo-35835: Add reference to Python 3.7 new breakpoint() function in pdb documentation. (GH-11691) 30 January 2019, 17:23:39 UTC
598e15d bpo-25592: Improve documentation of distutils data_files (GH-9767) 30 January 2019, 15:49:39 UTC
cfd735e Move float conversion into a macro. Apply to fsum (GH-11698) 30 January 2019, 04:39:53 UTC
bafa848 subprocess: close pipes/fds by using ExitStack (GH-11686) Close pipes/fds in subprocess by using ExitStack. "In case of premature failure on X.Close() or os.close(X) the remaining pipes/fds will remain "open". Perhaps it makes sense to use contextlib.ExitStack." - Rationale: https://github.com/python/cpython/pull/11575#discussion_r250288394 29 January 2019, 21:14:24 UTC
742d768 bpo-35847: RISC-V needs CTYPES_PASS_BY_REF_HACK (GH-11694) This fixes the ctypes.test.test_structures.StructureTestCase test. https://bugs.python.org/issue35847 29 January 2019, 16:16:10 UTC
808180c Fast path for int inputs to math.dist() and math.hypot() (GH-11692) 28 January 2019, 21:59:56 UTC
ea44640 bpo-35701: Update doc for UUID weak referencing (GH-11621) 28 January 2019, 09:31:19 UTC
back to top