Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-118079: Fix ``requires_singlephase_init`` helper (#118081) | Kirill Podoprigora | 2024-04-19 | 1 | -3/+2 | |
| | | | | | Before this PR tests decorated with a `requires_singlephase_init` helper did not run because of an incorrect call to the `requires_gil_enabled` helper. | |||||
* | gh-114053: Fix bad interaction of PEP-695, PEP-563 and ``get_type_hints`` ↵ | Alex Waygood | 2024-04-19 | 5 | -10/+81 | |
| | | | | | | (#118009) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | |||||
* | gh-116931: Add fileobj parameter check for Tarfile.addfile (GH-117988) | lyc8503 | 2024-04-19 | 4 | -9/+25 | |
| | | | | | | Tarfile.addfile now throws an ValueError when the user passes in a non-zero size tarinfo but does not provide a fileobj, instead of writing an incomplete entry. | |||||
* | setobject: remove out of date docstring info (GH-118048) | Rostyslav Lobov | 2024-04-19 | 1 | -1/+1 | |
| | ||||||
* | gh-88035: update doc-string of `epoch` in timemodule.c (GH-118076) | lit | 2024-04-19 | 1 | -2/+2 | |
| | | | | | | Follow #88035, update doc-string of epoch in timemodule.c The epoch is `January 1st, 1970 on all platforms`, according to current documentation. | |||||
* | gh-115775: Add whatsnew entry about __static_attributes__ (GH-117909) | Irit Katriel | 2024-04-19 | 3 | -0/+17 | |
| | | | | | Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru> Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | |||||
* | gh-116935: Document that heap types need to support garbage collection ↵ | Savannah Ostrowski | 2024-04-19 | 1 | -1/+2 | |
| | | | | (GH-118021) | |||||
* | gh-117518: Clarify PyTuple_GetItem() borrowed reference in the doc (GH-117920) | Victor Stinner | 2024-04-19 | 1 | -0/+6 | |
| | ||||||
* | GH-116202: Incorporate invalidation check into _START_EXECUTOR. (GH-118044) | Mark Shannon | 2024-04-19 | 5 | -4/+10 | |
| | ||||||
* | GH-115419: Improve list of escaping functions (GH-118054) | Mark Shannon | 2024-04-19 | 4 | -25/+37 | |
| | ||||||
* | gh-64588: Clarify the difference between mu and xbar in statistics docs ↵ | Mariusz Felisiak | 2024-04-19 | 1 | -7/+7 | |
| | | | | | (#117333) Thanks Davin Potts for the clarification idea. | |||||
* | build(deps): bump hypothesis from 6.98.15 to 6.100.0 in /Tools (#117416) | dependabot[bot] | 2024-04-19 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.98.15 to 6.100.0. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.98.15...hypothesis-python-6.100.0) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | |||||
* | Docs: Fix CVE link (#118077) | Jelle Zijlstra | 2024-04-19 | 1 | -1/+1 | |
| | ||||||
* | gh-117535: Change unknown filename of warnings from `sys` to `<sys>` (#118018) | Tian Gao | 2024-04-19 | 4 | -6/+7 | |
| | ||||||
* | Use "Contributed by" in a couple of occurrences of 3.12 whatsnew (#118070) | Rafael Fontenelle | 2024-04-19 | 1 | -3/+3 | |
| | ||||||
* | gh-112069: Make PySet_GET_SIZE to be atomic safe. (gh-118053) | Donghee Na | 2024-04-18 | 2 | -1/+4 | |
| | | | gh-112069: Make PySet_GET_SIZE to be atomic operation | |||||
* | gh-102402: Fix logging test_relativeCreated_has_higher_precision() leak ↵ | Victor Stinner | 2024-04-18 | 1 | -17/+15 | |
| | | | | | | (#117985) Fix a reference leak in test_relativeCreated_has_higher_precision() of test_logging: don't reimport the logging the logging module. | |||||
* | gh-117503: Fix test for posixpath.expanduser() when pw_dir ends with / ↵ | Serhiy Storchaka | 2024-04-18 | 1 | -0/+1 | |
| | | | | (GH-118056) | |||||
* | gh-112069: Add _PySet_NextEntryRef to be thread-safe. (gh-117990) | Donghee Na | 2024-04-18 | 9 | -34/+76 | |
| | ||||||
* | GH-118036: Fix a bug with CALL_STAT_INC (#117933) | Guido van Rossum | 2024-04-18 | 1 | -2/+0 | |
| | | | | | | | We were under-counting calls in `_PyEvalFramePushAndInit` because the `CALL_STAT_INC` macro was redefined to a no-op for the Tier 2 interpreter. The fix is not to `#undef` it at all. This results in ~37% more "Frames pushed" reported under "Call stats". | |||||
* | gh-87969: Align docs and docstrings with implementation for ctypes' ↵ | Shreyan Avigyan | 2024-04-18 | 2 | -12/+12 | |
| | | | | | | | | | | [w]string_at() (#25384) The implementation uses 'ptr' for the name of the first parameter of ctypes.string_at() and ctypes.wstring_at(). Align docs and docstrings with the naming used in the implementation. Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> | |||||
* | gh-117987: Restore several functions removed in Python 3.13 alpha 1 (GH-117993) | Victor Stinner | 2024-04-18 | 10 | -18/+163 | |
| | | | | | | | | | Restore these functions removed in Python 3.13 alpha 1: * Py_SetPythonHome() * Py_SetProgramName() * PySys_SetArgvEx() * PySys_SetArgv() | |||||
* | gh-116932: Remove redundant NEWS entry (#118040) | lyc8503 | 2024-04-18 | 1 | -1/+0 | |
| | ||||||
* | GH-115419: Tidy up tier 2 optimizer. Merge peephole pass into main pass ↵ | Mark Shannon | 2024-04-18 | 3 | -132/+169 | |
| | | | | (GH-117997) | |||||
* | gh-90815: Document bundled mimalloc in What’s New In Python 3.13 (GH-117811) | Miro Hrončok | 2024-04-18 | 2 | -0/+7 | |
| | ||||||
* | fix formatting of literal in docstring of int.from_bytes and int.to_bytes ↵ | Jens Hedegaard Nielsen | 2024-04-18 | 2 | -7/+7 | |
| | | | | (#117847) | |||||
* | gh-116932: Add note on how to report python documentation theme bugs (GH-117989) | lyc8503 | 2024-04-18 | 2 | -0/+5 | |
| | ||||||
* | Fix two typos in `typeobject.c` (#118024) | Nikita Sobolev | 2024-04-18 | 1 | -2/+2 | |
| | ||||||
* | gh-118023: Fix reference leak (#118025) | Kirill Podoprigora | 2024-04-18 | 1 | -0/+2 | |
| | ||||||
* | gh-117641: Improve the perfornance of posixpath.commonpath() (#117652) | Nice Zombies | 2024-04-18 | 2 | -1/+2 | |
| | ||||||
* | gh-117968: Add tests for the part of the PyRun family of the C API (GH-117982) | Serhiy Storchaka | 2024-04-17 | 7 | -1/+235 | |
| | | | | Co-authored-by: NGRsoftlab <78017794+NGRsoftlab@users.noreply.github.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> | |||||
* | gh-117613: Argument Clinic: disallow defining class parameter at module ↵ | neonene | 2024-04-17 | 2 | -0/+11 | |
| | | | | level (#117950) | |||||
* | gh-114539: Clarify implicit launching of shells by subprocess (GH-117996) | Steve Dower | 2024-04-17 | 1 | -2/+10 | |
| | ||||||
* | gh-94673: Fix compiler warning in typeobject.c (#117980) | Erlend E. Aasland | 2024-04-17 | 1 | -0/+2 | |
| | ||||||
* | gh-117657: Quiet erroneous TSAN reports of data races in `_PySeqLock` (#117955) | mpage | 2024-04-17 | 2 | -5/+3 | |
| | | | | | | | | Quiet erroneous TSAN reports of data races in `_PySeqLock` TSAN reports a couple of data races between the compare/exchange in `_PySeqLock_LockWrite` and the non-atomic loads in `_PySeqLock_{Abandon,Unlock}Write`. This is another instance of TSAN incorrectly modeling failed compare/exchange as a write instead of a load. | |||||
* | gh-117657: Fix data races in the method cache in free-threaded builds (#117954) | mpage | 2024-04-17 | 2 | -4/+5 | |
| | | | | | | | | | Fix data races in the method cache in free-threaded builds These are technically data races, but I think they're benign (to the extent that that is actually possible). We update cache entries non-atomically but read them atomically from another thread, and there's nothing that establishes a happens-before relationship between the reads and writes that I can see. | |||||
* | gh-80361: Fix TypeError in email.Message.get_payload() (GH-117994) | Serhiy Storchaka | 2024-04-17 | 3 | -1/+18 | |
| | | | | | It was raised when the charset is rfc2231 encoded, e.g.: Content-Type: text/plain; charset*=ansi-x3.4-1968''utf-8 | |||||
* | gh-117680: make _PyInstructionSequence a PyObject and use it in tests (#117629) | Irit Katriel | 2024-04-17 | 17 | -242/+838 | |
| | ||||||
* | Doc: Render version/language selector on Read the Docs (#116966) | Manuel Kaufmann | 2024-04-17 | 1 | -0/+86 | |
| | ||||||
* | gh-117977: Amend version changed annotation for os.chmod, os.chown, and ↵ | Nice Zombies | 2024-04-17 | 1 | -3/+3 | |
| | | | | os.listdir (#117978) | |||||
* | GH-100242: bring functools.py partial implementation more in line with C ↵ | CF Bolz-Tereick | 2024-04-17 | 4 | -5/+30 | |
| | | | | | | | code (GH-100244) in partial.__new__, before checking for the existence of the attribute 'func', first check whether the argument is an instance of partial. | |||||
* | Test: Get the smtp test server using os.getenv() (#117979) | Diego Russo | 2024-04-17 | 1 | -2/+5 | |
| | | | | | | | | The smtp test server can be set via CPYTHON_TEST_SMTP_SERVER environment variable. If not set, it uses the default value smtp.gmail.com This is needed because the network I'm on filters access to smtp.gmail.com resulting in a failing test. Co-authored-by: Łukasz Langa <lukasz@langa.pl> | |||||
* | gh-117929: Restore removed PyEval_InitThreads() function (#117931) | Victor Stinner | 2024-04-17 | 7 | -7/+38 | |
| | ||||||
* | gh-117975: Ensure flush level is checked when configuring a logging ↵ | Vinay Sajip | 2024-04-17 | 2 | -12/+43 | |
| | | | | MemoryHandler. (GH-117976) | |||||
* | gh-115009: Update macOS installer to use SQLite 3.45.3 (#117443) | Mariusz Felisiak | 2024-04-17 | 2 | -3/+4 | |
| | ||||||
* | bpo-40944: Fix IndexError when parse emails with truncated Message-ID, ↵ | Ivan Savin | 2024-04-17 | 3 | -5/+51 | |
| | | | | | address, routes, etc (GH-20790) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | |||||
* | GH-117760: Streamline the trashcan mechanism (GH-117763) | Mark Shannon | 2024-04-17 | 5 | -128/+43 | |
| | ||||||
* | gh-65824: Add "Help on ..." to the "less" prompt in pydoc (GH-116183) | Serhiy Storchaka | 2024-04-17 | 1 | -15/+22 | |
| | ||||||
* | gh-73231: Update documentation for PyErr_SetFromWindowsErr() (GH-117226) | Serhiy Storchaka | 2024-04-17 | 1 | -4/+5 | |
| | ||||||
* | gh-117313: Fix re-folding email messages containing non-standard line ↵ | Serhiy Storchaka | 2024-04-17 | 3 | -2/+56 | |
| | | | | | | | separators (GH-117369) Only treat '\n', '\r' and '\r\n' as line separators in re-folding the email messages. Preserve control characters '\v', '\f', '\x1c', '\x1d' and '\x1e' and Unicode line separators '\x85', '\u2028' and '\u2029' as is. |