summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* bpo-45132 Remove deprecated __getitem__ methods (GH-28225)Hugo van Kemenade2021-09-084-16/+17
| | | | | Remove deprecated __getitem__ methods of xml.dom.pulldom.DOMEventStream, wsgiref.util.FileWrapper and fileinput.FileInput, deprecated since Python 3.9.
* bpo-39573: Py_TYPE becomes a static inline function (GH-28128)Victor Stinner2021-09-082-3/+38
| | | | | Convert the Py_TYPE() and Py_SIZE() macros to static inline functions. The Py_SET_TYPE() and Py_SET_SIZE() functions must now be used to set an object type and size.
* bpo-24888: Clarify subprocess.check_call propagates exceptions if unable to ↵DonnaDia2021-09-071-0/+2
| | | | start process (GH-28018)
* Add more itertool recipes (GH-28165)Raymond Hettinger2021-09-071-2/+20
|
* bpo-45104: Clarify when __init__ is called (GH-28210)Raymond Hettinger2021-09-071-1/+1
|
* bpo-44964: Add a note explaining the new semantics of f_last_i in frame ↵Pablo Galindo Salgado2021-09-072-2/+9
| | | | objects (GH-28200)
* bpo-45123: PyAiter_Check and PyObject_GetAiter fix & rename. (GH-28194)Yury Selivanov2021-09-074-8/+8
| | | | | | | | Fix PyAiter_Check to only check for the `__anext__` presense (not for `__aiter__`). Rename `PyAiter_Check()` to `PyAIter_Check()`, `PyObject_GetAiter()` -> `PyObject_GetAIter()`. Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* bpo-45124: Remove the bdist_msi command (GH-28195)Hugo van Kemenade2021-09-074-28/+7
| | | | The bdist_msi command, deprecated in Python 3.9, is now removed. Use bdist_wheel (wheel packages) instead.
* bpo-42238: [doc] remove unused, and deduplicate, suspicious ignore rules. ↵Julien Palard2021-09-062-21/+11
| | | | (GH-28137)
* More useful OrderedDict LRU recipes (GH-28164)Raymond Hettinger2021-09-051-19/+76
|
* bpo-44571: Add itertool recipe for a variant of takewhile() (GH-28167)Raymond Hettinger2021-09-051-1/+28
|
* Add What's New for dataclass keyword-only parameters. (GH-28158)Eric V. Smith2021-09-041-1/+60
|
* bpo-45075: distinguish between frame and FrameSummary in traceback mo… ↵Irit Katriel2021-09-031-5/+5
| | | | (GH-28112)
* bpo-42255: Deprecate webbrowser.MacOSX from Python 3.11 (GH-27837)Dong-hee Na2021-09-032-2/+9
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-45094: Add Py_NO_INLINE macro (GH-28140)Victor Stinner2021-09-031-43/+56
| | | | | * Rename _Py_NO_INLINE macro to Py_NO_INLINE: make it public and document it. * Sort macros in the C API documentation.
* bpo-45082: Cleanup ctypes.c_buffer alias (GH-28129)Victor Stinner2021-09-021-4/+3
| | | | | * Remove commented deprecation of ctypes.c_buffer. * Remove references to ctypes.c_string which doesn't exist. * Remove StringTestCase: it only had skipped test methods.
* [doc] Reword sentinel object summary in dataclasses (GH-27792)Ville Korhonen2021-09-021-4/+3
| | | | | This sentinel value (`MISSING`) is also used as default value for the `kw_only` parameter introduced in Python 3.10. It's cleaner to simply omit the usage here. Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-40360: [doc] Rephrase deprecation note about lib2to3 (GH-28122)Łukasz Langa2021-09-021-6/+9
|
* bpo-43613: Faster implementation of gzip.compress and gzip.decompress (GH-27941)Ruben Vorderman2021-09-022-21/+42
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* [doc] Link to deprecation policy PEP from the DeprecationWarning ↵Łukasz Langa2021-09-021-0/+4
| | | | documentation (GH-28123)
* bpo-37330: open() no longer accept 'U' in file mode (GH-28118)Victor Stinner2021-09-024-22/+22
| | | | | open(), io.open(), codecs.open() and fileinput.FileInput no longer accept "U" ("universal newline") in the file mode. This flag was deprecated since Python 3.3.
* bpo-45085: Remove the binhex module (GH-28117)Victor Stinner2021-09-024-105/+14
| | | | | | | | | | The binhex module, deprecated in Python 3.9, is now removed. The following binascii functions, deprecated in Python 3.9, are now also removed: * a2b_hqx(), b2a_hqx(); * rlecode_hqx(), rledecode_hqx(). The binascii.crc_hqx() function remains available.
* bpo-40360: Deprecate the lib2to3 package (GH-28116)Victor Stinner2021-09-021-0/+3
|
* bpo-31299: make it possible to filter out frames from tracebacks (GH-28067)Irit Katriel2021-08-311-1/+2
|
* bpo-44135: [docs] Fix inline markup (GH-28095)Ken Jin2021-08-311-1/+1
|
* bpo-45060: Get rid of few uses of the equality operators with None (GH-28087)Serhiy Storchaka2021-08-311-1/+1
|
* bpo-44135: Refine explanation of how passing tuples to issubclass() behaves ↵Zack Kneupper2021-08-311-3/+3
| | | | | (GH-26193) Co-authored-by: Zachary Kneupper <zachary.kneupper@gmail.com>
* bpo-44925: [docs] Fix confusing deprecation notice for typing.IO (GH-28004)DonnaDia2021-08-311-4/+4
|
* bpo-45019: Add a tool to generate list of modules to include for frozen ↵Eric Snow2021-08-301-1/+1
| | | | | | | modules (gh-27980) Frozen modules must be added to several files in order to work properly. Before this change this had to be done manually. Here we add a tool to generate the relevant lines in those files instead. This helps us avoid mistakes and omissions. https://bugs.python.org/issue45019
* bpo-16379: expose SQLite error codes and error names in `sqlite3` (GH-27786)Erlend Egeberg Aasland2021-08-303-1/+24
|
* bpo-44394: Update libexpat copy to 2.4.1 (GH-26945)Victor Stinner2021-08-291-14/+18
| | | | | | | Update the vendored copy of libexpat to 2.4.1 (from 2.2.8) to get the fix for the CVE-2013-0340 "Billion Laughs" vulnerability. This copy is most used on Windows and macOS. Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-41818: ++ termios versionadded markers. (GH-27987)Gregory P. Smith2021-08-271-0/+4
| | | overlooked in https://github.com/python/cpython/pull/23686
* bpo-41818: Add termios.tcgetwinsize(), termios.tcsetwinsize(). (GH-23686)Soumendra Ganguly2021-08-271-0/+16
| | | | | | | | | | | | * Add termios.tcgetwinsize(), termios.tcsetwinsize(). Update docs. * Add TIOCGSIZE support to termios.tcgetwinsize() * Add TIOCSSIZE support to termios.tcsetwinsize() Authored-by: Soumendra Ganguly <soumendraganguly@gmail.com> * termios.tcgetwinsize() and termios.tcsetwinsize() should return/accept two-item tuples instead of lists. * Refactor tcsetwinsize to share common code and accept any two item sequence, with overflow checking. Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google]
* bpo-40635: Fix getfqdn() docstring and docs (GH-27971)andrei kulakov2021-08-261-2/+3
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-45010: Remove support of special method __div__ in unittest.mock (GH-27965)Serhiy Storchaka2021-08-261-1/+1
|
* bpo-42238: [doc] Some more make suspicious false positives. (GH-27945)Julien Palard2021-08-261-0/+10
|
* bpo-45003: Change __div__ to __truediv__ in py3 language reference. (GH-27951)Objectivitix2021-08-261-1/+1
|
* bpo-45000: Update whatsnews about deleting __debug__ (GH-27956)Dong-hee Na2021-08-262-2/+2
|
* bpo-45000: Raise SyntaxError when try to delete __debug__ (GH-27947)Dong-hee Na2021-08-251-0/+2
| | | Automerge-Triggered-By: GH:pablogsal
* bpo-39452: Rewrite and expand __main__.rst (#26883)Jack DeVries2021-08-244-17/+365
| | | | | | | Broadened scope of the document to explicitly discuss and differentiate between ``__main__.py`` in packages versus the ``__name__ == '__main__'`` expression (and the idioms that surround it), as well as ``import __main__``. Co-authored-by: Géry Ogam <gery.ogam@gmail.com> Co-authored-by: Éric Araujo <merwok@netwok.org> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-44690: Adopt binacii.a2b_base64's strict mode in base64.b64decode (GH-27272)Idan Moral2021-08-231-0/+2
| | | | | | | * Use binascii.a2b_base64 to validate b64decode input. This change leads to exception messages changes (mostly). * Added more information to docstring of b64decode * Added a reference to binascii.a2b_base64 in the docs
* bpo-42560: simplify/merge architecture info in Tkinter docs (GH-27839)Mark Roseman2021-08-231-39/+9
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
* [doc] Fix typo c-api/exceptions.rst (GH-27847)Sunny Bean2021-08-231-1/+1
| | | Co-authored-by: Tianqing Peng <pengtianqing@yimian.com.cn>
* bpo-42560: add warning to Tkinter docs about outdated pre-8.5 documentation ↵Mark Roseman2021-08-231-0/+7
| | | | | | online (GH-27836) Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
* bpo-42560: rewrite of Tkinter docs "life preserver" (GH-27842)Mark Roseman2021-08-232-145/+182
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-38291: Update 3.10 WhatsNew with typing.{io|re} DeprecationWarning ↵Ken Jin2021-08-231-0/+13
| | | | (GH-27872)
* [doc] Fix typo in idle.rst (GH-27903)Ikko Ashimine2021-08-231-1/+1
| | | intially -> initially
* bpo-24234: Implement bytes.__bytes__ (GH-27901)Dong-hee Na2021-08-231-0/+8
|
* bpo-4442: Document use of __new__ for subclasses of immutable types (GH-27866)Raymond Hettinger2021-08-221-0/+49
|
* bpo-44957: Promote PEP 604 syntax in typing docs (GH-27833)Sebastian Rittau2021-08-221-14/+16
| | | | | | | | | | * Use "X | Y" instead of "Union" where it makes sense. * Mention that "X | Y" is equivalent to "Union[X, Y]" in Union section. * Remove "Optional[X]" as shorthand for "Union[X, None]" as the new shorthand is now "X | None". * Mention that "Optional[X]" can be written as "X | None" in section about "Optional". Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>