Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Update reference to the size of PyPI (#99076) | jmcb | 2022-11-09 | 1 | -2/+2 | |
| | | | | | Update reference to the size of PyPI Last changed in 2008 (528576031d9655ca8004260a2bf2c783f77d1da1). | |||||
* | GH-98686: Get rid of "adaptive" and "quick" instructions (GH-99182) | Brandt Bucher | 2022-11-09 | 18 | -759/+563 | |
| | ||||||
* | GH-90699: disallow `_Py_IDENTIFIER` in core code (GH-99210) | Kumar Aditya | 2022-11-09 | 2 | -4/+10 | |
| | ||||||
* | gh-98724: Fix Py_CLEAR() macro side effects (#99100) | Victor Stinner | 2022-11-09 | 6 | -29/+175 | |
| | | | | | | | The Py_CLEAR(), Py_SETREF() and Py_XSETREF() macros now only evaluate their argument once. If an argument has side effects, these side effects are no longer duplicated. Add test_py_clear() and test_py_setref() unit tests to _testcapi. | |||||
* | gh-90868: Add _PyStaticObject_CheckRefcnt() function (#99261) | Victor Stinner | 2022-11-09 | 2 | -5782/+1458 | |
| | | | | | | Add _PyStaticObject_CheckRefcnt() function to make _PyStaticObjects_CheckRefcnt() shorter. Use _PyObject_ASSERT_FAILED_MSG() to log the object causing the fatal error. | |||||
* | CODEOWNERS: add myself to sysconfig and importlib.resources (#98851) | Filipe Laíns | 2022-11-09 | 1 | -1/+3 | |
| | ||||||
* | [Enum] Typo: fix DuplicateFreeEnum example docs (GH-99265) | Bruno Neyra | 2022-11-09 | 1 | -1/+1 | |
| | ||||||
* | gh-99238: clarify the type of the env dict. (#99253) | Gregory P. Smith | 2022-11-08 | 1 | -3/+7 | |
| | ||||||
* | gh-94445: add compiler test for another case of excessive stack use (GH-99237) | Carl Meyer | 2022-11-08 | 1 | -0/+7 | |
| | ||||||
* | gh-99248: [Enum] fix negative number infinite loop (GH-99256) | Ethan Furman | 2022-11-08 | 3 | -2/+23 | |
| | | | | | | | | [Enum] fix negative number infinite loop - _iter_bits_lsb() now raises a ValueError if a negative number is passed in - verify() now skips checking negative numbers for named flags | |||||
* | gh-90868: Adjust the Generated Objects (gh-99223) | Eric Snow | 2022-11-08 | 15 | -7098/+7193 | |
| | | | | | | | | | | | We do the following: * move the generated _PyUnicode_InitStaticStrings() to its own file * move the generated _PyStaticObjects_CheckRefcnt() to its own file * include pycore_global_objects.h in extension modules instead of pycore_runtime_init.h These changes help us avoid including things that aren't needed. https://github.com/python/cpython/issues/90868 | |||||
* | gh-98627: Add the _testsinglephase Module (gh-99039) | Eric Snow | 2022-11-08 | 13 | -21/+356 | |
| | | | | | This makes it more clear that a given test is definitely testing against a single-phase init (legacy) extension module. The new module is a companion to _testmultiphase. https://github.com/python/cpython/issues/98627 | |||||
* | gh-91248: Add PyFrame_GetVar() function (#95712) | Victor Stinner | 2022-11-08 | 8 | -22/+126 | |
| | | | | | | Add PyFrame_GetVar() and PyFrame_GetVarString() functions to get a frame variable by its name. Move PyFrameObject C API tests from test_capi to test_frame. | |||||
* | Fix broken link in `asyncio-subprocesses` doc (GH-99214) | Mikael Koli | 2022-11-08 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | # Fix broken link in Doc/library/asyncio-subprocess.rst This is a trivial fix in documentation to fix a broken link. There is a broken link in [Doc/library/asyncio-subprocess.rst](https://docs.python.org/3/library/asyncio-subprocess.html#asyncio.subprocess.Process) for the function ``wait_for``:  I suppose this refers to the function ``asyncio.wait_for`` which is not clear in the docs. This PR fixes the link and the result looks like the following:  Automerge-Triggered-By: GH:AlexWaygood | |||||
* | GH-98831: Simple input-output stack effects for bytecodes.c (#99120) | Guido van Rossum | 2022-11-08 | 5 | -406/+384 | |
| | ||||||
* | GH-93143: Don't turn LOAD_FAST into LOAD_FAST_CHECK (GH-99075) | Brandt Bucher | 2022-11-08 | 3 | -58/+131 | |
| | ||||||
* | gh-72719: Remove asyncore and asynchat modules (#96580) | Nikita Sobolev | 2022-11-08 | 21 | -1762/+32 | |
| | | | | | Remove modules asyncore and asynchat, which were deprecated by PEP 594. Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | |||||
* | gh-99181: fix except* on unhashable exceptions (GH-99192) | Irit Katriel | 2022-11-08 | 3 | -17/+226 | |
| | ||||||
* | GH-90699: fix refleak in `_testcapimodule.c` (gh-99236) | Kumar Aditya | 2022-11-08 | 1 | -0/+1 | |
| | ||||||
* | gh-92119: ctypes: Print exception class name instead of its representation ↵ | Kamil Turek | 2022-11-08 | 4 | -6/+11 | |
| | | | | (#98302) | |||||
* | gh-98513: Test abstract methods of some `collections` types (#98516) | Nikita Sobolev | 2022-11-08 | 1 | -0/+5 | |
| | ||||||
* | gh-99124: use concrete exception types in `test_builtin` (#99125) | Nikita Sobolev | 2022-11-08 | 1 | -3/+3 | |
| | ||||||
* | gh-98433: Fix quadratic time idna decoding. (#99092) | Gregory P. Smith | 2022-11-08 | 3 | -17/+45 | |
| | | | | | | | | There was an unnecessary quadratic loop in idna decoding. This restores the behavior to linear. This also adds an early length check in IDNA decoding to outright reject huge inputs early on given the ultimate result is defined to be 63 or fewer characters. | |||||
* | gh-98817: Remove PCbuild/lib.pyproj (GH-98818) | Hugo van Kemenade | 2022-11-07 | 2 | -1722/+3 | |
| | ||||||
* | GH-90699: Remove remaining `_Py_IDENTIFIER` stdlib usage (GH-99067) | Kumar Aditya | 2022-11-07 | 7 | -53/+110 | |
| | ||||||
* | gh-96746: Docs: Clear up Py_TPFLAGS_DISALLOW_INSTANTIATION inheritance ↵ | Petr Viktorin | 2022-11-07 | 1 | -0/+11 | |
| | | | | | | | (GH-99002) The flag is not inherited, but its effect -- a NULL tp_new -- is. Drop hints for people who come here wanting to “disallow instantiation”. | |||||
* | GH-96793: Specialize FOR_ITER for generators. (GH-98772) | Mark Shannon | 2022-11-07 | 13 | -71/+207 | |
| | ||||||
* | gh-95389: expose popular ETHERTYPE_* constants in the socket module (#95390) | Noam Cohen | 2022-11-07 | 6 | -4/+65 | |
| | | | | Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> | |||||
* | gh-98254: Add what's new entry for the improvement in commit ↵ | Pablo Galindo Salgado | 2022-11-07 | 1 | -0/+9 | |
| | | | | bb56dead336357153a0c3b8cc9d9d6856d2c5a03 (#99197) | |||||
* | gh-91058: Add what's new entry for the improvement in commit ↵ | Pablo Galindo Salgado | 2022-11-07 | 1 | -0/+10 | |
| | | | | 7cfbb49fcd4c85f9bab3797302eadf93df490344 (#99198) | |||||
* | Docs: add argument spec to sqlite3 CLI docs (#99200) | Erlend E. Aasland | 2022-11-07 | 1 | -1/+6 | |
| | ||||||
* | bpo-38523: ignore_dangling_symlinks does not apply recursively (GH-22937) | Zackery Spytz | 2022-11-07 | 3 | -8/+18 | |
| | ||||||
* | remove new line in pickle exception message (GH-31782) | Harshil | 2022-11-07 | 1 | -2/+2 | |
| | ||||||
* | gh-91803: Mock - fix error when using autospec methods with seal (#92213) | andrei kulakov | 2022-11-07 | 3 | -1/+8 | |
| | | | | | | Fixes https://github.com/python/cpython/issues/91803. Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com> Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | |||||
* | doc: Formatting and typo fixes (#98974) | jmcb | 2022-11-07 | 3 | -10/+10 | |
| | ||||||
* | GH-99155: Fix `NormalDist` pickle with `0` and `1` protocols (GH-99156) | Nikita Sobolev | 2022-11-07 | 0 | -0/+0 | |
| | ||||||
* | GH-99155: Fix `NormalDist` pickle with `0` and `1` protocols (GH99156) | Nikita Sobolev | 2022-11-07 | 3 | -3/+15 | |
| | ||||||
* | gh-96055: Update faulthandler to emit proper unexpect signal number (gh-99162) | Dong-hee Na | 2022-11-07 | 2 | -4/+18 | |
| | ||||||
* | gh-98586: Add What's New entry and update docs (#99056) | Wenzel Jakob | 2022-11-06 | 3 | -2/+14 | |
| | | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> | |||||
* | gh-98139: enhance namespace package repr | Anh71me | 2022-11-06 | 3 | -1/+7 | |
| | ||||||
* | gh-94286 Fix documentation of print default param (GH-94297) | Nouran Ali | 2022-11-06 | 1 | -1/+1 | |
| | ||||||
* | bpo-33964: IDLE macosx - removed unused local dict. (GH-7926) | Terry Jan Reedy | 2022-11-06 | 1 | -4/+2 | |
| | ||||||
* | [Enum] add built-in property to test_test_simple_enum (GH-98453) | Ethan Furman | 2022-11-06 | 1 | -0/+6 | |
| | ||||||
* | gh-99051: remove duplicated test from `test_weakref` (GH-99052) | Nikita Sobolev | 2022-11-06 | 1 | -35/+6 | |
| | ||||||
* | GH-98831: Implement super-instruction generation (#99084) | Guido van Rossum | 2022-11-06 | 5 | -138/+163 | |
| | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | |||||
* | Correct some typos in comments (GH-98194) | jonasdlindner | 2022-11-06 | 2 | -2/+2 | |
| | | | Automerge-Triggered-By: GH:AlexWaygood | |||||
* | gh-99153: set location on SyntaxError for try with both except and except* ↵ | Irit Katriel | 2022-11-06 | 4 | -5/+16 | |
| | | | | (GH-99160) | |||||
* | gh-83004: Clean up refleak in _pickle initialisation (#98841) | Shantanu | 2022-11-06 | 2 | -7/+7 | |
| | ||||||
* | gh-83004: Clean up refleak in _zoneinfo initialisation (#98842) | Shantanu | 2022-11-06 | 2 | -2/+4 | |
| | ||||||
* | gh-99139: Improve NameError error suggestion for instances (#99140) | Pablo Galindo Salgado | 2022-11-06 | 7 | -0/+92 | |
| |