summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* bpo-34903: Document that some strptime formats only require 1 digit (GH-14149)Mike Gleen2019-06-181-15/+20
| | | | | | | For datetime.datetime.strptime(), the leading zero for some two-digit formats is optional. This adds a footnote to the strftime/strptime documentation to reflect this fact, and adds some tests to ensure that it is true. bpo-34903
* bpo-5680: IDLE: Customize running a module (GH-13763)Cheryl Sabella2019-06-181-1/+15
| | | The initialize options are 1) add command line options, which are appended to sys.argv as if passed on a real command line, and 2) skip the shell restart. The customization dialog is accessed by a new entry on the Run menu.
* bpo-37320: Remove openfp() of aifc, sunau and wave (GH-14169)Victor Stinner2019-06-173-17/+8
| | | | | aifc.openfp() alias to aifc.open(), sunau.openfp() alias to sunau.open(), and wave.openfp() alias to wave.open() have been removed. They were deprecated since Python 3.7.
* bpo-37039: Make IDLE's Zoom Height adjust to users' screens (GH-13678)Tal Einat2019-06-171-1/+4
| | | | Measure required height by quickly maximizing once per screen. A search for a better method failed.
* bpo-34556: Add --upgrade-deps to venv module (#13100)Cooper Lees2019-06-172-2/+12
| | | | | | | Add --upgrade-deps to venv module - This allows for pip + setuptools to be automatically upgraded to the latest version on PyPI - Update documentation to represent this change bpo-34556: Add --upgrade to venv module
* bpo-37111: Add 'encoding' and 'errors' parameters to logging.basicCon… ↵Vinay Sajip2019-06-174-9/+56
| | | | (GH-14008)
* bpo-37194: Add PyObject_CallNoArgs() rationale (GH-14159)Victor Stinner2019-06-172-2/+6
| | | | Explain in the doc why PyObject_CallNoArgs() should be preferred over other existing ways to call a function without any arguments.
* bpo-37315: Deprecate accepting floats in math.factorial(). (GH-14147)Serhiy Storchaka2019-06-172-0/+8
|
* 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
|