cpython
cpython copied to clipboard
The Python programming language
# Crash report ### What happened? The problem occurs after the commit https://github.com/python/cpython/commit/f8290df63f1fd970dfd6bbfdc9a86341a9f97d05 (Python 3.13+) The minimum reproducer: * Checkout cpython repository * `./configure` * `make` * `cd Programs` *...
gh-84116: Doc: update the argparse documentation to clearly define the help and aliases parameters for add_parser() and added the required news file for this change. Doc/library/argparse.rst Replaced the vague, single-sentence...
# Crash report ### What happened? ```python import sqlite3 # 1. Setup an in-memory database with a BLOB column con = sqlite3.connect(':memory:') con.execute('create table test(b blob)') # 2. Insert a...
WIP to #106318 #106318: Add examples for str.partition() method * Issue: gh-106318 ---- 📚 Documentation preview 📚: https://cpython-previews--142823.org.readthedocs.build/
@adorilson already opened a PR for this over at https://github.com/python/cpython/pull/105670. If people have higher level feedback on the suggestion, this issue is a good place to do it. Maybe cc...
### What happened? Handler `zoneinfo_ZoneInfo_impl()` calls `weak_cache.setdefault(key, tmp)` and blindly treats the returned object as a `ZoneInfo`, immediately casting to `PyZoneInfo_ZoneInfo` and writing to its fields. A subclass can swap...
WIP to #106318 #106318: Add examples for str.maketrans() method * Issue: gh-106318 ---- 📚 Documentation preview 📚: https://cpython-previews--142822.org.readthedocs.build/
BPO | [43136](https://bugs.python.org/issue43136) --- | :--- Nosy | @sbraz, @JulienPalard Files | [queue_test.py](https://bugs.python.org/file49791/queue_test.py "Uploaded as text/plain at 2021-02-05.12:03:05 by @sbraz") *Note: these values reflect the state of the issue at...
- Using the `Overlapped.TransmitFile` in `_overlapped` module to implement `socket.sendfile`; - Add `Overlapped.getresultex` to implement the timeout functionality, which have almost the same codes as exists `Overlapped.getresult`, just with diffenernt...
* Issue: gh-142621