summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* bpo-37194: Complete PyObject_CallXXX() docs (GH-14156)Victor Stinner2019-06-171-8/+16
| | | | Mention explicitly that PyObject_CallXXX() functions raise an exception an failure.
* bpo-37194: Add a new public PyObject_CallNoArgs() function (GH-13890)Victor Stinner2019-06-172-0/+12
| | | | | | | | | | | | | | | Add a new public PyObject_CallNoArgs() function to the C API: call a callable Python object without any arguments. It is the most efficient way to call a callback without any argument. On x86-64, for example, PyObject_CallFunctionObjArgs(func, NULL) allocates 960 bytes on the stack per call, whereas PyObject_CallNoArgs(func) only allocates 624 bytes per call. It is excluded from stable ABI 3.8. Replace private _PyObject_CallNoArg() with public PyObject_CallNoArgs() in C extensions: _asyncio, _datetime, _elementtree, _pickle, _tkinter and readline.
* bpo-37312: Remove _dummy_thread and dummy_threading modules (GH-14143)Victor Stinner2019-06-174-44/+3
| | | | Remove _dummy_thread and dummy_threading modules. These modules were deprecated since Python 3.7 which requires threading support.
* bpo-28805: document METH_FASTCALL (GH-14079)Jeroen Demeyer2019-06-161-12/+51
|
* Doc: Remove an ugly space before a dot. (GH-14123)Julien Palard2019-06-161-1/+1
|
* Doc: Deprecation header: More precise wording. (GH-14109)Julien Palard2019-06-151-1/+1
|
* Update link in colorsys docs to be https (GH-14062)Alex Gaynor2019-06-151-1/+1
|
* Doc: Bump Sphinx verison. (#13785)Julien Palard2019-06-151-1/+1
| | | To reflect the one we're using in production.
* Update weakref.rst (GH-14098)Géry Ogam2019-06-151-5/+6
|
* bpo-36707: Document "m" removal from sys.abiflags (GH-14090)Victor Stinner2019-06-152-0/+20
|
* Document C API changes in What's New in Python 3.8 (GH-14092)Victor Stinner2019-06-141-0/+27
|
* bpo-37266: Daemon threads are now denied in subinterpreters (GH-14049)Victor Stinner2019-06-142-0/+16
| | | | | | | | | | | | In a subinterpreter, spawning a daemon thread now raises an exception. Daemon threads were never supported in subinterpreters. Previously, the subinterpreter finalization crashed with a Pyton fatal error if a daemon thread was still running. * Add _thread._is_main_interpreter() * threading.Thread.start() now raises RuntimeError if the thread is a daemon thread and the method is called from a subinterpreter. * The _thread module now uses Argument Clinic for the new function. * Use textwrap.dedent() in test_threading.SubinterpThreadingTests
* bpo-37261: Document sys.unraisablehook corner cases (GH-14059)Victor Stinner2019-06-143-10/+22
| | | | | | | | | | | Document reference cycle and resurrected objects issues in sys.unraisablehook() and threading.excepthook() documentation. Fix test.support.catch_unraisable_exception(): __exit__() no longer ignores unraisable exceptions. Fix test_io test_writer_close_error_on_close(): use a second catch_unraisable_exception() to catch the BufferedWriter unraisable exception.
* Implement Windows release builds in Azure Pipelines (GH-14065)Steve Dower2019-06-141-1/+1
|
* Update concurrent.futures.rst (GH-14061)Géry Ogam2019-06-141-6/+8
| | | | | | This PR adds missing details in the [`concurrent.futures`](https://docs.python.org/3/library/concurrent.futures.html) documentation: * the mention that `Future.cancel` also returns `False` if the call finished running; * the mention of the states for `Future` that did not complete: pending or running.
* bpo-37077: Add native thread ID (TID) for AIX (GH-13624)Michael Felt2019-06-132-2/+2
| | | | | | | This is the followup for issue36084 https://bugs.python.org/issue37077
* bpo-6689: os.path.commonpath raises ValueError for different drives isn't ↵Makdon2019-06-131-3/+4
| | | | | | | | | | | | | documented (GH-14045) It would raise ValueError("Paths don't have the same drive") if the paths on different drivers, which is not documented. os.path.commonpath raises ValueError when the *paths* are in different drivers, but it is not documented. Update the document according @Windsooon 's suggestion. It actually raise ValueError according line 355 of [test of path](https://github.com/python/cpython/blob/master/Lib/test/test_ntpath.py) https://bugs.python.org/issue6689
* bpo-37261: Fix support.catch_unraisable_exception() (GH-14052)Victor Stinner2019-06-131-0/+12
| | | | | The __exit__() method of test.support.catch_unraisable_exception context manager now ignores unraisable exception raised when clearing self.unraisable attribute.
* bpo-37216: update version to 3.9 in mac using document (GH-13966)Makdon2019-06-131-2/+2
|
* Add 3.9 whatsnew file (GH-14040)Ned Deily2019-06-132-0/+116
|
* bpo-37253: Fix typo in PyCompilerFlags doc (GH-14036)Victor Stinner2019-06-131-1/+1
| | | Remove ";" to fix Sphinx formatting.
* bpo-37253: Document PyCompilerFlags.cf_feature_version (GH-14019)Victor Stinner2019-06-132-4/+20
| | | | | * Update PyCompilerFlags structure documentation. * Document the new cf_feature_version field in the Changes in the C API section of the What's New in Python 3.8 doc.
* bpo-37160: Thread native ID NetBSD support (GH-13835)David Carlier2019-06-122-2/+2
|
* bpo-32625: Updated documentation for EXTENDED_ARG. (GH-13985)Yao Zuo2019-06-121-4/+4
| | | Python 3.6 changed the size of bytecode instruction, while the documentation for `EXTENDED_ARG` was not updated accordingly.
* bpo-35766: Change format for feature_version to (major, minor) (GH-13992)Guido van Rossum2019-06-122-9/+10
| | | | | | | (A single int is still allowed, but undocumented.) https://bugs.python.org/issue35766
* bpo-35766: What's new in the ast and typing modules (#13984)Guido van Rossum2019-06-111-0/+46
|
* Do not use explicit inheritance from object in the documentation. (GH-13936)Serhiy Storchaka2019-06-103-14/+14
|
* bpo-36785: PEP 574 What's New entry (#13931)Antoine Pitrou2019-06-091-1/+17
|
* Add some placeholder notes for major 3.8 features (GH-13927)Nick Coghlan2019-06-091-0/+7
|
* bpo-37178: Allow a one argument form of math.perm() (GH-13905)Raymond Hettinger2019-06-081-1/+4
|
* bpo-37134: Add PEP570 notation to the signature of byte{array}.translate ↵Pablo Galindo2019-06-061-2/+2
| | | | (GH-13874)
* bpo-37170: Fix the cast on error in PyLong_AsUnsignedLongLongMask() (GH-13860)Zackery Spytz2019-06-061-2/+4
|
* Add importlib.metadata to what's new. (#13855)Barry Warsaw2019-06-061-1/+4
|
* bpo-37134: Use PEP570 syntax for sum() (GH-13851)Pablo Galindo2019-06-051-3/+3
|
* bpo-35551: encodings update (GH-11446)Ashwin Ramaswami2019-06-051-1/+2
|
* bpo-37134: Add PEP570 notation to the documentation (GH-13743)Pablo Galindo2019-06-052-3/+3
|
* bpo-33725, multiprocessing doc: rephase warning against fork on macOS (GH-13841)Victor Stinner2019-06-051-2/+3
| | | Co-Authored-By: Barry Warsaw <barry@python.org>
* [3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620)Serhiy Storchaka2019-06-058-9/+9
| | | Turn deprecation warnings added in 3.8 into TypeError.
* bpo-26836: Document os.memfd_create() name parameter (GH-13838)Victor Stinner2019-06-051-0/+7
| | | https://bugs.python.org/issue26836
* Fix documentation (GH-13721)Benjamin Yeh2019-06-051-0/+4
| | | Based on the source code https://github.com/python/cpython/blob/4a686504eb2bbf69adf78077458508a7ba131667/Lib/multiprocessing/pool.py#L755 AsyncResult.successful() raises a ValueError, not an AssertionError.
* Doc: Python 3.9 in sidebar and version switcher. (GH-13824)Julien Palard2019-06-042-2/+4
|
* Bump to 3.9.0a0Łukasz Langa2019-06-044-7/+7
|
* Merge tag 'v3.8.0b1'Łukasz Langa2019-06-041-1/+1
|\ | | | | | | Python 3.8.0b1
| * Python 3.8.0b1v3.8.0b1Łukasz Langa2019-06-041-1/+1
| |
* | bpo-35047: Update whatsnew/3.8 for better mock error message (GH-13746)Petter Strandmark2019-06-041-0/+3
| |
* | bpo-35805: Add parser for Message-ID email header. (GH-13397)Abhilash Raj2019-06-041-13/+20
|/ | | | | | | | | | | | | * bpo-35805: Add parser for Message-ID header. This parser is based on the definition of Identification Fields from RFC 5322 Sec 3.6.4. This should also prevent folding of Message-ID header using RFC 2047 encoded words and hence fix bpo-35805. * Prevent folding of non-ascii message-id headers. * Add fold method to MsgID token to prevent folding.
* bpo-30699: Improve example on datetime tzinfo instances (GH-4290)Mario Corchero2019-06-041-51/+60
| | | | | | | | | | | | | | | | | | | * Improve example on tzinfo instances Move from GMTX to TZX when naming the classes, as GMT1 might be rather confusing as seen in the reported issue. In addition, move to UTC over GMT and improve the tzname implementation. * Simplify datetime with tzinfo example Move the example in the documentation to just use timezone.utc and a user defined Kabul timezone rather than having two user defined timezones with DST. Kabul timezone is still interesting as it changes its offset but not based on DST. This is more accurate as the previous example was missing information about the fold attribute. Additionally, implementing the fold attribute was rather complex and probably not relevant enough for the section "datetime with tzinfo".
* Revert "bpo-34037, asyncio: add BaseEventLoop.wait_executor_on_close ↵Łukasz Langa2019-06-041-8/+2
| | | | | (GH-13786)" (#13802) This reverts commit 0f0a30f4da4b529e0f7df857b9f575b231b32758.
* Fix grammar (GH-13801)Raymond Hettinger2019-06-041-2/+2
|
* More updates to the annotated assignments docs (GH-13794)Ivan Levkivskyi2019-06-041-4/+3
|