Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-40280: Skip dysfunctional pipe tests on Emscripten (GH-31770) | Christian Heimes | 2022-03-08 | 1 | -0/+12 |
| | |||||
* | bpo-24959: fix unittest.assertRaises bug where traceback entries are dropped ↵ | Irit Katriel | 2022-03-08 | 3 | -14/+95 |
| | | | | from chained exceptions (GH-23688) | ||||
* | bpo-46955: Expose asyncio.base_events.Server as asyncio.Server (GH-31760) | Stefan Zabka | 2022-03-08 | 2 | -1/+3 |
| | | | | | | This change aligns the documentation at https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.Server with the actual implementation Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> | ||||
* | bpo-23325: Fix SIG_IGN and SIG_DFL int comparison in signal module (GH-31759) | Christian Heimes | 2022-03-08 | 2 | -13/+25 |
| | |||||
* | bpo-46841: Don't use an oparg counter for `STORE_SUBSCR` (GH-31742) | Brandt Bucher | 2022-03-08 | 7 | -29/+28 |
| | |||||
* | Removed confusing reference to sys (GH-31638) | David Gilbertson | 2022-03-08 | 1 | -3/+3 |
| | |||||
* | bpo-40280: Block more non-working syscalls in Emscripten (GH-31757) | Christian Heimes | 2022-03-08 | 8 | -10/+37 |
| | | | | | | | | | - getgroups always fails. - geteuid and getegid always return 0 (root), which confuse tarfile and tests. - hardlinks (link, linkat) always fails. - non-encodable file names are not supported by NODERAWFS layer. - mark more tests with dependency on subprocess and multiprocessing. Mocking does not work if the module fails to import. | ||||
* | bpo-44439: _ZipWriteFile.write() handle buffer protocol correctly (GH-29468) | Ma Lin | 2022-03-08 | 3 | -1/+19 |
| | | | | Co-authored-by: Marco Ribeiro <marcoffee@users.noreply.github.com> | ||||
* | bpo-40059: Add tomllib (PEP-680) (GH-31498) | Taneli Hukkinen | 2022-03-08 | 90 | -1/+1479 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a new standard library module, `tomllib`, for parsing TOML. The implementation is based on Tomli (https://github.com/hukkin/tomli). ## Steps taken (converting `tomli` to `tomllib`) - Move everything in `tomli:src/tomli` to `Lib/tomllib`. Exclude `py.typed`. - Remove `__version__ = ...` line from `Lib/tomllib/__init__.py` - Move everything in `tomli:tests` to `Lib/test/test_tomllib`. Exclude the following test data dirs recursively: - `tomli:tests/data/invalid/_external/` - `tomli:tests/data/valid/_external/` - Create `Lib/test/test_tomllib/__main__.py`: ```python import unittest from . import load_tests unittest.main() ``` - Add the following to `Lib/test/test_tomllib/__init__.py`: ```python import os from test.support import load_package_tests def load_tests(*args): return load_package_tests(os.path.dirname(__file__), *args) ``` Also change `import tomli as tomllib` to `import tomllib`. - In `cpython/Lib/tomllib/_parser.py` replace `__fp` with `fp` and `__s` with `s`. Add the `/` to `load` and `loads` function signatures. - Run `make regen-stdlib-module-names` - Create `Doc/library/tomllib.rst` and reference it in `Doc/library/fileformats.rst` | ||||
* | bpo-46878: Purge 'non-standard' from sqlite3 docstrings (GH-31612) | Erlend Egeberg Aasland | 2022-03-08 | 6 | -69/+67 |
| | |||||
* | docs: Don't use code formatting for emphasis (GH-30519) | William Andrea | 2022-03-08 | 1 | -1/+1 |
| | |||||
* | Removed ambiguity in __init_subclass__ docs (GH-31540) | David Gilbertson | 2022-03-08 | 1 | -1/+1 |
| | |||||
* | bpo-46494: Mention the typing_extensions pkg in typing docs (GH-31260) | Meer Suri | 2022-03-08 | 1 | -0/+4 |
| | |||||
* | bpo-43224: Implement PEP 646 changes to typing.py (GH-31021) | Matthew Rahtz | 2022-03-08 | 3 | -22/+646 |
| | | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
* | importlib.metadata: Remove empty footnote section (GH-30451) | Ned Batchelder | 2022-03-08 | 1 | -3/+0 |
| | |||||
* | bpo-46170: Improve the error message when subclassing NewType (GH-30268) | James Hilton-Balfe | 2022-03-08 | 3 | -0/+27 |
| | | | | | Co-authored-by: Alex Waygood <alex.waygood@gmail.com> Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> | ||||
* | bpo-45680: Improve docs on subscriptions w.r.t. `GenericAlias` objects ↵ | Alex Waygood | 2022-03-08 | 1 | -20/+30 |
| | | | | (GH-29479) | ||||
* | bpo-46933: Fix make distclean regression (GH-31737) | Erlend Egeberg Aasland | 2022-03-07 | 1 | -1/+1 |
| | |||||
* | bpo-46932: Update bundled libexpat to 2.4.7 (GH-31736) | Steve Dower | 2022-03-07 | 3 | -14/+156 |
| | |||||
* | bpo-46841: Use inline caching for calls (GH-31709) | Brandt Bucher | 2022-03-07 | 16 | -732/+491 |
| | |||||
* | bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 ↵ | Steve Dower | 2022-03-07 | 4 | -3/+5 |
| | | | | and CVE-2019-12900 (GH-31731) | ||||
* | Merge remote-tracking branch 'upstream/main' | Pablo Galindo | 2022-03-07 | 26 | -566/+572 |
|\ | |||||
| * | bpo-41370: Evaluate strings as forward refs in PEP 585 generics (GH-30900) | Niklas Rosenstein | 2022-03-07 | 3 | -2/+49 |
| | | | | | | | | | | | | This removes discrepancy between list["int"] and List["int"]. Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
| * | bpo-46948: Fix CVE-2022-26488 by ensuring the Windows Installer correctly ↵ | Steve Dower | 2022-03-07 | 12 | -4/+27 |
| | | | | | | | | uses the install path during repair (GH-31726) | ||||
| * | bpo-46933: Make pwd module optional (GH-31700) | Christian Heimes | 2022-03-07 | 11 | -560/+496 |
| | | | | | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> | ||||
* | | Post 3.11.0a6 | Pablo Galindo | 2022-03-07 | 1 | -1/+1 |
| | | |||||
* | | Python 3.11.0a6v3.11.0a6 | Pablo Galindo | 2022-03-07 | 122 | -272/+1244 |
|/ | |||||
* | bpo-46940: Don't override existing AttributeError suggestion information ↵ | Pablo Galindo Salgado | 2022-03-07 | 4 | -15/+48 |
| | | | | | | | | | | | | (GH-31710) When an exception is created in a nested call to PyObject_GetAttr, any external calls will override the context information of the AttributeError that we have already placed in the most internal call. This will cause the suggestions we create to nor work properly as the attribute name and object that we will be using are the incorrect ones. To avoid this, we need to check first if these attributes are already set and bail out if that's the case. | ||||
* | bpo-46937: convert remaining functions to AC in _weakref (GH-31705) | Kumar Aditya | 2022-03-07 | 2 | -22/+73 |
| | |||||
* | bpo-43292: Fix file leak in `ET.iterparse()` when not exhausted (GH-31696) | Jacob Walls | 2022-03-07 | 4 | -7/+20 |
| | | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | Use assertEqual, not assertEquals, in test_unicode (GH-31718) | Dennis Sweeney | 2022-03-07 | 1 | -4/+4 |
| | | | Fixes a DeprecationWarning | ||||
* | Clean up CODEOWNERS (#31715) | Jelle Zijlstra | 2022-03-07 | 1 | -16/+8 |
| | | | crypto-team apparently doesn't exist and skrah no longer has write access. Thanks @isidentical for noticing this. | ||||
* | bpo-45582: Don't fail if ENV_PATH is None in getpath.py (GH-31699) | Christian Heimes | 2022-03-06 | 1 | -1/+1 |
| | |||||
* | Update grammar_grapher with the new forced (&&) directive (#31704) | Luca Chiodini | 2022-03-06 | 1 | -0/+3 |
| | |||||
* | bpo-14156: Make argparse.FileType work correctly for binary file modes when ↵ | MojoVampire | 2022-03-06 | 3 | -17/+110 |
| | | | | | | | argument is '-' (GH-13165) Also made modes containing 'a' or 'x' act the same as a mode containing 'w' when argument is '-' (so 'a'/'x' return sys.stdout like 'w', and 'ab'/'xb' return sys.stdout.buffer like 'wb'). | ||||
* | bpo-46921: Vectorcall support for `super()` (GH-31687) | Ken Jin | 2022-03-06 | 3 | -2/+62 |
| | | | Co-Authored-By: Dong-hee Na <donghee.na@python.org> | ||||
* | bpo-46864: Deprecate PyBytesObject.ob_shash. (GH-31598) | Inada Naoki | 2022-03-06 | 4 | -1/+23 |
| | |||||
* | Remove trailing spaces (GH-31695) | Serhiy Storchaka | 2022-03-05 | 13 | -23/+24 |
| | |||||
* | bpo-46927: Include the type's name in the error message for subscripting ↵ | Serhiy Storchaka | 2022-03-05 | 4 | -3/+8 |
| | | | | non-generic types (GH-31694) | ||||
* | Lib/typing.py copy edits originating from GH-31061 (#31684) | Matt Bogosian | 2022-03-05 | 1 | -3/+3 |
| | |||||
* | bpo-38738: Fix formatting of True and False in the threading documentation ↵ | Géry Ogam | 2022-03-04 | 1 | -8/+8 |
| | | | | | | (GH-31678) * Fix formatting of True and False in the threading documentation * Update threading.rst | ||||
* | bpo-46841: Fix BINARY_OP's handling of inline caches (GH-31671) | Brandt Bucher | 2022-03-04 | 3 | -3/+7 |
| | |||||
* | bpo-25415: Remove confusing sentence from IOBase docstrings (PR-31631) | slateny | 2022-03-04 | 4 | -13/+8 |
| | |||||
* | bpo-46541: Remove usage of _Py_IDENTIFIER from lzma module (GH-31683) | Dong-hee Na | 2022-03-04 | 1 | -10/+10 |
| | |||||
* | bpo-46841: Fix error message hacks in `GET_AWAITABLE` (GH-31664) | Brandt Bucher | 2022-03-04 | 8 | -32/+37 |
| | |||||
* | bpo-46903: Handle str-subclasses in virtual instance dictionaries. (GH-31658) | Mark Shannon | 2022-03-04 | 5 | -10/+46 |
| | |||||
* | bpo-46744: Move Windows ARM64 installation directory to correct ProgramFiles ↵ | Steve Dower | 2022-03-04 | 3 | -38/+4 |
| | | | | (GH-31677) | ||||
* | bpo-46355: Update pythoncapi_compat project URL (GH-31670) | Victor Stinner | 2022-03-03 | 1 | -2/+2 |
| | |||||
* | bpo-46913: Skip test_ctypes.test_shorts() on UBSan (GH-31674) | Victor Stinner | 2022-03-03 | 1 | -0/+3 |
| | | | | | If Python is built with UBSan, test_ctypes now skips test_shorts(). This change allows to run test_ctypes to check for new UBSan regression, but the known test_shorts() undefined behavior must be fixed. | ||||
* | bpo-46913: test_hashlib skips _sha3 tests on UBSan (GH-31673) | Victor Stinner | 2022-03-03 | 1 | -8/+26 |
| | | | | | | | If Python is built with UBSan, test_hashlib skips tests on the _sha3 extension which currently has undefined behaviors. This change allows to run test_hashlib to check for new UBSan regression, but the known _sha3 undefined behavior must be fixed. |