Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | |||||
* | gh-117394: Speed up os.path.ismount() on Posix (GH-117447) | Serhiy Storchaka | 2024-04-17 | 2 | -3/+7 | |
| | | | | It is now 2-3 times faster if the user has permissions. | |||||
* | gh-117503: Fix support of non-ASCII user names in posixpath.expanduser() ↵ | Serhiy Storchaka | 2024-04-17 | 3 | -1/+14 | |
| | | | | | (GH-117504) They are now supported in bytes paths as well as in string paths. | |||||
* | gh-117907: Fix test_inspect for the build with enabled tracing references ↵ | Serhiy Storchaka | 2024-04-17 | 1 | -0/+2 | |
| | | | | (GH-117922) | |||||
* | gh-117879: Fix test_httpservers for the build with profiling (GH-117932) | Serhiy Storchaka | 2024-04-17 | 1 | -0/+3 | |
| | ||||||
* | gh-117845: Detect libedit hook function signature in configure (#117870) | Joshua Root | 2024-04-17 | 5 | -2/+71 | |
| | | | | | | Older libedit versions (like Apple's) use a different type signature for rl_startup_hook and rl_pre_input_hook. Add a configure check to determine which signature is accepted by introducing the Py_RL_STARTUP_HOOK_TAKES_ARGS macro in pyconfig.h. | |||||
* | gh-86650: Fix IndexError when parse emails with invalid Message-ID (GH-117934) | Serhiy Storchaka | 2024-04-17 | 3 | -0/+32 | |
| | | | | | | | In particularly, one-off addresses generated by Microsoft Outlook: https://learn.microsoft.com/en-us/office/client-developer/outlook/mapi/one-off-addresses Co-authored-by: fsc-eriker <72394365+fsc-eriker@users.noreply.github.com> | |||||
* | gh-75171: Fix parsing invalid email address headers starting or ending with ↵ | tsufeki | 2024-04-17 | 4 | -5/+61 | |
| | | | | | | a dot (GH-15600) Co-authored-by: Tim Bell <timothybell@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | |||||
* | gh-117923: Catch ``test_webbrowser.test_parse_args_error`` stderr output ↵ | Kirill Podoprigora | 2024-04-17 | 1 | -3/+15 | |
| | | | | (#117924) | |||||
* | gh-71966: Move the module docstring from _pydecimal to decimal (GH-117919) | Serhiy Storchaka | 2024-04-17 | 2 | -100/+100 | |
| | | | | | Now it is set even if the C implementation is used. Also add a one-line synopsis. | |||||
* | gh-117945: Fix `os.path.ismount()` documentation (#117947) | Nice Zombies | 2024-04-16 | 1 | -2/+2 | |
| | ||||||
* | linecache: Fix docstring location (#117948) | Jelle Zijlstra | 2024-04-16 | 1 | -6/+5 | |
| | | | | gh-117501 put some code before the docstring, so now it is no longer recognized as a docstring. | |||||
* | gh-112844: Fix xz CPE identifier (GH-117656) | Seth Michael Larson | 2024-04-16 | 1 | -1/+1 | |
| | ||||||
* | gh-115009: Update Windows installer to use SQLite 3.45.3 (GH-117445) | Mariusz Felisiak | 2024-04-16 | 5 | -7/+8 | |
| | ||||||
* | gh-117645: Increase WASI stack size from 512 KiB to 8 MiB (#117674) | Victor Stinner | 2024-04-16 | 5 | -13/+10 | |
| | | | | | Increase also the initial memory from 10 MiB to 20 MiB. Reenable test_dynamic on WASI build. | |||||
* | gh-117755: Fix mimalloc for huge allocation on s390x (#117809) | Victor Stinner | 2024-04-16 | 2 | -0/+8 | |
| | | | | | | | | Fix mimalloc allocator for huge memory allocation (around 8,589,934,592 GiB) on s390x. Abort allocation early in mimalloc if the number of slices doesn't fit into uint32_t, to prevent a integer overflow (cast 64-bit size_t to uint32_t). | |||||
* | gh-117755: Remove tests on huge memory allocations (#117938) | Victor Stinner | 2024-04-16 | 2 | -97/+2 | |
| | | | | | | | | | | | | | | | | | | | Remove unreliable tests on huge memory allocations: * Remove test_maxcontext_exact_arith() of test_decimal. Stefan Krah, test author, agreed on removing the test: https://github.com/python/cpython/issues/114331#issuecomment-1925731273 * Remove test_constructor() tests of test_io. Sam Gross suggests remove them: https://github.com/python/cpython/pull/117809#pullrequestreview-2003889558 On Linux, depending how overcommit is configured, especially on Linux s390x, a huge memory allocation (half or more of the full address space) can succeed, but then the process will eat the full system swap and make the system slower and slower until the whole system becomes unusable. Moreover, these tests had to be skipped when Python is built with sanitizers. | |||||
* | gh-117376: Make code objects use deferred reference counting (#117823) | Sam Gross | 2024-04-16 | 3 | -3/+38 | |
| | | | | | | We want code objects to use deferred reference counting in the free-threaded build. This requires them to be tracked by the GC, so we set `Py_TPFLAGS_HAVE_GC` in the free-threaded build, but not the default build. | |||||
* | gh-112069: Make setiter_iternext to be thread-safe (gh-117935) | Donghee Na | 2024-04-16 | 1 | -12/+17 | |
| | ||||||
* | Docs: Add classes to C API return value annotations (#117926) | Hugo van Kemenade | 2024-04-16 | 1 | -9/+11 | |
| | | | | Co-authored-by: Nikita Sobolev <mail@sobolevn.me> | |||||
* | gh-117683: Fix test_free_different_thread failures with GIL disabled (#117685) | Sam Gross | 2024-04-16 | 1 | -2/+6 | |
| | ||||||
* | gh-115178: Add Counts of UOp Pairs to pystats (GH-115181) | Jeff Glass | 2024-04-16 | 6 | -4/+26 | |
| | ||||||
* | GH-115776: Static object are immortal, so mark them as such. (GH-117673) | Mark Shannon | 2024-04-16 | 2 | -10/+9 | |
| | ||||||
* | gh-117691: Add an appropriate stacklevel for PEP-706 tarfile deprecation ↵ | Alex Waygood | 2024-04-16 | 3 | -1/+31 | |
| | | | | warnings (GH-117872) | |||||
* | gh-117613: Argument Clinic: ensure that 'defining_class' params are ↵ | neonene | 2024-04-16 | 4 | -6/+17 | |
| | | | | positional-only (#117781) | |||||
* | gh-102402: Fix floating point math issue by using `time.time_ns()` in ↵ | Douglas Thor | 2024-04-16 | 4 | -7/+53 | |
| | | | | `logging.LogRecord` (GH-102412) | |||||
* | gh-117797: Improve `test_descr.test_not_implemented` (#117798) | Nikita Sobolev | 2024-04-16 | 1 | -8/+17 | |
| | ||||||
* | gh-117613: Enhance test_clinic @defining_class tests (#117896) | Victor Stinner | 2024-04-16 | 7 | -21/+122 | |
| | ||||||
* | gh-77102: site: try utf-8 and fallback to locale encoding when reading .pth ↵ | Inada Naoki | 2024-04-16 | 4 | -26/+49 | |
| | | | | file (#117802) | |||||
* | gh-76785: Fix Windows Refleak in test_interpreters (gh-117913) | Eric Snow | 2024-04-16 | 2 | -6/+7 | |
| | | | gh-117662 introduced some refleaks, or, rather, exposed some existing refleaks. The leaks are coming when test.support.os_helper is imported in a "legacy" interpreter. I've updated test.test_interpreters.utils to avoid importing os_helper, which fixes the leaks. I'll address the root cause separately. |