summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* bpo-42451: Indicate that PyTuple_GetItem does not support negative indices ↵Yasser A2020-11-301-1/+1
| | | | (GH-23529)
* bpo-42450: Minor updates to the itertools recipes (GH-23555)Raymond Hettinger2020-11-291-5/+5
|
* bpo-42392: Remove deprecated loop parameter from docs (GH-23552)Yurii Karabas2020-11-295-80/+22
|
* bpo-39096: Improve description of 'e', 'f' and 'g' presentation types (#23537)Mark Dickinson2020-11-291-12/+31
| | | | | | | | | | | * Improve description of 'e', 'f' and 'g' presentation types * Drop the 'E' from Scientific 'E' notation; remove >= 0 qualifications * Fix false statement that the alternate form is valid for Decimal * Nitpick: remove the Harvard/Oxford comma * Add note that the decimal point is also removed if no digits follow it, except in alternate form
* bpo-31904: add shell requirement for test_pipes (GH-23489)pxinwr2020-11-281-0/+2
| | | VxWorks has no user space shell provided so it can't support pipes module. Also add shell requirement for running test_pipes.
* Fix dis markup (GH-23524)Andre Delfino2020-11-281-6/+6
|
* Fix multiprocessing markup (GH-23525)Andre Delfino2020-11-281-3/+3
|
* bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538)Zackery Spytz2020-11-281-1/+1
|
* bpo-17852: Doc: Fix the tutorial about closing files (GH-23135)Volker-Weissmann2020-11-271-5/+10
| | | Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* Document optional 'task'/'asyncgen' fields in call_exception_handler (#21735)Shane Harvey2020-11-261-1/+4
|
* Typo: fix inverted sense of statement (GH-23288)basak2020-11-251-1/+1
| | | | | | | Looks like a "not" was inadvertently omitted in commit e6a7ea4. Classmethods are useful when data stored in specific instances are *not* needed. Automerge-Triggered-By: GH:JulienPalard
* bpo-42299: Remove formatter module (GH-23476)Dong-hee Na2020-11-254-365/+6
|
* bpo-42202: Store func annotations as a tuple (GH-23316)Yurii Karabas2020-11-252-1/+14
| | | | | | | | | | | | | Reduce memory footprint and improve performance of loading modules having many func annotations. >>> sys.getsizeof({"a":"int","b":"int","return":"int"}) 232 >>> sys.getsizeof(("a","int","b","int","return","int")) 88 The tuple is converted into dict on the fly when `func.__annotations__` is accessed first. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* Add more tests to the descriptor howto guide (GH-23506)Raymond Hettinger2020-11-251-4/+25
|
* bpo-42238: Doc: Remove make suspicious from the CI and docs builds. (GH-23313)Julien Palard2020-11-251-1/+0
| | | | | It probably helped a lot a while back, but may not be as usefull today. We'll continue monitoring it before deletion, so true positives can be migrated to rstlint.
* Doc: Minor fixes (GH-23422)kj2020-11-252-3/+3
|
* Add doctests to the descriptor HowTo (GH-23500)Raymond Hettinger2020-11-251-57/+397
|
* Typo (#23482)Jesús Cea2020-11-231-1/+1
|
* Added support for negative indexes to PurePath.parents (GH-21799)Yaroslav Pankovych2020-11-232-2/+6
| | | | | | | | | | This commit also fixes up some of the overlapping documentation changed in bpo-35498, which added support for indexing with slices. Fixes bpo-21041. https://bugs.python.org/issue21041 Co-authored-by: Paul Ganssle <p.ganssle@gmail.com> Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr>
* Descriptor HowTo: Improve the fidelity of the member object simulation ↵Raymond Hettinger2020-11-231-11/+46
| | | | (GH-23475)
* bpo-15450: Allow subclassing of dircmp (GH-23424) (#23424)Nick Crews2020-11-231-1/+7
| | | Co-authored-by: Chris Jerdonek <chris.jerdonek@gmail.com>
* Doc: fix typo in typing.Type docs (GH-23460)John Belmonte2020-11-221-1/+1
|
* bpo-42423: Accept single base class in PyType_FromModuleAndSpec() (GH-23441)Serhiy Storchaka2020-11-222-4/+8
|
* bpo-42391: Clarify documentation of TestCase.assertIs (GH-23348)Ram Rachum2020-11-221-2/+1
| | | Removing 'evaluate' makes it more consistent with other assertX entries.
* Clarify that Set._from_iterable is not required to be a classmethod. (GH-23272)Richard Levasseur2020-11-211-1/+1
|
* bpo-42232: mmap module add Darwin specific madvise options. (GH-23076)David CARLIER2020-11-211-0/+2
|
* bpo-42412: Fix possible leaks and check arguments in ↵Serhiy Storchaka2020-11-211-2/+4
| | | | | | | | PyType_FromModuleAndSpec() (GH-23410) * There were leaks if Py_tp_bases is used more than once or if some call is failed before setting tp_bases. * There was a crash if the bases argument or the Py_tp_bases slot is not a tuple. * The documentation was not accurate.
* bpo-42419: Correct 'deprecatations' is What's New 3.9 (GH-23421)Quentin Hibon2020-11-211-2/+2
|
* bpo-42407: Use possessive appostrophe in multiprocessing doc (GH-23400)ArioA2020-11-211-1/+1
|
* bpo-42360: Add advice to help avoid pickling issues. (GH-23305)Raymond Hettinger2020-11-201-0/+3
|
* Fix wrong availability for signal.SIGCHLD (#23285)Zhang Maiyun2020-11-201-1/+1
| | | I believe this is a mistake. SIGCHLD is only available on Unix systems, not Windows.
* bpo-35498: Added slice support to PathLib parents attribute. (GH-11165)Joshua Cannon2020-11-202-0/+8
| | | Added slice support to the `pathlib.Path.parents` sequence. For a `Path` `p`, slices of `p.parents` should return the same thing as slices of `tuple(p.parents)`.
* bpo-42413: socket.timeout is now an alias of TimeoutError (GH-23413)Christian Heimes2020-11-203-2/+13
| | | Signed-off-by: Christian Heimes <christian@python.org>
* bpo-42345: Add whatsnew and versionchanged for typing.Literal in 3.9 (GH-23386)kj2020-11-192-0/+35
| | | | | | * Whatsnew entry in 3.9 same as the one in 3.10. * versionchanged for typing.Literal docs Needs backport to 3.9.
* bpo-42345: Fix hash implementation of typing.Literal (GH-23383)Yurii Karabas2020-11-191-3/+3
| | | | | | | Fix hash implementation of `typing.Literal`. Update docs regarding `typing.Litaral` caching. Base implementation was done in PR #23294.
* bpo-42345: Add whatsnew for typing.Literal in 3.10 (GH-23385)kj2020-11-191-0/+26
|
* bpo-42381: Document walrus-related syntax changes in whatsnew (GH-23382)Lysandros Nikolaou2020-11-181-0/+3
| | | Automerge-Triggered-By: GH:lysnikolaou
* [doc] Fix smtplib and xml.dom.minidom mark-up (GH-22769)Andre Delfino2020-11-182-3/+3
|
* bpo-39573: Remove What's new entry for Py_SIZE() (GH-23375)Miro Hrončok2020-11-181-11/+0
| | | A follow up for 0e2ac21dd4960574e89561243763eabba685296a
* bpo-42085: Add documentation for Py_TPFLAGS_HAVE_AM_SEND (GH-23374)Vladimir Matveev2020-11-181-0/+8
| | | | | Updated docs to include `Py_TPFLAGS_HAVE_AM_SEND`. News section should not be necessary. Automerge-Triggered-By: GH:asvetlov
* bpo-39573: Convert Py_TYPE() and Py_SIZE() back to macros (GH-23366)Victor Stinner2020-11-182-17/+2
| | | | | | | | | This change partically reverts commit ad3252bad905d41635bcbb4b76db30d570cf0087 and the commit fe2978b3b940fe2478335e3a2ca5ad22338cdf9c. Many third party C extension modules rely on the ability of using Py_TYPE() to set an object type: "Py_TYPE(obj) = type;" or to set an object type using: "Py_SIZE(obj) = size;".
* bpo-42396: Add a whatsnew entry about async contextlib.nullcontext (GH-23357)Tom Gringauz2020-11-171-0/+3
| | | Automerge-Triggered-By: GH:asvetlov
* bpo-41625: Specify that Linux >= 2.6.17 *and* glibc >= 2.5 are requir… ↵Pablo Galindo2020-11-171-1/+1
| | | | | (GH-23351) …ed for splice()
* bpo-41625: Add versionadded to os.splice() constants (GH-23340)Pablo Galindo2020-11-171-0/+1
|
* bpo-42264: Deprecate sqlite3.OptimizedUnicode (GH-23163)Erlend Egeberg Aasland2020-11-171-0/+5
|
* bpo-41713: Remove PyOS_InitInterrupts() function (GH-23342)Victor Stinner2020-11-171-0/+5
| | | | | | | Remove the undocumented PyOS_InitInterrupts() C function. * Rename PyOS_InitInterrupts() to _PySignal_Init(). It now installs other signal handlers, not only SIGINT. * Rename PyOS_FiniInterrupts() to _PySignal_Fini()
* bpo-41625: Expose the splice() system call in the os module (GH-21947)Pablo Galindo2020-11-172-0/+37
|
* bpo-40939: Document removal of the old parser in 3.10 whatsnew (GH-23321)Lysandros Nikolaou2020-11-161-0/+10
| | | Automerge-Triggered-By: GH:lysnikolaou
* bpo-37205: time.perf_counter() and time.monotonic() are system-wide (GH-23284)Victor Stinner2020-11-161-7/+36
| | | | | | | time.perf_counter() on Windows and time.monotonic() on macOS are now system-wide. Previously, they used an offset computed at startup to reduce the precision loss caused by the float type. Use time.perf_counter_ns() and time.monotonic_ns() added in Python 3.7 to avoid this precision loss.
* bpo-42153 Fix link to IMAP documents in imaplib.rst (GH-23297)Yash Shete2020-11-161-3/+3
| | | The University of Washington stopped hosting the IMAP documents. Link to a rescued copy on GitHub.