summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* GH-94382: port multiprocessing static types to heap types (#94336)Kumar Aditya2022-07-204-63/+62
|
* gh-54781: Move NEWS item to Tests, and improve wording (#95063)Erlend Egeberg Aasland2022-07-201-10/+10
|
* gh-94998: Remove redundant condition in test_sqlite3/__main__.py (#95052)Erlend Egeberg Aasland2022-07-201-2/+1
|
* gh-94844: Add pathlib support to shutil archive management (GH-94846)Oleg Iarygin2022-07-201-0/+2
| | | Co-authored-by: Barney Gale <barney.gale@gmail.com>
* GH-94851: fix immortal objects refcounting in compiler (gh-95040)Kumar Aditya2022-07-201-1/+1
|
* gh-90654: Remove unneeded blank line (#95044)Terry Jan Reedy2022-07-201-1/+0
|
* gh-90654: Add item missing from idlelib/NEWS.txt (#95038)Terry Jan Reedy2022-07-201-0/+2
|
* gh-93939: Use new MODULE_name_STATE in wasm_assets script (GH-95035)Christian Heimes2022-07-201-7/+6
|
* GH-90699: fix ref counting of static immortal strings (gh-94850)Kumar Aditya2022-07-203-2/+4
|
* Remove blurb boilerplate from news item (#95033)Terry Jan Reedy2022-07-201-5/+0
|
* gh-95007: Remove the NoneType return converter (GH-95019)Serhiy Storchaka2022-07-201-11/+0
| | | | | It has confusing semantic which does not provide any benefit (the only difference is that you should write "return Py_None" instead of "Py_RETURN_NONE"), it is not currently used, and it is broken.
* gh-93370: Don't print deprecated pysqlite version in test_sqlite3 (#95017)Erlend Egeberg Aasland2022-07-191-3/+1
|
* gh-91256: Ensure help text has the program name even before getpath is ↵Steve Dower2022-07-192-0/+4
| | | | called (GH-94929)
* gh-93678: move normalize_basic_block and extend_block call into optimize_cfg ↵Irit Katriel2022-07-191-31/+26
| | | | (GH-95002)
* GH-91153: Handle mutating __index__ methods in bytearray item assignment ↵Brandt Bucher2022-07-194-11/+60
| | | | (GH-94891)
* GH-94979: Pop the exception stack when jumping out of exception handlers. ↵Mark Shannon2022-07-191-9/+52
| | | | (#95003)
* test_concurrent_futures: Fix unneeded/confusing format call (#93119)Florian Bruhin2022-07-191-1/+1
| | | Added in 339fd46cb764277cbbdc3e78dcc5b45b156bb6ae - but as noted in a comment, the test only tests ThreadPoolExecutor.
* gh-94673: [c-analyzer] Add a Script to Identify Static Types (#94989)Eric Snow2022-07-195-152/+614
| | | issue: https://github.com/python/cpython/issues/94673
* gh-94949: Disallow parsing parenthesised ctx mgr with old feature_version ↵Shantanu2022-07-184-2/+11
| | | | | | | | | | | (#94950) * gh-94949: Disallow parsing parenthesised ctx manager with old feature_version * 📜🤖 Added by blurb_it. * Allow it with feature_version=(3, 9) as well Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* Revert "gh-93910: [Enum] restore member.member restriction while keeping ↵Ethan Furman2022-07-182-14/+1
| | | | | performance boost (GH-94913)" (#94985) This reverts commit c20186c3972ff38577c4c5e32ca86748210983d2.
* Revert "gh-94816: Improve coverage of decode_linetable (GH-94853)" (GH-94982)Michael Droettboom2022-07-181-23/+0
| | | This reverts commit 20b9d2a658059c8c1624400f60bb6ba19a31ee9b.
* Fix documentation to include possible Exception (#94818)Guy Yagev2022-07-181-2/+2
|
* Fix incorrect double indent in ast doc (#94976)Terry Jan Reedy2022-07-181-1/+1
| | | Warning directive indent was 4 rather than 3 spaces.
* GH-94822: Don't specialize when metaclasses are involved (GH-94892)Brandt Bucher2022-07-183-6/+351
|
* Remove out of date reference to YIELD_FROM from docs. (#94966)Mark Shannon2022-07-181-6/+0
|
* In ast doc, update 'below' to 'above' (#94967)Terry Jan Reedy2022-07-181-1/+1
| | | The included asdl file was moved from 'below' to 'above' in 3.9.
* GH-94893: Ignore caches when adding LOAD_FAST_CHECKs (GH-94894)Brandt Bucher2022-07-182-1/+5
|
* gh-94930: skipitem() in getargs.c should return non-NULL on error (GH-94931)Serhiy Storchaka2022-07-184-8/+37
|
* GH-94739: Mark stacks of exception handling blocks for setting ↵Mark Shannon2022-07-185-43/+164
| | | | frame.f_lineno in the debugger. (GH-94958)
* GH-94857: fix test_io refleak (GH-94858)Kumar Aditya2022-07-182-1/+7
|
* gh-94947: Disallow parsing walrus with feature_version < (3, 8) (#94948)Shantanu2022-07-184-2/+10
| | | | | | | | | * gh-94947: Disallow parsing walrus with feature_version < (3, 8) * oops, commit the parser * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* gh-94847: Don't force inlining in debug builds of libmpdec (GH-94848)Christian Heimes2022-07-183-0/+13
|
* gh-94601: [Enum] fix inheritance for __str__ and friends (GH-94942)Ethan Furman2022-07-182-10/+42
|
* gh-72889: Remove redundant mock.Mock()._is_coroutine = False workarounds ↵Thomas Grainger2022-07-173-13/+0
| | | | (#94926)
* gh-91348: Restore frame argument to sys._getframe audit event (GH-94928)Steve Dower2022-07-174-6/+31
|
* gh-92348: Add quotes to support building on Windows with spaces in directory ↵Steve Dower2022-07-171-1/+1
| | | | name (GH-94925)
* gh-91181: Add a What's New entry for dropping bytes support for `sys.path` ↵Brett Cannon2022-07-171-0/+7
| | | | (GH-94918)
* gh-93910: [Enum] restore member.member restriction while keeping performance ↵Ethan Furman2022-07-172-1/+14
| | | | boost (GH-94913)
* gh-91181: drop support for bytes on sys.path (GH-31934)Thomas Grainger2022-07-176-9/+8
| | | | | | Support for bytes broke sometime between Python 3.2 and 3.6 and has been broken ever since. Trying to bring back supports is surprisingly difficult in the face of -b and checking for keys in sys.path_importer_cache. Since the support was broken for so long, trying to overcome the difficulty of bringing back the support has been deemed not worth it. Co-authored-by: Eryk Sun <eryksun@gmail.com> Co-authored-by: Brett Cannon <brett@python.org>
* gh-94869: Fix the location in some expressions for multi-line f-string ast ↵Pablo Galindo Salgado2022-07-163-3/+37
| | | | nodes (#94895)
* gh-90844: Allow virtual environments to correctly launch when they have ↵Steve Dower2022-07-162-4/+14
| | | | spaces in the path (GH-94903)
* gh-94698: add Subscript and Attribute targets to ast.for documentation ↵anilbey2022-07-161-4/+5
| | | | | | | | | (GH-94901) ### Summary Add Attribute and Subscript as possible targets for the "ast for loop documentation". Automerge-Triggered-By: GH:isidentical
* gh-94772: Fix off-by-one error in Windows launcher (GH-94779)Paul Moore2022-07-163-1/+28
|
* [3.11] bpo-14916: interactive fd is not tied to stdin [type-bug] (#91469)Paul m. p. Peny2022-07-162-1/+2
| | | | | | | | | | | * bpo-14916: interactive fd is not always stdin related to https://github.com/python/cpython/pull/31006 merged bugfix following https://bugs.python.org/issue14916 * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* Tutorial sys.argv example should not have interactive prompt (GH-94880)Marco Buttu2022-07-161-4/+8
|
* Add additional pointers to pathlib's mapping to os.path functions (#94828)Chris Adams2022-07-151-1/+2
| | | | | | | | | | | | | * Add additional pointers to pathlib's mapping to os.path functions os.path.splitext has a somewhat quirky signature since it mixes the path and filename components but I wanted the documentation to mention `PurePath.stem` as the natural counterpart to `PurePath.suffix` for the common use of `os.path.splitext` to turn "file.py" into "file" and "py". Technically this could have some discussion of how to handle the parent directory hierarchy but that seems a bit out of keeping with the spirit of this table so I omitted mentioning `PurePath.parents` here. * Update Doc/library/pathlib.rst Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* gh-94814: Improve coverage of _PyCode_CreateLineArray (GH-94852)Michael Droettboom2022-07-151-0/+22
| | | | | | | The case where there are more than (1 << 15) lines was not covered. I don't know if increasing test coverage requires a blurb -- let me know if it does. Automerge-Triggered-By: GH:brandtbucher
* gh-94801: Use custom flags to check for headers and libs (#94802)Christian Heimes2022-07-153-318/+407
|
* gh-94821: Fix autobind of empty unix domain address (GH-94826)Nir Soffer2022-07-153-2/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When binding a unix socket to an empty address on Linux, the socket is automatically bound to an available address in the abstract namespace. >>> s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) >>> s.bind("") >>> s.getsockname() b'\x0075499' Since python 3.9, the socket is bound to the one address: >>> s.getsockname() b'\x00' And trying to bind multiple sockets will fail with: Traceback (most recent call last): File "/home/nsoffer/src/cpython/Lib/test/test_socket.py", line 5553, in testAutobind s2.bind("") OSError: [Errno 98] Address already in use Added 2 tests: - Auto binding empty address on Linux - Failing to bind an empty address on other platforms Fixes f6b3a07b7df6 (bpo-44493: Add missing terminated NUL in sockaddr_un's length (GH-26866)
* [doc] Update cookbook example and add information about queue types. (GH-94854)Vinay Sajip2022-07-152-1/+11
|