Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-104050: Run mypy on `clinic.py` in CI (#104421) | Alex Waygood | 2023-05-15 | 6 | -24/+101 | |
| | | | | | | | | | | * Add basic mypy workflow to CI * Make the type check pass --------- Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | |||||
* | gh-104490: Consistently define phony make targets (#104491) | Gregory Szorc | 2023-05-15 | 2 | -20/+78 | |
| | | | | | | | | | | | | By convention make targets that don't refer to a file have a dependency on the fake .PHONY target/file. This ensures that these targets are always evaluated because there is no rule to create a .PHONY file and that will force make to think the rule is out of date and needs to be rebuilt. This commit consistently associates virtual targets with .PHONY by declaring the .PHONY dependency immediately above the make rule. This should avoid race conditions and avoidable rebuilds across multiple make invocations. | |||||
* | gh-67056: document that registering/unregistering an atexit func from within ↵ | Irit Katriel | 2023-05-15 | 2 | -0/+5 | |
| | | | | an atexit func is undefined (#104473) | |||||
* | gh-104487: PYTHON_FOR_REGEN must be minimum Python 3.10 (#104488) | Erlend E. Aasland | 2023-05-15 | 4 | -2/+5 | |
| | | | Also include Python 3.12 in the list of accepted versions. | |||||
* | gh-101282: move BOLT config after PGO (gh-104493) | Gregory Szorc | 2023-05-15 | 2 | -242/+242 | |
| | ||||||
* | gh-104469 Convert _testcapi/float.c to use AC (gh-104470) | Dong-hee Na | 2023-05-15 | 2 | -19/+123 | |
| | ||||||
* | gh-104456: Fix ref leak in _ctypes.COMError (#104457) | Kirill Podoprigora | 2023-05-14 | 1 | -1/+9 | |
| | ||||||
* | gh-98539: Make _SSLTransportProtocol.abort() safe to call when closed (#104474) | Sam Bull | 2023-05-14 | 1 | -1/+2 | |
| | ||||||
* | gh-104337: Clarify random.gammavariate doc entry (#104410) | Terry Jan Reedy | 2023-05-14 | 1 | -3/+6 | |
| | | | | | * gh-104337: Clarify random.gammavariate doc entry * Fix parameter markup. | |||||
* | Minor improvements to typing docs (#104465) | Jelle Zijlstra | 2023-05-14 | 1 | -4/+6 | |
| | ||||||
* | gh-87092: avoid gcc warning on uninitialized struct field in assemble.c ↵ | Dong-hee Na | 2023-05-14 | 1 | -1/+2 | |
| | | | | (#104460) | |||||
* | GH-71383: IDLE - Document testing subsets of modules (#104463) | Terry Jan Reedy | 2023-05-14 | 3 | -20/+29 | |
| | ||||||
* | gh-104454: Fix refleak in AttributeError_reduce (#104455) | Charles Machalow | 2023-05-13 | 1 | -1/+3 | |
| | | | | | * Fix the reference leak introduced by https://github.com/python/cpython/issues/103333 Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru> | |||||
* | gh-75710: IDLE - add docstrings and comments to editor module (#104446) | Terry Jan Reedy | 2023-05-13 | 1 | -25/+102 | |
| | | | | | Commit extracted from PR #3669. Will edit more later. Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> | |||||
* | gh-91896: Revert some very noisy DeprecationWarnings for `ByteString` (#104424) | Alex Waygood | 2023-05-13 | 7 | -79/+19 | |
| | ||||||
* | Add a mention of PYTHONBREAKPOINT to breakpoint() docs (#104430) | Ned Batchelder | 2023-05-13 | 1 | -0/+7 | |
| | ||||||
* | gh-99836: IDLE - update news.txt for 3.12 (#104444) | Terry Jan Reedy | 2023-05-13 | 1 | -2/+13 | |
| | | | | | * gh-99836: IDLE 3.12 news.txt * gh-99836: IDLE - update news.txt for 3.12 | |||||
* | gh-104404: fix crasher with nested comprehensions plus lambdas (#104442) | Carl Meyer | 2023-05-13 | 2 | -7/+22 | |
| | ||||||
* | GH-104405: Add missing PEP 523 checks (GH-104406) | Brandt Bucher | 2023-05-12 | 6 | -421/+506 | |
| | ||||||
* | GH-94841: Fix usage of Py_ALWAYS_INLINE (GH-104409) | Brandt Bucher | 2023-05-12 | 1 | -1/+1 | |
| | ||||||
* | gh-103333: Pickle the keyword attributes of AttributeError (#103352) | Charles Machalow | 2023-05-12 | 3 | -28/+78 | |
| | | | | | | * Pickle the `name` and `args` attributes of AttributeError when present. Co-authored-by: Gregory P. Smith <greg@krypto.org> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> | |||||
* | gh-103204: `http.server` - Enforce that HTTP version numbers must consist ↵ | Ben Kallus | 2023-05-12 | 3 | -0/+28 | |
| | | | | | | | | | | only of digits (#103205) Reject HTTP requests with invalid http/x.y version numbers: x or y being non-digits or too-long. --------- Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net> Co-authored-by: Gregory P. Smith <greg@krypto.org> | |||||
* | gh-103857: Update deprecation stacktrace to point to calling line (#104431) | Hugo van Kemenade | 2023-05-12 | 2 | -2/+3 | |
| | ||||||
* | GH-86275: Run hypothesis tests in parallel (#104427) | Paul Ganssle | 2023-05-12 | 1 | -0/+2 | |
| | | | Run hypothesis tests in parallel | |||||
* | gh-86275: Fix install of new _hypothesis_stubs directory (#104425) | Jelle Zijlstra | 2023-05-12 | 1 | -0/+1 | |
| | ||||||
* | gh-91896: Fixup some docs issues following ByteString deprecation (#104422) | Alex Waygood | 2023-05-12 | 2 | -1/+7 | |
| | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | |||||
* | GH-104371: check return value of calling `mv.release` (#104417) | Kumar Aditya | 2023-05-12 | 1 | -1/+7 | |
| | ||||||
* | gh-104415: Fix refleak tests for `typing.ByteString` deprecation (#104416) | Nikita Sobolev | 2023-05-12 | 1 | -0/+9 | |
| | ||||||
* | GH-86275: Implementation of hypothesis stubs for property-based tests, with ↵ | Paul Ganssle | 2023-05-12 | 9 | -1/+719 | |
| | | | | | | | | | | | | | zoneinfo tests (#22863) These are stubs to be used for adding hypothesis (https://hypothesis.readthedocs.io/en/latest/) tests to the standard library. When the tests are run in an environment where `hypothesis` and its various dependencies are not installed, the stubs will turn any tests with examples into simple parameterized tests and any tests without examples are skipped. It also adds hypothesis tests for the `zoneinfo` module, and a Github Actions workflow to run the hypothesis tests as a non-required CI job. The full hypothesis interface is not stubbed out — missing stubs can be added as necessary. Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com> | |||||
* | GH-103082: Filter LINE events in VM, to simplify tool implementation. ↵ | Mark Shannon | 2023-05-12 | 16 | -158/+252 | |
| | | | | | | | | (GH-104387) When monitoring LINE events, instrument all instructions that can have a predecessor on a different line. Then check that the a new line has been hit in the instrumentation code. This brings the behavior closer to that of 3.11, simplifying implementation and porting of tools. | |||||
* | gh-93649: Split gc- and allocation tests from _testcapimodule.c (GH-104403) | Jurica Bradarić | 2023-05-12 | 6 | -327/+353 | |
| | ||||||
* | gh-104389: Add 'unused' keyword to Argument Clinic C converters (#104390) | Erlend E. Aasland | 2023-05-12 | 4 | -1/+62 | |
| | | | | | | | | | Use the unused keyword param in the converter to explicitly mark an argument as unused: /*[clinic input] SomeBaseClass.stubmethod flag: bool(unused=True) [clinic start generated code]*/ | |||||
* | gh-101819: Prepare _io._IOBase for module state (#104386) | Erlend E. Aasland | 2023-05-12 | 4 | -11/+21 | |
| | | | | - Add PyIOBase_Type to _io module state - Pass defining class to _io._IOBase.fileno | |||||
* | gh-104413: Fix refleak when super attribute throws AttributeError (#104414) | Jelle Zijlstra | 2023-05-12 | 2 | -114/+116 | |
| | ||||||
* | Fix refleak in `super_descr_get` (#104408) | Brandt Bucher | 2023-05-12 | 1 | -1/+3 | |
| | ||||||
* | gh-87526: Remove dead initialization from _zoneinfo parse_abbr() (#24700) | Alex Henrie | 2023-05-12 | 1 | -1/+1 | |
| | ||||||
* | gh-91896: Improve visibility of `ByteString` deprecation warnings (#104294) | Alex Waygood | 2023-05-12 | 5 | -12/+85 | |
| | ||||||
* | gh-104371: Fix calls to `__release_buffer__` while an exception is active ↵ | Jelle Zijlstra | 2023-05-12 | 2 | -2/+25 | |
| | | | | | (#104378) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> | |||||
* | gh-104377: fix cell in comprehension that is free in outer scope (#104394) | Carl Meyer | 2023-05-11 | 2 | -7/+67 | |
| | ||||||
* | gh-104392: Remove _paramspec_tvars from typing (#104393) | Jelle Zijlstra | 2023-05-11 | 2 | -13/+8 | |
| | | | | This does nothing. | |||||
* | gh-104396: uuid.py to skip platform check for emscripten and wasi (gh-104397) | Jeong, YunWon | 2023-05-11 | 1 | -1/+1 | |
| | ||||||
* | gh-99108: Refresh HACL* from upstream (#104401) | Jonathan Protzenko | 2023-05-11 | 3 | -2/+11 | |
| | | | Refresh HACL* from upstream and add a SHA3 test hashing over 4GiB of data. | |||||
* | gh-104301: Allow leading whitespace in disambiguated pdb statements (#104342) | James Gerity | 2023-05-11 | 5 | -12/+50 | |
| | ||||||
* | gh-104057: Fix direct invocation of test_support (GH-104069) | Kirill Podoprigora | 2023-05-11 | 1 | -1/+1 | |
| | ||||||
* | gh-87729: improve hit rate of LOAD_SUPER_ATTR specialization (#104270) | Carl Meyer | 2023-05-11 | 13 | -352/+374 | |
| | ||||||
* | gh-101819: Fix inverted debug preprocessor check in winconsoleio.c (#104388) | Erlend E. Aasland | 2023-05-11 | 1 | -1/+1 | |
| | ||||||
* | gh-87849: fix SEND specialization family definition (GH-104268) | Carl Meyer | 2023-05-11 | 3 | -176/+177 | |
| | ||||||
* | gh-101819: Adapt _io.IOBase.seek and _io.IOBase.truncate to Argument Clinic ↵ | Erlend E. Aasland | 2023-05-11 | 2 | -22/+135 | |
| | | | | (#104384) | |||||
* | gh-101819: Adapt _io._Buffered* methods to Argument Clinic (#104367) | Erlend E. Aasland | 2023-05-11 | 2 | -56/+328 | |
| | ||||||
* | gh-101819: Refactor `_io` futher in preparation for module isolation (#104369) | Erlend E. Aasland | 2023-05-11 | 5 | -116/+268 | |
| |