summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-46110: Add a recursion check to avoid stack overflow in the PEG parser ↵Pablo Galindo Salgado2021-12-205-3197/+4602
| | | | | (GH-30177) Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
* bpo-23819: Get rid of assert statements in test_asyncio (GH-30212)Serhiy Storchaka2021-12-2010-63/+102
| | | | | | To keep checks even if run tests with optimized Python. Either use special assertion methods like assertEqual() or raise an AssertionError explicitly.
* bpo-46104: Fix example broken by GH-30148 (GH-30203)Alex Waygood2021-12-201-1/+1
| | | See discussion in GH-30179.
* Revert "bpo-46131: add fastpath for PyFloat_Check() (GH-30200)" (GH-30208)Raymond Hettinger2021-12-197-23/+0
| | | This reverts commit 2ef06d412531d1163dbc72877c88aedf3ed82a25.
* bpo-46131: add fastpath for PyFloat_Check() (#30200)Matti Picus2021-12-197-0/+23
|
* bpo-46076: Improve documentation for per-attribute docstrings with ↵Alex Waygood2021-12-191-3/+6
| | | | `__slots__` (GH-30109)
* bpo-46123: Disable optimizations for _freeze_module.exe on MSVC for faster ↵neonene2021-12-191-0/+3
| | | | building (GH-30181)
* bpo-46129: Rewrite asyncio.locks tests with IsolatedAsyncioTestCase (GH-30198)Andrew Svetlov2021-12-193-261/+214
| | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* bpo-46130: [docs] Add anchor for whatsnew/3.10 type hint section (GH-30199)Rafael Fontenelle2021-12-191-1/+2
| | | This allows the title to be translated to other languages without linking problems.
* bpo-42413: Replace `concurrent.futures.TimeoutError` and ↵Kumar Aditya2021-12-197-25/+26
| | | | | `asyncio.TimeoutError` with builtin `TimeoutError` (GH-30197) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* bpo-46125: Refactor tests to test traversable API directly. Includes changes ↵Jason R. Coombs2021-12-1911-213/+154
| | | | from importlib_resources 5.4.0. (GH-30189)
* bpo-46044: Fix doc typo introduced in GH-30043 (GH-30171)Matthias Bussonnier2021-12-181-1/+1
| | | | | | | See https://github.com/python/cpython/pull/30043/files#r770944718 My bad I likely messed up by using a repeat command in my editor Automerge-Triggered-By: GH:merwok
* bpo-40280: Add Tools/wasm with helpers for cross building (GH-29984)Christian Heimes2021-12-187-10/+380
| | | | Co-authored-by: Ethan Smith <ethan@ethanhs.me> Co-authored-by: Brett Cannon <brett@python.org>
* bpo-37578: glob.glob -- added include_hidden parameter (GH-30153)andrei kulakov2021-12-184-23/+68
| | | Automerge-Triggered-By: GH:asvetlov
* bpo-46113: Minor fixes in stdtypes documentation (GH-30167)Vivek Vashist2021-12-181-8/+8
| | | | | | | | | * Fix#1 - isidentifier() function output * Fix#2 Update the str.splitlines() function parameter * Fix#3 Removed unwanted full stop for str and bytes types double quotes examples. * Fix#4 Updated class dict from **kwarg to **kwargs
* bpo-46099: Fix pthread_getcpuclockid test on Solaris (GH-30140)Jakub Kulík2021-12-181-5/+6
| | | Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* bpo-46088: Automatically detect or install bootstrap Python runtime when ↵Steve Dower2021-12-185-16/+49
| | | | building from Visual Studio (GH-30143)
* bpo-40915: Avoid compiler warnings by fixing mmapmodule conversion from ↵neonene2021-12-181-1/+2
| | | | LARGE_INTEGER to Py_ssize_t (GH-30175)
* bpo-46104: Reduce use of pre-PEP 526 syntax in typing docs (GH-30148)Alex Waygood2021-12-181-9/+8
| | | Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* bpo-44035: Show git diff after autoreconf and regen (GH-30117)Christian Heimes2021-12-171-1/+3
|
* bpo-46114: Fix OpenSSL version check for 3.0.1 (GH-30170)Christian Heimes2021-12-174-3/+8
|
* bpo-46072: Add top level stats struct (GH-30169)Mark Shannon2021-12-176-103/+154
|
* bpo-45711: Remove type and traceback from exc_info (GH-30122)Irit Katriel2021-12-1714-392/+231
| | | | | | | | * Do not PUSH/POP traceback or type to the stack as part of exc_info * Remove exc_traceback and exc_type from _PyErr_StackItem * Add to what's new, because this change breaks things like Cython
* Doc: some rst linting. (GH-30149)Julien Palard2021-12-173-4/+4
|
* bpo-46111: Fix unittest tests in optimized mode (GH-30163)Serhiy Storchaka2021-12-173-3/+6
|
* Fix a typo in the message from make_ssl_certs. (GH-30152)Yilei "Dolee" Yang2021-12-171-1/+1
| | | | | The file is utils.py not util.py. Automerge-Triggered-By: GH:gpshead
* bpo-45635: Do not suppress errors in functions called from _PyErr_Display ↵Irit Katriel2021-12-162-113/+158
| | | | | | (GH-30073) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-44893: Implement EntryPoint as simple class with attributes. (GH-30150)Jason R. Coombs2021-12-1611-108/+269
| | | | | * bpo-44893: Implement EntryPoint as simple class and deprecate tuple access in favor of attribute access. Syncs with importlib_metadata 4.8.1. * Apply refactorings found in importlib_metadata 4.8.2.
* bpo-46105: Honor spec when generating requirement specs with urls and ↵Jason R. Coombs2021-12-163-2/+15
| | | | extras. (GH-30151)
* bpo-46044: Annotate deprecated sdists formats (GH-30043)Matthias Bussonnier2021-12-161-19/+22
| | | | | | While this page have deprecated informations it is still heavily index by Google. Discussed on twitter: https://twitter.com/brettsky/status/1469465729082662916
* Better randomization of stats filenames. (GH-30145)Mark Shannon2021-12-161-2/+14
|
* bpo-22047: [argparse] deprecate nested argument groups and mutually ↵Irit Katriel2021-12-164-2/+45
| | | | exclusive groups (GH-30098)
* bpo-45755: [typing] Reveal class attributes of generic in generic aliases in ↵Ken Jin2021-12-163-0/+17
| | | | `dir()` (GH-29962)
* bpo-46072: Document --enable-stats option. (GH-30139)Mark Shannon2021-12-162-0/+11
|
* bpo-45829: Check `__getitem__`'s version for overflow before specializing ↵Brandt Bucher2021-12-161-1/+1
| | | | | | | (GH-30129) * Check __getitem__'s version for overflow. * Use SPEC_FAIL_OUT_OF_VERSIONS instead
* Fix the output of built-in iter() function example in Iterators (Section ↵Vivek Vashist2021-12-161-1/+1
| | | | | 9.8) of The Python Tutorial (GH-30110) Updated the output for it=iter(s) from <iterator object at 0x00A1DB50> to <str_iterator object at 0x10c90e650>
* bpo-28816: [doc] clarify that zipimport invokes importers only for python ↵Irit Katriel2021-12-161-2/+2
| | | | files (GH-30060)
* Remove spaces in empty lines (GH-30121)AN Long2021-12-153-5/+5
|
* bpo-46072: Add --with-pystats configure option to simplify gathering of VM ↵Mark Shannon2021-12-159-45/+74
| | | | | | | | | stats (GH-30116) * Simplify specialization stats collection macros. * Add --enable-pystats option to configure. * Update specialization summary script to handle larger number of kinds
* bpo-44525: Specialize for calls to type and other builtin classes with 1 ↵Mark Shannon2021-12-156-40/+105
| | | | argument. (GH-29942)
* Add Positional only arguments forward slash (/) to sorted() function in ↵Vivek Vashist2021-12-151-1/+1
| | | | | | | Built-in Functions document (GH-30113) sorted() function is missing forward slash (/) in Built-in Functions documentation page. Automerge-Triggered-By: GH:asvetlov
* bpo-46039: Split yield from in two (GH-30035)Mark Shannon2021-12-1510-53/+91
| | | | | | * Split YIELD_FROM opcode into SEND and JUMP_ABSOLUTE. * Remove YIELD_FROM opcode.
* bpo-26952: [argparse] clearer error when formatting an empty mutually… ↵Irit Katriel2021-12-153-0/+11
| | | | (GH-30099)
* Document new call opcodes for 3.11 (GH-30107)Mark Shannon2021-12-141-3/+5
|
* bpo-44525: Split calls into PRECALL and CALL (GH-30011)Mark Shannon2021-12-1415-236/+395
| | | | | | | | | | * Add 3 new opcodes for calls: PRECALL_METHOD, CALL_NO_KW, CALL_KW. * Update specialization to handle new CALL opcodes. * Specialize call to method descriptors. * Remove old CALL opcodes: CALL_FUNCTION, CALL_METHOD, CALL_METHOD_KW, CALL_FUNCTION_KW.
* bpo-45292: [PEP-654] add except* (GH-29581)Irit Katriel2021-12-1434-1853/+5591
|
* bpo-46063: Add 'delay=True' to file handler initialization. (GH-30103)Vinay Sajip2021-12-141-1/+2
|
* bpo-46059: Clarify pattern-matching example in "control flow" docs (GH-30079)Alex Waygood2021-12-141-3/+5
| | | | | The "Color" example in the pattern-matching section of the "control flow" documentation is not immediately runnable, leading to confusion. Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* bpo-46023: Skip build if module is marked as DISABLED (GH-30100)Christian Heimes2021-12-142-1/+5
|
* bpo-23469: Delete Wing IDE configuration files (GH-30067)Kumar Aditya2021-12-144-50/+0
|