-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert 30935 defer bpo45162 to 312 #94285
Revert 30935 defer bpo45162 to 312 #94285
Commits on Jun 3, 2022
-
pythonGH-93444: remove redundant fields from basicblock: b_nofallthro…
…ugh, b_exit, b_return (pythonGH-93445)
Configuration menu - View commit details
-
Copy full SHA for 1713ff0 - Browse repository at this point
Copy the full SHA 1713ff0View commit details
Commits on Jun 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3284f86 - Browse repository at this point
Copy the full SHA 3284f86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8150b8c - Browse repository at this point
Copy the full SHA 8150b8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e12f34b - Browse repository at this point
Copy the full SHA e12f34bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d647e7 - Browse repository at this point
Copy the full SHA 3d647e7View commit details
Commits on Jun 5, 2022
-
pythongh-93442: Make C++ version of _Py_CAST work with 0/NULL. (pytho…
…n#93500) Add C++ overloads for _Py_CAST_impl() to handle 0/NULL. This will allow C++ extensions that pass 0 or NULL to macros using _Py_CAST() to continue to compile. Without this, you get an error like: invalid ‘static_cast’ from type ‘int’ to type ‘_object*’ The modern way to use a NULL value in C++ is to use nullptr. However, we want to not break extensions that do things the old way. Co-authored-by: serge-sans-paille
Configuration menu - View commit details
-
Copy full SHA for 8bcc3fa - Browse repository at this point
Copy the full SHA 8bcc3faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 713eb18 - Browse repository at this point
Copy the full SHA 713eb18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f8367d - Browse repository at this point
Copy the full SHA 6f8367dView commit details -
pythongh-89973: Fix re.error in the fnmatch module. (pythonGH-93072)
Character ranges with upper bound less that lower bound (e.g. [c-a]) are now interpreted as empty ranges, for compatibility with other glob pattern implementations. Previously it was re.error.
Configuration menu - View commit details
-
Copy full SHA for 0902c3d - Browse repository at this point
Copy the full SHA 0902c3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4082c8e - Browse repository at this point
Copy the full SHA 4082c8eView commit details
Commits on Jun 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9081bbd - Browse repository at this point
Copy the full SHA 9081bbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c71d22 - Browse repository at this point
Copy the full SHA 4c71d22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86a5e22 - Browse repository at this point
Copy the full SHA 86a5e22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80a39da - Browse repository at this point
Copy the full SHA 80a39daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8584981 - Browse repository at this point
Copy the full SHA 8584981View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56b5daf - Browse repository at this point
Copy the full SHA 56b5dafView commit details -
pythongh-90473: Make chmod a dummy on WASI, skip chmod tests (pythonG…
…H-93534) WASI does not have the ``chmod(2)`` syscall yet.
Configuration menu - View commit details
-
Copy full SHA for 22fed60 - Browse repository at this point
Copy the full SHA 22fed60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71c8f96 - Browse repository at this point
Copy the full SHA 71c8f96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46fde1f - Browse repository at this point
Copy the full SHA 46fde1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d1e2e0e - Browse repository at this point
Copy the full SHA d1e2e0eView commit details -
pythongh-89018: Improve documentation of
sqlite3
exceptions (python……#27645) - Order exceptions as in PEP 249 - Reword descriptions, so they match the current behaviour Co-authored-by: Alex Waygood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bb0b768 - Browse repository at this point
Copy the full SHA bb0b768View commit details -
bpo-42658: Use LCMapStringEx in ntpath.normcase to match OS behaviour…
… for case-folding (pythonGH-32010)
Configuration menu - View commit details
-
Copy full SHA for 3256b17 - Browse repository at this point
Copy the full SHA 3256b17View commit details
Commits on Jun 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7403933 - Browse repository at this point
Copy the full SHA 7403933View commit details -
Grammar fix to socket error string (pythonGH-93523)
Evorage authoredJun 7, 2022 Configuration menu - View commit details
-
Copy full SHA for 890c3be - Browse repository at this point
Copy the full SHA 890c3beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 57e8ee7 - Browse repository at this point
Copy the full SHA 57e8ee7View commit details -
pythongh-79096: Protect cookie file created by {LWP,Mozilla}CookieJar…
….save() (pythonGH-93463) Note: This change is not effective on Microsoft Windows. Cookies can store sensitive information and should therefore be protected against unauthorized third parties. This is also described in issue python#79096. The filesystem permissions are currently set to 644, everyone can read the file. This commit changes the permissions to 600, only the creater of the file can read and modify it. This improves security, because it reduces the attack surface. Now the attacker needs control of the user that created the cookie or a ways to circumvent the filesystems permissions. This change is backwards incompatible. Systems that rely on world-readable cookies will breake. However, one could argue that those are misconfigured in the first place.
Configuration menu - View commit details
-
Copy full SHA for c6f6ede - Browse repository at this point
Copy the full SHA c6f6edeView commit details -
pythongh-93162: Add ability to configure QueueHandler/QueueListener t…
…ogether (pythonGH-93269) Also, provide getHandlerByName() and getHandlerNames() APIs. Closes python#93162.
Configuration menu - View commit details
-
Copy full SHA for 1b74803 - Browse repository at this point
Copy the full SHA 1b74803View commit details -
pythongh-57539: Increase calendar test coverage (pythonGH-93468)
Co-authored-by: Sean Fleming Co-authored-by: Adam Turner <[email protected]> Co-authored-by: Łukasz Langa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f0d0be3 - Browse repository at this point
Copy the full SHA f0d0be3View commit details -
pythongh-88831: In docs for asyncio.create_task, explain why strong r…
…eferences to tasks are needed (pythonGH-93258) Co-authored-by: Łukasz Langa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 75ceae0 - Browse repository at this point
Copy the full SHA 75ceae0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f012df7 - Browse repository at this point
Copy the full SHA f012df7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7526092 - Browse repository at this point
Copy the full SHA 7526092View commit details -
Configuration menu - View commit details
-
Copy full SHA for cdb73ae - Browse repository at this point
Copy the full SHA cdb73aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 70690c7 - Browse repository at this point
Copy the full SHA 70690c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 296081a - Browse repository at this point
Copy the full SHA 296081aView commit details -
Fix
PurePath.relative_to
links in the pathlib documentation. (pytho……nGH-93268) These are currently broken as they refer to :meth:`Path.relative_to` rather than :meth:`PurePath.relative_to`, and `relative_to` is a method on `PurePath`.
Configuration menu - View commit details
-
Copy full SHA for 8ef7929 - Browse repository at this point
Copy the full SHA 8ef7929View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8eae6f - Browse repository at this point
Copy the full SHA f8eae6fView commit details -
pythongh-93370: Deprecate sqlite3.version and sqlite3.version_info (p…
…ython#93482) Co-authored-by: Alex Waygood <[email protected]> Co-authored-by: Adam Turner <[email protected]> Co-authored-by: Erlend E. Aasland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ffc58a9 - Browse repository at this point
Copy the full SHA ffc58a9View commit details
Commits on Jun 8, 2022
-
pythonGH-93521: For dataclasses, filter out
__weakref__
slot if pre……sent in bases (pythonGH-93535)
Configuration menu - View commit details
-
Copy full SHA for 5849af7 - Browse repository at this point
Copy the full SHA 5849af7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 875de61 - Browse repository at this point
Copy the full SHA 875de61View commit details -
pythongh-93584: Make all install+tests targets depends on all (python…
…GH-93589) All install targets use the "all" target as synchronization point to prevent race conditions with PGO builds. PGO builds use recursive make, which can lead to two parallel `./python setup.py build` processes that step on each others toes. "test" targets now correctly compile PGO build in a clean repo.
Configuration menu - View commit details
-
Copy full SHA for 243ed54 - Browse repository at this point
Copy the full SHA 243ed54View commit details -
pythongh-87961: Remove outdated notes from functions that aren't in t…
…he Limited API (pythonGH-93581) * Remove outdated notes from functions that aren't in the Limited API Nowadays everything that *is* in the Limited API has a note added automatically. These notes could mislead people to think that these functions could never be added to the limited API. Remove them. * Also remove forgotten note on tp_vectorcall_offset not being finalized
Configuration menu - View commit details
-
Copy full SHA for 2c3fe5e - Browse repository at this point
Copy the full SHA 2c3fe5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2dece90 - Browse repository at this point
Copy the full SHA 2dece90View commit details -
pythongh-93575: Use correct way to calculate PyUnicode struct sizes (p…
…ythonGH-93602) * pythongh-93575: Use correct way to calculate PyUnicode struct sizes * Add comment to keep test_sys and test_unicode in sync * Fix case code < 256
Configuration menu - View commit details
-
Copy full SHA for 5442561 - Browse repository at this point
Copy the full SHA 5442561View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22df2e0 - Browse repository at this point
Copy the full SHA 22df2e0View commit details -
pythongh-79096: Fix/improve http cookiejar tests (pythonGH-93614)
Fixup of pythonGH-93463: - remove stray print - use proper way to check file mode - add working chmod decorator Co-authored-by: Łukasz Langa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 68f6a5d - Browse repository at this point
Copy the full SHA 68f6a5dView commit details
Commits on Jun 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for cffa4f7 - Browse repository at this point
Copy the full SHA cffa4f7View commit details -
pythongh-90494: Reject 6th element of the __reduce__() tuple (pythonG…
…H-93609) copy.copy() and copy.deepcopy() now always raise a TypeError if __reduce__() returns a tuple with length 6 instead of silently ignore the 6th item or produce incorrect result.
Configuration menu - View commit details
-
Copy full SHA for a365dd6 - Browse repository at this point
Copy the full SHA a365dd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5ba0f4 - Browse repository at this point
Copy the full SHA a5ba0f4View commit details -
bpo-45383: Get metaclass from bases in PyType_From* (pythonGH-28748)
This checks the bases of of a type created using the FromSpec API to inherit the bases metaclasses. The metaclass's alloc function will be called as is done in `tp_new` for classes created in Python. Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Erlend Egeberg Aasland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7fef847 - Browse repository at this point
Copy the full SHA 7fef847View commit details -
Configuration menu - View commit details
-
Copy full SHA for e974b3e - Browse repository at this point
Copy the full SHA e974b3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a4af3a - Browse repository at this point
Copy the full SHA 5a4af3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6099611 - Browse repository at this point
Copy the full SHA 6099611View commit details -
pythongh-90549: Fix leak of global named resources using multiprocess…
…ing spawn (python#30617) Co-authored-by: XD Trol <[email protected]> Co-authored-by: Antoine Pitrou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 30610d2 - Browse repository at this point
Copy the full SHA 30610d2View commit details
Commits on Jun 10, 2022
-
pythongh-92434: Silence compiler warning in Modules/_sqlite/connectio…
…n.c on 32-bit systems (python#93090)
Configuration menu - View commit details
-
Copy full SHA for d8395eb - Browse repository at this point
Copy the full SHA d8395ebView commit details -
pythongh-90763: Modernise xx template module initialisation (python#9…
…3078) Use C APIs such as PyModule_AddType instead of PyModule_AddObject. Also remove incorrect module decrefs if module fails to initialise.
Configuration menu - View commit details
-
Copy full SHA for a87c9b5 - Browse repository at this point
Copy the full SHA a87c9b5View commit details -
pythongh-93491: Add support tier detection to configure (pythonGH-93492)
Co-authored-by: Adam Turner <[email protected]> Co-authored-by: Steve Dower <[email protected]> Co-authored-by: Erlend Egeberg Aasland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3124d9a - Browse repository at this point
Copy the full SHA 3124d9aView commit details -
pythongh-93466: Document PyType_Spec doesn't accept repeated slot IDs…
…; raise where this was problematic (pythonGH-93471)
Configuration menu - View commit details
-
Copy full SHA for 21a9a85 - Browse repository at this point
Copy the full SHA 21a9a85View commit details -
pythongh-93671: Avoid exponential backtracking in deeply nested seque…
…nce patterns in match statements (pythonGH-93680) Co-authored-by: Łukasz Langa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 53a8b17 - Browse repository at this point
Copy the full SHA 53a8b17View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ba0fd5 - Browse repository at this point
Copy the full SHA 2ba0fd5View commit details -
pythonGH-93621: reorder code in with/async-with exception exit path t…
…o reduce the size of the exception table (pythonGH-93622)
Configuration menu - View commit details
-
Copy full SHA for cf730b5 - Browse repository at this point
Copy the full SHA cf730b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09243b8 - Browse repository at this point
Copy the full SHA 09243b8View commit details -
pythongh-91317: Document that Path does not collapse initial
//
(py……thonGH-32193) Documentation for `pathlib` says: > Spurious slashes and single dots are collapsed, but double dots ('..') are not, since this would change the meaning of a path in the face of symbolic links: However, it omits that initial double slashes also aren't collapsed. Later, in documentation of `PurePath.drive`, `PurePath.root`, and `PurePath.name` it mentions UNC but: - this abbreviation says nothing to a person who is unaware about existence of UNC (Wikipedia doesn't help either by [giving a disambiguation page](https://en.wikipedia.org/wiki/UNC)) - it shows up only if a person needs to use a specific property or decides to fully learn what the module provides. For context, see the BPO entry.
Configuration menu - View commit details
-
Copy full SHA for 78f1a43 - Browse repository at this point
Copy the full SHA 78f1a43View commit details -
pythongh-92886: Fix tests that fail when running with optimizations (…
…`-O`) in `test_zipimport.py` (pythonGH-93236)
Configuration menu - View commit details
-
Copy full SHA for 484a235 - Browse repository at this point
Copy the full SHA 484a235View commit details
Commits on Jun 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4c496f1 - Browse repository at this point
Copy the full SHA 4c496f1View commit details -
pythongh-84461: Use HOSTRUNNER to run regression tests (pythonGH-93694)
Co-authored-by: Brett Cannon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dc5e02b - Browse repository at this point
Copy the full SHA dc5e02bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f0b7aa7 - Browse repository at this point
Copy the full SHA f0b7aa7View commit details -
pythongh-90153: whatsnew: "z" option in format spec (pythonGH-93624)
Add what's new entry for PEP 682 in Python 3.11.
Configuration menu - View commit details
-
Copy full SHA for 010284b - Browse repository at this point
Copy the full SHA 010284bView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc3b31e - Browse repository at this point
Copy the full SHA bc3b31eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d8e7a1 - Browse repository at this point
Copy the full SHA 5d8e7a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 733e15f - Browse repository at this point
Copy the full SHA 733e15fView commit details
Commits on Jun 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 23c9feb - Browse repository at this point
Copy the full SHA 23c9febView commit details -
pythongh-91162: Support splitting of unpacked arbitrary-length tuple …
…over TypeVar and TypeVarTuple parameters (alt) (pythonGH-93412) For example: A[T, *Ts][*tuple[int, ...]] -> A[int, *tuple[int, ...]] A[*Ts, T][*tuple[int, ...]] -> A[*tuple[int, ...], int]
Configuration menu - View commit details
-
Copy full SHA for 3473817 - Browse repository at this point
Copy the full SHA 3473817View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f728e5 - Browse repository at this point
Copy the full SHA 8f728e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae1ca74 - Browse repository at this point
Copy the full SHA ae1ca74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9331087 - Browse repository at this point
Copy the full SHA 9331087View commit details
Commits on Jun 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c5d0517 - Browse repository at this point
Copy the full SHA c5d0517View commit details -
pythongh-89653: PEP 670: Convert PyFunction macros (python#93765)
Convert PyFunction macros to static inline functions.
Configuration menu - View commit details
-
Copy full SHA for 272bec4 - Browse repository at this point
Copy the full SHA 272bec4View commit details -
Remove ANY_VARARGS() macro from the C API (python#93764)
The macro was exposed by mistake.
Configuration menu - View commit details
-
Copy full SHA for 65ac273 - Browse repository at this point
Copy the full SHA 65ac273View commit details -
Configuration menu - View commit details
-
Copy full SHA for 259dd71 - Browse repository at this point
Copy the full SHA 259dd71View commit details -
pythongh-91731: Don't define 'static_assert' in C++11 where is a keyw…
…ord to avoid UB (pythonGH-93700)
Configuration menu - View commit details
-
Copy full SHA for 65ff27c - Browse repository at this point
Copy the full SHA 65ff27cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ceb4b8 - Browse repository at this point
Copy the full SHA 3ceb4b8View commit details -
pythongh-93353: Fix importlib.resources._tempfile() finalizer (python…
…#93377) Fix the importlib.resources.as_file() context manager to remove the temporary file if destroyed late during Python finalization: keep a local reference to the os.remove() function. Patch by Victor Stinner.
Configuration menu - View commit details
-
Copy full SHA for 443ca73 - Browse repository at this point
Copy the full SHA 443ca73View commit details -
Configuration menu - View commit details
-
Copy full SHA for c200757 - Browse repository at this point
Copy the full SHA c200757View commit details -
pythongh-89653: PEP 670: Macros always cast arguments in cpython/ (py…
…thon#93766) Header files in the Include/cpython/ are only included if the Py_LIMITED_API macro is not defined.
Configuration menu - View commit details
-
Copy full SHA for df22eec - Browse repository at this point
Copy the full SHA df22eecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b2064b - Browse repository at this point
Copy the full SHA 7b2064bView commit details
Commits on Jun 14, 2022
-
pythongh-93741: Add private C API _PyImport_GetModuleAttrString() (py…
…thonGH-93742) It combines PyImport_ImportModule() and PyObject_GetAttrString() and saves 4-6 lines of code on every use. Add also _PyImport_GetModuleAttr() which takes Python strings as arguments.
Configuration menu - View commit details
-
Copy full SHA for 6fd4c8e - Browse repository at this point
Copy the full SHA 6fd4c8eView commit details -
pythongh-79512: Fixed names and __module__ value of weakref classes (p…
…ythonGH-93719) Classes ReferenceType, ProxyType and CallableProxyType have now correct atrtributes __module__, __name__ and __qualname__. It makes them (types, not instances) pickleable.
Configuration menu - View commit details
-
Copy full SHA for 8352e32 - Browse repository at this point
Copy the full SHA 8352e32View commit details -
pythongh-91810: Fix regression with writing an XML declaration with e…
…ncoding='unicode' (pythonGH-93426) Suppress writing an XML declaration in open files in ElementTree.write() with encoding='unicode' and xml_declaration=None. If file patch is passed to ElementTree.write() with encoding='unicode', always open a new file in UTF-8.
Configuration menu - View commit details
-
Copy full SHA for d7db9dc - Browse repository at this point
Copy the full SHA d7db9dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bcf33d - Browse repository at this point
Copy the full SHA 5bcf33dView commit details -
pythongh-89546: Clean up PyType_FromMetaclass (pythonGH-93686)
When changing PyType_FromMetaclass recently (pythonGH-93012, pythonGH-93466, pythonGH-28748) I found a bunch of opportunities to improve the code. Here they are. Fixes: python#89546 Automerge-Triggered-By: GH:encukou
Configuration menu - View commit details
-
Copy full SHA for 3597c12 - Browse repository at this point
Copy the full SHA 3597c12View commit details -
pythongh-91321: Fix compatibility with C++ older than C++11 (python#9…
…3784) Fix the compatibility of the Python C API with C++ older than C++11. _Py_NULL is only defined as nullptr on C++11 and newer.
Configuration menu - View commit details
-
Copy full SHA for 4caf5c2 - Browse repository at this point
Copy the full SHA 4caf5c2View commit details -
pythonGH-93662: Make sure that column offsets are correct in multi-li…
…ne method calls. (pythonGH-93673)
Configuration menu - View commit details
-
Copy full SHA for 2bf7475 - Browse repository at this point
Copy the full SHA 2bf7475View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cd1a5d - Browse repository at this point
Copy the full SHA 3cd1a5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd543d0 - Browse repository at this point
Copy the full SHA cd543d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b083450 - Browse repository at this point
Copy the full SHA b083450View commit details -
pythongh-93353: regrtest checks for leaked temporary files (python#93776
Configuration menu - View commit details
-
Copy full SHA for e566ce5 - Browse repository at this point
Copy the full SHA e566ce5View commit details -
pythongh-79579: Improve DML query detection in sqlite3 (python#93623)
The fix involves using pysqlite_check_remaining_sql(), not only to check for multiple statements, but now also to strip leading comments and whitespace from SQL statements, so we can improve DML query detection. pysqlite_check_remaining_sql() is renamed lstrip_sql(), to more accurately reflect its function, and hardened to handle more SQL comment corner cases.
Configuration menu - View commit details
-
Copy full SHA for 4674007 - Browse repository at this point
Copy the full SHA 4674007View commit details -
Configuration menu - View commit details
-
Copy full SHA for af15cc5 - Browse repository at this point
Copy the full SHA af15cc5View commit details -
pythongh-91877: Fix WriteTransport.get_write_buffer_{limits,size} docs (
python#92338) - Amend docs for WriteTransport.get_write_buffer_limits - Add docs for WriteTransport.get_write_buffer_size
Configuration menu - View commit details
-
Copy full SHA for a338e10 - Browse repository at this point
Copy the full SHA a338e10View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38a7f78 - Browse repository at this point
Copy the full SHA 38a7f78View commit details -
Configuration menu - View commit details
-
Copy full SHA for cdf7097 - Browse repository at this point
Copy the full SHA cdf7097View commit details -
Configuration menu - View commit details
-
Copy full SHA for d773c6e - Browse repository at this point
Copy the full SHA d773c6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef6e44d - Browse repository at this point
Copy the full SHA ef6e44dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b33000 - Browse repository at this point
Copy the full SHA 6b33000View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36934a1 - Browse repository at this point
Copy the full SHA 36934a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad90d49 - Browse repository at this point
Copy the full SHA ad90d49View commit details -
pythongh-93814: Add infinite test for itertools.chain.from_iterable (p…
…ythonGH-93815) fix python#93814 Automerge-Triggered-By: GH:rhettinger
Configuration menu - View commit details
-
Copy full SHA for 274769c - Browse repository at this point
Copy the full SHA 274769cView commit details
Commits on Jun 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4f26963 - Browse repository at this point
Copy the full SHA 4f26963View commit details -
pythongh-93183: Adjust wording in socket docs (python#93832)
package => packet Co-authored-by: Victor Norman
Configuration menu - View commit details
-
Copy full SHA for cdd3984 - Browse repository at this point
Copy the full SHA cdd3984View commit details -
pythongh-93829: In sqlite3, replace Py_BuildValue with faster APIs (p…
…ython#93830) - In Modules/_sqlite/connection.c, use PyLong_FromLong - In Modules/_sqlite/microprotocols.c, use PyTuple_Pack
Configuration menu - View commit details
-
Copy full SHA for 4e9fa71 - Browse repository at this point
Copy the full SHA 4e9fa71View commit details -
Add test.support.busy_retry() (python#93770)
Add busy_retry() and sleeping_retry() functions to test.support.
Configuration menu - View commit details
-
Copy full SHA for 7e9eaad - Browse repository at this point
Copy the full SHA 7e9eaadView commit details -
pythongh-87260: Update sqlite3 signature docs to reflect actual imple…
…mentation (python#93840) Align the docs for the following methods with the actual implementation: - sqlite3.complete_statement() - sqlite3.Connection.create_function() - sqlite3.Connection.create_aggregate() - sqlite3.Connection.set_progress_handler()
Configuration menu - View commit details
-
Copy full SHA for d318346 - Browse repository at this point
Copy the full SHA d318346View commit details -
test_thread uses support.sleeping_retry() (python#93849)
test_thread.test_count() now fails if it takes longer than LONG_TIMEOUT seconds.
Configuration menu - View commit details
-
Copy full SHA for bddbd80 - Browse repository at this point
Copy the full SHA bddbd80View commit details -
Use support.sleeping_retry() and support.busy_retry() (python#93848)
* Replace time.sleep(0.010) with sleeping_retry() to use an exponential sleep. * support.wait_process(): reuse sleeping_retry(). * _test_eintr: remove unused variables.
Configuration menu - View commit details
-
Copy full SHA for 0ba8027 - Browse repository at this point
Copy the full SHA 0ba8027View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff095e1 - Browse repository at this point
Copy the full SHA ff095e1View commit details -
pythongh-93857: Fix broken audit-event targets in sqlite3 docs (pytho…
…n#93859) Corrected targets for the following audit-events: - sqlite3.enable_load_extension => sqlite3.Connection.enable_load_extension - sqlite3.load_extension => sqlite3.Connection.load_extension
Configuration menu - View commit details
-
Copy full SHA for ce4d11f - Browse repository at this point
Copy the full SHA ce4d11fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b415c5f - Browse repository at this point
Copy the full SHA b415c5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99be1cb - Browse repository at this point
Copy the full SHA 99be1cbView commit details -
test_asyncio: run_until() implements exponential sleep (python#93866)
run_until() of test.test_asyncio.utils now uses an exponential sleep delay (max: 1 second), rather than a fixed delay of 1 ms. Similar design than support.sleeping_retry() wait strategy that applies exponential backoff.
Configuration menu - View commit details
-
Copy full SHA for 41fccd2 - Browse repository at this point
Copy the full SHA 41fccd2View commit details -
test_asyncore: Optimize capture_server() (python#93867)
Remove time.sleep(0.01) in test_asyncore capture_server(). The sleep was redundant and inefficient, since the loop starts with select.select() which also implements a sleep (poll for socket data with a timeout).
Configuration menu - View commit details
-
Copy full SHA for 46e455f - Browse repository at this point
Copy the full SHA 46e455fView commit details -
Tests call sleeping_retry() with SHORT_TIMEOUT (python#93870)
Tests now call busy_retry() and sleeping_retry() with SHORT_TIMEOUT or LONG_TIMEOUT (of test.support), rather than hardcoded constants. Add also WAIT_ACTIVE_CHILDREN_TIMEOUT constant to _test_multiprocessing.
Configuration menu - View commit details
-
Copy full SHA for 50e0866 - Browse repository at this point
Copy the full SHA 50e0866View commit details -
pythongh-84461: Document how to install SDKs manually (pythonGH-93844)
Co-authored-by: Brett Cannon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8ba1c7f - Browse repository at this point
Copy the full SHA 8ba1c7fView commit details
Commits on Jun 16, 2022
-
pythongh-93820: Fix copy() regression in enum.Flag (pythonGH-93876)
pythonGH-26658 introduced a regression in copy / pickle protocol for combined `enum.Flag`s. `copy.copy(re.A | re.I)` would fail with `AttributeError: ASCII|IGNORECASE`. `enum.Flag` now has a `__reduce_ex__()` method that reduces flags by combined value, not by combined name.
Configuration menu - View commit details
-
Copy full SHA for 05b32c1 - Browse repository at this point
Copy the full SHA 05b32c1View commit details -
Call busy_retry() and sleeping_retry() with error=True (python#93871)
Tests no longer call busy_retry() and sleeping_retry() with error=False: raise an exception if the loop times out.
Configuration menu - View commit details
-
Copy full SHA for 484b40b - Browse repository at this point
Copy the full SHA 484b40bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7546914 - Browse repository at this point
Copy the full SHA 7546914View commit details -
pythongh-91321: Fix test_cppext for C++03 (python#93902)
Don't build _testcppext.cpp with -Wzero-as-null-pointer-constant when testing C++03: only use this compiler flag with C++11.
Configuration menu - View commit details
-
Copy full SHA for a38c2a6 - Browse repository at this point
Copy the full SHA a38c2a6View commit details -
pythongh-91577: SharedMemory move imports out of methods (python#91579)
SharedMemory.unlink() uses the unregister() function from resource_tracker. Previously it was imported in the method, but this can fail if the method is called during interpreter shutdown, for example when unlink is part of a __del__() method. Moving the import to the top of the file, means that the unregister() method is available during interpreter shutdown. The register call in SharedMemory.__init__() can also use this imported resource_tracker.
Configuration menu - View commit details
-
Copy full SHA for 9a458be - Browse repository at this point
Copy the full SHA 9a458beView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5be9a5 - Browse repository at this point
Copy the full SHA d5be9a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab45c1d - Browse repository at this point
Copy the full SHA ab45c1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 138db8e - Browse repository at this point
Copy the full SHA 138db8eView commit details -
pythongh-93353: regrtest supports checking tmp files with -j2 (python…
…#93909) regrtest now also implements checking for leaked temporary files and directories when using -jN for N >= 2. Use tempfile.mkdtemp() to create the temporary directory. Skip this check on WASI.
Configuration menu - View commit details
-
Copy full SHA for 4f85cec - Browse repository at this point
Copy the full SHA 4f85cecView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8e576b - Browse repository at this point
Copy the full SHA f8e576bView commit details -
pythongh-91985: Ensure in-tree builds override platstdlib_dir in ever…
…y path calculation (pythonGH-93641)
Configuration menu - View commit details
-
Copy full SHA for 38af903 - Browse repository at this point
Copy the full SHA 38af903View commit details
Commits on Jun 17, 2022
-
pythonGH-83658: make multiprocessing.Pool raise an exception if maxta…
…sksperchild is not None or a positive int (pythonGH-93364) Closes python#83658.
Configuration menu - View commit details
-
Copy full SHA for e37a158 - Browse repository at this point
Copy the full SHA e37a158View commit details -
Configuration menu - View commit details
-
Copy full SHA for 538f289 - Browse repository at this point
Copy the full SHA 538f289View commit details -
pythongh-91404: Revert "bpo-23689: re module, fix memory leak when a …
…match is terminated by a signal or allocation failure (pythonGH-32283) (python#93882) Revert "bpo-23689: re module, fix memory leak when a match is terminated by a signal or memory allocation failure (pythonGH-32283)" This reverts commit 6e3eee5. Manual fixups to increase the MAGIC number and to handle conflicts with a couple of changes that landed after that. Thanks for reviews by Ma Lin and Serhiy Storchaka.
Configuration menu - View commit details
-
Copy full SHA for 4beee0c - Browse repository at this point
Copy the full SHA 4beee0cView commit details -
pythongh-89745: Avoid exact match when comparing program_name in test…
…_embed on Windows (pythonGH-93888)
Configuration menu - View commit details
-
Copy full SHA for ffc228d - Browse repository at this point
Copy the full SHA ffc228dView commit details -
pythongh-93852: Add test.support.create_unix_domain_name() (python#93914
) test_asyncio, test_logging, test_socket and test_socketserver now create AF_UNIX domains in the current directory to no longer fail with OSError("AF_UNIX path too long") if the temporary directory (the TMPDIR environment variable) is too long. Modify the following tests to use create_unix_domain_name(): * test_asyncio * test_logging * test_socket * test_socketserver test_asyncio.utils: remove unused time import.
Configuration menu - View commit details
-
Copy full SHA for c5b750d - Browse repository at this point
Copy the full SHA c5b750dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1735710 - Browse repository at this point
Copy the full SHA 1735710View commit details -
Configuration menu - View commit details
-
Copy full SHA for e444752 - Browse repository at this point
Copy the full SHA e444752View commit details -
pythongh-74953: Fix PyThread_acquire_lock_timed() code recomputing th…
…e timeout (python#93941) Set timeout, don't create a local variable with the same name.
Configuration menu - View commit details
-
Copy full SHA for f64557f - Browse repository at this point
Copy the full SHA f64557fView commit details -
pythongh-77782: Deprecate global configuration variable (python#93943)
Deprecate global configuration variable like Py_IgnoreEnvironmentFlag: the Py_InitializeFromConfig() API should be instead. Fix declaration of Py_GETENV(): use PyAPI_FUNC(), not PyAPI_DATA().
Configuration menu - View commit details
-
Copy full SHA for 0ff626f - Browse repository at this point
Copy the full SHA 0ff626fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a51742a - Browse repository at this point
Copy the full SHA a51742aView commit details -
pythongh-92888: Fix memoryview bad
__index__
use after free (python……GH-92946) Co-authored-by: chilaxan <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 11190c4 - Browse repository at this point
Copy the full SHA 11190c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96464e5 - Browse repository at this point
Copy the full SHA 96464e5View commit details -
pythongh-92611: Add details on replacements for cgi utility funcs (py…
…thonGH-92792) Per @brettcannon 's [suggestions on the Discourse thread](https://discuss.python.org/t/pep-594-take-2-removing-dead-batteries-from-the-standard-library/13508/51), discussed in python#92611 and as a followup to PR python#92612 , this PR add additional specific per-function replacement information for the utility functions in the `cgi` module deprecated by PEP 594 (PEP-594). @brettcannon , should this be backported (without the `deprecated-removed` , which I would update it accordingly and re-add in my other PR adding that to the others for 3.11+), or just go in 3.11+?
Configuration menu - View commit details
-
Copy full SHA for 71354ad - Browse repository at this point
Copy the full SHA 71354adView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1ae4af - Browse repository at this point
Copy the full SHA b1ae4afView commit details -
pythongh-91387: Strip trailing slash from tarfile longname directories (
pythonGH-32423) Co-authored-by: Brett Cannon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c1e1942 - Browse repository at this point
Copy the full SHA c1e1942View commit details
Commits on Jun 18, 2022
-
Add jaraco as primary owner of importlib.metadata and importlib.resou…
…rces. (python#93960) * Add jaraco as primary owner of importlib.metadata and importlib.resources. * Align indentation. Co-authored-by: Ezio Melotti <[email protected]> Co-authored-by: Ezio Melotti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b96d56d - Browse repository at this point
Copy the full SHA b96d56dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 084023c - Browse repository at this point
Copy the full SHA 084023cView commit details -
pythongh-89828: Do not relay the __class__ attribute in GenericAlias (p…
…ython#93754) list[int].__class__ returned type, and isinstance(list[int], type) returned True. It caused numerous problems in code that checks isinstance(x, type).
Configuration menu - View commit details
-
Copy full SHA for f9433ff - Browse repository at this point
Copy the full SHA f9433ffView commit details -
pythongh-84461: Fix pydebug Emscripten browser builds (pythonGH-93982)
wasm_assets script did not take the ABIFLAG flag of sysconfigdata into account.
Configuration menu - View commit details
-
Copy full SHA for 7a2cc35 - Browse repository at this point
Copy the full SHA 7a2cc35View commit details -
Configuration menu - View commit details
-
Copy full SHA for fea1e9b - Browse repository at this point
Copy the full SHA fea1e9bView commit details -
pythongh-91387: Fix tarfile test on WASI (pythonGH-93984)
WASI's rmdir() syscall does not like the trailing slash.
Configuration menu - View commit details
-
Copy full SHA for dd78aae - Browse repository at this point
Copy the full SHA dd78aaeView commit details -
pythongh-93975: Nicer error reporting in test_venv (pythonGH-93959)
- pythongh-93957: Provide nicer error reporting from subprocesses in test_venv.EnsurePipTest.test_with_pip. - Update changelog This change does three things: 1. Extract a function for trapping output in subprocesses. 2. Emit both stdout and stderr when encountering an error. 3. Apply the change to `ensurepip._uninstall` check.
Configuration menu - View commit details
-
Copy full SHA for 6066f45 - Browse repository at this point
Copy the full SHA 6066f45View commit details
Commits on Jun 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 726448e - Browse repository at this point
Copy the full SHA 726448eView commit details -
What's new in 3.10: fix link to issue (python#93968)
* What's new in 3.10: fix link to issue * What's new in 3.10: fix link to GH issue Co-authored-by: Ezio Melotti <[email protected]> Co-authored-by: Ezio Melotti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 59c1b33 - Browse repository at this point
Copy the full SHA 59c1b33View commit details -
pythongh-93761: Fix test_logging test_config_queue_handler() race con…
…dition (python#93952) Fix a race condition in test_config_queue_handler() of test_logging.
Configuration menu - View commit details
-
Copy full SHA for dba3fa5 - Browse repository at this point
Copy the full SHA dba3fa5View commit details -
pythongh-74953: Reformat PyThread_acquire_lock_timed() (python#93947)
Reformat the pthread implementation of PyThread_acquire_lock_timed() using a mutex and a conditioinal variable. * Add goto to avoid multiple indentation levels and exit quickly * Use "while(1)" and make the control flow more obvious. * PEP 7: Add braces around if blocks.
Configuration menu - View commit details
-
Copy full SHA for 2664d9a - Browse repository at this point
Copy the full SHA 2664d9aView commit details -
pythongh-93937, C API: Move PyFrame_GetBack() to Python.h (python#93938)
Move the follow functions and type from frameobject.h to pyframe.h, so the standard <Python.h> provide frame getter functions: * PyFrame_Check() * PyFrame_GetBack() * PyFrame_GetBuiltins() * PyFrame_GetGenerator() * PyFrame_GetGlobals() * PyFrame_GetLasti() * PyFrame_GetLocals() * PyFrame_Type Remove #include "frameobject.h" from many C files. It's no longer needed.
Configuration menu - View commit details
-
Copy full SHA for 27b9894 - Browse repository at this point
Copy the full SHA 27b9894View commit details -
pythongh-93991: Use boolean instead of 0/1 for condition check (pytho…
…nGH-93992) # pythongh-93991: Use boolean instead of 0/1 for condition check
Configuration menu - View commit details
-
Copy full SHA for 476d302 - Browse repository at this point
Copy the full SHA 476d302View commit details -
pythongh-84461: Fix Emscripten umask and permission issues (pythonGH-…
…94002) - Emscripten's default umask is too strict, see emscripten-core/emscripten#17269 - getuid/getgid and geteuid/getegid are stubs that always return 0 (root). Disable effective uid/gid syscalls and fix tests that use chmod() current user. - Cannot drop X bit from directory.
Configuration menu - View commit details
-
Copy full SHA for 2702e40 - Browse repository at this point
Copy the full SHA 2702e40View commit details -
pythongh-84461: Skip test_unwritable_directory again on Emscripten (p…
…ythonGH-94007) pythonGH-93992 removed geteuid() and enabled the test again on Emscripten.
Configuration menu - View commit details
-
Copy full SHA for 62363bf - Browse repository at this point
Copy the full SHA 62363bfView commit details -
pythongh-93925: Improve clarity of sqlite3 commit/rollback, and close…
… docs (python#93926) Co-authored-by: CAM Gerlach <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6446592 - Browse repository at this point
Copy the full SHA 6446592View commit details -
pythongh-61162: Clarify sqlite3 connection context manager docs (pyth…
…onGH-93890) Explicitly note that transactions are only closed if there is an open transation at `__exit__`, and that transactions are not implicitly opened during `__enter__`. Co-authored-by: CAM Gerlach <[email protected]> Co-authored-by: Stanley <[email protected]> Automerge-Triggered-By: GH:erlend-aasland
Configuration menu - View commit details
-
Copy full SHA for 8e08978 - Browse repository at this point
Copy the full SHA 8e08978View commit details -
pythongh-79009: sqlite3.iterdump now correctly handles tables with au…
…toincrement (python#9621) Co-authored-by: Erlend E. Aasland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for affa9f2 - Browse repository at this point
Copy the full SHA affa9f2View commit details
Commits on Jun 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 774ef28 - Browse repository at this point
Copy the full SHA 774ef28View commit details -
pythonGH-93897: Store frame size in code object and de-opt if insuffi…
…cient space on thread frame stack. (pythonGH-93908)
Configuration menu - View commit details
-
Copy full SHA for 45e62a2 - Browse repository at this point
Copy the full SHA 45e62a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab0e601 - Browse repository at this point
Copy the full SHA ab0e601View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61f24e7 - Browse repository at this point
Copy the full SHA 61f24e7View commit details -
pythongh-87347: Add parenthesis around macro arguments (python#93915)
Add unit test on Py_MEMBER_SIZE() and some other macros.
Configuration menu - View commit details
-
Copy full SHA for 7ad6f74 - Browse repository at this point
Copy the full SHA 7ad6f74View commit details -
pythongh-93937: PyOS_StdioReadline() uses PyConfig.legacy_windows_std…
…io (python#94024) On Windows, PyOS_StdioReadline() now gets PyConfig.legacy_windows_stdio from _PyOS_ReadlineTState, rather than using the deprecated global Py_LegacyWindowsStdioFlag variable. Fix also a compiler warning in Py_SetStandardStreamEncoding().
Configuration menu - View commit details
-
Copy full SHA for cfb986a - Browse repository at this point
Copy the full SHA cfb986aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1603a10 - Browse repository at this point
Copy the full SHA 1603a10View commit details
Commits on Jun 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 77c839c - Browse repository at this point
Copy the full SHA 77c839cView commit details -
pythonGH-93678: refactor compiler so that optimizer does not need the…
… assembler and compiler structs (pythonGH-93842)
Configuration menu - View commit details
-
Copy full SHA for 889772f - Browse repository at this point
Copy the full SHA 889772fView commit details -
pythongh-93839: Move Lib/ctypes/test/ to Lib/test/test_ctypes/ (pytho…
…n#94041) * Move Lib/ctypes/test/ to Lib/test/test_ctypes/ * Remove Lib/test/test_ctypes.py * Update imports and build system.
Configuration menu - View commit details
-
Copy full SHA for d82e0bf - Browse repository at this point
Copy the full SHA d82e0bfView commit details -
pythongh-93839: Move Lib/unttest/test/ to Lib/test/test_unittest/ (py…
…thon#94043) * Move Lib/unittest/test/ to Lib/test/test_unittest/ * Remove Lib/test/test_unittest.py * Replace unittest.test with test.test_unittest * Remove unittest.load_tests() * Rewrite unittest __init__.py and __main__.py * Update build system, CODEOWNERS, and wasm_assets.py
Configuration menu - View commit details
-
Copy full SHA for c735d54 - Browse repository at this point
Copy the full SHA c735d54View commit details -
pythonGH-91432: Specialize FOR_ITER (pythonGH-91713)
* Adds FOR_ITER_LIST and FOR_ITER_RANGE specializations. * Adds _PyLong_AssignValue() internal function to avoid temporary boxing of ints.
Configuration menu - View commit details
-
Copy full SHA for 5fcfdd8 - Browse repository at this point
Copy the full SHA 5fcfdd8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94eeac0 - Browse repository at this point
Copy the full SHA 94eeac0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ff7b99 - Browse repository at this point
Copy the full SHA 0ff7b99View commit details -
pythongh-93839: Use load_package_tests() for testmock (pythonGH-94055)
Fixes failing tests on WebAssembly platforms. Automerge-Triggered-By: GH:tiran
Configuration menu - View commit details
-
Copy full SHA for 50ebd72 - Browse repository at this point
Copy the full SHA 50ebd72View commit details -
pythongh-54781: Move Lib/lib2to3/tests/ to Lib/test/test_lib2to3/ (py…
…thon#94049) * Move Lib/lib2to3/tests/ to Lib/test/test_lib2to3/. * Remove Lib/test/test_lib2to3.py. * Update imports. * all_project_files(): use different paths and sort files to make the tests more reproducible. * Update references to tests.
1Configuration menu - View commit details
-
Copy full SHA for 616fa34 - Browse repository at this point
Copy the full SHA 616fa34View commit details -
pythongh-74953: _PyThread_cond_after() uses _PyTime_t (python#94056)
pthread _PyThread_cond_after() implementation now uses the _PyTime_t type to handle properly overflow: clamp to the maximum value. Remove MICROSECONDS_TO_TIMESPEC() function.
Configuration menu - View commit details
-
Copy full SHA for c7a79bb - Browse repository at this point
Copy the full SHA c7a79bbView commit details -
pythonGH-93841: Allow stats to be turned on and off, cleared and dump…
…ed at runtime. (pythonGH-93843)
Configuration menu - View commit details
-
Copy full SHA for 6f8875e - Browse repository at this point
Copy the full SHA 6f8875eView commit details -
pythongh-86986: Drop compatibility support for Sphinx 2 (pythonGH-9…
…3737) * Revert "bpo-42843: Keep Sphinx 1.8 and Sphinx 2 compatibility (pythonGH-24282)" This reverts commit 5c1f15b * Revert "bpo-42579: Make workaround for various versions of Sphinx more robust (pythonGH-23662)" This reverts commit b63a620.
Configuration menu - View commit details
-
Copy full SHA for 0efe3a1 - Browse repository at this point
Copy the full SHA 0efe3a1View commit details -
pythongh-94068: Remove HVSOCKET_CONTAINER_PASSTHRU constant because i…
…t has been removed from Windows (pythonGH-94069) Fixes python#94068 Automerge-Triggered-By: GH:zware
Configuration menu - View commit details
-
Copy full SHA for 5a08e0f - Browse repository at this point
Copy the full SHA 5a08e0fView commit details -
Closes pythongh-94038: Update Release Schedule in README.rst from PEP…
… 664 to PEP 693 (pythonGH-94046)
Configuration menu - View commit details
-
Copy full SHA for 7327d61 - Browse repository at this point
Copy the full SHA 7327d61View commit details -
Configuration menu - View commit details
-
Copy full SHA for f62ff97 - Browse repository at this point
Copy the full SHA f62ff97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8305137 - Browse repository at this point
Copy the full SHA 8305137View commit details -
Minor optimization for Fractions.limit_denominator (pythonGH-93730)
When we construct the upper and lower candidates in limit_denominator, the numerator and denominator are already relatively prime (and the denominator positive) by construction, so there's no need to go through the usual normalisation in the constructor. This saves a couple of potentially expensive gcd calls. Suggested by Michael Scott Asato Cuthbert in pythonGH-93477.
Configuration menu - View commit details
-
Copy full SHA for 420f0df - Browse repository at this point
Copy the full SHA 420f0dfView commit details -
pythongh-93240: clarify wording in IO tutorial (pythonGH-93276)
Co-authored-by: Adam Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 51d6731 - Browse repository at this point
Copy the full SHA 51d6731View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd5cf84 - Browse repository at this point
Copy the full SHA dd5cf84View commit details -
pythongh-93021: Fix __text_signature__ for __get__ (pythonGH-93023)
Because of the way wrap_descr_get is written, the second argument to __get__ methods implemented through the wrapper is always optional.
Configuration menu - View commit details
-
Copy full SHA for 4e08fbc - Browse repository at this point
Copy the full SHA 4e08fbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for f28ec34 - Browse repository at this point
Copy the full SHA f28ec34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0709586 - Browse repository at this point
Copy the full SHA 0709586View commit details -
pythongh-87389: Fix an open redirection vulnerability in http.server. (…
…python#93879) Fix an open redirection vulnerability in the `http.server` module when an URI path starts with `//` that could produce a 301 Location header with a misleading target. Vulnerability discovered, and logic fix proposed, by Hamza Avvan (@hamzaavvan). Test and comments authored by Gregory P. Smith [Google].
Configuration menu - View commit details
-
Copy full SHA for 4abab6b - Browse repository at this point
Copy the full SHA 4abab6bView commit details -
pythongh-89336: Remove configparser APIs that were deprecated for 3.12 (
python#92503) https://github.com/python/cpython/issue/89336: Remove configparser 3.12 deprecations. Co-authored-by: Hugo van Kemenade <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 296e4ef - Browse repository at this point
Copy the full SHA 296e4efView commit details -
bpo-30535: [doc] state that sys.meta_path is not empty by default (py…
…thonGH-94098) Co-authored-by: Windson yang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6575841 - Browse repository at this point
Copy the full SHA 6575841View commit details
Commits on Jun 22, 2022
-
pythongh-88123: Implement new Enum __contains__ (pythonGH-93298)
Co-authored-by: Ethan Furman <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9a479c3 - Browse repository at this point
Copy the full SHA 9a479c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f805d37 - Browse repository at this point
Copy the full SHA f805d37View commit details -
pythongh-74696: Do not change the current working directory in shutil…
….make_archive() if possible (pythonGH-93160) It is no longer changed when create a zip or tar archive. It is still changed for custom archivers registered with shutil.register_archive_format() if root_dir is not None. Co-authored-by: Éric <[email protected]> Co-authored-by: Łukasz Langa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fda4b2f - Browse repository at this point
Copy the full SHA fda4b2fView commit details -
pythongh-94101 Disallow instantiation of SSLSession objects (pythonGH…
…-94102) Fixes python#94101 Automerge-Triggered-By: GH:tiran
Configuration menu - View commit details
-
Copy full SHA for dc8e1d0 - Browse repository at this point
Copy the full SHA dc8e1d0View commit details -
Fix typo in _io.TextIOWrapper Clinic input (python#94037)
Co-authored-by: Łukasz Langa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ca308c1 - Browse repository at this point
Copy the full SHA ca308c1View commit details -
pythongh-93951: In test_bdb.StateTestCase.test_skip, avoid including …
…auxiliary importers. (pythonGH-93962) Co-authored-by: Brett Cannon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c029b55 - Browse repository at this point
Copy the full SHA c029b55View commit details -
pythongh-91172: Create a workflow for verifying bundled pip and setup…
…tools (pythonGH-31885) Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Adam Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d36954b - Browse repository at this point
Copy the full SHA d36954bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8661c50 - Browse repository at this point
Copy the full SHA 8661c50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47e3562 - Browse repository at this point
Copy the full SHA 47e3562View commit details -
pythongh-54781: Move Lib/tkinter/test/test_ttk/ to Lib/test/test_ttk/ (…
…python#94070) * Move Lib/tkinter/test/test_tkinter/ to Lib/test/test_tkinter/. * Move Lib/tkinter/test/test_ttk/ to Lib/test/test_ttk/. * Add Lib/test/test_ttk/__init__.py based on test_ttk_guionly.py. * Add Lib/test/test_tkinter/__init__.py * Remove old Lib/test/test_tk.py. * Remove old Lib/test/test_ttk_guionly.py. * Add __main__ sub-modules. * Update imports and update references to rename files.
Configuration menu - View commit details
-
Copy full SHA for c1fb12e - Browse repository at this point
Copy the full SHA c1fb12eView commit details -
pythongh-84623: Move imports in doctests (python#94133)
Move imports in doctests to prevent false alarms in pyflakes.
Configuration menu - View commit details
-
Copy full SHA for e52009d - Browse repository at this point
Copy the full SHA e52009dView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd39e29 - Browse repository at this point
Copy the full SHA dd39e29View commit details -
pythongh-84623: Remove unused imports in idlelib (python#94143)
Remove commented code in test_debugger_r.py. Co-authored-by: Terry Jan Reedy <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 576dd90 - Browse repository at this point
Copy the full SHA 576dd90View commit details
Commits on Jun 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9877f4c - Browse repository at this point
Copy the full SHA 9877f4cView commit details -
Closes pythongh-94152: Update pyvideo.org URL (pythonGH-94075)
The URL is now https://pyvideo.org, which uses HTTPS and avoids a redirect.
Configuration menu - View commit details
-
Copy full SHA for 7c439dc - Browse repository at this point
Copy the full SHA 7c439dcView commit details -
pythongh-91456: [Enum] Deprecate default auto() behavior with mixed v…
…alue types (pythonGH-91457) When used with plain Enum, auto() returns the last numeric value assigned, skipping any incompatible member values (such as strings); starting in 3.13 the default auto() for plain Enums will require all the values to be of compatible types, and will return a new value that is 1 higher than any existing value. Co-authored-by: Ethan Furman <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fb1e950 - Browse repository at this point
Copy the full SHA fb1e950View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15bfabd - Browse repository at this point
Copy the full SHA 15bfabdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11e865c - Browse repository at this point
Copy the full SHA 11e865cView commit details -
pythongh-89121: Keep the number of pending SQLite statements to a min…
…imum (python#30379) Make sure statements that have run to completion or errored are reset and cleared off the cursor for all paths in execute() and executemany().
Configuration menu - View commit details
-
Copy full SHA for 8928531 - Browse repository at this point
Copy the full SHA 8928531View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b6e576 - Browse repository at this point
Copy the full SHA 5b6e576View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4e0d61 - Browse repository at this point
Copy the full SHA b4e0d61View commit details -
pythongh-92858: Improve error message for some suites with syntax err…
…or before ':' (python#92894)
Configuration menu - View commit details
-
Copy full SHA for 2fc83ac - Browse repository at this point
Copy the full SHA 2fc83acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e796f5 - Browse repository at this point
Copy the full SHA 4e796f5View commit details -
pythongh-91219: Add an index_pages default list and parameter to Simp…
…leHTTPRequestHandler (pythonGH-31985) * Add an index_pages default list to SimpleHTTPRequestHandler and an optional constructor parameter that allows the default indexes pages list to be overridden. This makes it easy to set a new index page name without having to override send_head.
Configuration menu - View commit details
-
Copy full SHA for 9a95fa9 - Browse repository at this point
Copy the full SHA 9a95fa9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28a2ccf - Browse repository at this point
Copy the full SHA 28a2ccfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e6ecca - Browse repository at this point
Copy the full SHA 8e6eccaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5075e81 - Browse repository at this point
Copy the full SHA 5075e81View commit details
Commits on Jun 24, 2022
-
pythongh-94169: Remove deprecated io.OpenWrapper (python#94170)
Remove io.OpenWrapper and _pyio.OpenWrapper, deprecated in Python 3.10: just use :func:`open` instead. The open() (io.open()) function is a built-in function. Since Python 3.10, _pyio.open() is also a static method.
Configuration menu - View commit details
-
Copy full SHA for 6e33ba1 - Browse repository at this point
Copy the full SHA 6e33ba1View commit details -
pythongh-94199: Remove ssl.RAND_pseudo_bytes() function (python#94202)
Remove the ssl.RAND_pseudo_bytes() function, deprecated in Python 3.6: use os.urandom() or ssl.RAND_bytes() instead.
Configuration menu - View commit details
-
Copy full SHA for d435a18 - Browse repository at this point
Copy the full SHA d435a18View commit details -
pythongh-94196: Remove gzip.GzipFile.filename attribute (python#94197)
gzip: Remove the filename attribute of gzip.GzipFile, deprecated since Python 2.6, use the name attribute instead. In write mode, the filename attribute added '.gz' file extension if it was not present.
Configuration menu - View commit details
-
Copy full SHA for d3a27e4 - Browse repository at this point
Copy the full SHA d3a27e4View commit details -
pythongh-93692: remove "build finished successfully" message from set…
…up.py (python#93693) The message was only emitted when the build succeeded _and_ there were missing modules.
Configuration menu - View commit details
-
Copy full SHA for ab077d1 - Browse repository at this point
Copy the full SHA ab077d1View commit details -
pythongh-84461: Fix ctypes and test_ctypes on Emscripten (python#94142)
- c_longlong and c_longdouble need experimental WASM bigint. - Skip tests that need threading - Define ``CTYPES_MAX_ARGCOUNT`` for Emscripten. libffi-emscripten 2022-06-23 supports up to 1000 args.
Configuration menu - View commit details
-
Copy full SHA for 8625802 - Browse repository at this point
Copy the full SHA 8625802View commit details -
pythongh-94205: Ensures all required DLLs are copied on Windows for u…
…nderpth tests (pythonGH-94206)
Configuration menu - View commit details
-
Copy full SHA for 51fd4de - Browse repository at this point
Copy the full SHA 51fd4deView commit details -
Configuration menu - View commit details
-
Copy full SHA for e69306f - Browse repository at this point
Copy the full SHA e69306fView commit details -
pythongh-94172: urllib.request avoids deprecated check_hostname (pyth…
…on#94193) The urllib.request no longer uses the deprecated check_hostname parameter of the http.client module. Add private http.client._create_https_context() helper to http.client, used by urllib.request. Remove the now redundant check on check_hostname and verify_mode in http.client: the SSLContext.check_hostname setter already implements the check.
Configuration menu - View commit details
-
Copy full SHA for f0b234e - Browse repository at this point
Copy the full SHA f0b234eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 91f9947 - Browse repository at this point
Copy the full SHA 91f9947View commit details -
Configuration menu - View commit details
-
Copy full SHA for a91ffcf - Browse repository at this point
Copy the full SHA a91ffcfView commit details -
pythongh-93382: Sync up
co_code
changes with 3.11 (pythonGH-94227)Sync up co_code changes with 3.11 commit 852b4d4.
Configuration menu - View commit details
-
Copy full SHA for 50a5ab2 - Browse repository at this point
Copy the full SHA 50a5ab2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a40025 - Browse repository at this point
Copy the full SHA 0a40025View commit details -
Configuration menu - View commit details
-
Copy full SHA for 605e9c6 - Browse repository at this point
Copy the full SHA 605e9c6View commit details
Commits on Jun 25, 2022
-
bpo-46642: Explicitly disallow subclassing of instaces of TypeVar, Pa…
…ramSpec, etc (pythonGH-31148) The existing test covering this case passed only incidentally. We explicitly disallow doing this and add a proper error message. Co-authored-by: Serhiy Storchaka <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 81e91c9 - Browse repository at this point
Copy the full SHA 81e91c9View commit details -
bpo-26253: Add compressionlevel to tarfile stream (pythonGH-2962)
`tarfile` already accepts a compressionlevel argument for creating files. This patch adds the same for stream-based tarfile usage. The default is 9, the value that was previously hard-coded.
Configuration menu - View commit details
-
Copy full SHA for 50cd4b6 - Browse repository at this point
Copy the full SHA 50cd4b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b528499 - Browse repository at this point
Copy the full SHA b528499View commit details -
Configuration menu - View commit details
-
Copy full SHA for 944c7d8 - Browse repository at this point
Copy the full SHA 944c7d8View commit details -
pythongh-94207: Fix struct module leak (pythonGH-94239)
Make _struct.Struct a GC type This fixes a memory leak in the _struct module, where as soon as a Struct object is stored in the cache, there's a cycle from the _struct module to the cache to Struct objects to the Struct type back to the module. If _struct.Struct is not gc-tracked, that cycle is never collected. This PR makes _struct.Struct GC-tracked, and adds a regression test.
Configuration menu - View commit details
-
Copy full SHA for 6b86534 - Browse repository at this point
Copy the full SHA 6b86534View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75cb3ab - Browse repository at this point
Copy the full SHA 75cb3abView commit details -
pythongh-77560: Report possible errors in restoring builtins at final…
…ization (pythonGH-94255) Seems in the past the copy of builtins was not made in some scenarios, and the error was silenced. Write it now to stderr, so we have a chance to see it.
Configuration menu - View commit details
-
Copy full SHA for bec802d - Browse repository at this point
Copy the full SHA bec802dView commit details -
pythongh-90016: Reword sqlite3 adapter/converter docs (python#93095)
Also add adapters and converter recipes. Co-authored-by: CAM Gerlach <[email protected]> Co-authored-by: Alex Waygood <[email protected]
Configuration menu - View commit details
-
Copy full SHA for bd3c1c1 - Browse repository at this point
Copy the full SHA bd3c1c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c57a1c7 - Browse repository at this point
Copy the full SHA c57a1c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9af6b75 - Browse repository at this point
Copy the full SHA 9af6b75View commit details
Commits on Jun 26, 2022
-
pythongh-93259: Validate arg to
Distribution.from_name
. (pythonGH……-94270) Syncs with importlib_metadata 4.12.0.
Configuration menu - View commit details
-
Copy full SHA for 38612a0 - Browse repository at this point
Copy the full SHA 38612a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47b63da - Browse repository at this point
Copy the full SHA 47b63daView commit details