summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Update includes in call.c (GH-93786)Pamela Fox2022-06-151-3/+2
|
* Use support.sleeping_retry() and support.busy_retry() (#93848)Victor Stinner2022-06-157-58/+51
| | | | | | * Replace time.sleep(0.010) with sleeping_retry() to use an exponential sleep. * support.wait_process(): reuse sleeping_retry(). * _test_eintr: remove unused variables.
* test_thread uses support.sleeping_retry() (#93849)Victor Stinner2022-06-151-7/+11
| | | | test_thread.test_count() now fails if it takes longer than LONG_TIMEOUT seconds.
* gh-87260: Update sqlite3 signature docs to reflect actual implementation ↵Erlend Egeberg Aasland2022-06-152-9/+10
| | | | | | | | | | (#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()
* Add test.support.busy_retry() (#93770)Victor Stinner2022-06-1512-99/+186
| | | Add busy_retry() and sleeping_retry() functions to test.support.
* gh-93829: In sqlite3, replace Py_BuildValue with faster APIs (#93830)Erlend Egeberg Aasland2022-06-152-4/+3
| | | | - In Modules/_sqlite/connection.c, use PyLong_FromLong - In Modules/_sqlite/microprotocols.c, use PyTuple_Pack
* gh-93183: Adjust wording in socket docs (#93832)Erlend Egeberg Aasland2022-06-151-2/+2
| | | | | package => packet Co-authored-by: Victor Norman
* gh-93735: Split Docs CI to speed-up the build (GH-93736)Adam Turner2022-06-151-12/+34
|
* gh-93814: Add infinite test for itertools.chain.from_iterable (GH-93815)Jeong YunWon2022-06-141-0/+1
| | | | | fix #93814 Automerge-Triggered-By: GH:rhettinger
* [docs] Fix LOAD_ATTR version changed (GH-93816)Ken Jin2022-06-141-1/+1
|
* gh-93353: Fix regrtest for -jN with N >= 2 (GH-93813)Victor Stinner2022-06-142-16/+24
|
* Rename 'LOAD_METHOD' specialization stat consts to 'ATTR'. (GH-93812)Mark Shannon2022-06-141-17/+14
|
* Remove LOAD_METHOD stats. (GH-93807)Mark Shannon2022-06-141-1/+0
|
* gh-93795: Use test.support TESTFN/unlink in sqlite3 tests (#93796)Erlend Egeberg Aasland2022-06-141-17/+15
|
* Include freelists in allocation total. (GH-93799)Mark Shannon2022-06-141-1/+1
|
* GH-93429: Document `LOAD_METHOD` removal (GH-93803)Ken Jin2022-06-142-13/+23
|
* gh-91877: Fix WriteTransport.get_write_buffer_{limits,size} docs (#92338)Sanket Shanbhag2022-06-141-0/+4
| | | | - Amend docs for WriteTransport.get_write_buffer_limits - Add docs for WriteTransport.get_write_buffer_size
* GH-93678: reduce boilerplate and code repetition in the compiler (GH-93682)Irit Katriel2022-06-142-261/+151
|
* gh-79579: Improve DML query detection in sqlite3 (#93623)Erlend Egeberg Aasland2022-06-143-84/+103
| | | | | | | | | 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.
* gh-93353: regrtest checks for leaked temporary files (#93776)Victor Stinner2022-06-143-7/+55
| | | | | When running tests with -jN, create a temporary directory per process and mark a test as "environment changed" if a test leaks a temporary file or directory.
* GH-93429: Merge `LOAD_METHOD` back into `LOAD_ATTR` (GH-93430)Ken Jin2022-06-1413-380/+321
|
* gh-90473: Include stdlib dir in wasmtime PYTHONPATH (GH-93797)Christian Heimes2022-06-142-2/+2
|
* GH-93516: Store offset of first traceable instruction in code object (GH-93769)Mark Shannon2022-06-146-53/+54
|
* GH-93662: Make sure that column offsets are correct in multi-line method ↵Mark Shannon2022-06-143-5/+48
| | | | calls. (GH-93673)
* gh-91321: Fix compatibility with C++ older than C++11 (#93784)Victor Stinner2022-06-145-36/+76
| | | | | 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.
* gh-89546: Clean up PyType_FromMetaclass (GH-93686)Petr Viktorin2022-06-143-91/+192
| | | | | | | | When changing PyType_FromMetaclass recently (GH-93012, GH-93466, GH-28748) I found a bunch of opportunities to improve the code. Here they are. Fixes: #89546 Automerge-Triggered-By: GH:encukou
* gh-93761: Fix test to avoid simple delay when synchronizing. (GH-93779)Vinay Sajip2022-06-141-3/+5
|
* gh-91810: Fix regression with writing an XML declaration with ↵Serhiy Storchaka2022-06-143-20/+10
| | | | | | | | | | encoding='unicode' (GH-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.
* gh-79512: Fixed names and __module__ value of weakref classes (GH-93719)Serhiy Storchaka2022-06-143-3/+17
| | | | | Classes ReferenceType, ProxyType and CallableProxyType have now correct atrtributes __module__, __name__ and __qualname__. It makes them (types, not instances) pickleable.
* gh-93741: Add private C API _PyImport_GetModuleAttrString() (GH-93742)Serhiy Storchaka2022-06-1424-248/+114
| | | | | | 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.
* gh-93353: Add test.support.late_deletion() (#93774)Victor Stinner2022-06-132-10/+41
|
* gh-89653: PEP 670: Macros always cast arguments in cpython/ (#93766)Victor Stinner2022-06-139-92/+28
| | | | Header files in the Include/cpython/ are only included if the Py_LIMITED_API macro is not defined.
* gh-84461: Fix parallel testing on WebAssembly (GH-93768)Christian Heimes2022-06-132-5/+10
|
* gh-93353: Fix importlib.resources._tempfile() finalizer (#93377)Victor Stinner2022-06-132-2/+8
| | | | | 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.
* gh-84623: Remove unused imports in tests (#93772)Victor Stinner2022-06-1352-65/+8
|
* gh-91731: Don't define 'static_assert' in C++11 where is a keyword to avoid ↵Pablo Galindo Salgado2022-06-132-0/+5
| | | | UB (GH-93700)
* gh-84623: Remove unused imports in stdlib (#93773)Victor Stinner2022-06-1312-12/+3
|
* Remove ANY_VARARGS() macro from the C API (#93764)Victor Stinner2022-06-132-3/+3
| | | The macro was exposed by mistake.
* gh-89653: PEP 670: Convert PyFunction macros (#93765)Victor Stinner2022-06-131-16/+39
| | | Convert PyFunction macros to static inline functions.
* Add more FOR_ITER specialization stats (GH-32151)Dennis Sweeney2022-06-131-2/+26
|
* GH-90699: use statically allocated strings in typeobject.c (gh-93751)Kumar Aditya2022-06-123-2/+6
|
* gh-93747: Fix Refleak when handling multiple Py_tp_doc slots (gh-93749)Dong-hee Na2022-06-121-1/+1
|
* gh-93728: fix memory leak in deepfrozen code objects (GH-93729)Kumar Aditya2022-06-121-0/+1
|
* gh-91162: Support splitting of unpacked arbitrary-length tuple over TypeVar ↵Serhiy Storchaka2022-06-126-127/+106
| | | | | | | | | and TypeVarTuple parameters (alt) (GH-93412) For example: A[T, *Ts][*tuple[int, ...]] -> A[int, *tuple[int, ...]] A[*Ts, T][*tuple[int, ...]] -> A[*tuple[int, ...], int]
* Remove usage of _Py_IDENTIFIER from math module (#93739)Dong-hee Na2022-06-121-9/+55
|
* gh-84508: tool to generate cjk traditional chinese mappings (gh-93272)Davide Rizzo2022-06-113-0/+242
|
* Change list to view object (#93661)Pamela Fox2022-06-112-2/+3
|
* gh-86404: [doc] A make sucpicious false positive. (GH-93710)Julien Palard2022-06-111-0/+2
|
* gh-90153: whatsnew: "z" option in format spec (GH-93624)John Belmonte2022-06-111-0/+3
| | | Add what's new entry for PEP 682 in Python 3.11.
* gh-90473: Skip test_queue when threading is not available (GH-93712)Christian Heimes2022-06-111-3/+2
|