Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Doc: fix typo in typing.Type docs (GH-23460) | John Belmonte | 2020-11-22 | 1 | -1/+1 |
| | |||||
* | bpo-42423: Accept single base class in PyType_FromModuleAndSpec() (GH-23441) | Serhiy Storchaka | 2020-11-22 | 7 | -28/+17 |
| | |||||
* | bpo-42427: Use the errno attribute of OSError instead of args[0] (GH-23449) | Serhiy Storchaka | 2020-11-22 | 3 | -11/+11 |
| | |||||
* | bpo-42391: Clarify documentation of TestCase.assertIs (GH-23348) | Ram Rachum | 2020-11-22 | 1 | -2/+1 |
| | | | Removing 'evaluate' makes it more consistent with other assertX entries. | ||||
* | bpo-41116: Ensure system supplied libraries are found on macOS 11 (GH-23301) | Ronald Oussoren | 2020-11-22 | 4 | -30/+38 |
| | | | | | | On macOS system provided libraries are in a shared library cache and not at their usual location. This PR teaches distutils to search in the SDK, even if there was no "-sysroot" argument in the compiler flags. | ||||
* | bpo-42426: IDLE: Fix reporting offset of the RE error in searchengine (GH-23447) | Serhiy Storchaka | 2020-11-22 | 4 | -9/+11 |
| | |||||
* | bpo-41100: Stripping '-arch arm64' didn't work after all (GH-23280) | Ronald Oussoren | 2020-11-22 | 1 | -2/+2 |
| | |||||
* | bpo-42361: Use Tcl/Tk 8.6.10 when building the installer on recent macOS ↵ | Ronald Oussoren | 2020-11-22 | 1 | -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 Oussoren | 2020-11-22 | 3 | -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 Levasseur | 2020-11-21 | 2 | -1/+57 |
| | |||||
* | bpo-1635741: Port select module to multiphase init (GH-23409) | Christian Heimes | 2020-11-21 | 3 | -85/+110 |
| | |||||
* | bpo-1635741: Port _posixsubprocess module to multiphase init (GH-23406) | Christian Heimes | 2020-11-21 | 2 | -35/+43 |
| | |||||
* | bpo-42425: Fix possible leak in initialization of errmap for OSError (GH-23446) | Serhiy Storchaka | 2020-11-21 | 1 | -1/+3 |
| | |||||
* | bpo-42232: mmap module add Darwin specific madvise options. (GH-23076) | David CARLIER | 2020-11-21 | 3 | -0/+11 |
| | |||||
* | bpo-42412: Fix possible leaks and check arguments in ↵ | Serhiy Storchaka | 2020-11-21 | 2 | -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íns | 2020-11-21 | 3 | -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 Jeanpierre | 2020-11-21 | 2 | -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 Hibon | 2020-11-21 | 1 | -2/+2 |
| | |||||
* | bpo-42407: Use possessive appostrophe in multiprocessing doc (GH-23400) | ArioA | 2020-11-21 | 1 | -1/+1 |
| | |||||
* | bpo-36876: [c-analyzer tool] Tighten up the results and output. (GH-23431) | Eric Snow | 2020-11-20 | 13 | -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) | Shantanu | 2020-11-20 | 2 | -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 Hettinger | 2020-11-20 | 1 | -0/+3 |
| | |||||
* | Fix wrong availability for signal.SIGCHLD (#23285) | Zhang Maiyun | 2020-11-20 | 1 | -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 Cannon | 2020-11-20 | 6 | -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íns | 2020-11-20 | 1 | -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 Stinner | 2020-11-20 | 4 | -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 Aasland | 2020-11-20 | 4 | -483/+374 |
| | | | | (PEP 384) (GH-23393) | ||||
* | bpo-1635741: Enhance _datetime error handling (GH-23139) | Mohamed Koubaa | 2020-11-20 | 1 | -117/+103 |
| | |||||
* | bpo-42333: Port _ssl extension module to heap types (GH-23392) | Christian Heimes | 2020-11-20 | 3 | -336/+363 |
| | | | All types in _ssl module are now heap types. | ||||
* | bpo-42413: socket.timeout is now an alias of TimeoutError (GH-23413) | Christian Heimes | 2020-11-20 | 24 | -62/+72 |
| | | | Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-42416: Use inspect.getdoc for IDLE calltips (GH-23416) | Terry Jan Reedy | 2020-11-20 | 4 | -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) | kj | 2020-11-19 | 2 | -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 Karabas | 2020-11-19 | 3 | -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 Heimes | 2020-11-19 | 2 | -13/+10 |
| | | | | | (GH-23404) Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-1635741: Fix _struct for build bot error (GH-23402) | Dong-hee Na | 2020-11-19 | 1 | -1/+1 |
| | | | Automerge-Triggered-By: GH:tiran | ||||
* | bpo-1635741: Port gc module to multiphase initialization (GH-23377) | Christian Heimes | 2020-11-19 | 2 | -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 Heimes | 2020-11-19 | 3 | -238/+271 |
| | | | Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-42403: Simplify importlib external bootstrap (GH-23397) | Victor Stinner | 2020-11-19 | 6 | -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 Stinner | 2020-11-19 | 3 | -4/+0 |
| | | | Remove unused imports and unused local variables. | ||||
* | bpo-1635741: Port spwd to multiphase initialization (GH-23390) | Christian Heimes | 2020-11-19 | 2 | -27/+58 |
| | | | Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-1635741: Port _queue to multiphase initialization (GH-23376) | Christian Heimes | 2020-11-19 | 2 | -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 Heimes | 2020-11-19 | 3 | -66/+72 |
| | | | Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-1635741: Port _random to multiphase initialization (GH-23359) | Christian Heimes | 2020-11-19 | 2 | -45/+50 |
| | | | Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-42375: subprocess DragonFlyBSD build update. (GH-23320) | David CARLIER | 2020-11-19 | 2 | -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) | kj | 2020-11-19 | 1 | -0/+26 |
| | |||||
* | bpo-42381: Document walrus-related syntax changes in whatsnew (GH-23382) | Lysandros Nikolaou | 2020-11-18 | 1 | -0/+3 |
| | | | Automerge-Triggered-By: GH:lysnikolaou | ||||
* | bpo-1635741: Port _warnings to the multi-phase init (GH-23379) | Victor Stinner | 2020-11-18 | 2 | -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 Delfino | 2020-11-18 | 2 | -3/+3 |
| | |||||
* | bpo-1635741: Convert _imp to multi-phase init (GH-23378) | Victor Stinner | 2020-11-18 | 4 | -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čok | 2020-11-18 | 1 | -11/+0 |
| | | | A follow up for 0e2ac21dd4960574e89561243763eabba685296a |