Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-101021: Document binary parameters as bytes (#101024) | Bob Kline | 2023-01-14 | 4 | -8/+8 |
| | |||||
* | Sync-up parameter name in equivalent code snippet of `enumerate` (GH-101029) | JustAnotherArchivist | 2023-01-14 | 1 | -2/+2 |
| | |||||
* | GH-98831: Identify instructions that don't use oparg (#100957) | Guido van Rossum | 2023-01-14 | 3 | -60/+70 |
| | | | | | | | For these the instr_format field uses IX instead of IB. Register instructions use IX, IB, IBBX, IBBB, etc. Also: Include the closing '}' in Block.tokens, for completeness | ||||
* | Add recipes to showcase tee(), zip*, batched, starmap, and product. (GH-101023) | Raymond Hettinger | 2023-01-14 | 1 | -0/+27 |
| | |||||
* | Fix typo in docs (GH-101025) | Raymond Hettinger | 2023-01-14 | 1 | -1/+1 |
| | |||||
* | gh-74033: Fix bug when Path takes and ignores **kwargs (GH-19632) | Yurii Karabas | 2023-01-14 | 3 | -0/+10 |
| | | | | | Fix a bug where `Path` takes and ignores `**kwargs` by adding to `PurePath` class `__init__` method which can take only positional arguments. Automerge-Triggered-By: GH:brettcannon | ||||
* | GH-100573: Fix server hang caused by os.stat() on named pipe (Windows) (#100959) | Guido van Rossum | 2023-01-13 | 3 | -0/+46 |
| | |||||
* | Don't double count misses. (GH-100984) | Mark Shannon | 2023-01-13 | 1 | -0/+3 |
| | |||||
* | gh-100160: Restore and deprecate implicit creation of an event loop (GH-100410) | Serhiy Storchaka | 2023-01-13 | 8 | -41/+77 |
| | | | | | | | | | | Partially revert changes made in GH-93453. asyncio.DefaultEventLoopPolicy.get_event_loop() now emits a DeprecationWarning and creates and sets a new event loop instead of raising a RuntimeError if there is no current event loop set. Co-authored-by: Guido van Rossum <gvanrossum@gmail.com> | ||||
* | gh-100247: Fix py.exe launcher not using entire shebang command for finding ↵ | Steve Dower | 2023-01-13 | 4 | -94/+154 |
| | | | | custom commands (GH-100944) | ||||
* | gh-86682: Adds sys._getframemodulename as an alternative to using _getframe ↵ | Steve Dower | 2023-01-13 | 13 | -14/+200 |
| | | | | | (GH-99520) Also updates calls in collections, doctest, enum, and typing modules to use _getframemodulename first when available. | ||||
* | GH-100942: Fix incorrect cast in property_copy(). (#100965) | Raymond Hettinger | 2023-01-12 | 3 | -1/+22 |
| | |||||
* | GH-100997: Implement Multi-Phase Init for the _testinternalcapi Module ↵ | Eric Snow | 2023-01-12 | 3 | -33/+117 |
| | | | | | | | (gh-100998) _testinternalcapi is an internal module used for testing. https://github.com/python/cpython/issues/100997 | ||||
* | gh-96290: Support partial/invalid UNC drives in ntpath.normpath() and ↵ | Barney Gale | 2023-01-12 | 4 | -46/+55 |
| | | | | | | | splitdrive() (GH-100351) This brings the Python implementation of `ntpath.normpath()` in line with the C implementation added in 99fcf15 Co-authored-by: Eryk Sun <eryksun@gmail.com> | ||||
* | gh-96461: Improve docs for bytecode instructions (GH-96462) | Matthieu Dartiailh | 2023-01-12 | 1 | -123/+236 |
| | | | | | | | | | * Clarify the meaning of the oparg for CACHE and COPY opcode in dis doc * Use STACK to describe stack operation in analogy with a Python list * Remove (delta) from BEFORE_WITH since BEFORE_WITH does not take an argument * Fix the description of the stack impact of multiple opcodes | ||||
* | GH-81381: Add longer comment _PyType_AllocNoTrack() (GH-100954) | Neil Schemenauer | 2023-01-12 | 1 | -1/+6 |
| | | | | The details on the "nitems+1" expression is a bit subtle so add a longer comment about it. | ||||
* | Fix typo in `enum` module documentation (#100992) | Noam Cohen | 2023-01-12 | 1 | -1/+1 |
| | |||||
* | GH-100894: Updated the doc for `sys.winver` to clarify its usual contents ↵ | ram vikram singh | 2023-01-12 | 1 | -1/+1 |
| | | | | (GH-100913) | ||||
* | gh-98636: Fix detecting gdbm_compat for _dbm module (#98643) | Michał Górny | 2023-01-11 | 4 | -2/+9 |
| | | | | | | Fix the gdbm_compat library detection logic to actually check for -lgdbm_compat independently of the ndbm detection. This fixes the build failure with `--with-dbmliborder=gdbm`, and implicit fallback to ndbm with the default value. | ||||
* | gh-94912: Adjusted check for non-standard coroutine function marker. (#100935) | Carlton Gibson | 2023-01-11 | 2 | -2/+8 |
| | | | | | | The initial implementation did not correctly identify explicitly marked class instances. Follow up to 532aa4e4e019812d0388920768ede7c04232ebe1 | ||||
* | GH-100923: Embed jump mask in `COMPARE_OP` oparg (GH-100924) | Mark Shannon | 2023-01-11 | 12 | -177/+200 |
| | |||||
* | Ensure some build files include a newline at to avoid warnings (GH-100946) | th1722 | 2023-01-11 | 2 | -2/+2 |
| | |||||
* | Skip py.exe launcher tests in full layout CI test (GH-100948) | Steve Dower | 2023-01-11 | 1 | -1/+1 |
| | | | These tests become flaky when py.exe exists on the test machine but isn't the one that was just built. They also don't provide any useful information for this scenario, so easiest to just skip them. | ||||
* | gh-100871: Improve `copy` module tests (GH-100872) | Nikita Sobolev | 2023-01-11 | 2 | -2/+44 |
| | | | | | CC @AlexWaygood as the reviewer of https://github.com/python/cpython/pull/100818 Automerge-Triggered-By: GH:AlexWaygood | ||||
* | GH-100892: Fix race in clearing `threading.local` (#100922) | Kumar Aditya | 2023-01-11 | 4 | -15/+70 |
| | |||||
* | gh-98763: Prefer "python" over "python3" for command line examples in docs. ↵ | Mariusz Felisiak | 2023-01-11 | 8 | -77/+77 |
| | | | | (#98761) | ||||
* | gh-100931: Test all `pickle` protocols in `test_slice` (#100932) | Nikita Sobolev | 2023-01-11 | 2 | -2/+4 |
| | |||||
* | Post 3.12.0a4 | Thomas Wouters | 2023-01-10 | 1 | -1/+1 |
| | |||||
* | Python 3.12.0a4v3.12.0a4 | Thomas Wouters | 2023-01-10 | 114 | -263/+1172 |
| | |||||
* | GH-100117: Make `co_lines` more efficient (GH-100447) | Brandt Bucher | 2023-01-10 | 4 | -38/+26 |
| | |||||
* | gh-100916: Convert argument to appropriate type (GH-100917) | Yao-Ching Huang | 2023-01-10 | 1 | -1/+1 |
| | |||||
* | Fix typos in Doc folder (#100880) | Semen Zhydenko | 2023-01-10 | 3 | -3/+3 |
| | |||||
* | gh-100180: Update macOS installer to OpenSSL 1.1.1s (GH-100908) | Ned Deily | 2023-01-10 | 3 | -21/+4 |
| | |||||
* | gh-100893: update bpo reference in Mac README (GH-100905) | Ned Deily | 2023-01-10 | 1 | -3/+3 |
| | |||||
* | GH-98831: Refactor instr format code and change to enum (#100895) | Guido van Rossum | 2023-01-09 | 2 | -219/+222 |
| | |||||
* | gh-100180: Update Windows installer to OpenSSL 1.1.1s (GH-100901) | Steve Dower | 2023-01-09 | 3 | -4/+5 |
| | |||||
* | bpo-28356: Document os.rename() behavior on Windows for differing volumes ↵ | Ryan Ozawa | 2023-01-09 | 1 | -0/+2 |
| | | | | (GH-27376) | ||||
* | GH-100126: Skip incomplete frames in more places (GH-100613) | Brandt Bucher | 2023-01-09 | 12 | -46/+62 |
| | |||||
* | gh-100882: Improve `test_pickling` case in `test_ast.py` (#100883) | Nikita Sobolev | 2023-01-09 | 1 | -12/+5 |
| | |||||
* | gh-99191: Use correct check for MSVC C++ version support in _wmimodule.cpp ↵ | C.A.M. Gerlach | 2023-01-09 | 2 | -3/+5 |
| | | | | (GH-100381) | ||||
* | gh-100873: Fix "‘lo’ may be used uninitialized in this function" warning ↵ | Nikita Sobolev | 2023-01-09 | 1 | -1/+1 |
| | | | | in `mathmodule.c` (#100881) | ||||
* | GH-81061: Fix refcount issue when returning `None` from a `ctypes.py_object` ↵ | dgelessus | 2023-01-09 | 3 | -8/+24 |
| | | | | callback (#13364) | ||||
* | fix up mock tests coverage (#100874) | Chris Withers | 2023-01-09 | 1 | -8/+4 |
| | |||||
* | gh-100764: add `pycore_frame.h` to PYTHON_HEADERS and Windows build ↵ | Carl Meyer | 2023-01-09 | 2 | -0/+2 |
| | | | | files(#100765) | ||||
* | GH-100813: Add `socket.IP_PKTINFO` constant (#10294) | dsentinel | 2023-01-09 | 3 | -0/+5 |
| | |||||
* | Update copyright year in README (GH-100863) | Ned Deily | 2023-01-09 | 1 | -1/+1 |
| | | | Co-authored-by: HARSHA VARDHAN <75431678+Thunder-007@users.noreply.github.com> | ||||
* | gh-87447: Fix walrus comprehension rebind checking (#100581) | Nikita Sobolev | 2023-01-08 | 4 | -3/+92 |
| | | | | Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> | ||||
* | Update additional copyright years to 2023. (GH-100859) | Ned Deily | 2023-01-08 | 2 | -4/+4 |
| | |||||
* | GH-100805: Support numpy.array() in random.choice(). (GH-100830) | Raymond Hettinger | 2023-01-08 | 3 | -1/+21 |
| | |||||
* | gh-100833: Remove 'volatile' qualifiers in fsum algorithm (#100845) | Mark Dickinson | 2023-01-08 | 2 | -22/+23 |
| | | | | | | | This PR removes the `volatile` qualifier on various intermediate quantities in the `math.fsum` implementation, and updates the notes preceding the algorithm accordingly (as well as fixing some of the exsting notes). See the linked issue #100833 for discussion. |