Mohamed Koubaa
1d541c25c8
bpo-1635741: Port multiprocessing ext to multiphase init (GH-21378)
...
Port the _multiprocessing extension module to multiphase initialization (PEP 489).
2020-08-11 12:32:35 +02:00
Filipe Laíns
4ce6faa6c9
bpo-16995: add support for base32 extended hex (base32hex) (GH-20441)
...
cc @pganssle
Automerge-Triggered-By: @pganssle
2020-08-10 07:48:20 -07:00
Stefan Krah
39042e00ab
bpo-41324 Add a minimal decimal capsule API ( #21519 )
2020-08-10 16:32:21 +02:00
Terry Jan Reedy
f2e161c279
bpo-41468: Improve and test IDLE run error exit (GH-21798)
...
A message box pops up when an unexpected error stops the run process. Tell users it is likely a random glitch, but report it if not.
2020-08-09 16:08:30 -04:00
Zackery Spytz
e28b8c9387
bpo-35018: Sax parser should provide user access to lexical handlers (GH-20958)
...
Co-Authored-By: Jonathan Gossage <jgossage@gmail.com>
2020-08-09 12:50:53 +02:00
Konge
a4084b9d1e
bpo-41497: Fix potential UnicodeDecodeError in dis CLI (GH-21757)
2020-08-08 12:03:09 +09:00
Victor Stinner
f44693eaed
bpo-41477: Make ctypes optional in test_genericalias (GH-21766)
2020-08-07 17:56:42 +02:00
Zackery Spytz
5463635580
bpo-39871: Fix an error in a news entry (GH-21749)
2020-08-07 14:38:48 +09:00
pxinwr
3405e05428
bpo-41440: add os.cpu_count() support for VxWorks RTOS (GH-21685)
2020-08-07 14:21:52 +09:00
Steve Dower
777b611c8c
bpo-41492: Fixes the description appearing in UAC prompts on Windows (GH-21754)
2020-08-06 17:36:22 +01:00
Batuhan Taskaya
8f4380d2f5
bpo-40726: handle uninitalized end_lineno on ast.increment_lineno (GH-20312)
2020-08-05 14:32:32 +01:00
Hans Petter Jansson
da4e09fff6
bpo-36982: Add support for extended color functions in ncurses 6.1 (GH-17536)
...
Co-authored-by: Jeffrey Kintscher <websurfer@surf2c.net>
2020-08-03 23:51:33 -04:00
Inada Naoki
db6d9a50ce
bpo-41431: Optimize dict_merge for copy (GH-21674)
2020-08-04 11:08:06 +09:00
Victor Stinner
602a971a2a
bpo-41467: Fix asyncio recv_into() on Windows (GH-21720)
...
On Windows, fix asyncio recv_into() return value when the socket/pipe
is closed (BrokenPipeError): return 0 rather than an empty byte
string (b'').
2020-08-04 02:40:10 +02:00
Ankit Chandawala
c36dbac588
bpo-41425: Make tkinter doc example runnable (GH-21706)
...
Co-authored-by: Ankit Chandawala <achandaw@amazon.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2020-08-03 00:03:48 -04:00
Luciano Ramalho
ab72fdeb82
bpo-40979: refactored typing.rst; (mostly) same content, new sub-sections and ordering ( #21574 )
...
Also added PEP 585 deprecation notes.
2020-08-02 15:32:36 -07:00
Raymond Hettinger
5c3270939c
bpo-41421: Algebraic simplification for random.paretovariate() (GH-21695)
2020-08-01 01:18:26 -07:00
Mark Shannon
6e8128f02e
bpo-41323: Perform 'peephole' optimizations directly on the CFG. (GH-21517)
...
* Move 'peephole' optimizations into compile.c and perform them directly on the CFG.
2020-07-30 10:03:00 +01:00
Benjamin Peterson
a74eea238f
closes bpo-38156: Always handle interrupts in PyOS_StdioReadline. (GH-21569)
...
This consolidates the handling of my_fgets return values, so that interrupts are always handled, even if they come after EOF.
I believe PyOS_StdioReadline is still buggy in that I/O errors will not result in a proper Python exception being set. However, that is a separate issue.
2020-07-28 19:57:12 -05:00
Steve Dower
37a06cbe5c
bpo-41412 and bpo-40948: Windows installer updates (GH-21656)
...
Prevent installation on Windows 8 and earlier.
Download UCRT on demand when required (non-updated Windows 8.1 only)
Add reference to py launcher to post-install message
2020-07-28 16:35:46 +01:00
Zackery Spytz
c82dda1e08
bpo-35328: Set VIRTUAL_ENV_PROMPT at venv activation (GH-21587)
...
Co-Authored-By: Baptiste Darthenay <baptiste.darthenay@gmail.com>
2020-07-28 09:41:57 +01:00
amaajemyfren
13efaec2e0
bpo-41045: Document debug feature of f-strings ('=') (GH-21509)
...
Co-Authored-By: Rishi <rishi93dev@gmail.com>
Automerge-Triggered-By: @gvanrossum
2020-07-27 15:31:02 -07:00
pxinwr
855e68855e
bpo-31904: Fix test_ftplib failures for VxWorks RTOS (GH-19447)
2020-07-27 15:17:47 +09:00
wasiher
5798f78777
bpo-41340: Removed fallback implementation for strdup (GH-21634)
2020-07-27 12:28:45 +09:00
Akuli
f1d40f941a
bpo-41384: Raise TclError in tkinter.OptionMenu (GH-21601)
...
... when an unknown option is passed. TypeError was being raised because a 2to3 fix was missing.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2020-07-26 21:48:17 -04:00
YoSTEALTH
0028c14073
bpo-41314: fixed annotations __future__ version (GH-21616)
...
PEP 563 was updated to change the release where `from __future__ import annotations` becomes the default (and only) behavior from 4.0 to 3.10. Update `__future__.py` and its docs to reflect this.
2020-07-25 14:42:49 -07:00
Gregory Schevchenko
daff39070e
bpo-38731: Add --quiet option to py_compile CLI (GH-17134)
2020-07-25 22:58:45 +03:00
Serhiy Storchaka
0dd463c8a4
bpo-41373: IDLE: Fix saving files loaded with no newlines or mixed newlines (GH-21597)
...
Fixes regression in 3.8.4 and 3.9.0b4.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2020-07-24 23:21:30 -04:00
Alex Grönholm
0dd98c2d00
bpo-41317: Remove reader on cancellation in asyncio.loop.sock_accept() ( #21595 )
2020-07-23 12:45:08 -07:00
Zackery Spytz
592527f3ee
bpo-4630: Fix errors in Lib/idlelib/NEWS.txt (GH-21594)
...
Also one in news log.
2020-07-23 02:06:26 -04:00
Abhijeet Kasurde
bcd47837a9
bpo-41182 selector: use DefaultSelector based upon implementation (GH-21257)
...
On some platform such as VMware ESXi, DefaultSelector fails
to detect selector due to default value.
This fix adds a check and uses the correct selector depending upon
select implementation and actual call.
Fixes: [bpo-41182]()
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-07-22 20:13:37 -07:00
wyfo
653f420b53
bpo-41341: Recursive evaluation of ForwardRef in get_type_hints ( #21553 )
...
The issue raised by recursive evaluation is infinite recursion with
recursive types. In that case, only the first recursive ForwardRef is
evaluated.
2020-07-22 12:47:28 -07:00
Steve Dower
bf2f76ec09
bpo-41364: Reduce import overhead of uuid module (GH-21586)
2020-07-22 00:15:47 +01:00
Steve Dower
84761c3cc4
bpo-40741: Update Windows build to include SQLite 3.32.3 (GH-21570)
2020-07-21 00:09:41 +01:00
Serhiy Storchaka
5a2bac7fe0
bpo-41342: Convert int.__round__ to Argument Clinic (GH-21549)
2020-07-20 15:57:37 +03:00
Serhiy Storchaka
12f433411b
bpo-41334: Convert constructors of str, bytes and bytearray to Argument Clinic (GH-21535)
2020-07-20 15:53:55 +03:00
Vinay Sharma
d42528a3a2
bpo-37703: improve asyncio.gather documentation regarding cancellation (GH-15312)
...
These changes updates the doc to comprehensively mention the behaviour of gather.cancel()
Automerge-Triggered-By: @asvetlov
2020-07-20 01:42:57 -07:00
Erlend Egeberg Aasland
7cf1cb36ec
bpo-40741: Update macOS installer to use SQLite 3.32.3 (GH-20979)
2020-07-20 02:19:18 -04:00
Vinay Sharma
bfd0fbdc13
bpo-38169: Increase code coverage for SharedMemory and ShareableList (GH-16139)
2020-07-19 22:35:52 +09:00
Serhiy Storchaka
6bf3237379
bpo-41333: Convert OrderedDict.pop() to Argument Clinic (GH-21534)
2020-07-19 09:18:55 +03:00
scoder
c53b310e59
bpo-41295: Reimplement the Carlo Verre "hackcheck" (GH-21528)
...
Walk down the MRO backwards to find the type that originally defined the final `tp_setattro`, then make sure we are not jumping over intermediate C-level bases with the Python-level call.
Automerge-Triggered-By: @gvanrossum
2020-07-18 14:19:50 -07:00
AMIR
8ca8a2e8fb
bpo-39603: Prevent header injection in http methods (GH-18485)
...
reject control chars in http method in http.client.putrequest to prevent http header injection
2020-07-18 13:16:10 -07:00
Steve Dower
164b04c47e
bpo-43104: Update NEWS to include CVE-2020-15801 reference (GH-21521)
2020-07-17 17:44:27 +01:00
matthewhughes934
8e836bb21c
bpo-41195: Add getter for Openssl security level (GH-21282)
...
Add an accessor under SSLContext.security_level as a wrapper around
SSL_CTX_get_security_level, see:
https://www.openssl.org/docs/manmaster/man3/SSL_CTX_get_security_level.html
------
This is my first time contributing, so please pull me up on all the things I missed or did incorrectly.
Automerge-Triggered-By: @tiran
2020-07-17 01:59:15 -07:00
Terry Jan Reedy
38d3864efe
bpo-41300: IDLE - save files with non-ascii chars (GH-21512)
...
Fix regression released in 3.9.0b4 and 3.8.4.
2020-07-16 18:24:49 -04:00
Berker Peksag
e34bbfd61f
bpo-31844: Remove _markupbase.ParserBase.error() (GH-8562)
2020-07-16 09:13:05 +03:00
Steve Dower
936a660945
bpo-41304: Ensure python3x._pth is loaded on Windows (GH-21495)
2020-07-15 22:56:49 +01:00
Rishi
5a8d121a1f
bpo-39017: Avoid infinite loop in the tarfile module (GH-21454)
...
Avoid infinite loop when reading specially crafted TAR files using the tarfile module
(CVE-2019-20907).
2020-07-15 13:51:00 +02:00
Tony Solomonik
568fb0ff4a
bpo-41273: asyncio's proactor read transport's better performance by using recv_into instead of recv ( #21442 )
...
* bpo-41273: Proactor transport read loop to use recv_into
By using recv_into instead of recv we do not allocate a new buffer each
time _loop_reading calls recv.
This betters performance for any stream using proactor (basically any
asyncio stream on windows).
* bpo-41273: Double proactor read transport buffer size
By doubling the read buffer size we get better performance.
2020-07-14 12:41:24 -07:00
Serhiy Storchaka
4f309abf55
bpo-41288: Fix a crash in unpickling invalid NEWOBJ_EX. (GH-21458)
...
Automerge-Triggered-By: @tiran
2020-07-13 05:49:26 -07:00