summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* `test_typing`: use all pickle protocols (#99154)Nikita Sobolev2022-11-061-1/+1
|
* gh-93464: [Enum] fix auto() failure during multiple assignment (GH-99148)Ethan Furman2022-11-064-11/+82
| | | | | | * fix auto() failure during multiple assignment i.e. `ONE = auto(), 'text'` will now have `ONE' with the value of `(1, 'text')`. Before it would have been `(<an auto instance>, 'text')`
* [doc] fix typo (GH-99143)Doj2022-11-051-1/+1
|
* gh-99134: Update bundled pip to 22.3.1 (gh-99135)Paul Moore2022-11-053-1/+2
| | | Update bundled pip to 22.3.1
* gh-94808: add tests covering `PyFunction_GetKwDefaults` and ↵Nikita Sobolev2022-11-052-3/+124
| | | | `PyFunction_SetKwDefaults` (GH-98809)
* gh-94808: add tests covering `PySequence_{Set,Del}Slice` (GH-99123)Nikita Sobolev2022-11-052-0/+113
|
* gh-98284: better error message for undefined abstractmethod (#97971)Kaushik Kulkarni2022-11-056-19/+23
|
* gh-94808: add tests covering `PyEval_GetFuncDesc` function (GH-98300)Nikita Sobolev2022-11-052-0/+22
|
* gh-99086: Fix implicit int compiler warning in configure check for ↵Sam James2022-11-053-2/+3
| | | | PTHREAD_SCOPE_SYSTEM (#99085)
* GH-99104: Update headers for bytecodes.c and generate_cases.py (#99112)Guido van Rossum2022-11-053-9/+19
| | | Also tweak the labels near the end of bytecodes.c.
* GH-98686: Fix compiler warning for HAS_ARG (GH-99106)Brandt Bucher2022-11-041-1/+1
|
* GH-98831: Add some macros definitions to bytecodes.c to reduce IDE warnings. ↵Mark Shannon2022-11-041-2/+29
| | | | (#99093)
* GH-98831: Auto-generate PREDICTED() macro calls (#99102)Guido van Rossum2022-11-042-16/+7
| | | Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
* GH-98831: Add `regen-cases` to `regen-all` (#99107)Brandt Bucher2022-11-041-1/+1
|
* gh-90867: test.support.wait_process() uses LONG_TIMEOUT (#99071)Victor Stinner2022-11-041-2/+2
| | | | | | | The test.support.wait_process() function now uses a timeout of LONG_TIMEOUT seconds by default, instead of SHORT_TIMEOUT. It doesn't matter if a Python buildbot is slower, it only matters that the process completes. The timeout should just be shorter than "forever".
* gh-90716: Fix pylong_int_from_string() refleak (#99094)Victor Stinner2022-11-041-0/+1
| | | | | | Fix validated by: $ ./python -m test -R 3:3 test_int Tests result: SUCCESS
* minor edits to locale doc (#98537)Skip Montanaro2022-11-041-13/+16
|
* Support comparing two sets of pystats (GH-98816)Michael Droettboom2022-11-042-123/+366
| | | | | | | | | | This adds support for comparing pystats collected from two different builds. - The `--json-output` can be used to load in a set of raw stats and output a JSON file. - Two of these JSON files can be provided on the next run, and then comparative results between the two are output.
* gh-94808: Cover `LOAD_GLOBAL` for custom dict subtypes (GH-96767)Nikita Sobolev2022-11-041-0/+31
|
* Docs: add `named` to the list of styles in the sqlite3.paramstyle attr docs ↵Nick Pope2022-11-031-3/+4
| | | | (#99078)
* gh-90716: bugfixes and more tests for _pylong. (#99073)Gregory P. Smith2022-11-032-4/+50
| | | | | | | | | * Properly decref on _pylong import error. * Improve the error message on _pylong TypeError. * Fix the assertion error in pydebug builds to be a TypeError. * Tie the return value comments together. These are minor followups to issues not caught among the reviewers on https://github.com/python/cpython/pull/96673.
* gh-73691: Increase size limits in _xxtestfuzz (#99070)Gregory P. Smith2022-11-031-3/+6
| | | | | | | | Now that our int<->str conversions are size limited and we have the _pylong module handling larger integers, we don't need to limit everything just to avoid wasting time in the quadratic time DoS-like case while fuzzing. We can tweak these further after seeing how this goes.
* GH-90699: Remove `_Py_IDENTIFIER` usage from `_ctypes` (GH-99054)Kumar Aditya2022-11-036-64/+163
|
* gh-92584: Remove the distutils package (#99061)Victor Stinner2022-11-03113-22834/+26
| | | | | | | | | | | | Remove the distutils package. It was deprecated in Python 3.10 by PEP 632 "Deprecate distutils module". For projects still using distutils and cannot be updated to something else, the setuptools project can be installed: it still provides distutils. * Remove Lib/distutils/ directory * Remove test_distutils * Remove references to distutils * Skip test_check_c_globals and test_peg_generator since they use distutils