Paul Ganssle
9a1ad2cf02
Update tzdata to 2020.3 (GH-22856)
...
TBH I had forgotten that we pin this 😅 , and it's been updated quite a few times since we added this.
2020-10-21 06:40:43 -07:00
Zackery Spytz
cb115e36e1
Doc: Fix a typo/error in the docs for cached bytecode (GH-22445)
2020-10-21 17:36:03 +09:00
Andre Delfino
fb2e94692e
Doc: Do not suggest `s[::-1]` for reversed order (GH-22457)
2020-10-21 17:25:07 +09:00
Andre Delfino
eba109a28f
Doc: Remove old Python version from future stmt (GH-21802)
2020-10-21 14:45:13 +09:00
Andre Delfino
4642ccd1c3
Doc: Do not encourage using a base class name in a derived class (GH-22177)
2020-10-21 14:25:05 +09:00
Dong-hee Na
c0f22fb8b3
bpo-41902: Micro optimization for range.index if step is 1 (GH-22479)
2020-10-21 11:29:56 +09:00
Максим
5f22741340
bpo-23706: Add newline parameter to pathlib.Path.write_text (GH-22420) (GH-22420)
...
* Add _newline_ parameter to `pathlib.Path.write_text()`
* Update documentation of `pathlib.Path.write_text()`
* Add test case for `pathlib.Path.write_text()` calls with _newline_ parameter passed
Automerge-Triggered-By: GH:methane
2020-10-20 19:08:19 -07:00
Dong-hee Na
25492a5b59
bpo-41902: Micro optimization for compute_item of range (GH-22492)
2020-10-21 10:29:14 +09:00
Terry Jan Reedy
a460d45063
Update idlelib/help.html to current Sphinx output (GH-22833)
...
idle.rst is unchanged
2020-10-20 20:56:01 -04:00
Gregory P. Smith
786addd9d0
bpo-41586: Attempt to make the pipesize tests more robust. (GH-22839)
...
Several buildbots are failing on these, likely due to an inability to
set the pipe size to the desired test value.
2020-10-20 17:37:20 -07:00
kj
7cdf30fff3
bpo-42010: [docs] Clarify subscription of types (GH-22822)
2020-10-20 16:38:08 -07:00
Florian Dahlitz
2d55aa9e37
bpo-29981: Add examples and update index for set, dict, and generator comprehensions'(GH-20272)
...
Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr>
2020-10-20 17:27:07 -04:00
Paul Moore
5ab27cc518
bpo-42041: Clarify how subprocess searches for the executable (GH-22715)
...
Clarify in the subprocess documentation how searching for the executable to run works, noting that ``sys.executable`` is the recommended way to find the current interpreter.
2020-10-20 21:02:24 +01:00
Andre Delfino
3393624b6d
Minor tweaks to typing union objects doc (GH-22741)
...
Automerge-Triggered-By: @merwok
2020-10-20 13:00:56 -07:00
Saiyang Gou
3f7e990fd4
bpo-41192: Add documentation of undocumented audit events (GH-21308)
2020-10-20 15:23:15 -04:00
Serhiy Storchaka
1d3469988e
bpo-38144: Re-add accidentally removed audition for glob. (GH-22805)
2020-10-20 19:45:38 +03:00
Steve Dower
6d883fbe14
bpo-38439: Update the Windows Store package's icons for IDLE. Artwork by Andrew Clover (GH-22817)
2020-10-20 15:54:13 +01:00
Andrew Kuchling
0c37269be7
bpo-41192: Clarify the sys module's description of the auditing feature (GH-22768)
...
Co-authored-by: Éric Araujo <merwok@netwok.org>
2020-10-20 10:41:02 -04:00
Andrey Doroschenko
ec42789e6e
bpo-39693: mention KeyError in tarfile extractfile documentation (GH-18639)
...
Co-authored-by: Andrey Darascheka <andrei.daraschenka@leverx.com>
2020-10-20 10:05:01 -04:00
Miro Hrončok
faddc7449d
bpo-38439: Add 256px IDLE icon to the .ico, drop gifs from it (GH-19648)
2020-10-20 13:21:08 +01:00
Zackery Spytz
ff1ae3dd33
bpo-30612: Tweak Windows registry path syntax in the docs (GH-20281)
2020-10-20 13:01:12 +01:00
TIGirardi
f2312037e3
bpo-38324: Fix test__locale.py Windows failures (GH-20529)
...
Use wide-char _W_* fields of lconv structure on Windows
Remove "ps_AF" from test__locale.known_numerics on Windows
2020-10-20 12:39:52 +01:00
Jakub Jelen
d5d0521270
md5module: Fix doc strings variable names (GH-22722)
2020-10-20 18:10:43 +09:00
Tomer Cohen
5b57fa6940
Doc: Add missing spaces after period for `posix_spawn` (GH-22730)
2020-10-20 18:08:58 +09:00
Ronald Oussoren
3185267400
bpo-41491: plistlib: accept hexadecimal integer values in xml plist files (GH-22764)
2020-10-20 09:26:33 +02:00
Pablo Galindo
109826c850
bpo-42093: Add opcode cache for LOAD_ATTR (GH-22803)
2020-10-20 06:22:44 +01:00
Raymond Hettinger
871934d4cf
bpo-4356: Add key function support to the bisect module (GH-20556)
2020-10-19 22:04:01 -07:00
Justin Turner Arthur
de73d432bb
bpo-38912: fix close before connect callback in test_asyncio SSL tests (GH-22691)
...
Reduces the rate at which the ENV CHANGED failure occurs in test_asyncio SSL tests (due to unclosed transport), but does not 100% resolve it.
2020-10-19 21:18:57 -04:00
Ruben Vorderman
23c0fb8edd
bpo-41586: Add pipesize parameter to subprocess & F_GETPIPE_SZ and F_SETPIPE_SZ to fcntl. (GH-21921)
...
* Add F_SETPIPE_SZ and F_GETPIPE_SZ to fcntl module
* Add pipesize parameter for subprocess.Popen class
This will allow the user to control the size of the pipes.
On linux the default is 64K. When a pipe is full it blocks for writing.
When a pipe is empty it blocks for reading. On processes that are
very fast this can lead to a lot of wasted CPU cycles. On a typical
Linux system the max pipe size is 1024K which is much better.
For high performance-oriented libraries such as xopen it is nice to
be able to set the pipe size.
The workaround without this feature is to use my_popen_process.stdout.fileno() in
conjuction with fcntl and 1031 (value of F_SETPIPE_SZ) to acquire this behavior.
2020-10-19 16:30:02 -07:00
Mark Sapiro
bf838227c3
bpo-27321 Fix email.generator.py to not replace a non-existent header. (GH-18074)
...
This PR replaces #1977 . The reason for the replacement is two-fold.
The fix itself is different is that if the CTE header doesn't exist in the original message, it is inserted. This is important because the new CTE could be quoted-printable whereas the original is implicit 8bit.
Also the tests are different. The test_nonascii_as_string_without_cte test in #1977 doesn't actually test the issue in that it passes without the fix. The test_nonascii_as_string_without_content_type_and_cte test is improved here, and even though it doesn't fail without the fix, it is included for completeness.
Automerge-Triggered-By: @warsaw
2020-10-19 15:49:19 -07:00
Zackery Spytz
1438c2ac77
bpo-41845: Move PyObject_GenericGetDict() back into the limited API (GH22646)
...
It was moved out of the limited API in 7d95e40721
.
This change re-enables it from 3.10, to avoid generating invalid extension modules for earlier versions.
2020-10-19 23:47:37 +01:00
Jakub Stasiak
f85658a098
bpo-40901: Describe what "interface name" means on Windows (GH-20694)
2020-10-19 23:30:58 +01:00
Alex Gaynor
3a8fdb2879
bpo-41784: make PyUnicode_AsUTF8AndSize part of the limited API (GH-22252)
2020-10-19 23:17:50 +01:00
Zackery Spytz
4dfb190a33
bpo-41217: Fix incorrect note in the asyncio.create_subprocess_shell() docs (GH-21360)
...
On Windows, the default asyncio event loop is ProactorEventLoop (as of 3.8).
2020-10-19 23:08:34 +01:00
Jason R. Coombs
5456e78f45
bpo-16396: Allow wintypes to be imported on non-Windows systems. (GH-21394)
...
Co-authored-by: Christian Heimes <christian@python.org>
2020-10-19 23:06:05 +01:00
Michel Samia
33242a9328
bpo-41292: Fixes dead link to cx_freeze from Windows FAQ (GH-21463)
2020-10-19 23:02:43 +01:00
abdo
5d9e657517
Link to the msvcrt module from the Windows FAQ ( #22268 )
2020-10-19 22:46:21 +01:00
Irit Katriel
fa8748271a
bpo-38320: Clarify that expectedFailure is satisfied by either failure or error of the test. (GH-22740)
2020-10-19 22:27:16 +01:00
Barry Warsaw
96ddc58281
bpo-42089: Sync with current cpython branch of importlib_metadata (GH-22775)
...
~~The only differences are in the test files.~~
Automerge-Triggered-By: @jaraco
2020-10-19 14:14:21 -07:00
Raymond Hettinger
95ad890a7b
bpo-42084: Language aware diff headers (GH-22776)
2020-10-19 12:13:01 -07:00
Ronald Oussoren
93a1ccabde
bpo-41471: Ignore invalid prefix lengths in system proxy settings on macOS (GH-22762)
2020-10-19 20:16:21 +02:00
Ronald Oussoren
05ee790f4d
bpo-42051: Reject XML entity declarations in plist files ( #22760 )
2020-10-19 20:13:49 +02:00
Steve Dower
985f0ab3ad
bpo-39107: Updated Tcl and Tk to 8.6.10 in Windows installer (GH-22405)
2020-10-19 16:55:10 +01:00
Saiyang Gou
ebc8c38287
bpo-41192: Fix some broken anchors for audit event entries ( #21310 )
2020-10-19 10:52:42 -04:00
Mark Shannon
b580ed1d9d
Correct name of bytecode in change note. (GH-22723)
2020-10-19 13:20:33 +01:00
Bar Harel
5368c2b6e2
bpo-19270: Fixed sched.scheduler.cancel to cancel correct event (GH-22729)
2020-10-19 10:33:43 +03:00
Batuhan Taskaya
155938907c
bpo-40484: Document compiler flags under AST module (GH-19885)
...
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com>
2020-10-19 02:14:11 +01:00
Anthony Sottile
3c0ac18504
bpo-40492: Fix --outfile with relative path when the program changes it working dir (GH-19910)
2020-10-18 23:48:31 +03:00
Irit Katriel
b81c833ab5
bpo-28660: Make TextWrapper break long words on hyphens (GH-22721)
2020-10-18 20:01:15 +03:00
Shantanu
67f04878de
3.9 whatsnew: fix bpo issue for AST change (GH-22742)
2020-10-18 18:39:26 +03:00