summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix possible refleak involving _PyArena_AddPyObject (GH-25289)Erlend Egeberg Aasland2021-04-081-1/+4
|
* bpo-39702: Remove dotted_name from decorator documentation (GH-25234)Saiyang Gou2021-04-081-1/+0
|
* bpo-43778: Fix Sphinx glossary_search extension (GH-25286)Victor Stinner2021-04-082-5/+13
| | | | | Create the _static/ directory if it doesn't exist. Add also constants for the static directory and the JSON filename.
* bpo-43774: Document configure options (GH-25283)Victor Stinner2021-04-0820-47/+678
| | | | | | Add Doc/using/configure.rst documentation to document configure, preprocessor, compiler and linker options. Add a new section about the "Python debug build".
* bpo-43764: Fix `__match_args__` generation logic for dataclasses (GH-25284)Brandt Bucher2021-04-083-1/+11
|
* bpo-43760: Streamline dispatch sequence for machines without computed gotos. ↵Mark Shannon2021-04-081-61/+52
| | | | | | | | (GH-25244) * Do fetch and decode at end of opcode then jump directly to switch. Should allow compilers that don't support computed-gotos, specifically MSVC, to generate better code.
* bpo-43770: _PyTypes_Init() inits _PyAnextAwaitable_Type (GH-25266)Victor Stinner2021-04-083-2/+6
| | | | * Rename PyAnextAwaitable_Type to _PyAnextAwaitable_Type. * Expose the type in the internal C API.
* Fix broken test for MutableSet.pop() (GH-25209)Stepan Sindelar2021-04-071-2/+6
| | | | Changes the test to not assert concrete result of pop, but just that it was an item from the set, and that the set shrunk by one.
* bpo-39899: os.path.expanduser(): don't guess other Windows users' home ↵Barney Gale2021-04-077-68/+63
| | | | | | | directories if the basename of the current user's home directory doesn't match their username. (GH-18841) This makes `ntpath.expanduser()` match `pathlib.Path.expanduser()` in this regard, and is more in line with `posixpath.expanduser()`'s cautious approach. Also remove the near-duplicate implementation of `expanduser()` in pathlib, and by doing so fix a bug where KeyError could be raised when expanding another user's home directory.
* bpo-43770: _PyTypes_Init() inits more static types (GH-25265)Victor Stinner2021-04-071-0/+23
|
* bpo-43770: Sort types in _PyTypes_Init() (GH-25263)Victor Stinner2021-04-071-71/+76
|
* bpo-42923: Fix _Py_DumpExtensionModules() for NULL sysdict (GH-25262)Victor Stinner2021-04-071-6/+8
| | | Fix Py_FatalError() is called before interp->sysdict is set.
* bpo-43244: Rename pycore_ast.h functions to _PyAST_xxx() (GH-25252)Victor Stinner2021-04-079-900/+851
| | | | | | Rename AST functions of pycore_ast.h to use the "_PyAST_" prefix. Remove macros creating aliases without prefix. For example, Module() becomes _PyAST_Module(). Update Grammar/python.gram to use _PyAST_xxx() functions.
* bpo-36540: Improve doc of function definition regarding positional-only ↵Saiyang Gou2021-04-071-2/+8
| | | | arguments (GH-25235)
* bpo-39659: Route calls from pathlib.Path to os.getcwd() via the path ↵Barney Gale2021-04-071-4/+6
| | | | accessor (GH-18834)
* bpo-42999: Expand and clarify pathlib.Path.link_to() documentation. (GH-24294)Barney Gale2021-04-072-15/+28
|
* bpo-39906: Add follow_symlinks parameter to pathlib.Path.stat() and chmod() ↵Barney Gale2021-04-074-17/+49
| | | | (GH-18864)
* bpo-43495 : Push missing frame block in compile.c (GH-24865)tomKPZ2021-04-071-1/+10
|
* Improve CDN purge script (GH-25251)Steve Dower2021-04-071-0/+3
|
* bpo-43075: Fix ReDoS in urllib AbstractBasicAuthHandler (GH-24391)Yeting Li2021-04-072-1/+2
| | | | | | | Fix Regular Expression Denial of Service (ReDoS) vulnerability in urllib.request.AbstractBasicAuthHandler. The ReDoS-vulnerable regex has quadratic worst-case complexity and it allows cause a denial of service when identifying crafted invalid RFCs. This ReDoS issue is on the client side and needs remote attackers to control the HTTP server.
* bpo-43244: Remove Yield macro from pycore_ast.h (GH-25243)Victor Stinner2021-04-078-325/+319
| | | | | | | | * pycore_ast.h no longer defines the Yield macro. * Fix a compiler warning on Windows: "warning C4005: 'Yield': macro redefinition". * Python-ast.c now defines directly functions with their real _Py_xxx() name, rather than xxx(). * Remove "#undef Yield" in C files including pycore_ast.h.
* Correct micro release number and add a couple of asserts. (GH-25224)Mark Shannon2021-04-072-4/+4
|
* bpo-38605: Update "Future statements" docs since PEP 563 is always enabled ↵Saiyang Gou2021-04-071-5/+2
| | | | | (GH-25236) Update documentation section for "Future statements" to reflect that `from __future__ import annotations` is on by default, and no features require using the future statement now.
* bpo-40038: pathlib: remove partial support for preserving accessor when ↵Barney Gale2021-04-071-33/+8
| | | | modifying a path (GH-19342)
* bpo-39895: Move `pathlib.Path.touch()` implementation into the path ↵Barney Gale2021-04-071-24/+18
| | | | accessor. (GH-18838)
* bpo-43105: Importlib now resolves relative paths when creating module spec ↵Steve Dower2021-04-079-2516/+2721
| | | | objects from file locations (GH-25121)
* bpo-39924: handle missing os functions more consistently in pathlib (GH-19220)Barney Gale2021-04-061-27/+16
|
* bpo-43567: Improved generated code refresh on Windows (GH-25120)Steve Dower2021-04-066-228/+109
| | | Generated files are now refreshed automatically on regular build, or may be forcibly regenerated by calling `build.bat --regen`.
* bpo-43755: Update docs to reflect that lambda is not allowed in `comp_if` ↵Saiyang Gou2021-04-063-3/+8
| | | | since 3.9 (GH-25231)
* bump the bytecode magic number (GH-25225)Dennis Sweeney2021-04-062-2/+2
|
* Update pattern matching docs for changes to the PEP (#25185)Ken Jin2021-04-062-3/+3
| | | | | See: - https://github.com/python/peps/pull/1909 (__match_args__ must be a tuple) - https://github.com/python/peps/pull/1908 (allow keyword patterns for int(x) etc.)
* bpo-42135: Deprecate implementations of find_module() and find_loader() ↵Brett Cannon2021-04-0620-3640/+3808
| | | | (GH-25169)
* bpo-41870: Update What's News 3.10 about vectorcall (#25219)Dong-hee Na2021-04-061-0/+4
| | | | | | | | | | | * bpo-41870: Update What's News 3.10 about vectorcall * update * Update Doc/whatsnew/3.10.rst Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Victor Stinner <vstinner@python.org>
* Fix blurb for bpo-43176. (GH-25215)Eric V. Smith2021-04-061-1/+1
|
* bpo-41111: Don't build xxlimited with Py_TRACE_REFS macro (GH-25180)Hai Shi2021-04-061-3/+4
|
* bpo-43745: Actually updates Windows release to OpenSSL 1.1.1k. (GH-25213)Steve Dower2021-04-063-2/+4
| | | | Earlier releases were mislabelled and included 1.1.1i again. The tag/directory name is updated to ensure that builds get the fresh bits. However, the openssl-bin-1.1.1k tag in the repository has been forcibly updated, so fresh builds will be fine even without this change.
* bpo-43683: Handle generator entry in bytecode (GH-25138)Mark Shannon2021-04-0610-2607/+2675
| | | | | | * Handle check for sending None to starting generator and coroutine into bytecode. * Document new bytecode and make it fail gracefully if mis-compiled.
* bpo-43651: PEP 597: Fix pdeps used locale encoding (GH-25204)Inada Naoki2021-04-061-1/+1
|
* bpo-17305: Link to the third-party idna package. (GH-25208)Gregory P. Smith2021-04-061-0/+3
| | | So long as we don't have idna2008 in the standard library, we should at least point people to the third-party solution.
* bpo-43176: Fix processing of empty dataclasses (GH-24484)Iurii Kemaev2021-04-063-1/+26
| | | | | When a dataclass inherits from an empty base, all immutability checks are omitted. This PR fixes this and adds tests for it. Automerge-Triggered-By: GH:ericvsmith
* bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25190)Inada Naoki2021-04-064-26/+27
| | | | | | * Fix test_lzma * Fix test_mailbox * Fix test_mimetypes * Fix test_posix
* bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25189)Inada Naoki2021-04-0611-63/+73
| | | | | | | | | | | | * Fix _sitebuiltins * Fix test_inspect * Fix test_interpreters * Fix test_io * Fix test_iter * Fix test_json * Fix test_linecache * Fix test_lltrace * Fix test_logging * Fix logging
* bpo-42128: __match_args__ can't be a list anymore (GH-25203)Brandt Bucher2021-04-064-16/+26
|
* bpo-43651: Fix EncodingWarning in sysconfig (GH-25192)Inada Naoki2021-04-061-2/+3
|
* bpo-20503: Show how isinstance() works with ABC registered classes. (GH-25175)Raymond Hettinger2021-04-051-0/+35
|
* bpo-36470: Allow dataclasses.replace() to handle InitVars with default ↵Zackery Spytz2021-04-053-1/+21
| | | | | | | values (GH-20867) Co-Authored-By: Claudiu Popa <pcmanticore@gmail.com> Automerge-Triggered-By: GH:ericvsmith
* bpo-43087: Fix error in ctypes "Incomplete Types" doc (GH-24404)Zackery Spytz2021-04-051-2/+2
| | | The previous "Fundamental data types" section says a c_char_p must be bytes (or None).
* Fix typo in turtledemo.two_canvases. (GH-25194)Terry Jan Reedy2021-04-051-1/+1
|
* Post 3.10.0a7Pablo Galindo2021-04-051-1/+1
|
* Python 3.10.0a7v3.10.0a7Pablo Galindo2021-04-0592-5325/+8322
|