cpython
cpython copied to clipboard
The Python programming language
Fix assertion failure when slicing a `sqlite3.Blob` with indices that result in an empty slice. * Issue: gh-142787
BPO | [25516](https://bugs.python.org/issue25516) --- | :--- Nosy | @nirs, @pitrou PRs | python/cpython#2681 Files | [0001-Issue-25516-threading.Condition._is_owned-fails-when.patch](https://bugs.python.org/file40900/0001-Issue-25516-threading.Condition._is_owned-fails-when.patch "Uploaded as text/plain at 2015-10-30.02:09:56 by @nirs"): patch fixing this issue by implementing _is_owned...
Add a visualisation explaining how the sampling profiler works. CC: @pablogsal * Issue: gh-138122 ---- 📚 Documentation preview 📚: https://cpython-previews--142772.org.readthedocs.build/en/142772/library/profiling.sampling.html
# Bug report ### Bug description: I already opened a bug on `urllib3` for this issue, it looks that may application using MSAL for Python library (which relies on `requests`...
(cherry picked from commit 39ecb17103a07175895e52c336a0b5980b773bce) ---- 📚 Documentation preview 📚: https://cpython-previews--142839.org.readthedocs.build/
# Bug report This came up in the context of [nanobind](https://github.com/wjakob/nanobind/). Nanobind implements (in a test) a traverse function: ```c++ int funcwrapper_tp_traverse(PyObject *self, visitproc visit, void *arg) { FuncWrapper *w...
This makes generator frame state transitions atomic in the free threading build, which avoids segfaults when trying to execute a generator from multiple threads concurrently. There are still a few...
# Bug report ### Bug description: Test `test_distutils` fails at `test_srcdir` subtest on OS Elbrus due to config var `srcdir` is real path, but makefile path is not real path....
### What happened? A progress handler that returns an object with a custom `__bool__` can call `conn.set_progress_handler(None, …)` while `progress_callback` is still running, so the callback context is freed before...
@kulikjak reports seeing the following test failure on Solaris following #142371: ``` ====================================================================== ERROR: test_script_target_anonymous_pipe (test.test_pdb.PdbTestCase.test_script_target_anonymous_pipe) _ScriptTarget doesn't fail on an anonymous pipe. ---------------------------------------------------------------------- Traceback (most recent call last): File...