summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* bpo-30977: rework code changes according to post-merge code review (GH-9106)Tal Einat2018-09-101-0/+7
| | | | also mention the change and its consequences in What's New
* Revert "Fix misindented yaml in logging how to example (GH-8604)" (GH-9081)Rémy HUBSCHER2018-09-101-3/+3
| | | This reverts commit 10b59f1b019cd00c940dd7f4a74c4f667a20f25f.
* bpo-20104: Change the file_actions parameter of os.posix_spawn(). (GH-6725)Serhiy Storchaka2018-09-081-2/+3
| | | | | * Make its default value an empty tuple instead of None. * Make it a keyword-only parameter.
* bpo-33083: Update "What's new" with math.factorial changes (GH-9109)Pablo Galindo2018-09-071-0/+3
| | | * Add elimination of non-int-like parameters in math.factorial to "What's new".
* bpo-34246: Use no mutable default args in smtplib (GH-8554)Pablo Aguiar2018-09-071-2/+2
| | | | | Some methods of the SMTP class use mutable default arguments. Specially `send_message` is affected as it mutates one of the args by appending items to it, which has side effects on further calls.
* bpo-34595: Add %T format to PyUnicode_FromFormatV() (GH-9080)Victor Stinner2018-09-071-0/+6
| | | | | | | | | * Add %T format to PyUnicode_FromFormatV(), and so to PyUnicode_FromFormat() and PyErr_Format(), to format an object type name: equivalent to "%s" with Py_TYPE(obj)->tp_name. * Replace Py_TYPE(obj)->tp_name with %T format in unicodeobject.c. * Add unit test on %T format. * Rename unicode_fromformat_write_cstr() to unicode_fromformat_write_utf8(), to make the intent more explicit.
* bpo-20104: Add flag capabilities to posix_spawn (GH-6693)Pablo Galindo2018-09-071-1/+33
| | | Implement the "attributes objects" parameter of `os.posix_spawn` to complete the implementation and fully cover the underlying API.
* bpo-34605: Avoid master/slave terms (GH-9101)Victor Stinner2018-09-072-2/+2
| | | | | | | * Replace "master process" with "parent process" * Replace "master option mappings" with "main option mappings" * Replace "master pattern object" with "main pattern object" * ssl: replace "master" with "server" * And some other similar changes
* Doc: Missing 'f' in an f-string. (GH-9074)Julien Palard2018-09-071-1/+1
|
* Fix struct sequence glossary entry grammar (GH-9030)Zachary Ware2018-09-021-1/+1
| | | | | ... by removing a superfluous "either". Reported by Никита Люшненко on docs@.
* bpo-34097: Polish API design (GH-8725)Marcel Plch2018-08-311-10/+11
| | | Move strict_timestamps to constructor.
* bpo-34523: Py_DecodeLocale() use UTF-8 on Windows (GH-8998)Victor Stinner2018-08-291-4/+11
| | | | | | | Py_DecodeLocale() and Py_EncodeLocale() now use the UTF-8 encoding on Windows if Py_LegacyWindowsFSEncodingFlag is zero. pymain_read_conf() now sets Py_LegacyWindowsFSEncodingFlag in its loop, but restore its value at exit.
* bpo-21145: Add cached_property decorator in functools (#6982)Carl Meyer2018-08-281-0/+33
| | | | | | Robust caching of calculated properties is harder than it looks at first glance, so add a solid, well-tested implementation to the standard library.
* bpo-34434: Update doc for bool(), float() and int() arguments (GH-8834)Louis Sautier2018-08-271-1/+9
|
* closes bpo-34502: Remove a note about utf8_mode from sys.exit() docs. (GH-8928)Alexey Izbyshev2018-08-251-3/+0
|
* Fix markup in stdtypes documentation (GH-8905)Andrés Delfino2018-08-251-5/+5
|
* Fixed typo with asynccontextmanager code example (GH-8845)Alexander Vasin2018-08-251-1/+1
| | | `yield conn`, instead of just `yield`.
* Fix typo in the dataclasses's doc (GH-8896)Daniel Dương2018-08-241-1/+1
|
* Fix doc for `add_subparsers` arguments (GH-8884)Anthony Sottile2018-08-241-1/+1
| | | There was a missing comma.
* Fix typo in asyncio.BoundedSemaphore docs (GH-8882)Jelle Zijlstra2018-08-241-1/+1
| | | semapthores -> semaphores
* Make it more clear that setUpClass runs before each class, not "class run" ↵Ville Skyttä2018-08-231-1/+1
| | | | (GH-8844)
* bpo-2122: Make mmap.flush() behave same on all platforms (GH-8692)Berker Peksag2018-08-222-4/+13
| | | | | Previously, its behavior was platform-dependent and there was no error checking under Windows.
* Fix Doc/whatsnew/3.8.rst (GH-8848)Berker Peksag2018-08-211-9/+9
| | | | The entry about deprecation of __getitem__ methods of several classes was placed in the wrong section.
* bpo-22057: Clarify eval() documentation (GH-8812)Berker Peksag2018-08-191-2/+4
| | | | | | | | | | | | If a globals dictionary without a '__builtins__' key is passed to eval(), a '__builtins__' key will be inserted to the dictionary: >>> eval("print('__builtins__' in globals())", {}) True (As a result of this behavior, we can use the builtins print() and globals() even if we passed a dictionary without a '__builtins__' key to eval().)
* bpo-34432: doc Mention complex and decimal.Decimal on str.format not about ↵Andrés Delfino2018-08-181-7/+8
| | | | locales (GH-8808)
* Warn not to set SIGPIPE to SIG_DFL (#6773)Alfred Perlstein2018-08-171-0/+34
|
* bpo-34418: Fix HTTPErrorProcessor documentation (GH-8793)Sebastian Rittau2018-08-171-2/+2
| | | | The http_response() and https_response() methods of the HTTPErrorProcessor class have two required parameters, 'request' and 'response'.
* bpo-34384: Fix os.readlink() on Windows (GH-8740)Berker Peksag2018-08-151-1/+3
| | | | | | | | | os.readlink() now accepts path-like and bytes objects on Windows. Previously, support for path-like and bytes objects was only implemented on Unix. This commit also merges Unix and Windows implementations of os.readlink() in one function and adds basic unit tests to increase test coverage of the function.
* smtplib documentation fixes (GH-8708)Ville Skyttä2018-08-131-4/+11
| | | | | | | | * SMTP.startssl: Fix doc on keyfile and certfile use * SMTP.startssl: Add missing keyfile and certfile deprecation notice * SMTP: Doc grammar fixes
* Fix misindented yaml in logging how to example (GH-8604)Rémy HUBSCHER2018-08-121-3/+3
|
* Fix the versionadded indentation in exec_module doc (GH-8719)Andrés Delfino2018-08-121-1/+1
|
* bpo-34379: Doc: Move note for json.dump (GH-8730)Evan Allrich2018-08-111-6/+5
|
* bpo-9372: Deprecate several __getitem__ methods (GH-8609)Berker Peksag2018-08-114-0/+16
| | | | | | The __getitem__ methods of DOMEventStream, FileInput, and FileWrapper classes ignore their 'index' parameters and return the next item instead.
* Doc: add missing capture_output arg to subprocess.run() signature (#8374)Andriy Maletsky2018-08-091-2/+2
|
* Improve grammar of asynchronous iterator glossary entry (GH-8657)Andrés Delfino2018-08-091-3/+3
|
* bpo-34324: Doc README wrong directory name for venv (GH-8650)Stéphane Wirtel2018-08-091-1/+1
| | | | | In the documentation, the `env` directory is specified when we execute the `make venv` command. But in the code, `make venv` will create the virtualenv inside the `venv` directory (defined by `VENVDIR`)
* bpo-34270: Make it possible to name asyncio tasks (GH-8547)Alex Grönholm2018-08-083-4/+47
| | | Co-authored-by: Antti Haapala <antti.haapala@anttipatterns.com>
* Make code examples in Functional Programming HOWTO to be PEP 8 compliant. ↵Sergey Fedoseev2018-08-071-23/+23
| | | | (GH-8646)
* bpo-34335: Use async/await syntax in documentation examples (GH-8674)Mikhail Terekhov2018-08-072-4/+2
|
* Fix HTML formatting in datamodel.rst (GH-8693)Berker Peksag2018-08-061-3/+3
|
* bpo-34319: Clarify file handler closure in pathlib.read_text (GH-8645)Xtreak2018-08-061-1/+2
| | | Patch by Terry Jan Reedy.
* bpo-34273: Change 'Fixed point' to 'Fixed-point notation'. (#8673)Terry Jan Reedy2018-08-061-4/+4
| | | | | | | | | | | | | | | * bpo-34273: Change 'Fixed point' to 'Fixed-point notation'. The change in the mini language floating point and decimal table is consistent with 'Exponential notation' and clarifies that we are referring to the output notation, not an object type. * Update string.rst * Update string.rst * Update string.rst * Update string.rst
* bpo-34336: Don't promote possibility to leave out typing.Optional (#8677)Ville Skyttä2018-08-051-4/+12
|
* Fix reST markup in unittest documentation (GH-8665)Berker Peksag2018-08-031-1/+1
|
* bpo-34329: Doc'd how to remove suffix of pathlib.Path() (GH-8655)Stefan Otte2018-08-031-1/+5
|
* Improve the grammar in `range` documentation. (GH-8628)Andrés Delfino2018-08-031-1/+1
| | | Remove unnecessary "that" in the sentence.
* Update list.remove(x) documentation (GH-8636)Lysandros Nikolaou2018-08-031-2/+2
| | | Rephrase it to "It raises a `ValueError`"
* bpo-34317: Fix a dead url to Windows documentation (GH-8622)HiyashiChuka2018-08-031-1/+1
|
* bpo-27910: Update documentation of traceback module (GH-6116)torsava2018-08-021-17/+19
| | | | | | | | | | In the documentation for the traceback module, the definitions of functions extract_tb(), format_list() and classmethod StackSummary.from_list() mention the old style 4-tuples that these functions used to return or accept. Since Python 3.5, however, they return or accept a FrameSummary object instead of a 4-tuple, or a StackSummary object instead of a list of 4-tuples. Co-Authored-By: Berker Peksag <berker.peksag@gmail.com>
* bpo-34097: Add support for zipping files older than 1980-01-01 (GH-8270)Marcel Plch2018-08-021-2/+20
| | | | | ZipFile can zip files older than 1980-01-01 and newer than 2107-12-31 using a new strict_timestamps parameter at the cost of setting the timestamp to the limit.