Matthias Bussonnier
fe68486197
bpo-46044: Fix doc typo introduced in GH-30043 (GH-30171)
...
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
2021-12-18 13:19:07 -08:00
Christian Heimes
0339434835
bpo-40280: Add Tools/wasm with helpers for cross building (GH-29984)
...
Co-authored-by: Ethan Smith <ethan@ethanhs.me>
Co-authored-by: Brett Cannon <brett@python.org>
2021-12-18 15:54:02 +01:00
andrei kulakov
ae36cd1e79
bpo-37578: glob.glob -- added include_hidden parameter (GH-30153)
...
Automerge-Triggered-By: GH:asvetlov
2021-12-18 06:23:34 -08:00
Vivek Vashist
6f2df42951
bpo-46113: Minor fixes in stdtypes documentation (GH-30167)
...
* 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
2021-12-18 21:52:51 +08:00
Jakub Kulík
427a490c49
bpo-46099: Fix pthread_getcpuclockid test on Solaris (GH-30140)
...
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
2021-12-18 15:26:24 +02:00
Steve Dower
6fc91daf73
bpo-46088: Automatically detect or install bootstrap Python runtime when building from Visual Studio (GH-30143)
2021-12-18 13:05:45 +00:00
neonene
6214caafbe
bpo-40915: Avoid compiler warnings by fixing mmapmodule conversion from LARGE_INTEGER to Py_ssize_t (GH-30175)
2021-12-18 13:03:43 +00:00
Alex Waygood
6ada013df1
bpo-46104: Reduce use of pre-PEP 526 syntax in typing docs (GH-30148)
...
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
2021-12-18 18:23:51 +08:00
Christian Heimes
da8cf8a747
bpo-44035: Show git diff after autoreconf and regen (GH-30117)
2021-12-17 16:17:56 +01:00
Christian Heimes
2985feac4e
bpo-46114: Fix OpenSSL version check for 3.0.1 (GH-30170)
2021-12-17 16:17:32 +01:00
Mark Shannon
efd6236d36
bpo-46072: Add top level stats struct (GH-30169)
2021-12-17 14:48:01 +00:00
Irit Katriel
396b58345f
bpo-45711: Remove type and traceback from exc_info (GH-30122)
...
* 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
2021-12-17 14:46:22 +00:00
Julien Palard
62a0a2a25d
Doc: some rst linting. (GH-30149)
2021-12-17 13:55:03 +01:00
Serhiy Storchaka
95a922b3bb
bpo-46111: Fix unittest tests in optimized mode (GH-30163)
2021-12-17 11:10:55 +02:00
Yilei "Dolee" Yang
69ef1b5998
Fix a typo in the message from make_ssl_certs. (GH-30152)
...
The file is utils.py not util.py.
Automerge-Triggered-By: GH:gpshead
2021-12-16 21:08:18 -08:00
Irit Katriel
8d6155ee9d
bpo-45635: Do not suppress errors in functions called from _PyErr_Display (GH-30073)
...
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2021-12-16 23:00:13 +00:00
Jason R. Coombs
04deaee4c8
bpo-44893: Implement EntryPoint as simple class with attributes. (GH-30150)
...
* 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.
2021-12-16 15:49:42 -05:00
Jason R. Coombs
109d966021
bpo-46105: Honor spec when generating requirement specs with urls and extras. (GH-30151)
2021-12-16 15:48:35 -05:00
Matthias Bussonnier
ecdc0ccede
bpo-46044: Annotate deprecated sdists formats (GH-30043)
...
While this page have deprecated informations it is still heavily index
by Google.
Discussed on twitter: https://twitter.com/brettsky/status/1469465729082662916
2021-12-16 11:57:39 -08:00
Mark Shannon
86f42851c0
Better randomization of stats filenames. (GH-30145)
2021-12-16 15:56:01 +00:00
Irit Katriel
30322c497e
bpo-22047: [argparse] deprecate nested argument groups and mutually exclusive groups (GH-30098)
2021-12-16 15:31:08 +00:00
Ken Jin
d6e1374716
bpo-45755: [typing] Reveal class attributes of generic in generic aliases in `dir()` (GH-29962)
2021-12-16 22:29:59 +08:00
Mark Shannon
4506bbede1
bpo-46072: Document --enable-stats option. (GH-30139)
2021-12-16 13:40:54 +00:00
Brandt Bucher
62a8a0c522
bpo-45829: Check `__getitem__`'s version for overflow before specializing (GH-30129)
...
* Check __getitem__'s version for overflow.
* Use SPEC_FAIL_OUT_OF_VERSIONS instead
2021-12-16 11:08:20 +00:00
Vivek Vashist
c5d18a5014
Fix the output of built-in iter() function example in Iterators (Section 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>
2021-12-16 18:40:12 +08:00
Irit Katriel
a951c95a13
bpo-28816: [doc] clarify that zipimport invokes importers only for python files (GH-30060)
2021-12-16 09:12:24 +00:00
AN Long
f62420c3d3
Remove spaces in empty lines (GH-30121)
2021-12-16 01:35:21 +09:00
Mark Shannon
342b93f9f2
bpo-46072: Add --with-pystats configure option to simplify gathering of VM stats (GH-30116)
...
* Simplify specialization stats collection macros.
* Add --enable-pystats option to configure.
* Update specialization summary script to handle larger number of kinds
2021-12-15 15:32:32 +00:00
Mark Shannon
3a60bfef49
bpo-44525: Specialize for calls to type and other builtin classes with 1 argument. (GH-29942)
2021-12-15 15:03:42 +00:00
Vivek Vashist
f025ae63dc
Add Positional only arguments forward slash (/) to sorted() function in Built-in Functions document (GH-30113)
...
sorted() function is missing forward slash (/) in Built-in Functions documentation page.
Automerge-Triggered-By: GH:asvetlov
2021-12-15 03:24:38 -08:00
Mark Shannon
0b50a4f0cd
bpo-46039: Split yield from in two (GH-30035)
...
* Split YIELD_FROM opcode into SEND and JUMP_ABSOLUTE.
* Remove YIELD_FROM opcode.
2021-12-15 10:30:09 +00:00
Irit Katriel
86de99588d
bpo-26952: [argparse] clearer error when formatting an empty mutually… (GH-30099)
2021-12-15 10:08:26 +00:00
Mark Shannon
f54fee7f37
Document new call opcodes for 3.11 (GH-30107)
2021-12-14 23:40:44 +00:00
Mark Shannon
9f8f45144b
bpo-44525: Split calls into PRECALL and CALL (GH-30011)
...
* 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.
2021-12-14 18:22:44 +00:00
Irit Katriel
d60457a667
bpo-45292: [PEP-654] add except* (GH-29581)
2021-12-14 16:48:15 +00:00
Vinay Sajip
850aefc2c6
bpo-46063: Add 'delay=True' to file handler initialization. (GH-30103)
2021-12-14 16:46:07 +00:00
Alex Waygood
1cbb88736c
bpo-46059: Clarify pattern-matching example in "control flow" docs (GH-30079)
...
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>
2021-12-14 23:04:29 +08:00
Christian Heimes
74821b3053
bpo-46023: Skip build if module is marked as DISABLED (GH-30100)
2021-12-14 15:42:46 +01:00
Kumar Aditya
d46d08d947
bpo-23469: Delete Wing IDE configuration files (GH-30067)
2021-12-14 15:01:13 +02:00
Dong-hee Na
9130a4d620
bpo-45919: Remove out of date comment (GH-30090)
2021-12-14 10:31:41 +09:00
Eric Snow
121f1f893a
bpo-45953: Statically initialize the small ints. (gh-30092)
...
The array of small PyLong objects has been statically declared. Here I also statically initialize them. Consequently they are no longer initialized dynamically during runtime init.
I've also moved them under a new sub-struct in _PyRuntimeState, in preparation for static allocation and initialization of other global objects.
https://bugs.python.org/issue45953
2021-12-13 18:04:05 -07:00
Vinay Sajip
cb589d1b6b
bpo-46063: Improve algorithm for computing which rolled-over log file… (GH-30093)
2021-12-14 00:53:37 +00:00
Christian Heimes
eb483c46d6
bpo-45949: Pure Python freeze module for cross builds (GH-29899)
2021-12-13 20:48:46 +01:00
Gareth Rees
a62be77266
bpo-45643: Add signal.SIGSTKFLT on platforms where this is defined (GH-29266)
2021-12-13 18:22:43 +01:00
Dong-hee Na
191c431de7
bpo-45919: Use WinAPI GetFileType() in is_valid_fd() (GH-30082)
2021-12-13 21:57:59 +09:00
Paul Bryan
e09705f58f
Clarify new_event_loop return value. (GH-30078)
2021-12-13 14:39:22 +02:00
AN Long
b56774bd93
bpo-16594: Add allow_reuse_port on socketserver (GH-30072)
...
* bpo-16594: Add allow_reuse_port on socketserver
* 📜 🤖 Added by blurb_it.
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
2021-12-13 14:14:17 +02:00
Irit Katriel
481f3ffdbe
bpo-37602: Clarify that the lib2to3 nonzero fixer changes only definitions (GH-30075)
2021-12-13 10:04:34 +00:00
Serhiy Storchaka
e08c0d8eec
bpo-27718: Fix help for the signal module (GH-30063)
...
Functions signal(), getsignal(), pthread_sigmask(), sigpending(),
sigwait() and valid_signals() were omitted.
If __all__ is not defined all non-builtin functions should have
correct __module__.
2021-12-13 11:21:55 +02:00
Andre Delfino
d0669c5e69
Remove erroneous padding in dataclasses (GH-30076)
...
Automerge-Triggered-By: GH:ericvsmith
2021-12-12 10:05:48 -08:00