Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bpo-40107: Switch to using io.open() for pathlib.Path.open() (GH-25240) | Barney Gale | 2021-04-09 | 1 | -7/+3 | |
| | | | Previously we had identical behaviour but only allowed accessors to override os.open(). This change allows the override to also construct the IO wrapper as well. | |||||
* | bpo-38820: OpenSSL 3.0.0: Use supported hashing algos in doc test (GH-25319) | Christian Heimes | 2021-04-09 | 1 | -2/+2 | |
| | | | | | | ripemd160 is not available in OpenSSL 3.0.0's default crypto provider. It's only present in legacy provider. Signed-off-by: Christian Heimes <christian@python.org> | |||||
* | bpo-43794: OpenSSL 3.0.0: set OP_IGNORE_UNEXPECTED_EOF by default (GH-25309) | Christian Heimes | 2021-04-09 | 4 | -1/+20 | |
| | | | Signed-off-by: Christian Heimes <christian@python.org> | |||||
* | bpo-43682: @staticmethod inherits attributes (GH-25268) | Victor Stinner | 2021-04-09 | 8 | -22/+133 | |
| | | | | | | | | | | Static methods (@staticmethod) and class methods (@classmethod) now inherit the method attributes (__module__, __name__, __qualname__, __doc__, __annotations__) and have a new __wrapped__ attribute. Changes: * Add a repr() method to staticmethod and classmethod types. * Add tests on the @classmethod decorator. | |||||
* | bpo-43788: Generate version specific _ssl_data.h (GH-25300) | Christian Heimes | 2021-04-09 | 7 | -82/+15092 | |
| | | | | | Signed-off-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: GH:tiran | |||||
* | bpo-4379: Skip TLS 1.0/1.1 tests under OpenSSL 3.0.0 (GH-25304) | Christian Heimes | 2021-04-09 | 2 | -0/+7 | |
| | | | Signed-off-by: Christian Heimes <christian@python.org> | |||||
* | bpo-43789: OpenSSL 3.0.0 Don't call passwd callback again in error case ↵ | Christian Heimes | 2021-04-09 | 2 | -0/+9 | |
| | | | | (GH-25303) | |||||
* | bpo-43774: Document the Python Build System (GH-25302) | Victor Stinner | 2021-04-09 | 1 | -7/+116 | |
| | | | | * Elaborate PGO and LTO documentaton. * Document MAINCC, PURIFY and LINKCC variables. | |||||
* | bpo-43774: Doc job of Azure Pipelines uses Doc/requirements.txt (GH-25296) | Victor Stinner | 2021-04-09 | 1 | -1/+2 | |
| | | | Don't hardcode the Sphinx version but use Doc/requirements.txt. | |||||
* | Simplify _PyPegen_fill_token in pegen.c (GH-25295) | Pablo Galindo | 2021-04-09 | 1 | -58/+64 | |
| | ||||||
* | Sanitize macros and debug functions in pegen.c (GH-25291) | Pablo Galindo | 2021-04-09 | 3 | -3/+18 | |
| | ||||||
* | bpo-43774: Enhance configure documentation (GH-25293) | Victor Stinner | 2021-04-08 | 1 | -50/+125 | |
| | ||||||
* | Break down some complex functions in pegen.c for readability (GH-25292) | Pablo Galindo | 2021-04-08 | 1 | -79/+91 | |
| | ||||||
* | Fix possible refleak involving _PyArena_AddPyObject (GH-25289) | Erlend Egeberg Aasland | 2021-04-08 | 1 | -1/+4 | |
| | ||||||
* | bpo-39702: Remove dotted_name from decorator documentation (GH-25234) | Saiyang Gou | 2021-04-08 | 1 | -1/+0 | |
| | ||||||
* | bpo-43778: Fix Sphinx glossary_search extension (GH-25286) | Victor Stinner | 2021-04-08 | 2 | -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 Stinner | 2021-04-08 | 20 | -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 Bucher | 2021-04-08 | 3 | -1/+11 | |
| | ||||||
* | bpo-43760: Streamline dispatch sequence for machines without computed gotos. ↵ | Mark Shannon | 2021-04-08 | 1 | -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 Stinner | 2021-04-08 | 3 | -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 Sindelar | 2021-04-07 | 1 | -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 Gale | 2021-04-07 | 7 | -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 Stinner | 2021-04-07 | 1 | -0/+23 | |
| | ||||||
* | bpo-43770: Sort types in _PyTypes_Init() (GH-25263) | Victor Stinner | 2021-04-07 | 1 | -71/+76 | |
| | ||||||
* | bpo-42923: Fix _Py_DumpExtensionModules() for NULL sysdict (GH-25262) | Victor Stinner | 2021-04-07 | 1 | -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 Stinner | 2021-04-07 | 9 | -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 Gou | 2021-04-07 | 1 | -2/+8 | |
| | | | | arguments (GH-25235) | |||||
* | bpo-39659: Route calls from pathlib.Path to os.getcwd() via the path ↵ | Barney Gale | 2021-04-07 | 1 | -4/+6 | |
| | | | | accessor (GH-18834) | |||||
* | bpo-42999: Expand and clarify pathlib.Path.link_to() documentation. (GH-24294) | Barney Gale | 2021-04-07 | 2 | -15/+28 | |
| | ||||||
* | bpo-39906: Add follow_symlinks parameter to pathlib.Path.stat() and chmod() ↵ | Barney Gale | 2021-04-07 | 4 | -17/+49 | |
| | | | | (GH-18864) | |||||
* | bpo-43495 : Push missing frame block in compile.c (GH-24865) | tomKPZ | 2021-04-07 | 1 | -1/+10 | |
| | ||||||
* | Improve CDN purge script (GH-25251) | Steve Dower | 2021-04-07 | 1 | -0/+3 | |
| | ||||||
* | bpo-43075: Fix ReDoS in urllib AbstractBasicAuthHandler (GH-24391) | Yeting Li | 2021-04-07 | 2 | -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 Stinner | 2021-04-07 | 8 | -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 Shannon | 2021-04-07 | 2 | -4/+4 | |
| | ||||||
* | bpo-38605: Update "Future statements" docs since PEP 563 is always enabled ↵ | Saiyang Gou | 2021-04-07 | 1 | -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 Gale | 2021-04-07 | 1 | -33/+8 | |
| | | | | modifying a path (GH-19342) | |||||
* | bpo-39895: Move `pathlib.Path.touch()` implementation into the path ↵ | Barney Gale | 2021-04-07 | 1 | -24/+18 | |
| | | | | accessor. (GH-18838) | |||||
* | bpo-43105: Importlib now resolves relative paths when creating module spec ↵ | Steve Dower | 2021-04-07 | 9 | -2516/+2721 | |
| | | | | objects from file locations (GH-25121) | |||||
* | bpo-39924: handle missing os functions more consistently in pathlib (GH-19220) | Barney Gale | 2021-04-06 | 1 | -27/+16 | |
| | ||||||
* | bpo-43567: Improved generated code refresh on Windows (GH-25120) | Steve Dower | 2021-04-06 | 6 | -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 Gou | 2021-04-06 | 3 | -3/+8 | |
| | | | | since 3.9 (GH-25231) | |||||
* | bump the bytecode magic number (GH-25225) | Dennis Sweeney | 2021-04-06 | 2 | -2/+2 | |
| | ||||||
* | Update pattern matching docs for changes to the PEP (#25185) | Ken Jin | 2021-04-06 | 2 | -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 Cannon | 2021-04-06 | 20 | -3640/+3808 | |
| | | | | (GH-25169) | |||||
* | bpo-41870: Update What's News 3.10 about vectorcall (#25219) | Dong-hee Na | 2021-04-06 | 1 | -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. Smith | 2021-04-06 | 1 | -1/+1 | |
| | ||||||
* | bpo-41111: Don't build xxlimited with Py_TRACE_REFS macro (GH-25180) | Hai Shi | 2021-04-06 | 1 | -3/+4 | |
| | ||||||
* | bpo-43745: Actually updates Windows release to OpenSSL 1.1.1k. (GH-25213) | Steve Dower | 2021-04-06 | 3 | -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 Shannon | 2021-04-06 | 10 | -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. |