Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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-13 | 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-12 | 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-11 | 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-12 | 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 | |
| | ||||||
* | gh-101819: Adapt _io.TextIOBase methods to Argument Clinic (#104383) | Erlend E. Aasland | 2023-05-11 | 2 | -40/+233 | |
| | ||||||
* | gh-101117: Improve accuracy of sqlite3.Cursor.rowcount docs (#104287) | Erlend E. Aasland | 2023-05-11 | 1 | -1/+4 | |
| | | | | The SQLite C API sqlite3_changes() can only be relied upon when the current active statement has been run to completion. | |||||
* | GH-92184: Convert os.altsep to '/' in filenames when creating ZipInfo ↵ | Carey Metcalfe | 2023-05-11 | 2 | -0/+5 | |
| | | | | | | | | | objects (#92185) This causes the zipfile module to also consider the character defined by `os.altsep` (if there is one) to be a path separator and convert it to a forward slash, as defined by the zip specification. A logical no-op on all known platforms today as os.altsep is currently only set to a meaningful value on Windows (where it is "/"). | |||||
* | gh-104357: fix inlined comprehensions that close over iteration var (#104368) | Carl Meyer | 2023-05-10 | 2 | -6/+23 | |
| | ||||||
* | GH-90208: Suppress OSError exceptions from `pathlib.Path.glob()` (GH-104141) | Barney Gale | 2023-05-11 | 3 | -46/+29 | |
| | | | | | | | | | | | `pathlib.Path.glob()` now suppresses all OSError exceptions, except those raised from calling `is_dir()` on the top-level path. Previously, `glob()` suppressed ENOENT, ENOTDIR, EBADF and ELOOP errors and their Windows equivalents. PermissionError was also suppressed unless it occurred when calling `is_dir()` on the top-level path. However, the selector would abort prematurely if a PermissionError was raised, and so `glob()` could return incomplete results. | |||||
* | GH-102181: Improve specialization stats for SEND (GH-102182) | penguin_wwy | 2023-05-10 | 4 | -44/+49 | |
| | ||||||
* | gh-103000: Optimise `dataclasses.asdict` for the common case (#104364) | Alex Waygood | 2023-05-10 | 2 | -5/+14 | |
| | | | Co-authored-by: David Ellis <ducksual@gmail.com> | |||||
* | gh-103538: Remove unused TK_AQUA code (GH-103539) | Christopher Chavez | 2023-05-10 | 3 | -64/+3 | |
| |