Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-111513: Improve datetime.fromtimestamp's error message (#124249) | AN Long | 2024-09-20 | 2 | -0/+5 |
| | |||||
* | gh-124217, ipaddress: Add RFC 9637 reserved IPv6 block `3fff::/20` (#124240) | Y5 | 2024-09-20 | 3 | -0/+5 |
| | | | Signed-off-by: y5c4l3 <y5c4l3@proton.me> | ||||
* | Fix typo in XMLParser doc (#124129) | Jacob Walls | 2024-09-20 | 1 | -1/+1 |
| | |||||
* | gh-124248: Fix crash in struct when processing 0p fields (#124251) | Brian Schubert | 2024-09-20 | 4 | -4/+27 |
| | |||||
* | gh-95468: Add more tests for "--" (double dash) in test_argparse (GH-124274) | Serhiy Storchaka | 2024-09-20 | 1 | -2/+41 |
| | |||||
* | gh-123880: Allow recursive import of single-phase-init modules (GH-123950) | Petr Viktorin | 2024-09-20 | 6 | -25/+141 |
| | | | | Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: Brett Cannon <brett@python.org> | ||||
* | gh-123797: Check for runtime availability of `ptsname_r` on macos (#123806) | sobolevn | 2024-09-20 | 3 | -10/+44 |
| | |||||
* | gh-81691: Fix handling of multiple "--" (double dashes) in argparse (GH-124233) | Serhiy Storchaka | 2024-09-20 | 3 | -8/+67 |
| | | | | | Only the first one has now been removed, all subsequent ones are now taken literally. | ||||
* | test_cext, test_cppext: enable /W4 warnings on Windows (#124253) | Victor Stinner | 2024-09-19 | 3 | -2/+12 |
| | | | | Add an explicit cast to (void*) and add Py_UNUSED() to fix some warnings in extension.c. | ||||
* | Docs: Update two FAQs for Python 3 (#124247) | Hugo van Kemenade | 2024-09-19 | 2 | -8/+6 |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-124245: Fix UserWarning in test_argparse (GH-124246) | Serhiy Storchaka | 2024-09-19 | 1 | -2/+1 |
| | |||||
* | gh-124160: Pass main_tstate to update_global_state_for_extension() (#124164) | luk1337 | 2024-09-19 | 3 | -1/+12 |
| | |||||
* | bpo-41843: Reenable use of sendfile in shutil module on Solaris (GH-23893) | Jakub Kulík | 2024-09-19 | 3 | -4/+9 |
| | |||||
* | Support the "pager" binary in _pyrepl (#122878) | Stefano Rivera | 2024-09-19 | 2 | -0/+3 |
| | | | | | | | | | Debian (and derivatives) provide a /usr/bin/pager binary, managed by the alternatives system, that always points to an available pager utility. Allow _pyrepl to use it, to follow system policy. This is a very trivial change, from a patch that Debian has been carrying since 2.7 era. Seems appropriate to upstream. https://bugs.debian.org/799555 | ||||
* | gh-124040: Adjust few tests in testHypot/testDist to get exactly computed ↵ | Sergey B Kirpichev | 2024-09-19 | 1 | -6/+8 |
| | | | | results (GH-124042) | ||||
* | gh-123934: Fix `MagicMock` not to reset magic method return values (#124038) | sobolevn | 2024-09-19 | 3 | -1/+53 |
| | |||||
* | gh-120754: Fix memory leak in FileIO.__init__() (#124225) | Victor Stinner | 2024-09-18 | 1 | -0/+1 |
| | | | | | Free 'self->stat_atopen' before assigning it, since io.FileIO.__init__() can be called multiple times manually (especially by test_io). | ||||
* | gh-124212: Fix undefined variable in error message in venv (GH-124211) | Jacek | 2024-09-18 | 3 | -1/+17 |
| | |||||
* | gh-124083: Skip test_signal.test_strsignal() on NetBSD (#124084) | Furkan Onder | 2024-09-18 | 1 | -0/+2 |
| | | | Skip test_strsignal() on NetBSD due to TypeError. | ||||
* | Fix `make htmllive` target (GH-124219) | Zachary Ware | 2024-09-18 | 1 | -1/+1 |
| | | | | | Allow `make -C Doc htmllive` to work without manual venv activation Set PATH to ensure that `sphinx-autobuild` can find `sphinx-build`. | ||||
* | gh-116022: Improve `repr()` of AST nodes (#117046) | Tomas R | 2024-09-18 | 7 | -2/+682 |
| | | | | | | Co-authored-by: AN Long <aisk@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | ||||
* | gh-124064: Fix -Wconversion warnings in Parser/string_parser.c (#124204) | Victor Stinner | 2024-09-18 | 1 | -8/+8 |
| | | | | Fix integer overflow check in decode_unicode_with_escapes(): use PY_SSIZE_T_MAX instead of SIZE_MAX. | ||||
* | gh-122145: Handle an empty AST body when reporting tracebacks (#122161) | Bénédikt Tran | 2024-09-18 | 3 | -0/+40 |
| | |||||
* | gh-120754: Refactor I/O modules to stash whole stat result rather than ↵ | Cody Maloney | 2024-09-18 | 2 | -46/+81 |
| | | | | | | | | | | | | individual members (#123412) Multiple places in the I/O stack optimize common cases by using the information from stat. Currently individual members are extracted from the stat and stored into the fileio struct. Refactor the code to store the whole stat struct instead. Parallels the changes to _io. The `stat` Python object doesn't allow changing members, so rather than modifying estimated_size, just clear the value. | ||||
* | gh-124206: Fix calling get_annotate_function() on static types (#124208) | Jelle Zijlstra | 2024-09-18 | 3 | -1/+45 |
| | | | | Fixes #124206. No news entry because the bug this fixes was never released. | ||||
* | gh-102511: Change the `os.path.splitroot` param name from `path` back to `p` ↵ | sobolevn | 2024-09-18 | 2 | -6/+6 |
| | | | | (GH-124097) | ||||
* | test: fix _is_perf_version_at_least typo (#124199) | Sam James | 2024-09-18 | 1 | -2/+2 |
| | |||||
* | gh-118915: Add/fix docs entries for some new 3.13 C API (GH-124134) | Petr Viktorin | 2024-09-18 | 5 | -3/+43 |
| | |||||
* | gh-123085: _compile_importlib: Avoid copying sources before compilation ↵ | Petr Viktorin | 2024-09-18 | 1 | -8/+7 |
| | | | | | (GH-124131) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> | ||||
* | gh-119771: Set errno on overflows in _Py_c_pow() (#120256) | Sergey B Kirpichev | 2024-09-18 | 4 | -2/+12 |
| | | | | Before we did this in complex_pow() and behavior of the public C API function _Py_c_pow() was different from the pure-python pow(). | ||||
* | gh-124190: Ignore files directories check warning tooling (#124193) | Nate Ohlson | 2024-09-18 | 4 | -47/+105 |
| | | | | Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | ||||
* | gh-124153: Implement `PyType_GetBaseByToken()` and `Py_tp_token` slot ↵ | neonene | 2024-09-18 | 18 | -13/+443 |
| | | | | (GH-124163) | ||||
* | Revert "gh-123974: Fix time.get_clock_info() on NetBSD (#123975)" (GH-124115) | Serhiy Storchaka | 2024-09-18 | 1 | -5/+1 |
| | | | This reverts commit b1d6f8a2ee04215c64aa8752cc515b7e98a08d28. | ||||
* | gh-124191: Disable -Wconversion in enable safety (gh-124192) | Nate Ohlson | 2024-09-18 | 4 | -514/+5 |
| | |||||
* | gh-124194: Fix wrong issue number in What's New in Python 3.8 (#124195) | Bradley Reynolds | 2024-09-18 | 1 | -1/+1 |
| | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | ||||
* | gh-122765: make prompt in activate.csh robust against unbalanced quotes and ↵ | Jacek | 2024-09-17 | 2 | -1/+2 |
| | | | | newlines (GH-123751) | ||||
* | gh-123836: workaround fmod(x, y) bug on Windows (#124171) | Sergey B Kirpichev | 2024-09-17 | 2 | -0/+12 |
| | | | | | | | | | | | | | | | | | | Buildbot failure on Windows 10 with MSC v.1916 64 bit (AMD64): FAIL: testFmod (test.test_math.MathTests.testFmod) ---------------------------------------------------------------------- Traceback (most recent call last): File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_math.py", line 605, in testFmod self.ftest('fmod(-10, 1)', math.fmod(-10, 1), -0.0) ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_math.py", line 258, in ftest self.fail("{}: {}".format(name, failure)) ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: fmod(-10, 1): expected -0.0, got 0.0 (zero has wrong sign) Here Windows loose sign of the result; if y is nonzero, the result should have the same sign as x. This amends commit 28aea5d07d. | ||||
* | gh-110190: Fix ctypes structs with array on SPARC (GH-118233) | Jakub Kulík | 2024-09-17 | 2 | -1/+3 |
| | |||||
* | gh-124064: Fix -Wconversion warnings in Parser/pegen.c (#124181) | Victor Stinner | 2024-09-17 | 3 | -11/+9 |
| | |||||
* | gh-124064: Fix -Wconversion warnings in pycore_{long,object}.h (#124177) | Victor Stinner | 2024-09-17 | 6 | -24/+19 |
| | | | | Change also the fix for pycore_gc.h and pycore_stackref.h: declare constants as uintptr_t, rather than casting constants. | ||||
* | GH-103484: Fix broken links reported by linkcheck (#124169) | Rafael Fontenelle | 2024-09-17 | 6 | -6/+6 |
| | |||||
* | gh-124064: Fix -Wconversion warnings in pycore_{gc,list,stackref}.h (#124174) | Victor Stinner | 2024-09-17 | 5 | -9/+4 |
| | |||||
* | Use pep role instead of url (#121611) | Rafael Fontenelle | 2024-09-17 | 11 | -42/+37 |
| | |||||
* | Tools/build/stable_abi.py: Improve ergonomics (GH-105355) | Petr Viktorin | 2024-09-17 | 2 | -7/+12 |
| | | | | | | | | | * Tools/build/stable_abi.py: Improve ergonomics - Make the manifest file argument optional - Output resolved paths with --list (getting rid of `../../`) - Mention --all or --generate-all if no actions are specified * Don't hardcode Misc/stable_abi.toml in Makefile, rely on the default | ||||
* | gh-123836: Check zero signs in math_testcases.txt (#123854) | Sergey B Kirpichev | 2024-09-17 | 1 | -0/+10 |
| | | | | | Just like cmath_testcases.txt. These tests require IEEE 754 anyway. Correct zero sign for sqrt tests to match math.h convention. | ||||
* | GH-123945: Update regex for parsing negative numbers that contain ↵ | Savannah Ostrowski | 2024-09-17 | 3 | -1/+22 |
| | | | | | | | | underscores (#123970) --------- Co-authored-by: Brandt Bucher <brandtbucher@gmail.com> Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> | ||||
* | GH-103484: Fix permanently redirects reported by linkcheck (GH-124144) | Rafael Fontenelle | 2024-09-17 | 17 | -26/+30 |
| | | | Fix redirects reported by linkcheck, update docs conf.py checks. | ||||
* | GH-124108: Skip test_locale.test_strcoll_with_diacritic() on NetBSD (#124110) | Furkan Onder | 2024-09-16 | 1 | -0/+4 |
| | | | | | Skip test_strcoll_with_diacritic() and test_strxfrm_with_diacritic() of test_locale on NetBSD due to lack of UTF-8 LC_COLLATE support. | ||||
* | gh-121023: Improve `_xxtestfuzz/README.rst` (#121024) | sobolevn | 2024-09-16 | 1 | -3/+5 |
| | | | Co-authored-by: Illia Volochii <illia.volochii@gmail.com> | ||||
* | gh-124043: Disallow mixing `--with-trace-refs` and `--disable-gil` (#124078) | Peter Bierma | 2024-09-16 | 3 | -0/+10 |
| | | | Tracing references is not currently thread-safe in the free-threaded build. |