Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | |||||
* | bpo-43651: PEP 597: Fix pdeps used locale encoding (GH-25204) | Inada Naoki | 2021-04-06 | 1 | -1/+1 | |
| | ||||||
* | bpo-17305: Link to the third-party idna package. (GH-25208) | Gregory P. Smith | 2021-04-06 | 1 | -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 Kemaev | 2021-04-06 | 3 | -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 Naoki | 2021-04-06 | 4 | -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 Naoki | 2021-04-06 | 11 | -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 Bucher | 2021-04-06 | 4 | -16/+26 | |
| | ||||||
* | bpo-43651: Fix EncodingWarning in sysconfig (GH-25192) | Inada Naoki | 2021-04-06 | 1 | -2/+3 | |
| | ||||||
* | bpo-20503: Show how isinstance() works with ABC registered classes. (GH-25175) | Raymond Hettinger | 2021-04-05 | 1 | -0/+35 | |
| | ||||||
* | bpo-36470: Allow dataclasses.replace() to handle InitVars with default ↵ | Zackery Spytz | 2021-04-05 | 3 | -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 Spytz | 2021-04-05 | 1 | -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 Reedy | 2021-04-05 | 1 | -1/+1 | |
| | ||||||
* | Post 3.10.0a7 | Pablo Galindo | 2021-04-05 | 1 | -1/+1 | |
| | ||||||
* | Python 3.10.0a7v3.10.0a7 | Pablo Galindo | 2021-04-05 | 92 | -5325/+8322 | |
| | ||||||
* | Fix the "make suspicious" check on the pprint docs (GH-25193) | Pablo Galindo | 2021-04-05 | 1 | -2/+2 | |
| | ||||||
* | bpo-43084: Return bool instead of int from curses.window.enclose() (GH-24398) | Serhiy Storchaka | 2021-04-05 | 5 | -19/+18 | |
| | ||||||
* | bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25181) | Inada Naoki | 2021-04-05 | 11 | -50/+55 | |
| | | | | | | * Fix test_shutil * Fix test_imp * Fix test_import * Fix test_importlib | |||||
* | bpo-43651: PEP 597: Fix EncodingWarning in test_filecmp (GH-25159) | Inada Naoki | 2021-04-05 | 1 | -6/+6 | |
| | ||||||
* | bpo-43651: PEP 597: Fix test_email (GH-25158) | Inada Naoki | 2021-04-05 | 2 | -27/+27 | |
| | ||||||
* | bpo-41370: Add note about ForwardRefs and PEP585 generic types in docs (#25183) | Ken Jin | 2021-04-04 | 1 | -2/+7 | |
| | ||||||
* | bpo-24160: Fix test_pdb refleaks failure (GH-25182) | Irit Katriel | 2021-04-04 | 1 | -3/+3 | |
| | ||||||
* | bpo-27129: Update magic numbers and bootstrapping for GH-25069 (GH-25172) | Dennis Sweeney | 2021-04-04 | 3 | -2/+3 | |
| | | | | | | | * Update magic numbers and bootstrapping for GH-25069 * add blurb Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | |||||
* | bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25171) | Inada Naoki | 2021-04-04 | 6 | -14/+14 | |
| | | | | | | | | | | | * Fix test_float * Fix _osx_support * Fix test_fstring * Fix test_gc * Fix test_gzip * Fix test_hashlib * Fix unrelated whitespace issue Co-authored-by: Ned Deily <nad@python.org> | |||||
* | bpo-43325: Add FAQ entry for identity tests (GH-25168) | Raymond Hettinger | 2021-04-04 | 2 | -3/+89 | |
| | ||||||
* | bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25145) | Inada Naoki | 2021-04-04 | 19 | -75/+78 | |
| | | | | | | | | | | | | | | | | | | | * test_asyncio * test_bz2 * test_math * test_cmath * test_cmd_line * test_cmd_line_script * test_compile * test_contextlib * test_profile * ctypes/test/test_find * test_multiprocessing * test_configparser * test_csv * test_dbm_dumb * test_decimal * test_difflib * os.fdopen() calls io.text_encoding() to emit EncodingWarning for right place. | |||||
* | bpo-43720: Update import-related stdlib deprecation messages to say they ↵ | Brett Cannon | 2021-04-03 | 5 | -7/+16 | |
| | | | | will be removed in Python 3.12 (GH-25167) | |||||
* | Replace broken example code with correct simpler code. (GH-25162) | Raymond Hettinger | 2021-04-03 | 1 | -2/+2 | |
| | | | | | | The open() was missing 'w' to indicate it was in a write-mode. Even then, the open().close() operation was distracting because it is an unusual way to "touch" as file. Using os.remove() instead is simpler and less distracting. | |||||
* | Add more tests for the descriptor tutorial (GH-25164) | Raymond Hettinger | 2021-04-03 | 1 | -7/+57 | |
| | ||||||
* | bpo-43705: Document that SyntaxError's offsets are 1-indexed (GH-25153) | Ammar Askar | 2021-04-02 | 1 | -3/+19 | |
| | | | | | Changed the inline mentions of the attributes into a proper attribute list like `SystemExit` has. Automerge-Triggered-By: GH:gvanrossum | |||||
* | bpo-43672: raise ImportWarning when calling find_loader() (GH-25119) | Brett Cannon | 2021-04-02 | 13 | -618/+612 | |
| | ||||||
* | bpo-24160: Fix breakpoints persistence across multiple pdb sessions (GH-21989) | Irit Katriel | 2021-04-02 | 4 | -13/+144 | |
| | ||||||
* | bpo-31956: Add start and stop parameters to array.index() (GH-25059) | Zackery Spytz | 2021-04-02 | 6 | -12/+87 | |
| | | | Co-Authored-By: Anders Lorentsen <Phaqui@gmail.com> | |||||
* | bpo-41111: xxlimited.c defines Py_LIMITED_API (GH-25151) | Victor Stinner | 2021-04-02 | 5 | -11/+7 | |
| | | | | | | xxlimited.c and xxlimited_35.c now define the Py_LIMITED_API macro, rather than having to do it in the build recipe. Co-authored-by: Hai Shi <shihai1992@gmail.com> | |||||
* | bpo-43688: Support "make regen-limited-abi" in debug mode (GH-25133) | Victor Stinner | 2021-04-02 | 1 | -5/+0 | |
| | ||||||
* | bpo-43688: Support the limited C API in debug mode (GH-25131) | Victor Stinner | 2021-04-02 | 6 | -25/+82 | |
| | | | | | | | | | | | | | The limited C API is now supported if Python is built in debug mode (if the Py_DEBUG macro is defined). In the limited C API, the Py_INCREF() and Py_DECREF() functions are now implemented as opaque function calls, rather than accessing directly the PyObject.ob_refcnt member, if Python is built in debug mode and the Py_LIMITED_API macro targets Python 3.10 or newer. It became possible to support the limited C API in debug mode because the PyObject structure is the same in release and debug mode since Python 3.8 (see bpo-36465). The limited C API is still not supported in the --with-trace-refs special build (Py_TRACE_REFS macro). | |||||
* | bpo-43687: Py_Initialize() creates singletons earlier (GH-25147) | Victor Stinner | 2021-04-02 | 8 | -85/+128 | |
| | | | | | Reorganize pycore_interp_init() to initialize singletons before the the first PyType_Ready() call. Fix an issue when Python is configured using --without-doc-strings. | |||||
* | Document PyCode_Addr2Line function. (GH-25111) | Mark Shannon | 2021-04-02 | 1 | -0/+8 | |
| | | | | | * Document PyCode_Addr2Line function. * Clarify when to use PEP 626 line iterators. | |||||
* | bpo-43510: Fix emitting EncodingWarning from _io module. (GH-25146) | Inada Naoki | 2021-04-02 | 2 | -13/+17 | |
| | | | I forget to check PyErr_WarnEx() return value. But it will fail when -Werror is used. | |||||
* | bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25142) | Inada Naoki | 2021-04-02 | 11 | -31/+36 | |
| | | | | | | | | | | | | | * test__xxsubinterpreters * test_builtin * test_doctest * test_exceptions * test_opcodes * test_support * test_argparse * test_baseexception * test_bdb * test_bool * test_asdl_parser | |||||
* | bpo-43700: Replace Zulip badge with Discourse badge (GH-25141) | Erlend Egeberg Aasland | 2021-04-02 | 1 | -3/+3 | |
| | | | Automerge-Triggered-By: GH:zware |