4454057 | Batuhan Taşkaya | 22 April 2020, 16:09:03 UTC | bpo-39562: Prevent collision of future and compiler flags (GH-19230) The constant values of future flags in the __future__ module is updated in order to prevent collision with compiler flags. Previously PyCF_ALLOW_TOP_LEVEL_AWAIT was clashing with CO_FUTURE_DIVISION. | 22 April 2020, 16:09:03 UTC |
9b49893 | Steve Dower | 22 April 2020, 16:04:46 UTC | bpo-40214: Fix ctypes WinDLL test with insecure flags (GH-19652) | 22 April 2020, 16:04:46 UTC |
9bee32b | Victor Stinner | 22 April 2020, 14:30:35 UTC | bpo-40138: Fix Windows os.waitpid() for large exit code (GH-19637) Fix the Windows implementation of os.waitpid() for exit code larger than "INT_MAX >> 8". The exit status is now interpreted as an unsigned number. os.waitstatus_to_exitcode() now accepts wait status larger than INT_MAX. | 22 April 2020, 14:30:35 UTC |
bcc136b | Ned Deily | 22 April 2020, 08:27:13 UTC | bpo-38329: python.org macOS installers now update Current symlink (GH-19650) Previously, python.org macOS installers did not alter the Current version symlink in /Library/Frameworks/Python.framework/Versions when installing a version of Python 3.x, only when installing 2.x. Now that Python 2 is retired, it's time to change that. This should make it a bit easier to embed Python 3 into other macOS applications. | 22 April 2020, 08:27:13 UTC |
b310700 | Joshua Root | 22 April 2020, 07:44:10 UTC | bpo-38360: macOS: support alternate form of -isysroot flag (GH-16480) It is possible to use either '-isysroot /some/path' (with a space) or '-isysroot/some/path' (no space in between). Support both forms in places where special handling of -isysroot is done, rather than just the first form. Co-authored-by: Ned Deily <nad@python.org> | 22 April 2020, 07:44:10 UTC |
3a69f3c | Miro Hrončok | 22 April 2020, 07:21:44 UTC | bpo-38439: Add 256px IDLE icon (GH-17473) Icon author: Andrew Clover, bpo-1490384 | 22 April 2020, 07:21:44 UTC |
783a673 | Ned Deily | 22 April 2020, 02:41:33 UTC | bpo-40164: Update macOS installer builds to use OpenSSL 1.1.1g. (GH-19642) | 22 April 2020, 02:41:33 UTC |
75bedbe | Raymond Hettinger | 21 April 2020, 23:20:52 UTC | bpo-40327: Improve atomicity, speed, and memory efficiency of the items() loop (GH-19628) | 21 April 2020, 23:20:52 UTC |
d3a8d61 | Raymond Hettinger | 21 April 2020, 23:11:00 UTC | Small improvements to the recipes and examples. (GH-19635) * Add underscores to long numbers to improve readability * Use bigger dataset in the bootstrapping example * Convert single-server queue example to more useful multi-server queue | 21 April 2020, 23:11:00 UTC |
9c82ea7 | Kyle Stanley | 21 April 2020, 20:50:51 UTC | bpo-34037: Add Python API whatsnew for loop.shutdown_default_executor() (#19634) Co-Authored-By: Victor Stinner <vstinner@python.org> | 21 April 2020, 20:50:51 UTC |
11a7f15 | Pablo Galindo | 21 April 2020, 00:53:04 UTC | bpo-40335: Correctly handle multi-line strings in tokenize error scenarios (GH-19619) Co-authored-by: Guido van Rossum <gvanrossum@gmail.com> | 21 April 2020, 00:53:04 UTC |
6a9e80a | sweeneyde | 21 April 2020, 00:17:52 UTC | bpo-40313: speed up bytes.hex() (GH-19594) Automerge-Triggered-By: @gpshead | 21 April 2020, 00:17:52 UTC |
bba760e | Raymond Hettinger | 20 April 2020, 20:47:12 UTC | Fix uninitialized struct member (GH-19589) | 20 April 2020, 20:47:12 UTC |
a25a04f | HongWeipeng | 20 April 2020, 20:01:53 UTC | bpo-39942:Fix failure in `TypeVar` when missing `__name__` (GH-19616) https://bugs.python.org/issue39942 | 20 April 2020, 20:01:53 UTC |
eba9f61 | Antoine Pitrou | 20 April 2020, 18:54:55 UTC | bpo-40330: Fix utf-8 size check in ShareableList (GH-19606) The item size must be checked after encoding to bytes, not before. Automerge-Triggered-By: @pitrou | 20 April 2020, 18:54:55 UTC |
5dd21f5 | Hai Shi | 20 April 2020, 16:49:13 UTC | bpo-39849: Enable assertions in _testcapimodule.c and _testinternalcapi.c (GH-19623) | 20 April 2020, 16:49:13 UTC |
9b0b5d2 | Barry | 20 April 2020, 14:58:42 UTC | bpo-40260: Revert breaking changes made in modulefinder (GH-19595) | 20 April 2020, 14:58:42 UTC |
df8913f | Galden | 20 April 2020, 02:17:37 UTC | Fix typo in Lib/tracepack.py (GH-19605) Typo fix: "emites" -> "emit". | 20 April 2020, 02:17:37 UTC |
3955da8 | Batuhan Taşkaya | 19 April 2020, 18:02:17 UTC | ignore Modules/python.exp on AIX (autogenerated) (GH-19607) | 19 April 2020, 18:02:17 UTC |
8aea4b3 | Tim Hoffmann | 19 April 2020, 15:29:49 UTC | bpo-40148: Add PurePath.with_stem() (GH-19295) Add PurePath.with_stem() | 19 April 2020, 15:29:49 UTC |
c8f1715 | Thomas Krennwallner | 19 April 2020, 15:19:24 UTC | bpo-38891: avoid quadratic item access performance of ShareableList (GH-18996) Avoid linear runtime of ShareableList.__getitem__ and ShareableList.__setitem__ by storing running allocated bytes in ShareableList._allocated_bytes instead of the number of bytes for a particular stored item. Co-authored-by: Antoine Pitrou <antoine@python.org> | 19 April 2020, 15:19:24 UTC |
1ac6e37 | Kyle Stanley | 19 April 2020, 14:00:59 UTC | bpo-39207: Spawn workers on demand in ProcessPoolExecutor (GH-19453) Roughly based on https://github.com/python/cpython/commit/904e34d4e6b6007986dcc585d5c553ee8ae06f95, but with a few substantial differences. /cc @pitrou @brianquinlan | 19 April 2020, 14:00:59 UTC |
c12375a | Tim Lo | 19 April 2020, 09:43:11 UTC | bpo-39285: Clarify example for PurePath.match (GH-19458) Fixes Issue39285 The example incorrectly returned True for match. Furthermore the example is ambiguous in its usage of PureWindowsPath. Windows is case-insensitve, however the underlying match functionality utilizes fnmatch.fnmatchcase. Automerge-Triggered-By: @pitrou | 19 April 2020, 09:43:11 UTC |
4fe0020 | Raymond Hettinger | 19 April 2020, 07:36:42 UTC | bpo-40325: Deprecate set object support in random.sample() (GH-19591) | 19 April 2020, 07:36:42 UTC |
482259d | Furkan Önder | 18 April 2020, 18:09:09 UTC | bpo-27635: Fix pickle documentation about `__new__` not being called. (GH-19269) Automerge-Triggered-By: @pitrou | 18 April 2020, 18:09:09 UTC |
696136b | Karthikeyan Singaravelan | 18 April 2020, 16:19:32 UTC | bpo-35113: Fix inspect.getsource to return correct source for inner classes (#10307) * Use ast module to find class definition * Add NEWS entry * Fix class with multiple children and move decorator code to the method * Fix PR comments 1. Use node.decorator_list to select decorators 2. Remove unwanted variables in ClassVisitor 3. Simplify stack management as per review * Add test for nested functions and async calls * Fix pydoc test since comments are returned now correctly * Set event loop policy as None to fix environment related change * Refactor visit_AsyncFunctionDef and tests * Refactor to use local variables and fix tests * Add patch attribution * Use self.addCleanup for asyncio * Rename ClassVisitor to ClassFinder and fix asyncio cleanup * Return first class inside conditional in case of multiple definitions. Remove decorator for class source. * Add docstring to make the test correct * Modify NEWS entry regarding decorators * Return decorators too for bpo-15856 * Move ast and the class source code to top. Use proper Exception. | 18 April 2020, 16:19:32 UTC |
ce57883 | Hakan Çelik | 18 April 2020, 16:17:19 UTC | Add spaces around the ":=" operator in ast_unparse.c (GH-19568) | 18 April 2020, 16:17:19 UTC |
2b56031 | Serhiy Storchaka | 18 April 2020, 16:14:10 UTC | bpo-40178: Convert the remaining os functions to Argument Clinic. (GH-19360) Convert os.getgrouplist(), os.initgroups(), os.sendfile() and os.get_terminal_size(). | 18 April 2020, 16:14:10 UTC |
12446e6 | Serhiy Storchaka | 18 April 2020, 14:52:48 UTC | bpo-40179: Fix translation of #elif in Argument Clinic (GH-19364) Co-authored-by: Ammar Askar <ammar@ammaraskar.com> | 18 April 2020, 14:52:48 UTC |
fb94040 | Chih-Hsuan Yen | 18 April 2020, 14:20:54 UTC | bpo-35967: Skip test with `uname -p` on Android (GH-19577) The uname binary on Android does not support -p [1]. Here is a sample log: ``` 0:06:03 load avg: 0.56 [254/421/8] test_platform failed -- running: test_asyncio (5 min 53 sec) uname: Unknown option p (see "uname --help") test test_platform failed -- Traceback (most recent call last): File "/data/local/tmp/lib/python3.9/test/test_platform.py", line 170, in test_uname_processor proc_res = subprocess.check_output(['uname', '-p'], text=True).strip() File "/data/local/tmp/lib/python3.9/subprocess.py", line 420, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/data/local/tmp/lib/python3.9/subprocess.py", line 524, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['uname', '-p']' returned non-zero exit status 1. ``` [1] https://android.googlesource.com/platform/external/toybox/+/refs/heads/master/toys/posix/uname.c Automerge-Triggered-By: @jaraco | 18 April 2020, 14:20:54 UTC |
7e64414 | Serhiy Storchaka | 18 April 2020, 14:13:21 UTC | bpo-40257: Improve help for the typing module (GH-19546) * Show docstring for special forms. * Show docstring for special generic aliases. * Show documentation for __origin__ for generic aliases. | 18 April 2020, 14:13:21 UTC |
c606624 | Galden | 18 April 2020, 06:58:29 UTC | Fix two typos in multiprocessing (GH-19571) | 18 April 2020, 06:58:29 UTC |
87502dd | Victor Stinner | 17 April 2020, 20:54:38 UTC | bpo-40286: Use random.randbytes() in tests (GH-19575) | 17 April 2020, 20:54:38 UTC |
223221b | Serhiy Storchaka | 17 April 2020, 20:51:28 UTC | bpo-40286: Makes simpler the relation between randbytes() and getrandbits() (GH-19574) | 17 April 2020, 20:51:28 UTC |
5b1d918 | Barney Gale | 17 April 2020, 17:47:27 UTC | bpo-39894: Route calls from pathlib.Path.samefile() to os.stat() via the path accessor (GH-18836) | 17 April 2020, 17:47:27 UTC |
c746c4f | Barney Gale | 17 April 2020, 17:42:06 UTC | bpo-39897: Remove needless `Path(self.parent)` call, which makes `is_mount()` misbehave in `Path` subclasses. (GH-18839) | 17 April 2020, 17:42:06 UTC |
75a3378 | Antoine Pitrou | 17 April 2020, 17:32:14 UTC | bpo-40282: Allow random.getrandbits(0) (GH-19539) | 17 April 2020, 17:32:14 UTC |
d7c657d | Victor Stinner | 17 April 2020, 17:13:34 UTC | bpo-40302: UTF-32 encoder SWAB4() macro use a|b rather than a+b (GH-19572) | 17 April 2020, 17:13:34 UTC |
1a1bd2e | Victor Stinner | 17 April 2020, 17:13:06 UTC | bpo-40302: Replace PY_INT64_T with int64_t (GH-19573) * Replace PY_INT64_T with int64_t * Replace PY_UINT32_T with uint32_t * Replace PY_UINT64_T with uint64_t sha3module.c no longer checks if PY_UINT64_T is defined since it's always defined and uint64_t is always available on platforms supported by Python. | 17 April 2020, 17:13:06 UTC |
9f5fe79 | Victor Stinner | 17 April 2020, 17:05:35 UTC | bpo-40286: Add randbytes() method to random.Random (GH-19527) Add random.randbytes() function and random.Random.randbytes() method to generate random bytes. Modify secrets.token_bytes() to use SystemRandom.randbytes() rather than calling directly os.urandom(). Rename also genrand_int32() to genrand_uint32(), since it returns an unsigned 32-bit integer, not a signed integer. The _random module is now built with Py_BUILD_CORE_MODULE defined. | 17 April 2020, 17:05:35 UTC |
22386bb | Barney Gale | 17 April 2020, 16:41:07 UTC | bpo-39901: Move `pathlib.Path.owner()` and `group()` implementations into the path accessor. (GH-18844) | 17 April 2020, 16:41:07 UTC |
06a3554 | Mariusz Felisiak | 17 April 2020, 16:02:47 UTC | bpo-40300: Allow empty logging.Formatter.default_msec_format. (GH-19551) | 17 April 2020, 16:02:47 UTC |
1ae035b | Victor Stinner | 17 April 2020, 15:47:20 UTC | bpo-40302: Add pycore_byteswap.h header file (GH-19552) Add a new internal pycore_byteswap.h header file with the following functions: * _Py_bswap16() * _Py_bswap32() * _Py_bswap64() Use these functions in _ctypes, sha256 and sha512 modules, and also use in the UTF-32 encoder. sha256, sha512 and _ctypes modules are now built with the internal C API. | 17 April 2020, 15:47:20 UTC |
485e715 | Inada Naoki | 17 April 2020, 06:56:35 UTC | bpo-40287: Fix SpooledTemporaryFile.seek() return value (GH-19540) It has not returned the file position after the seek. | 17 April 2020, 06:56:35 UTC |
bf1a812 | Raymond Hettinger | 17 April 2020, 02:54:13 UTC | Minor modernization and readability improvement to the tokenizer example (GH-19558) | 17 April 2020, 02:54:13 UTC |
a75e730 | Jeffrey Quesnelle | 17 April 2020, 02:09:45 UTC | bpo-40294: Fix _asyncio when module is loaded/unloaded multiple times (GH-19542) | 17 April 2020, 02:09:45 UTC |
a388bbd | Christoph Zwerschke | 17 April 2020, 01:54:53 UTC | Fix parameter names in assertIn() docs (GH-18829) The names "member" and "container" for the arguments are also used in the module and shown with the help() function, and are immediately understandable in this context, contrary to "first" and "second". | 17 April 2020, 01:54:53 UTC |
5565c30 | Batuhan Taşkaya | 16 April 2020, 17:29:12 UTC | bpo-39793: use the same domain on make_msgid tests (#18698) * bpo-39793: use same domain on make_msgid tests * apply suggestions | 16 April 2020, 17:29:12 UTC |
70f027d | Raymond Hettinger | 16 April 2020, 17:25:14 UTC | bpo-40290: Add zscore() to statistics.NormalDist. (GH-19547) | 16 April 2020, 17:25:14 UTC |
518835f | Jason R. Coombs | 16 April 2020, 12:28:09 UTC | bpo-35967 resolve platform.processor late (GH-12239) * Replace flag-flip indirection with direct inspection * Use any for simpler code * Avoid flag flip and set results directly. * Resolve processor in a single function. * Extract processor handling into a namespace (class) * Remove _syscmd_uname, unused * Restore platform.processor behavior to match prior expectation (reliant on uname -p in a subprocess). * Extract '_unknown_as_blank' function. * Override uname_result to resolve the processor late. * Add a test intended to capture the expected values from 'uname -p' * Instead of trying to keep track of all of the possible outputs on different systems (probably a fool's errand), simply assert that except for the known platform variance, uname().processor matches the output of 'uname -p' * Use a skipIf directive * Use contextlib.suppress to suppress the error. Inline strip call. * 📜🤖 Added by blurb_it. * Remove use of contextlib.suppress (it would fail with NameError if it had any effect). Rely on _unknown_as_blank to replace unknown with blank. Co-authored-by: blurb-it[bot] <blurb-it[bot]@users.noreply.github.com> | 16 April 2020, 12:28:09 UTC |
6a5bf15 | Hakan Çelik | 16 April 2020, 10:11:55 UTC | bpo-40209: Use tokenize.open in test_unparse (GH-19399) | 16 April 2020, 10:11:55 UTC |
01508dc | Shantanu | 16 April 2020, 10:10:12 UTC | Fix typo in exception thrown by ast.unparse (GH-19534) | 16 April 2020, 10:10:12 UTC |
e72cbcb | Jason R. Coombs | 15 April 2020, 23:55:35 UTC | bpo-35967: Make test_platform.test_uname_processor more lenient to satisfy build bots. (GH-19544) * bpo-35967: Make test more lenient to satisfy build bots. * Update Lib/test/test_platform.py Co-Authored-By: Kyle Stanley <aeros167@gmail.com> * Expect '' for 'unknown' Co-authored-by: Kyle Stanley <aeros167@gmail.com> | 15 April 2020, 23:55:35 UTC |
58d6f2e | Ammar Askar | 15 April 2020, 21:19:26 UTC | bpo-40270: Enable json extension in Windows sqlite extension (GH-19528) | 15 April 2020, 21:19:26 UTC |
fbf2786 | Serhiy Storchaka | 15 April 2020, 20:00:20 UTC | bpo-40257: Output object's own docstring in pydoc (GH-19479) | 15 April 2020, 20:00:20 UTC |
ba1bcff | Russell Davis | 15 April 2020, 18:57:06 UTC | bpo-29255: Wait in KqueueSelector.select when no fds are registered (GH-19508) Also partially fixes bpo-25680 (there's still a discrepancy in behavior on Windows that needs to be fixed). | 15 April 2020, 18:57:06 UTC |
4b4e90a | Jason R. Coombs | 15 April 2020, 18:32:01 UTC | bpo-35967: Baseline values for uname -p (GH-12824) * Add a test intended to capture the expected values from 'uname -p' * Instead of trying to keep track of all of the possible outputs on different systems (probably a fool's errand), simply assert that except for the known platform variance, uname().processor matches the output of 'uname -p' * Use a skipIf directive * Use contextlib.suppress to suppress the error. Inline strip call. | 15 April 2020, 18:32:01 UTC |
9a4b38f | Lysandros Nikolaou | 15 April 2020, 18:22:10 UTC | bpo-40267: Fix message when last input character produces a SyntaxError (GH-19521) When there is a SyntaxError after reading the last input character from the tokenizer and if no newline follows it, the error message used to be `unexpected EOF while parsing`, which is wrong. | 15 April 2020, 18:22:10 UTC |
574547a | Jason R. Coombs | 15 April 2020, 17:55:43 UTC | Clean up compatibility code in importlib fixtures (#19156) | 15 April 2020, 17:55:43 UTC |
5eca75d | Victor Stinner | 15 April 2020, 13:07:31 UTC | bpo-40268: Reformat posixmodule.c includes (GH-19536) | 15 April 2020, 13:07:31 UTC |
455df97 | Victor Stinner | 15 April 2020, 12:05:24 UTC | Optimize _Py_strhex_impl() (GH-19535) Avoid a temporary buffer to create a bytes string: use PyBytes_FromStringAndSize() to directly allocate a bytes object. Cleanup also the code: PEP 7 formatting, move variable definitions closer to where they are used. Fix assertion checking "j" index. | 15 April 2020, 12:05:24 UTC |
a86b522 | Ammar Askar | 15 April 2020, 06:36:08 UTC | bpo-40277: Add a repr() to namedtuple's _tuplegetter to aid with introspection (GH-19537) | 15 April 2020, 06:36:08 UTC |
4f98f46 | Victor Stinner | 15 April 2020, 02:01:58 UTC | bpo-40268: Remove unused imports in pylifecycle.c (GH-19533) Remove unused imports in files: * initconfig.c * main.c * preconfig.h * pylifecycle.c * python.c * pythonrun.c | 15 April 2020, 02:01:58 UTC |
361dcdc | Victor Stinner | 15 April 2020, 01:24:57 UTC | bpo-40268: Remove unused osdefs.h includes (GH-19532) When the include is needed, add required symbol in a comment. | 15 April 2020, 01:24:57 UTC |
d9ea5ca | Victor Stinner | 15 April 2020, 00:57:50 UTC | bpo-40268: Remove unused pycore_pymem.h includes (GH-19531) | 15 April 2020, 00:57:50 UTC |
4a21e57 | Victor Stinner | 15 April 2020, 00:35:41 UTC | bpo-40268: Remove unused structmember.h includes (GH-19530) If only offsetof() is needed: include stddef.h instead. When structmember.h is used, add a comment explaining that PyMemberDef is used. | 15 April 2020, 00:35:41 UTC |
62183b8 | Victor Stinner | 15 April 2020, 00:04:42 UTC | bpo-40268: Remove explicit pythread.h includes (#19529) Remove explicit pythread.h includes: it is always included by Python.h. | 15 April 2020, 00:04:42 UTC |
d01628e | Ethan Smith | 14 April 2020, 23:14:15 UTC | bpo-39481: PEP 585 for dataclasses, mailbox, contextvars (GH-19425) | 14 April 2020, 23:14:15 UTC |
3398646 | Pablo Galindo | 14 April 2020, 20:40:41 UTC | bpo-39522: Always initialise kind attribute in constant ast nodes (GH-19525) | 14 April 2020, 20:40:41 UTC |
43aeefa | Batuhan Taşkaya | 14 April 2020, 20:21:22 UTC | bpo-39522: Use _PyUnicodeWriter_WriteStr instead of PyUnicode_AS_DATA (GH-19523) | 14 April 2020, 20:21:22 UTC |
4c0a31f | Miro Hrončok | 14 April 2020, 19:49:11 UTC | bpo-9216: Nobody expects the geohashing FIPS inquisition (GH-19520) Automerge-Triggered-By: @tiran | 14 April 2020, 19:49:11 UTC |
d42e582 | Barry | 14 April 2020, 19:16:06 UTC | bpo-40260: Update modulefinder to use io.open_code() and respect coding comments (GH-19488) | 14 April 2020, 19:16:06 UTC |
aade1cc | Batuhan Taşkaya | 14 April 2020, 18:55:01 UTC | bpo-395222: Correctly unparse unicode prefix in ast_unparse.c (GH-19512) | 14 April 2020, 18:55:01 UTC |
96515e9 | Zackery Spytz | 14 April 2020, 18:11:46 UTC | bpo-32033: Fix test_pwd failures on Android (GH-19502) | 14 April 2020, 18:11:46 UTC |
675d9a3 | Hai Shi | 14 April 2020, 18:11:20 UTC | bpo-40170: Convert PyObject_IS_GC() macro to a function (GH-19464) | 14 April 2020, 18:11:20 UTC |
a5900ec | Dong-hee Na | 14 April 2020, 16:35:36 UTC | bpo-40221: Update multiprocessing to use _at_fork_reinit (GH-19511) | 14 April 2020, 16:35:36 UTC |
e560f90 | Victor Stinner | 14 April 2020, 16:30:41 UTC | bpo-40268: Move struct _gc_runtime_state to pycore_gc.h (GH-19515) | 14 April 2020, 16:30:41 UTC |
4cf65a6 | Victor Stinner | 14 April 2020, 16:29:44 UTC | regrtest: log timeout at startup (GH-19514) Reduce also worker timeout. | 14 April 2020, 16:29:44 UTC |
62f75fe | Dong-hee Na | 14 April 2020, 16:16:24 UTC | bpo-40232: Update PyOS_AfterFork_Child() to use _PyThread_at_fork_reinit() (GH-19450) | 14 April 2020, 16:16:24 UTC |
e5014be | Victor Stinner | 14 April 2020, 15:52:15 UTC | bpo-40268: Remove a few pycore_pystate.h includes (GH-19510) | 14 April 2020, 15:52:15 UTC |
e194530 | Dong-hee Na | 14 April 2020, 13:15:52 UTC | bpo-40221: Update multiprocessing to use _at_fork_reinit (GH-19477) | 14 April 2020, 13:15:52 UTC |
81a7be3 | Victor Stinner | 14 April 2020, 13:14:01 UTC | bpo-40268: Rename _PyInterpreterState_GET_UNSAFE() (GH-19509) Rename _PyInterpreterState_GET_UNSAFE() to _PyInterpreterState_GET() for consistency with _PyThreadState_GET() and to have a shorter name (help to fit into 80 columns). Add also "assert(tstate != NULL);" to the function. | 14 April 2020, 13:14:01 UTC |
4a3fe08 | Victor Stinner | 14 April 2020, 12:26:24 UTC | bpo-40268: Include explicitly pycore_interp.h (GH-19505) pycore_pystate.h no longer includes pycore_interp.h: it's now included explicitly in files accessing PyInterpreterState. | 14 April 2020, 12:26:24 UTC |
8ef8750 | Ethan Smith | 14 April 2020, 04:54:40 UTC | bpo-39481: Make weakref and WeakSet generic (GH-19497) | 14 April 2020, 04:54:40 UTC |
cecf049 | Ethan Smith | 14 April 2020, 04:53:04 UTC | bpo-39481: Make functools.cached_property, partial, partialmethod generic (#19427) | 14 April 2020, 04:53:04 UTC |
584a3cf | Benjamin Peterson | 14 April 2020, 03:11:40 UTC | closes bpo-40266, closes bpo-39953: Use numeric lib code if compiling against old OpenSSL. (GH-19506) | 14 April 2020, 03:11:40 UTC |
02152b7 | Galden | 14 April 2020, 00:04:32 UTC | Fix typo from Lib/asyncio/events.py (GH-19410) | 14 April 2020, 00:04:32 UTC |
990ea42 | Batuhan Taşkaya | 13 April 2020, 23:51:32 UTC | bpo-40208: Remove deprecated has_exec method of SymbolTable (GH-19396) | 13 April 2020, 23:51:32 UTC |
a1a0eb4 | Sebastian Pedersen | 13 April 2020, 23:07:56 UTC | bpo-39380: Change ftplib encoding from latin-1 to utf-8 (GH-18048) Add the encoding in ftplib.FTP and ftplib.FTP_TLS to the constructor as keyword-only and change the default from "latin-1" to "utf-8" to follow RFC 2640. | 13 April 2020, 23:07:56 UTC |
258f517 | Batuhan Taşkaya | 13 April 2020, 22:51:31 UTC | bpo-32894: Support unparsing of infinity numbers in ast_unparser.c (GH-17426) | 13 April 2020, 22:51:31 UTC |
4c3da78 | Victor Stinner | 13 April 2020, 22:25:34 UTC | bpo-40091: Fix a hang at fork in the logging module (GH-19416) Fix a hang at fork in the logging module: the new private _at_fork_reinit() method is now used to reinitialize locks at fork in the child process. The createLock() method is no longer used at fork. | 13 April 2020, 22:25:34 UTC |
25a6833 | Chih-Hsuan Yen | 13 April 2020, 22:00:16 UTC | bpo-39481: fix test_genericalias on Android (GH-19469) Android bionic does not implement shm_open/shm_unlink [1]. As a result _posixshmem extension does not exist and multiprocessing.shared_memory cannot be imported. [1] https://android.googlesource.com/platform/bionic/+/master/docs/status.md | 13 April 2020, 22:00:16 UTC |
0c13e1f | Victor Stinner | 13 April 2020, 10:47:17 UTC | bpo-40241: Add pycore_interp.h header (GH-19499) Move PyInterpreterState and related functions to a new internal pycore_interp.h header file. | 13 April 2020, 10:47:17 UTC |
1c4cbdf | Victor Stinner | 13 April 2020, 09:45:21 UTC | bpo-40268: Add pycore_runtime.h header file (GH-19493) Move PyRuntimeState from pycore_pystate.h to pycore_runtime.h. Remove _PyGILState_check_enabled macro: access directly _PyRuntime.gilstate.check_enabled. | 13 April 2020, 09:45:21 UTC |
0135598 | Victor Stinner | 13 April 2020, 09:38:42 UTC | bpo-40241: Add pycore_gc.h header file (GH-19494) Move the PyGC_Head structure and the following private macros to the internal C API: * _PyGCHead_FINALIZED() * _PyGCHead_NEXT() * _PyGCHead_PREV() * _PyGCHead_SET_FINALIZED() * _PyGCHead_SET_NEXT() * _PyGCHead_SET_PREV() * _PyGC_FINALIZED() * _PyGC_PREV_MASK * _PyGC_PREV_MASK_COLLECTING * _PyGC_PREV_MASK_FINALIZED * _PyGC_PREV_SHIFT * _PyGC_SET_FINALIZED() * _PyObject_GC_IS_TRACKED() * _PyObject_GC_MAY_BE_TRACKED() * _Py_AS_GC(o) Keep the private _PyGC_FINALIZED() macro in the public C API for backward compatibility with Python 3.8: make it an alias to the new PyObject_GC_IsFinalized() function. Move the SIZEOF_PYGC_HEAD constant from _testcapi module to _testinternalcapi module. | 13 April 2020, 09:38:42 UTC |
85dd6bb | laike9m | 13 April 2020, 02:55:45 UTC | Improved documentation for `BUILD_CONST_KEY_MAP` (GH-19454) | 13 April 2020, 02:55:45 UTC |
70c188e | Pablo Galindo | 13 April 2020, 01:47:35 UTC | Add double quote cases to invalid prefix tests (GH-19489) | 13 April 2020, 01:47:35 UTC |
da7933e | Victor Stinner | 13 April 2020, 01:04:28 UTC | bpo-40268: Add _PyInterpreterState_GetConfig() (GH-19492) Don't access PyInterpreterState.config member directly anymore, but use new functions: * _PyInterpreterState_GetConfig() * _PyInterpreterState_SetConfig() * _Py_GetConfig() | 13 April 2020, 01:04:28 UTC |
14d5331 | Victor Stinner | 12 April 2020, 21:45:09 UTC | bpo-40234: Revert "bpo-37266: Daemon threads are now denied in subinterpreters (GH-14049)" (GH-19456) This reverts commit 066e5b1a917ec2134e8997d2cadd815724314252. | 12 April 2020, 21:45:09 UTC |
909b87d | Benjamin Peterson | 12 April 2020, 18:59:31 UTC | closes bpo-39953: Generate ifdefs around library code definitions. (GH-19490) | 12 April 2020, 18:59:31 UTC |