Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-96821: Add config option `--with-strict-overflow` (#96823) | Matthias Görgens | 2023-03-04 | 4 | -18/+122 |
| | | | | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Shantanu <hauntsaninja@gmail.com> | ||||
* | gh-101992: update pstlib module documentation (#102133) | Dustin Rodrigues | 2023-03-04 | 1 | -7/+16 |
| | |||||
* | gh-63301: Set exit code when tabnanny CLI exits on error (#7699) | Jaysinh Shukla | 2023-03-04 | 3 | -13/+21 |
| | | | Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> | ||||
* | gh-101863: Fix wrong comments in EUC-KR codec (gh-102417) | Byeongmin Choi | 2023-03-04 | 2 | -2/+3 |
| | |||||
* | gh-102302 Micro-optimize `inspect.Parameter.__hash__` (#102303) | Gouvernathor | 2023-03-04 | 2 | -1/+2 |
| | |||||
* | gh-102179: Fix `os.dup2` error reporting for negative fds (#102180) | Alexey Izbyshev | 2023-03-04 | 3 | -5/+21 |
| | |||||
* | gh-101892: Fix `SystemError` when a callable iterator call exhausts the ↵ | Raj | 2023-03-04 | 3 | -2/+30 |
| | | | | | iterator (#101896) Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net> | ||||
* | Remove unused internal macros (#102415) | Mark Dickinson | 2023-03-04 | 1 | -15/+0 |
| | | | | | Since #101826 was merged, the internal macro `_Py_InIntegralTypeRange` is unused, as are its supporting macros `_Py_IntegralTypeMax` and `_Py_IntegralTypeMin`. This PR removes them. Note that `_Py_InIntegralTypeRange` doesn't actually work as advertised - it's not a safe way to avoid undefined behaviour in an integer to double conversion. | ||||
* | gh-102021 : Allow multiple input files for interpreter loop generator (#102022) | Jacob Bower | 2023-03-04 | 6 | -41/+105 |
| | | | The input files no longer use `-i`. | ||||
* | Add import of `unittest.mock.Mock` in documentation (#102346) | Wagner Alberto | 2023-03-03 | 1 | -0/+1 |
| | |||||
* | gh-102383: [docs] Arguments of `PyObject_CopyData` are `PyObject *` (#102390) | Nikita Sobolev | 2023-03-03 | 1 | -1/+1 |
| | |||||
* | gh-101754: Document that Windows converts keys in `os.environ` to uppercase ↵ | Owain Davies | 2023-03-03 | 1 | -0/+5 |
| | | | | (GH-101840) | ||||
* | gh-102324: Improve tests of `typing.override` (#102325) | Nikita Sobolev | 2023-03-03 | 1 | -4/+95 |
| | | | Fixes #101564 | ||||
* | gh-102371: move _Py_Mangle from compile.c to symtable.c (#102372) | Irit Katriel | 2023-03-02 | 5 | -76/+76 |
| | |||||
* | Fix typos in documentation and comments (GH-102374) | Michael K | 2023-03-02 | 4 | -5/+5 |
| | | | | | | | | Found some duplicate `to`s in the documentation and some code comments and fixed them. [Misc/NEWS.d/3.12.0a1.rst](https://github.com/python/cpython/blob/ed55c69ebd74178115cd8b080f7f8e7588cd5fda/Misc/NEWS.d/3.12.0a1.rst) also contains two duplicate `to`s, but I wasn't sure if it's ok to touch that file. Looks auto generated. I'm happy to amend the PR if requested. :) Automerge-Triggered-By: GH:AlexWaygood | ||||
* | gh-101101: Fix test_code_extra to reset value for refleak test (gh-102350) | Dong-hee Na | 2023-03-02 | 1 | -1/+5 |
| | |||||
* | gh-95672: Update memory_watchdog to use test.support.get_pagesize (gh-102365) | Hyunkyun Moon | 2023-03-02 | 1 | -9/+2 |
| | |||||
* | gh-102088 Optimize iter_index itertools recipe (GH-102360) | Stefan Pochmann | 2023-03-02 | 2 | -3/+9 |
| | |||||
* | gh-95672 skip fcntl when pipesize is smaller than pagesize (gh-102163) | Hyunkyun Moon | 2023-03-01 | 4 | -3/+26 |
| | |||||
* | gh-102344: Reimplement winreg QueryValue / SetValue using QueryValueEx / ↵ | Max Bachmann | 2023-03-01 | 2 | -60/+124 |
| | | | | | SetValueEx (GH-102345) The newer APIs are more widely available than the old ones, and are called in a way to preserve functionality. | ||||
* | gh-102336: Ensure CancelIoEx result is not ignored (GH-102347) | Max Bachmann | 2023-03-01 | 1 | -1/+1 |
| | | | fix ignored return value | ||||
* | gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives in ↵ | Irit Katriel | 2023-03-01 | 1 | -34/+24 |
| | | | | tkinter module (#102319) | ||||
* | Doc: Fix minor error in ePub (GH-100614) | Inada Naoki | 2023-03-01 | 1 | -3/+3 |
| | | | Fix issue reported https://mail.python.org/archives/list/docs@python.org/message/KE7OIAO53P4XRC4ZOWPDHA63ZQJCHEC3/ | ||||
* | gh-102336: Remove code specifically for handling Windows 7 (GH-102337) | Max Bachmann | 2023-03-01 | 7 | -159/+56 |
| | |||||
* | gh-99108: Add missing md5/sha1 defines to Modules/Setup (#102308) | Anthony Sottile | 2023-02-28 | 1 | -2/+2 |
| | |||||
* | gh-100227: Move _str_replace_inf to PyInterpreterState (gh-102333) | Eric Snow | 2023-02-28 | 4 | -14/+20 |
| | | | https://github.com/python/cpython/issues/100227 | ||||
* | gh-100227: Move the dtoa State to PyInterpreterState (gh-102331) | Eric Snow | 2023-02-28 | 6 | -17/+39 |
| | | | https://github.com/python/cpython/issues/100227 | ||||
* | GH-102305: Expand some macros in generated_cases.c.h (#102309) | Guido van Rossum | 2023-02-28 | 2 | -452/+441 |
| | | | | * Emit straight stack_pointer[-i] instead of PEEK(i), POKE(i, ...) * Expand JUMPBY() and NEXTOPARG(), and fix a perf bug | ||||
* | Migrate to new PSF mailgun account (#102284) | Ee Durbin | 2023-02-28 | 1 | -3/+3 |
| | | | | | Our legacy mailgun account is associated with a parent rackspace account that I am trying to decomission. The necessary secret has been added to the GitHub Actions Secrets already, so this is ready to go on approval. | ||||
* | gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives ↵ | Irit Katriel | 2023-02-28 | 8 | -72/+42 |
| | | | | (in Python/) (#102193) | ||||
* | GH-90744: Fix erroneous doc links in the sys module (#101319) | Furkan Onder | 2023-02-28 | 1 | -49/+49 |
| | | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | ||||
* | gh-87092: Make jump target label equal to the offset of the target in the ↵ | Irit Katriel | 2023-02-28 | 4 | -108/+111 |
| | | | | instructions sequence (#102093) | ||||
* | gh-101101: Unstable C API tier (PEP 689) (GH-101102) | Petr Viktorin | 2023-02-28 | 18 | -29/+358 |
| | |||||
* | IDLE: Simplify DynOptionsMenu __init__code (#101371) | JosephSBoyle | 2023-02-28 | 1 | -14/+11 |
| | | | | | | Refactor DynOptionMenu's initializer to not copy kwargs dict and use subscripting; improve its htest. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | ||||
* | gh-101561: Add typing.override decorator (#101564) | Steven Troxler | 2023-02-27 | 6 | -0/+127 |
| | | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-101825: Clarify that as_integer_ratio() output is always normalized (#101843) | Sergey B Kirpichev | 2023-02-27 | 7 | -27/+21 |
| | | | | | | | | | Make docstrings for `as_integer_ratio` consistent across types, and document that the returned pair is always normalized (coprime integers, with positive denominator). --------- Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com> Co-authored-by: Mark Dickinson <dickinsm@gmail.com> | ||||
* | gh-101773: Optimize creation of Fractions in private methods (#101780) | Sergey B Kirpichev | 2023-02-27 | 4 | -34/+50 |
| | | | | | | This PR adds a private `Fraction._from_coprime_ints` classmethod for internal creations of `Fraction` objects, replacing the use of `_normalize=False` in the existing constructor. This speeds up creation of `Fraction` objects arising from calculations. The `_normalize` argument to the `Fraction` constructor has been removed. Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com> Co-authored-by: Mark Dickinson <dickinsm@gmail.com> | ||||
* | gh-102251: Updates to test_imp Toward Fixing Some Refleaks (gh-102254) | Eric Snow | 2023-02-27 | 4 | -299/+952 |
| | | | | | | | This is related to fixing the refleaks introduced by commit 096d009. I haven't been able to find the leak yet, but these changes are a consequence of that effort. This includes some cleanup, some tweaks to the existing tests, and a bunch of new test cases. The only change here that might have impact outside the tests in question is in imp.py, where I update imp.load_dynamic() to use spec_from_file_location() instead of creating a ModuleSpec directly. Also note that I've updated the tests to only skip if we're checking for refleaks (regrtest's --huntrleaks), whereas in gh-101969 I had skipped the tests entirely. The tests will be useful for some upcoming work and I'd rather the refleaks not hold that up. (It isn't clear how quickly we'll be able to fix the leaking code, though it will certainly be done in the short term.) https://github.com/python/cpython/issues/102251 | ||||
* | gh-102296 Document that inspect.Parameter kinds support ordering (GH-102297) | Gouvernathor | 2023-02-27 | 1 | -2/+3 |
| | | | Automerge-Triggered-By: GH:AlexWaygood | ||||
* | gh-102250: Fix double-decref in COMPARE_AND_BRANCH error case (GH-102287) | Dennis Sweeney | 2023-02-27 | 4 | -6/+23 |
| | |||||
* | gh-101100: Fix sphinx warnings in `types` module (#102274) | Nikita Sobolev | 2023-02-27 | 1 | -1/+1 |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-91038: Change default argument value to `False` instead of `0` (#31621) | Rotzbua | 2023-02-27 | 3 | -2/+3 |
| | | | | | | The argument is used as a switch and corresponds to a boolean logic. Therefore it is more intuitive to use the corresponding constant `False` as default value instead of the integer `0`. Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net> | ||||
* | gh-101765: unicodeobject: use Py_XDECREF correctly (#102283) | Jelle Zijlstra | 2023-02-26 | 1 | -1/+1 |
| | |||||
* | [doc] Improve grammar/fix missing word (GH-102060) | VMan | 2023-02-26 | 2 | -2/+2 |
| | |||||
* | gh-102259: Fix re doc issue regarding right square brackets (#102264) | Skip Montanaro | 2023-02-26 | 1 | -1/+2 |
| | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | ||||
* | gh-101765: Fix refcount issues in list and unicode pickling (#102265) | Jelle Zijlstra | 2023-02-26 | 2 | -1/+11 |
| | | | Followup from #101769. | ||||
* | gh-101100: Fix sphinx warnings in `typing` module docs (#102260) | Nikita Sobolev | 2023-02-25 | 1 | -1/+1 |
| | |||||
* | gh-102252: Improve coverage of test_bool.py (#102253) | Eclips4 | 2023-02-25 | 1 | -0/+6 |
| | | | Add tests for conversion from bool to complex. | ||||
* | gh-102209: Sync with zipp 3.15 moving complexity tests into dedicated module ↵ | Jason R. Coombs | 2023-02-25 | 7 | -51/+87 |
| | | | | | (#102232) Sync with jaraco/zipp@757a4e1a. | ||||
* | asyncio docs: Fix dangling hyphen (#102227) | Jelle Zijlstra | 2023-02-25 | 1 | -2/+2 |
| | | | Currently this gets rendered with a dangling hyphen. |