summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-26952: [argparse] clearer error when formatting an empty mutually… ↵Irit Katriel2021-12-153-0/+11
| | | | (GH-30099)
* Document new call opcodes for 3.11 (GH-30107)Mark Shannon2021-12-141-3/+5
|
* bpo-44525: Split calls into PRECALL and CALL (GH-30011)Mark Shannon2021-12-1415-236/+395
| | | | | | | | | | * Add 3 new opcodes for calls: PRECALL_METHOD, CALL_NO_KW, CALL_KW. * Update specialization to handle new CALL opcodes. * Specialize call to method descriptors. * Remove old CALL opcodes: CALL_FUNCTION, CALL_METHOD, CALL_METHOD_KW, CALL_FUNCTION_KW.
* bpo-45292: [PEP-654] add except* (GH-29581)Irit Katriel2021-12-1434-1853/+5591
|
* bpo-46063: Add 'delay=True' to file handler initialization. (GH-30103)Vinay Sajip2021-12-141-1/+2
|
* bpo-46059: Clarify pattern-matching example in "control flow" docs (GH-30079)Alex Waygood2021-12-141-3/+5
| | | | | The "Color" example in the pattern-matching section of the "control flow" documentation is not immediately runnable, leading to confusion. Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* bpo-46023: Skip build if module is marked as DISABLED (GH-30100)Christian Heimes2021-12-142-1/+5
|
* bpo-23469: Delete Wing IDE configuration files (GH-30067)Kumar Aditya2021-12-144-50/+0
|
* bpo-45919: Remove out of date comment (GH-30090)Dong-hee Na2021-12-141-2/+4
|
* bpo-45953: Statically initialize the small ints. (gh-30092)Eric Snow2021-12-149-81/+360
| | | | | | | The array of small PyLong objects has been statically declared. Here I also statically initialize them. Consequently they are no longer initialized dynamically during runtime init. I've also moved them under a new sub-struct in _PyRuntimeState, in preparation for static allocation and initialization of other global objects. https://bugs.python.org/issue45953
* bpo-46063: Improve algorithm for computing which rolled-over log file… ↵Vinay Sajip2021-12-143-5/+83
| | | | (GH-30093)
* bpo-45949: Pure Python freeze module for cross builds (GH-29899)Christian Heimes2021-12-139-115/+205
|
* bpo-45643: Add signal.SIGSTKFLT on platforms where this is defined (GH-29266)Gareth Rees2021-12-133-0/+14
|
* bpo-45919: Use WinAPI GetFileType() in is_valid_fd() (GH-30082)Dong-hee Na2021-12-131-12/+10
|
* Clarify new_event_loop return value. (GH-30078)Paul Bryan2021-12-131-1/+1
|
* bpo-16594: Add allow_reuse_port on socketserver (GH-30072)AN Long2021-12-132-0/+9
| | | | | | | * bpo-16594: Add allow_reuse_port on socketserver * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* bpo-37602: Clarify that the lib2to3 nonzero fixer changes only definitions ↵Irit Katriel2021-12-131-1/+2
| | | | (GH-30075)
* bpo-27718: Fix help for the signal module (GH-30063)Serhiy Storchaka2021-12-133-3/+21
| | | | | | | Functions signal(), getsignal(), pthread_sigmask(), sigpending(), sigwait() and valid_signals() were omitted. If __all__ is not defined all non-builtin functions should have correct __module__.
* Remove erroneous padding in dataclasses (GH-30076)Andre Delfino2021-12-121-63/+63
| | | Automerge-Triggered-By: GH:ericvsmith
* bpo-46054: Correct non-utf8 character tests in test_exceptions (GH-30074)Pablo Galindo Salgado2021-12-121-2/+2
|
* bpo-45855: document that `no_block` has no use anymore in PyCapsule_Import ↵Georg Brandl2021-12-123-10/+9
| | | | (#29665)
* Re-add `reuse_address` parameter to `create_server` (GH-29733)Jim Crist-Harif2021-12-121-0/+6
| | | | | | | This parameter was accidentally removed when fixing https://bugs.python.org/issue45129, this reverts the unnecessary changes there. Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* bpo-45855: Replaced deprecated `PyImport_ImportModuleNoBlock` with ↵Kumar Aditya2021-12-1212-16/+17
| | | | PyImport_ImportModule (GH-30046)
* bpo-45874: Handle empty query string correctly in urllib.parse.parse_qsl ↵Christian Sattler2021-12-123-3/+7
| | | | (#29716)
* bpo-46054: Fix parsing error when parsing non-utf8 characters in source ↵Pablo Galindo Salgado2021-12-123-8/+19
| | | | files (GH-30068)
* bpo-46042: Improve SyntaxError locations in the symbol table (GH-30059)Pablo Galindo Salgado2021-12-114-65/+98
|
* bpo-44674: Use unhashability as a proxy for mutability for default dataclass ↵Eric V. Smith2021-12-114-5/+45
| | | | | __init__ arguments. (GH-29867) `@dataclass` in 3.10 prohibits using list, dict, or set as default values. It does this to avoid the mutable default problem. This test is both too strict, and not strict enough. Too strict, because some immutable subclasses should be safe, and not strict enough, because other mutable types should be prohibited. With this change applied, `@dataclass` now uses unhashability as a proxy for mutability: if objects aren't hashable, they're assumed to be mutable.
* bpo-46049: Fixes ._pth support on non-Windows (GH-30051)Steve Dower2021-12-114-41/+52
|
* bpo-46048: Fix parsing of single character lines in getpath readlines() ↵Steve Dower2021-12-113-3/+25
| | | | (GH-30048)
* bpo-19737: Improved the documentation for globals (GH-29823)1809092021-12-112-3/+4
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* build(deps): bump actions/cache from 2.1.6 to 2.1.7 (GH-29875)dependabot[bot]2021-12-101-3/+3
| | | | | | | | | | | | | | | | Bumps [actions/cache](https://github.com/actions/cache) from 2.1.6 to 2.1.7. - [Release notes](https://github.com/actions/cache/releases) - [Commits](https://github.com/actions/cache/compare/v2.1.6...v2.1.7) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* bpo-37971: fix the position of decorator application (GH-30027)Carl Friedrich Bolz-Tereick2021-12-104-11/+76
| | | | | | | The line numbers of actually calling the decorator functions of functions and classes was wrong (as opposed to loading them, were they have been correct previously too). Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-42918: Improve build-in function compile() in mode 'single' (GH-29934)Weipeng Hong2021-12-103-19/+6
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* bpo-43795: Document stable_abi.txt format and contents (GH-29956)Petr Viktorin2021-12-102-0/+41
| | | Also mention that removals generally aren't allowed.
* bpo-46014: Add ability to use typing.Union with singledispatch (GH-30017)Yurii Karabas2021-12-103-7/+60
|
* bpo-27062: add `__all__` to inspect module (GH-30003)Kumar Aditya2021-12-103-1/+104
|
* bpo-45635: refactor print_exception_recursive into smaller functions to ↵Irit Katriel2021-12-101-149/+187
| | | | | standardize error handling (GH-30015) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-42114: ctypes documentation: fix winmode parameter default value (GH-29976)Louis Sautier2021-12-101-3/+3
| | | Signed-off-by: Louis Sautier <sautier.louis@gmail.com>
* bpo-45654: No need to freeze types (GH-30028)Christian Heimes2021-12-107-27/+5
|
* bpo-45582: Fix test_embed failure during a PGO build on Windows (GH-30014)neonene2021-12-107-7/+23
| | | This defines VPATH differently in PGO instrumentation builds, to account for a different default output directory. It also adds sys._vpath on Windows to make the value available to sysconfig so that it can be used in tests.
* bpo-46023: Fix makesetup handling of disabled rule (GH-30001)Christian Heimes2021-12-102-0/+5
|
* bpo-45723: Normalise configure user communication (GH-30024)Erlend Egeberg Aasland2021-12-102-65/+75
|
* bpo-46000: Improve NetBSD curses compatibility (GH-29947)Thomas Klausner2021-12-102-2/+3
|
* bpo-42182: stdtypes doc - update and fix links to several dunder methods ↵andrei kulakov2021-12-101-9/+10
| | | | (GH-27384)
* Move error test to the function that needs it. Improve error message. ↵Raymond Hettinger2021-12-102-11/+4
| | | | (GH-30008)
* bpo-43931: Export Python version as API data (GH-25577)Gabriele N. Tornetta2021-12-1012-0/+34
| | | | | When Python is embedded in other applications, it is not easy to determine which version of Python is being used. This change exposes the Python version as part of the API data. Tools like Austin (https://github.com/P403n1x87/austin) can benefit from this data when targeting applications like uWSGI, as the Python version can then be inferred systematically by looking at the exported symbols rather than relying on unreliable pattern matching or other hacks (like remote code execution etc...). Automerge-Triggered-By: GH:pablogsal
* bpo-46016: GHA Doc job now also runs "make check" (GH-30009)Victor Stinner2021-12-091-2/+9
| | | | The GitHub Action documentation job now also runs "make check" to check the documentation.
* bpo-46008: Make runtime-global object/type lifecycle functions and state ↵Eric Snow2021-12-0938-354/+811
| | | | | | | | | | | | consistent. (gh-29998) This change is strictly renames and moving code around. It helps in the following ways: * ensures type-related init functions focus strictly on one of the three aspects (state, objects, types) * passes in PyInterpreterState * to all those functions, simplifying work on moving types/objects/state to the interpreter * consistent naming conventions help make what's going on more clear * keeping API related to a type in the corresponding header file makes it more obvious where to look for it https://bugs.python.org/issue46008
* Remove an outdated comment. (GH-30010)Serhiy Storchaka2021-12-091-2/+0
|
* bpo-46018: Ensure that math.expm1 does not raise on underflow (GH-29997)Steve Dower2021-12-092-2/+7
|