Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-38980: Add -fno-semantic-interposition when building with optimizations ↵datetime_backport_test | Pablo Galindo | 2020-10-21 | 1 | -0/+8 |
| | | | | (GH-22862) | ||||
* | bpo-35181: Correct importlib documentation for some module attributes (GH-15190) | Géry Ogam | 2020-10-21 | 2 | -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 ↵ | kpinc | 2020-10-21 | 1 | -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-41959: Fix grammar around class asyncio.MultiLoopChildWatcher text ↵ | Raúl Cumplido | 2020-10-21 | 1 | -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 ↵ | kpinc | 2020-10-21 | 1 | -0/+18 |
| | | | | | | | | | | | | | | | | 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/ | ||||
* | Doc: Fix a typo/error in the docs for cached bytecode (GH-22445) | Zackery Spytz | 2020-10-21 | 1 | -1/+1 |
| | |||||
* | Doc: Do not suggest `s[::-1]` for reversed order (GH-22457) | Andre Delfino | 2020-10-21 | 2 | -7/+1 |
| | |||||
* | Doc: Remove old Python version from future stmt (GH-21802) | Andre Delfino | 2020-10-21 | 1 | -2/+2 |
| | |||||
* | Doc: Do not encourage using a base class name in a derived class (GH-22177) | Andre Delfino | 2020-10-21 | 1 | -6/+6 |
| | |||||
* | bpo-23706: Add newline parameter to pathlib.Path.write_text (GH-22420) ↵ | Максим | 2020-10-20 | 1 | -1/+4 |
| | | | | | | | | | (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-42010: [docs] Clarify subscription of types (GH-22822) | kj | 2020-10-20 | 1 | -2/+13 |
| | |||||
* | bpo-29981: Add examples and update index for set, dict, and generator ↵ | Florian Dahlitz | 2020-10-20 | 3 | -0/+30 |
| | | | | | | 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 Moore | 2020-10-20 | 1 | -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 Delfino | 2020-10-20 | 1 | -3/+3 |
| | | | Automerge-Triggered-By: @merwok | ||||
* | bpo-41192: Add documentation of undocumented audit events (GH-21308) | Saiyang Gou | 2020-10-20 | 5 | -2/+56 |
| | |||||
* | bpo-41192: Clarify the sys module's description of the auditing feature ↵ | Andrew Kuchling | 2020-10-20 | 1 | -10/+25 |
| | | | | | | (GH-22768) Co-authored-by: Éric Araujo <merwok@netwok.org> | ||||
* | bpo-39693: mention KeyError in tarfile extractfile documentation (GH-18639) | Andrey Doroschenko | 2020-10-20 | 1 | -4/+5 |
| | | | Co-authored-by: Andrey Darascheka <andrei.daraschenka@leverx.com> | ||||
* | bpo-30612: Tweak Windows registry path syntax in the docs (GH-20281) | Zackery Spytz | 2020-10-20 | 1 | -3/+3 |
| | |||||
* | Doc: Add missing spaces after period for `posix_spawn` (GH-22730) | Tomer Cohen | 2020-10-20 | 1 | -2/+2 |
| | |||||
* | bpo-42093: Add opcode cache for LOAD_ATTR (GH-22803) | Pablo Galindo | 2020-10-20 | 1 | -0/+3 |
| | |||||
* | bpo-4356: Add key function support to the bisect module (GH-20556) | Raymond Hettinger | 2020-10-19 | 2 | -30/+90 |
| | |||||
* | bpo-41586: Add pipesize parameter to subprocess & F_GETPIPE_SZ and ↵ | Ruben Vorderman | 2020-10-19 | 2 | -1/+14 |
| | | | | | | | | | | | | | | | | | 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-40901: Describe what "interface name" means on Windows (GH-20694) | Jakub Stasiak | 2020-10-19 | 1 | -0/+19 |
| | |||||
* | bpo-41784: make PyUnicode_AsUTF8AndSize part of the limited API (GH-22252) | Alex Gaynor | 2020-10-19 | 2 | -0/+7 |
| | |||||
* | bpo-41217: Fix incorrect note in the asyncio.create_subprocess_shell() docs ↵ | Zackery Spytz | 2020-10-19 | 1 | -4/+2 |
| | | | | | (GH-21360) On Windows, the default asyncio event loop is ProactorEventLoop (as of 3.8). | ||||
* | bpo-41292: Fixes dead link to cx_freeze from Windows FAQ (GH-21463) | Michel Samia | 2020-10-19 | 1 | -1/+1 |
| | |||||
* | Link to the msvcrt module from the Windows FAQ (#22268) | abdo | 2020-10-19 | 1 | -1/+1 |
| | |||||
* | bpo-38320: Clarify that expectedFailure is satisfied by either failure or ↵ | Irit Katriel | 2020-10-19 | 1 | -5/+6 |
| | | | | error of the test. (GH-22740) | ||||
* | bpo-41192: Fix some broken anchors for audit event entries (#21310) | Saiyang Gou | 2020-10-19 | 3 | -4/+3 |
| | |||||
* | bpo-40484: Document compiler flags under AST module (GH-19885) | Batuhan Taskaya | 2020-10-19 | 2 | -20/+46 |
| | | | | Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com> | ||||
* | 3.9 whatsnew: fix bpo issue for AST change (GH-22742) | Shantanu | 2020-10-18 | 1 | -1/+1 |
| | |||||
* | [doc] Add mentions of PEP 613 (TypeAlias) to docs (GH-22733) | Andre Delfino | 2020-10-16 | 1 | -1/+3 |
| | |||||
* | bpo-40341: Remove some "discouraged solutions" in Doc/faq/programming.rst ↵ | Zackery Spytz | 2020-10-16 | 1 | -21/+1 |
| | | | | (GH-22726) | ||||
* | Document that `test.support.bytecode_helper` is new in 3.9 (GH-22618) | Saiyang Gou | 2020-10-15 | 1 | -0/+2 |
| | |||||
* | Minor clarification (GH-22708) | Raymond Hettinger | 2020-10-14 | 1 | -3/+3 |
| | |||||
* | Update timings for the final release (GH-22697) | Raymond Hettinger | 2020-10-14 | 1 | -27/+27 |
| | |||||
* | bpo-39337: encodings.normalize_encoding() now ignores non-ASCII characters ↵ | Hai Shi | 2020-10-14 | 1 | -0/+5 |
| | | | | (GH-22219) | ||||
* | Improve recipe readability (GH-22685) | Raymond Hettinger | 2020-10-13 | 1 | -31/+37 |
| | |||||
* | Add recipe for a version of random() with a larger population (GH-22664) | Raymond Hettinger | 2020-10-13 | 1 | -2/+53 |
| | |||||
* | bpo-41756: Export PyGen_Send and wrap it in if-defs (#22677) | Vladimir Matveev | 2020-10-13 | 1 | -0/+4 |
| | |||||
* | Fix typo in "Context manager types" section in typing.rst (GH-22676) | Saiyang Gou | 2020-10-12 | 1 | -2/+2 |
| | | | | | Fix typo in the "Context manager types" section in `typing.rst`. Automerge-Triggered-By: @gvanrossum | ||||
* | Delete PyGen_Send (#22663) | Vladimir Matveev | 2020-10-12 | 3 | -16/+1 |
| | |||||
* | [doc] Remove mention of async and await as soft keywords (GH-22144) | Andre Delfino | 2020-10-12 | 1 | -4/+5 |
| | |||||
* | Fix .. code-block :: directives in decimal.rst (GH-22571) | Anthony Sottile | 2020-10-11 | 1 | -3/+3 |
| | |||||
* | Fix typo (GH-22582) | Gaurav Kamath | 2020-10-11 | 1 | -1/+1 |
| | | | | | /af/of/s Automerge-Triggered-By: @Mariatta | ||||
* | Fix typo in typing.rst (GH-22625) | abdo | 2020-10-11 | 1 | -1/+1 |
| | |||||
* | Fix incorrect parameter name (GH-22613) | Xie Yanbo | 2020-10-09 | 1 | -1/+1 |
| | | | Automerge-Triggered-By: @Mariatta | ||||
* | bpo-41756: Add PyIter_Send function (#22443) | Vladimir Matveev | 2020-10-09 | 4 | -5/+23 |
| | |||||
* | bpo-41974: Remove complex.__float__, complex.__floordiv__, etc (GH-22593) | Serhiy Storchaka | 2020-10-09 | 1 | -0/+6 |
| | | | | | | Remove complex special methods __int__, __float__, __floordiv__, __mod__, __divmod__, __rfloordiv__, __rmod__ and __rdivmod__ which always raised a TypeError. | ||||
* | bpo-41376: Fix the documentation of `site.getusersitepackages()` (GH-21602) | Phil Elson | 2020-10-08 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | `site.getusersitepackages()` returns the location of the user-specific site-packages directory even when the user-specific site-packages is disabled. ``` $ python -s -m site sys.path = [ '/home/user/conda/lib/python37.zip', '/home/user/conda/lib/python3.7', '/home/user/conda/lib/python3.7/lib-dynload', '/home/user/conda/lib/python3.7/site-packages', ] USER_BASE: '/home/user/.local' (exists) USER_SITE: '/home/user/.local/lib/python3.7/site-packages' (doesn't exist) ENABLE_USER_SITE: False ``` It was not practical to prevent the function from returning None if user-specific site-packages are disabled, since there are other uses of the function which are relying on this behaviour (e.g. `python -m site`). |