Zachary Ware
6ffb4e24e0
Update build status links in contributing doc (GH-98672)
2022-10-25 12:13:37 -05:00
Zachary Ware
175247f364
Update link to supported versions table in security policy (GH-98670)
2022-10-25 11:59:19 -05:00
Eclips4
be0cf82ae4
gh-98602: [typing docs] Use quotes for forward reference in TypeVarTuple example ( #98605 )
2022-10-25 16:32:52 +01:00
Matthew Rahtz
cb95cc24ef
GH-87390: Add remaining tests for PEP 646 ( #98267 )
...
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
2022-10-25 07:44:30 -07:00
Nikita Sobolev
5076108872
gh-98623: Fix base classes in `typing.rst` ( #98626 )
2022-10-25 07:06:13 -07:00
Nikita Sobolev
45c89358b7
Use more precise exception types in `assertRaises` in typing tests ( #98650 )
2022-10-25 06:33:34 -07:00
James Gerity
d91de288e7
gh-93696: Locate frozen module source with __file__ ( #93697 )
...
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2022-10-25 06:22:53 -07:00
C.A.M. Gerlach
dd13b23e49
gh-95913: Prepare Improved Modules in 3.11 WhatsNew for final edits ( #98631 )
...
* Add two line breaks and ref target labels to remaining subsections
* Fix a few out of order Improved Modules
* Fix a few minor textual formatting issues in sections
* Fix remaining Sphinx warnings in the Improved Modules section
2022-10-25 06:19:44 -07:00
Irit Katriel
a1a8828e42
gh-98461: Fix location of RETURN_VALUE in async generator bytecode. compiler_jump_if no longer needs a pointer to the loc. (GH-98494)
2022-10-25 12:26:26 +01:00
Erlend E. Aasland
8aa1e994a5
gh-94328: Update macOS installer to use SQLite 3.39.4. ( #98639 )
2022-10-25 12:49:44 +02:00
Thomas Wouters
286549b7cc
Post 3.12.0a1
2022-10-25 04:17:18 +02:00
Thomas Wouters
4ae1a0ecaf
Python 3.12.0a1
2022-10-25 00:08:22 +02:00
Kumar Aditya
ad1dc3ebb6
GH-89237: fix hang in proactor `subprocess.wait_closed()` ( #98572 )
2022-10-24 13:21:42 -07:00
Nikita Sobolev
e3b9dd8e87
gh-98507: [typing docs] Rephrase "now supports `[]`" to "now supports subscripting" ( #98508 )
2022-10-24 19:10:25 +01:00
Kumar Aditya
2fdcc6f2cb
GH-91635: clarify docs about closing of transport in asyncio ( #98563 )
2022-10-24 10:52:02 -07:00
Kumar Aditya
3b2724abcf
GH-98407: fix `test_kill_issue43884` to not leak child processes ( #98491 )
2022-10-24 10:50:35 -07:00
Nikita Sobolev
1a217f9ffc
gh-98500: Fix typing docs for `*View` classes ( #98511 )
2022-10-24 10:47:32 -07:00
Jelle Zijlstra
c5a9d3f67f
gh-95913: Fix grammar for SpooledTemporaryFile 3.11 whatsnew entry ( #98604 )
...
Followup from #98312 .
2022-10-24 09:45:43 -07:00
Johnny11502
c237076379
gh-97909: Mark up members of PyMemberDef (GH-98473)
...
Co-authored-by: T <tnie@tuta.io>
2022-10-24 16:13:38 +02:00
C.A.M. Gerlach
e19c2b979f
gh-95913: Fix, sort & expand pending removal sect in 3.11 WhatsNew (GH-98583)
...
* Fix names/references of pending removal APIs
* Sort list of APIs pending removal alphabetically
* Add missing modules/submodules pending removal in 3.12
* Add table of unittest deprecated aliases to 3.11 What's New
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2022-10-24 15:35:28 +02:00
C.A.M. Gerlach
f3f8b6fca5
gh-95913: Add io support for SpooledTemporaryFile in 3.11 Whatsnew ( #98312 )
2022-10-24 06:05:14 -07:00
C.A.M. Gerlach
dfb5d272e6
gh-95913: Edit & expand Deprecated section of 3.11 WhatsNew ( #98581 )
...
* Refine Sphinx syntax and grammar/phrasing in Deprecated section items
* Organize into lang/builtins, modules & stdlib sections
* Convert PEP 594 module list into a grid to not waste as much space
* Add importlib.resources deprecated functions to section
2022-10-24 05:58:27 -07:00
C.A.M. Gerlach
22739a0e05
gh-95913: Edit, expand & format Bytecode sect in 3.11 WhatsNew (GH-98559)
2022-10-24 13:51:25 +01:00
C.A.M. Gerlach
e81fad6b8a
gh-95913: Edit, link and sort 3.11 WhatsNew Build section ( #98588 )
2022-10-24 13:34:05 +01:00
C.A.M. Gerlach
43bef54a32
gh-95913: Edit, sort & expand 3.11 WhatsNew Porting section ( #98585 )
2022-10-24 13:33:31 +01:00
C.A.M. Gerlach
8dbec4dbe5
gh-95913: Edit, xref & sort 3.11 WhatsNew Removed section ( #98584 )
2022-10-24 13:33:16 +01:00
C.A.M. Gerlach
e2dc223004
gh-95913 Add string section to Whatsnew with new Template methods ( #98311 )
2022-10-24 13:33:04 +01:00
Serhiy Storchaka
75a6fadf36
gh-91524: Speed up the regular expression substitution ( #91525 )
...
Functions re.sub() and re.subn() and corresponding re.Pattern methods
are now 2-3 times faster for replacement strings containing group references.
Closes #91524
Primarily authored by serhiy-storchaka Serhiy Storchaka
Minor-cleanups-by: Gregory P. Smith [Google] <greg@krypto.org>
2022-10-23 15:57:30 -07:00
Ned Deily
176b6c57be
Update Mac installer messages to 3.12 alpha (GH-98575)
2022-10-23 16:36:53 -04:00
Omkaar
b6d5d5b60a
gh-98561: Fix a typo in typing (GH-98562)
2022-10-23 22:05:08 +08:00
wim glenn
833f275840
no-issue: typo fix in c-api/tuple.rst (gh-98560)
2022-10-23 19:46:56 +09:00
Noam Cohen
1db2a0cb20
gh-98456: Replace deprecated `set-output` with up-to-date version (gh-98457)
2022-10-23 14:23:40 +09:00
C.A.M. Gerlach
f58631be11
gh-95913: Edit & expand Optimizations in 3.11 WhatsNew ( #98426 )
2022-10-22 20:14:11 +01:00
C.A.M. Gerlach
8f30267ab4
gh-95913: Copyedit & xref FrameInfo in Whatsnew inspect section ( #98304 )
2022-10-22 20:12:04 +01:00
Kumar Aditya
62bf5d8d0a
GH-98539: fix ref cycle in `_SSLProtocolTransport` after close ( #98540 )
2022-10-22 09:11:27 -07:00
Kumar Aditya
f4a14941e6
GH-98543: Fix `asyncio.TaskGroup` to not keep reference to errors after raising ExceptionGroup ( #98544 )
2022-10-22 09:05:11 -07:00
Raymond Hettinger
5871e19942
GH-98363: Slicing isn't necessary. A size reduction will suffice. (GH-98538)
2022-10-22 07:21:06 -05:00
Ikko Ashimine
f7f55a5b9e
Fix typo in news entry ( #98361 )
...
ouput -> output
2022-10-22 12:59:12 +01:00
Clément Robert
327fc1c6fa
[Enum docs]: fix order of arguments to isinstance() ( #98542 )
2022-10-22 12:29:00 +01:00
Raymond Hettinger
8d574234d4
GH-98363: Use better accessor macro ( #98535 )
2022-10-21 18:44:49 -05:00
Stanley
d9407b174c
gh-51511: Note that codecs.open()'s encoding parameter affects automatic conversion to binary mode ( #94370 )
2022-10-21 16:01:05 -07:00
Furkan Onder
4c1145bb37
bpo-2716: add license for audioop module ( #19972 )
2022-10-21 15:43:20 -07:00
Ethan Furman
3e95ffc7ae
gh-98298: [Enum] document ReprEnum, global_enum, and show_flag_values (GH-98455)
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-10-21 15:36:41 -07:00
Raymond Hettinger
a5ff80c8bc
GH-98363: Fix exception handling in batched() (GH-98523)
2022-10-21 12:31:52 -05:00
Victor Stinner
ec1f6f5f13
gh-95027: Fix regrtest stdout encoding on Windows ( #98492 )
...
On Windows, when the Python test suite is run with the -jN option,
the ANSI code page is now used as the encoding for the stdout
temporary file, rather than using UTF-8 which can lead to decoding
errors.
2022-10-21 16:21:36 +02:00
Carl Meyer
82ccbf69a8
gh-91051: allow setting a callback hook on PyType_Modified (GH-97875)
2022-10-21 14:41:51 +01:00
Irit Katriel
8367ca136e
gh-98172: [doc] mention that except* handles naked exceptions (GH-98496)
2022-10-21 11:35:20 +01:00
Gregory P. Smith
49f61068f4
gh-97514: Don't use Linux abstract sockets for multiprocessing ( #98501 )
...
Linux abstract sockets are insecure as they lack any form of filesystem
permissions so their use allows anyone on the system to inject code into
the process.
This removes the default preference for abstract sockets in
multiprocessing introduced in Python 3.9+ via
https://github.com/python/cpython/pull/18866 while fixing
https://github.com/python/cpython/issues/84031 .
Explicit use of an abstract socket by a user now generates a
RuntimeWarning. If we choose to keep this warning, it should be
backported to the 3.7 and 3.8 branches.
2022-10-20 15:30:09 -07:00
Dennis Sweeney
39bc70e267
gh-97912: Avoid quadratic behavior when adding LOAD_FAST_CHECK (GH-97952)
...
* The compiler analyzes the usage of the first 64 local variables all at once using bit masks.
* Local variables beyond the first 64 are only partially analyzed, achieving linear time.
2022-10-20 18:27:41 -04:00
Ben Kallus
6f15ca8c7a
gh-96035: Make urllib.parse.urlparse reject non-numeric ports ( #98273 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-10-20 14:00:56 -07:00