summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-42426: IDLE: Fix reporting offset of the RE error in searchengine (GH-23447)Serhiy Storchaka2020-11-224-9/+11
|
* bpo-41100: Stripping '-arch arm64' didn't work after all (GH-23280)Ronald Oussoren2020-11-221-2/+2
|
* bpo-42361: Use Tcl/Tk 8.6.10 when building the installer on recent macOS ↵Ronald Oussoren2020-11-221-9/+32
| | | | | | (GH-23293) Building on older versions, and in particular macOS 10.9 still use Tk 8.6.8 because of build problems on that version of macOS.
* bpo-38443: Check that the specified universal architectures work (GH-22910)Ronald Oussoren2020-11-223-0/+34
| | | As [bpo-38443]() says the error message from configure when specifying --enable-universalsdk with a set of architectures that is not supported by the compiler is not very helpful. This PR explicitly checks if the compiler works and bails out if it doesn't.
* Clarify that Set._from_iterable is not required to be a classmethod. (GH-23272)Richard Levasseur2020-11-212-1/+57
|
* bpo-1635741: Port select module to multiphase init (GH-23409)Christian Heimes2020-11-213-85/+110
|
* bpo-1635741: Port _posixsubprocess module to multiphase init (GH-23406)Christian Heimes2020-11-212-35/+43
|
* bpo-42425: Fix possible leak in initialization of errmap for OSError (GH-23446)Serhiy Storchaka2020-11-211-1/+3
|
* bpo-42232: mmap module add Darwin specific madvise options. (GH-23076)David CARLIER2020-11-213-0/+11
|
* bpo-42412: Fix possible leaks and check arguments in ↵Serhiy Storchaka2020-11-212-7/+22
| | | | | | | | PyType_FromModuleAndSpec() (GH-23410) * There were leaks if Py_tp_bases is used more than once or if some call is failed before setting tp_bases. * There was a crash if the bases argument or the Py_tp_bases slot is not a tuple. * The documentation was not accurate.
* bpo-40550: Fix time-of-check/time-of-action issue in ↵Filipe Laíns2020-11-213-1/+19
| | | | | | | subprocess.Popen.send_signal. (GH-20010) send_signal() now swallows the exception if the process it thought was still alive winds up not to exist anymore (always a plausible race condition despite the checks). Co-authored-by: Gregory P. Smith <greg@krypto.org>
* bpo-40791: Make compare_digest more constant-time. (GH-20444)Devin Jeanpierre2020-11-212-1/+2
| | | | | | | | * bpo-40791: Make compare_digest more constant-time. The existing volatile `left`/`right` pointers guarantee that the reads will all occur, but does not guarantee that they will be _used_. So a compiler can still short-circuit the loop, saving e.g. the overhead of doing the xors and especially the overhead of the data dependency between `result` and the reads. That would change performance depending on where the first unequal byte occurs. This change removes that optimization. (This is change #1 from https://bugs.python.org/issue40791 .)
* bpo-42419: Correct 'deprecatations' is What's New 3.9 (GH-23421)Quentin Hibon2020-11-211-2/+2
|
* bpo-42407: Use possessive appostrophe in multiprocessing doc (GH-23400)ArioA2020-11-211-1/+1
|
* bpo-36876: [c-analyzer tool] Tighten up the results and output. (GH-23431)Eric Snow2020-11-2013-109/+3202
| | | We also update the "ignored" file with a temporary list of all known globals.
* bpo-28002: Roundtrip f-strings with ast.unparse better (#19612)Shantanu2020-11-202-37/+115
| | | | | | | | | By attempting to avoid backslashes in f-string expressions. We also now proactively raise errors for some backslashes we can't avoid while unparsing FormattedValues Co-authored-by: hauntsaninja <> Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com> Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
* bpo-42360: Add advice to help avoid pickling issues. (GH-23305)Raymond Hettinger2020-11-201-0/+3
|
* Fix wrong availability for signal.SIGCHLD (#23285)Zhang Maiyun2020-11-201-1/+1
| | | I believe this is a mistake. SIGCHLD is only available on Unix systems, not Windows.
* bpo-35498: Added slice support to PathLib parents attribute. (GH-11165)Joshua Cannon2020-11-206-0/+42
| | | Added slice support to the `pathlib.Path.parents` sequence. For a `Path` `p`, slices of `p.parents` should return the same thing as slices of `tuple(p.parents)`.
* bpo-42212: Check if generated files are up-to-date in GitHub Actions (GH-23042)Filipe Laíns2020-11-201-0/+28
| | | | | See https: //github.com/python/core-workflow/issues/380 Signed-off-by: Filipe Laíns <lains@archlinux.org>
* bpo-42403: Use @staticmethod in importlib (GH-23395)Victor Stinner2020-11-204-2356/+2355
| | | | | | | | | | | | | Use @staticmethod on methods using @classmethod but don't use their cls parameter on the following classes: * BuiltinImporter * FrozenImporter * WindowsRegistryFinder * PathFinder Leave methods using @_requires_builtin or @_requires_frozen unchanged, since this decorator requires the wrapped method to have an extra parameter (cls or self).
* bpo-1635741: Convert _sre types to heap types and establish module state ↵Erlend Egeberg Aasland2020-11-204-483/+374
| | | | (PEP 384) (GH-23393)
* bpo-1635741: Enhance _datetime error handling (GH-23139)Mohamed Koubaa2020-11-201-117/+103
|
* bpo-42333: Port _ssl extension module to heap types (GH-23392)Christian Heimes2020-11-203-336/+363
| | | All types in _ssl module are now heap types.
* bpo-42413: socket.timeout is now an alias of TimeoutError (GH-23413)Christian Heimes2020-11-2024-62/+72
| | | Signed-off-by: Christian Heimes <christian@python.org>
* bpo-42416: Use inspect.getdoc for IDLE calltips (GH-23416)Terry Jan Reedy2020-11-204-6/+13
| | | Inspect.getdoc(ob) sometimes gets docstrings when ob.__doc__ is None.
* bpo-42345: Add whatsnew and versionchanged for typing.Literal in 3.9 (GH-23386)kj2020-11-192-0/+35
| | | | | | * Whatsnew entry in 3.9 same as the one in 3.10. * versionchanged for typing.Literal docs Needs backport to 3.9.
* bpo-42345: Fix hash implementation of typing.Literal (GH-23383)Yurii Karabas2020-11-193-4/+9
| | | | | | | Fix hash implementation of `typing.Literal`. Update docs regarding `typing.Litaral` caching. Base implementation was done in PR #23294.
* bpo-1635741: Port _posixshmem extension module to multiphase initialization ↵Christian Heimes2020-11-192-13/+10
| | | | | (GH-23404) Signed-off-by: Christian Heimes <christian@python.org>
* bpo-1635741: Fix _struct for build bot error (GH-23402)Dong-hee Na2020-11-191-1/+1
| | | Automerge-Triggered-By: GH:tiran
* bpo-1635741: Port gc module to multiphase initialization (GH-23377)Christian Heimes2020-11-192-45/+42
| | | | | Signed-off-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: GH:tiran
* bpo-1635741: Port _struct to multiphase initialization (GH-23398)Christian Heimes2020-11-193-238/+271
| | | Signed-off-by: Christian Heimes <christian@python.org>
* bpo-42403: Simplify importlib external bootstrap (GH-23397)Victor Stinner2020-11-196-4546/+4503
| | | | | | | Simplify the importlib external bootstrap code: importlib._bootstrap_external now uses regular imports to import builtin modules. When it is imported, the builtin __import__() function is already fully working and so can be used to import builtin modules like sys.
* bpo-42403: Fix pyflakes warnings in importlib (GH-23396)Victor Stinner2020-11-193-4/+0
| | | Remove unused imports and unused local variables.
* bpo-1635741: Port spwd to multiphase initialization (GH-23390)Christian Heimes2020-11-192-27/+58
| | | Signed-off-by: Christian Heimes <christian@python.org>
* bpo-1635741: Port _queue to multiphase initialization (GH-23376)Christian Heimes2020-11-192-37/+37
| | | | | Signed-off-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: GH:tiran
* bpo-1635741: Port grp and pwd to multiphase initialization (GH-23360)Christian Heimes2020-11-193-66/+72
| | | Signed-off-by: Christian Heimes <christian@python.org>
* bpo-1635741: Port _random to multiphase initialization (GH-23359)Christian Heimes2020-11-192-45/+50
| | | Signed-off-by: Christian Heimes <christian@python.org>
* bpo-42375: subprocess DragonFlyBSD build update. (GH-23320)David CARLIER2020-11-192-4/+5
| | | Same as FreeBSD, file descriptors in /dev/fd id from 0 to 63.
* bpo-42345: Add whatsnew for typing.Literal in 3.10 (GH-23385)kj2020-11-191-0/+26
|
* bpo-42381: Document walrus-related syntax changes in whatsnew (GH-23382)Lysandros Nikolaou2020-11-181-0/+3
| | | Automerge-Triggered-By: GH:lysnikolaou
* bpo-1635741: Port _warnings to the multi-phase init (GH-23379)Victor Stinner2020-11-182-40/+32
| | | | Port the _warnings extension module to the multi-phase initialization API (PEP 489).
* [doc] Fix smtplib and xml.dom.minidom mark-up (GH-22769)Andre Delfino2020-11-182-3/+3
|
* bpo-1635741: Convert _imp to multi-phase init (GH-23378)Victor Stinner2020-11-184-81/+122
| | | | | | | | | | | | Convert the _imp extension module to the multi-phase initialization API (PEP 489). * Add _PyImport_BootstrapImp() which fix a bootstrap issue: import the _imp module before importlib is initialized. * Add create_builtin() sub-function, used by _imp_create_builtin(). * Initialize PyInterpreterState.import_func earlier, in pycore_init_builtins(). * Remove references to _PyImport_Cleanup(). This function has been renamed to finalize_modules() and moved to pylifecycle.c.
* bpo-39573: Remove What's new entry for Py_SIZE() (GH-23375)Miro Hrončok2020-11-181-11/+0
| | | A follow up for 0e2ac21dd4960574e89561243763eabba685296a
* bpo-42085: Add documentation for Py_TPFLAGS_HAVE_AM_SEND (GH-23374)Vladimir Matveev2020-11-181-0/+8
| | | | | Updated docs to include `Py_TPFLAGS_HAVE_AM_SEND`. News section should not be necessary. Automerge-Triggered-By: GH:asvetlov
* bpo-39573: Convert Py_TYPE() and Py_SIZE() back to macros (GH-23366)Victor Stinner2020-11-185-26/+35
| | | | | | | | | This change partically reverts commit ad3252bad905d41635bcbb4b76db30d570cf0087 and the commit fe2978b3b940fe2478335e3a2ca5ad22338cdf9c. Many third party C extension modules rely on the ability of using Py_TYPE() to set an object type: "Py_TYPE(obj) = type;" or to set an object type using: "Py_SIZE(obj) = size;".
* bpo-42336: Improve PCbuild batch files (GH-23275)Steve Dower2020-11-189-24/+60
|
* bpo-40998: Address compiler warnings found by ubsan (GH-20929)Christian Heimes2020-11-184-5/+13
| | | | | Signed-off-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: GH:tiran
* bpo-1635741: Port _hashlib to multiphase initialization (GH-23358)Christian Heimes2020-11-182-36/+3
| | | Signed-off-by: Christian Heimes <christian@python.org>