summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Delete TaskWakeupMethWrapper_Type and use PyCFunction instead (#22875)Vladimir Matveev2020-10-221-94/+8
|
* bpo-41910: specify the default implementations of object.__eq__ and ↵Brett Cannon2020-10-212-6/+9
| | | | | | | object.__ne__ (GH-22874) See Objects/typeobject.c:object_richcompare() for the implementation of this in CPython. Automerge-Triggered-By: GH:brettcannon
* bpo-38980: Add -fno-semantic-interposition when building with optimizations ↵Pablo Galindo2020-10-214-0/+27
| | | | (GH-22862)
* bpo-35181: Correct importlib documentation for some module attributes (GH-15190)Géry Ogam2020-10-212-21/+11
| | | | | | | | | | | | | | | @ericsnowcurrently This PR will change the following: In the library documentation importlib.rst: - `module.__package__` can be `module.__name__` for packages; - `spec.parent` can be `spec.__name__` for packages; - `spec.loader` is not `None` for namespaces packages. In the language documentation import.rst: - `spec.loader` is not `None` for namespace packages. Automerge-Triggered-By: GH:warsaw
* Fix bpo-39416: Change "Numeric" to lower case; an english word, not a class ↵kpinc2020-10-211-1/+1
| | | | | | | | | | | | | | name (GH-22867) This is a trivial fix to [bpo-39416](), which didn't come up until it was already committed ``` Change "Numeric" to "numeric". I believe this is trivial enough to not need an issue or a NEWS entry, although I'm unclear on what branches the original pull request received backports. ``` Automerge-Triggered-By: GH:merwok
* bpo-41746: Cast to typed seqs in CHECK macros to avoid type erasure (GH-22864)Lysandros Nikolaou2020-10-213-79/+98
|
* bpo-41959: Fix grammar around class asyncio.MultiLoopChildWatcher text ↵Raúl Cumplido2020-10-211-1/+1
| | | | | (GH-22580) While translating the following document to Spanish we found there is a grammar issue on the original documentation.
* bpo-39416: Document some restrictions on the default string representations ↵kpinc2020-10-212-0/+19
| | | | | | | | | | | | | | | | of numeric classes (GH-18111) [bpo-39416](): Document string representations of the Numeric classes This is a change to the specification of the Python language. The idea here is to put sane minimal limits on the Python language's default representations of its Numeric classes. That way "Marty's Robotic Massage Parlor and Python Interpreter" implementation of Python won't do anything too crazy. Some discussion in the email thread: Subject: Documenting Python's float.__str__() https://mail.python.org/archives/list/python-dev@python.org/thread/FV22TKT3S2Q3P7PNN6MCXI6IX3HRRNAL/
* bpo-41747: Ensure all dataclass methods uses their parents' qualname (GH-22155)Batuhan Taskaya2020-10-213-2/+36
| | | | | * bpo-41747: Ensure all dataclass methods uses their parents' qualname Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Update tzdata to 2020.3 (GH-22856)Paul Ganssle2020-10-211-1/+1
| | | TBH I had forgotten that we pin this 😅, and it's been updated quite a few times since we added this.
* Doc: Fix a typo/error in the docs for cached bytecode (GH-22445)Zackery Spytz2020-10-211-1/+1
|
* Doc: Do not suggest `s[::-1]` for reversed order (GH-22457)Andre Delfino2020-10-212-7/+1
|
* Doc: Remove old Python version from future stmt (GH-21802)Andre Delfino2020-10-211-2/+2
|
* Doc: Do not encourage using a base class name in a derived class (GH-22177)Andre Delfino2020-10-211-6/+6
|
* bpo-41902: Micro optimization for range.index if step is 1 (GH-22479)Dong-hee Na2020-10-212-5/+12
|
* bpo-23706: Add newline parameter to pathlib.Path.write_text (GH-22420) ↵Максим2020-10-214-3/+27
| | | | | | | | | (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
* bpo-41902: Micro optimization for compute_item of range (GH-22492)Dong-hee Na2020-10-212-5/+14
|
* Update idlelib/help.html to current Sphinx output (GH-22833)Terry Jan Reedy2020-10-211-33/+37
| | | idle.rst is unchanged
* bpo-41586: Attempt to make the pipesize tests more robust. (GH-22839)Gregory P. Smith2020-10-212-43/+71
| | | | Several buildbots are failing on these, likely due to an inability to set the pipe size to the desired test value.
* bpo-42010: [docs] Clarify subscription of types (GH-22822)kj2020-10-202-2/+17
|
* bpo-29981: Add examples and update index for set, dict, and generator ↵Florian Dahlitz2020-10-204-0/+31
| | | | | | comprehensions'(GH-20272) Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr>
* bpo-42041: Clarify how subprocess searches for the executable (GH-22715)Paul Moore2020-10-201-2/+21
| | | 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.
* Minor tweaks to typing union objects doc (GH-22741)Andre Delfino2020-10-201-3/+3
| | | Automerge-Triggered-By: @merwok
* bpo-41192: Add documentation of undocumented audit events (GH-21308)Saiyang Gou2020-10-205-2/+56
|
* bpo-38144: Re-add accidentally removed audition for glob. (GH-22805)Serhiy Storchaka2020-10-201-0/+1
|
* bpo-38439: Update the Windows Store package's icons for IDLE. Artwork by ↵Steve Dower2020-10-204-2/+8
| | | | Andrew Clover (GH-22817)
* bpo-41192: Clarify the sys module's description of the auditing feature ↵Andrew Kuchling2020-10-201-10/+25
| | | | | | (GH-22768) Co-authored-by: Éric Araujo <merwok@netwok.org>
* bpo-39693: mention KeyError in tarfile extractfile documentation (GH-18639)Andrey Doroschenko2020-10-204-7/+11
| | | Co-authored-by: Andrey Darascheka <andrei.daraschenka@leverx.com>
* bpo-38439: Add 256px IDLE icon to the .ico, drop gifs from it (GH-19648)Miro Hrončok2020-10-203-0/+6
|
* bpo-30612: Tweak Windows registry path syntax in the docs (GH-20281)Zackery Spytz2020-10-201-3/+3
|
* bpo-38324: Fix test__locale.py Windows failures (GH-20529)TIGirardi2020-10-204-5/+40
| | | | Use wide-char _W_* fields of lconv structure on Windows Remove "ps_AF" from test__locale.known_numerics on Windows
* md5module: Fix doc strings variable names (GH-22722)Jakub Jelen2020-10-201-3/+3
|
* Doc: Add missing spaces after period for `posix_spawn` (GH-22730)Tomer Cohen2020-10-201-2/+2
|
* bpo-41491: plistlib: accept hexadecimal integer values in xml plist files ↵Ronald Oussoren2020-10-203-1/+19
| | | | (GH-22764)
* bpo-42093: Add opcode cache for LOAD_ATTR (GH-22803)Pablo Galindo2020-10-207-7/+296
|
* bpo-4356: Add key function support to the bisect module (GH-20556)Raymond Hettinger2020-10-207-93/+333
|
* bpo-38912: fix close before connect callback in test_asyncio SSL tests ↵Justin Turner Arthur2020-10-202-0/+3
| | | | | (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.
* bpo-41586: Add pipesize parameter to subprocess & F_GETPIPE_SZ and ↵Ruben Vorderman2020-10-198-3/+102
| | | | | | | | | | | | | | | | | 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.
* bpo-27321 Fix email.generator.py to not replace a non-existent header. ↵Mark Sapiro2020-10-193-1/+42
| | | | | | | | | | | (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
* bpo-41845: Move PyObject_GenericGetDict() back into the limited API (GH22646)Zackery Spytz2020-10-194-1/+6
| | | | It was moved out of the limited API in 7d95e4072169911b228c9e42367afb5f17fd3db0. This change re-enables it from 3.10, to avoid generating invalid extension modules for earlier versions.
* bpo-40901: Describe what "interface name" means on Windows (GH-20694)Jakub Stasiak2020-10-191-0/+19
|
* bpo-41784: make PyUnicode_AsUTF8AndSize part of the limited API (GH-22252)Alex Gaynor2020-10-196-20/+26
|
* bpo-41217: Fix incorrect note in the asyncio.create_subprocess_shell() docs ↵Zackery Spytz2020-10-191-4/+2
| | | | | (GH-21360) On Windows, the default asyncio event loop is ProactorEventLoop (as of 3.8).
* bpo-16396: Allow wintypes to be imported on non-Windows systems. (GH-21394)Jason R. Coombs2020-10-193-6/+12
| | | Co-authored-by: Christian Heimes <christian@python.org>
* bpo-41292: Fixes dead link to cx_freeze from Windows FAQ (GH-21463)Michel Samia2020-10-191-1/+1
|
* Link to the msvcrt module from the Windows FAQ (#22268)abdo2020-10-191-1/+1
|
* bpo-38320: Clarify that expectedFailure is satisfied by either failure or ↵Irit Katriel2020-10-191-5/+6
| | | | error of the test. (GH-22740)
* bpo-42089: Sync with current cpython branch of importlib_metadata (GH-22775)Barry Warsaw2020-10-194-6/+26
| | | | | ~~The only differences are in the test files.~~ Automerge-Triggered-By: @jaraco
* bpo-42084: Language aware diff headers (GH-22776)Raymond Hettinger2020-10-191-0/+10
|
* bpo-41471: Ignore invalid prefix lengths in system proxy settings on macOS ↵Ronald Oussoren2020-10-193-0/+18
| | | | (GH-22762)