summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* bpo-45654: Freeze the runpy module and stuff it imports (GH-29903)Kumar Aditya2021-12-097-0/+101
|
* bpo-45635: continue refactor of print_exception() to standardize error ↵Irit Katriel2021-12-091-78/+105
| | | | | handling (GH-29996) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-46016: Fix rest syntax of GH-29993 (GH-30006)Kumar Aditya2021-12-092-2/+2
|
* bpo-46025: Fix a crash in the atexit module for auto-unregistering functions ↵Pablo Galindo Salgado2021-12-093-1/+21
| | | | (GH-30002)
* bpo-25066: Added repr for multiprocessing.Event (GH-29749)Kumar Aditya2021-12-093-1/+18
| | | Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* bpo-45391: mark UnionType as a class in documentation (GH-28757)Bernát Gábor2021-12-091-1/+1
| | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* bpo-46007: Exclude PyUnicode_CHECK_INTERNED() from limited C API (GH-29987)Victor Stinner2021-12-094-4/+13
| | | | | | | Exclude the PyUnicode_CHECK_INTERNED() macro from the limited C API, because it uses the PyASCIIObject structure which is excluded from the limited C API. Automerge-Triggered-By: GH:encukou
* bpo-45510: Check both types when specializing subtraction (GH-29995)Brandt Bucher2021-12-091-0/+4
|
* Merge remote-tracking branch 'upstream/main'Pablo Galindo2021-12-084-0/+22
|\
| * bpo-46016: fcntl module add FreeBSD's F_DUP2FD_CLOEXEC flag support (GH-29993)David CARLIER2021-12-084-0/+22
| |
* | Post 3.11.0a3Pablo Galindo2021-12-081-1/+1
| |
* | Python 3.11.0a3v3.11.0a3Pablo Galindo2021-12-08129-596/+1798
| |
* | Fix some false positives of documentation syntax problemsPablo Galindo2021-12-083-4/+4
|/
* bpo-45711: Remove unnecessary normalization of exc_info (GH-29922)Irit Katriel2021-12-082-20/+1
|
* bpo-46015: Fixes calculation of sys.path in a venv on Windows (GH-29992)Steve Dower2021-12-086-12/+20
| | | Also ensures that pybuilddir.txt is written early enough in the build to be picked up by later steps.
* bpo-45359: Support TopologicalSorter type subscript (GH-28714)Jacob Hayes2021-12-083-0/+7
| | | | | | | | | | | | * Support TopologicalSorter type subscript * 📜🤖 Added by blurb_it. * Add TopologicalSorter to GenericAlias tests * Update Misc/NEWS.d/next/Library/2021-10-03-22-27-35.bpo-45359.LX_uxe.rst Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
* bpo-45635: refactor print_exception() into smaller functions (GH-29981)Irit Katriel2021-12-081-87/+139
| | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-45813: Drop redundant assertion from frame.clear() (GH-29990)Andrew Svetlov2021-12-082-3/+15
| | | | | * bpo-45813: Drop redundant assertion from frame.clear() * Move assertion to frame_dealloc()
* bpo-46009: Do not exhaust generator when send() method raises (GH-29986)Mark Shannon2021-12-085-21/+30
|
* doc: Add link issue 44010 (GH-29454)Rafael Fontenelle2021-12-081-1/+1
|
* bpo-45847: Don't override user overrides for CFLAGS/LIBS (GH-29967)Christian Heimes2021-12-083-67/+85
|
* Fix double-space in exception message (GH-29955)Ned Batchelder2021-12-081-1/+1
|
* bpo-40222: update doc entry with respect to the change in WITH_EXCEPT_START ↵Irit Katriel2021-12-081-1/+3
| | | | (GH-29975)