summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Update reference to the size of PyPI (#99076)jmcb2022-11-091-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 Bucher2022-11-0918-759/+563
|
* GH-90699: disallow `_Py_IDENTIFIER` in core code (GH-99210)Kumar Aditya2022-11-092-4/+10
|
* gh-98724: Fix Py_CLEAR() macro side effects (#99100)Victor Stinner2022-11-096-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 Stinner2022-11-092-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íns2022-11-091-1/+3
|
* [Enum] Typo: fix DuplicateFreeEnum example docs (GH-99265)Bruno Neyra2022-11-091-1/+1
|
* gh-99238: clarify the type of the env dict. (#99253)Gregory P. Smith2022-11-081-3/+7
|
* gh-94445: add compiler test for another case of excessive stack use (GH-99237)Carl Meyer2022-11-081-0/+7
|
* gh-99248: [Enum] fix negative number infinite loop (GH-99256)Ethan Furman2022-11-083-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 Snow2022-11-0815-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 Snow2022-11-0813-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 Stinner2022-11-088-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 Koli2022-11-081-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``: ![image](https://user-images.githubusercontent.com/37690409/200388894-fb6b7c42-b2cc-49ec-a239-e3472890db1f.png) 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: ![image](https://user-images.githubusercontent.com/37690409/200389483-b4a92105-7d2c-4285-b0fc-78a6dc0be39c.png) Automerge-Triggered-By: GH:AlexWaygood
* GH-98831: Simple input-output stack effects for bytecodes.c (#99120)Guido van Rossum2022-11-085-406/+384
|
* GH-93143: Don't turn LOAD_FAST into LOAD_FAST_CHECK (GH-99075)Brandt Bucher2022-11-083-58/+131
|
* gh-72719: Remove asyncore and asynchat modules (#96580)Nikita Sobolev2022-11-0821-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 Katriel2022-11-083-17/+226
|
* GH-90699: fix refleak in `_testcapimodule.c` (gh-99236)Kumar Aditya2022-11-081-0/+1
|
* gh-92119: ctypes: Print exception class name instead of its representation ↵Kamil Turek2022-11-084-6/+11
| | | | (#98302)
* gh-98513: Test abstract methods of some `collections` types (#98516)Nikita Sobolev2022-11-081-0/+5
|
* gh-99124: use concrete exception types in `test_builtin` (#99125)Nikita Sobolev2022-11-081-3/+3
|
* gh-98433: Fix quadratic time idna decoding. (#99092)Gregory P. Smith2022-11-083-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 Kemenade2022-11-072-1722/+3
|
* GH-90699: Remove remaining `_Py_IDENTIFIER` stdlib usage (GH-99067)Kumar Aditya2022-11-077-53/+110
|
* gh-96746: Docs: Clear up Py_TPFLAGS_DISALLOW_INSTANTIATION inheritance ↵Petr Viktorin2022-11-071-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 Shannon2022-11-0713-71/+207
|
* gh-95389: expose popular ETHERTYPE_* constants in the socket module (#95390)Noam Cohen2022-11-076-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 Salgado2022-11-071-0/+9
| | | | bb56dead336357153a0c3b8cc9d9d6856d2c5a03 (#99197)
* gh-91058: Add what's new entry for the improvement in commit ↵Pablo Galindo Salgado2022-11-071-0/+10
| | | | 7cfbb49fcd4c85f9bab3797302eadf93df490344 (#99198)
* Docs: add argument spec to sqlite3 CLI docs (#99200)Erlend E. Aasland2022-11-071-1/+6
|
* bpo-38523: ignore_dangling_symlinks does not apply recursively (GH-22937)Zackery Spytz2022-11-073-8/+18
|
* remove new line in pickle exception message (GH-31782)Harshil2022-11-071-2/+2
|
* gh-91803: Mock - fix error when using autospec methods with seal (#92213)andrei kulakov2022-11-073-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)jmcb2022-11-073-10/+10
|
* GH-99155: Fix `NormalDist` pickle with `0` and `1` protocols (GH-99156)Nikita Sobolev2022-11-070-0/+0
|
* GH-99155: Fix `NormalDist` pickle with `0` and `1` protocols (GH99156)Nikita Sobolev2022-11-073-3/+15
|
* gh-96055: Update faulthandler to emit proper unexpect signal number (gh-99162)Dong-hee Na2022-11-072-4/+18
|
* gh-98586: Add What's New entry and update docs (#99056)Wenzel Jakob2022-11-063-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 reprAnh71me2022-11-063-1/+7
|
* gh-94286 Fix documentation of print default param (GH-94297)Nouran Ali2022-11-061-1/+1
|
* bpo-33964: IDLE macosx - removed unused local dict. (GH-7926)Terry Jan Reedy2022-11-061-4/+2
|
* [Enum] add built-in property to test_test_simple_enum (GH-98453)Ethan Furman2022-11-061-0/+6
|
* gh-99051: remove duplicated test from `test_weakref` (GH-99052)Nikita Sobolev2022-11-061-35/+6
|
* GH-98831: Implement super-instruction generation (#99084)Guido van Rossum2022-11-065-138/+163
| | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* Correct some typos in comments (GH-98194)jonasdlindner2022-11-062-2/+2
| | | Automerge-Triggered-By: GH:AlexWaygood
* gh-99153: set location on SyntaxError for try with both except and except* ↵Irit Katriel2022-11-064-5/+16
| | | | (GH-99160)
* gh-83004: Clean up refleak in _pickle initialisation (#98841)Shantanu2022-11-062-7/+7
|
* gh-83004: Clean up refleak in _zoneinfo initialisation (#98842)Shantanu2022-11-062-2/+4
|
* gh-99139: Improve NameError error suggestion for instances (#99140)Pablo Galindo Salgado2022-11-067-0/+92
|