Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-45132 Remove deprecated __getitem__ methods (GH-28225) | Hugo van Kemenade | 2021-09-08 | 4 | -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 Stinner | 2021-09-08 | 2 | -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 ↵ | DonnaDia | 2021-09-07 | 1 | -0/+2 |
| | | | | start process (GH-28018) | ||||
* | Add more itertool recipes (GH-28165) | Raymond Hettinger | 2021-09-07 | 1 | -2/+20 |
| | |||||
* | bpo-45104: Clarify when __init__ is called (GH-28210) | Raymond Hettinger | 2021-09-07 | 1 | -1/+1 |
| | |||||
* | bpo-44964: Add a note explaining the new semantics of f_last_i in frame ↵ | Pablo Galindo Salgado | 2021-09-07 | 2 | -2/+9 |
| | | | | objects (GH-28200) | ||||
* | bpo-45123: PyAiter_Check and PyObject_GetAiter fix & rename. (GH-28194) | Yury Selivanov | 2021-09-07 | 4 | -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 Kemenade | 2021-09-07 | 4 | -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 Palard | 2021-09-06 | 2 | -21/+11 |
| | | | | (GH-28137) | ||||
* | More useful OrderedDict LRU recipes (GH-28164) | Raymond Hettinger | 2021-09-05 | 1 | -19/+76 |
| | |||||
* | bpo-44571: Add itertool recipe for a variant of takewhile() (GH-28167) | Raymond Hettinger | 2021-09-05 | 1 | -1/+28 |
| | |||||
* | Add What's New for dataclass keyword-only parameters. (GH-28158) | Eric V. Smith | 2021-09-04 | 1 | -1/+60 |
| | |||||
* | bpo-45075: distinguish between frame and FrameSummary in traceback mo… ↵ | Irit Katriel | 2021-09-03 | 1 | -5/+5 |
| | | | | (GH-28112) | ||||
* | bpo-42255: Deprecate webbrowser.MacOSX from Python 3.11 (GH-27837) | Dong-hee Na | 2021-09-03 | 2 | -2/+9 |
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | bpo-45094: Add Py_NO_INLINE macro (GH-28140) | Victor Stinner | 2021-09-03 | 1 | -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 Stinner | 2021-09-02 | 1 | -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 Korhonen | 2021-09-02 | 1 | -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 Langa | 2021-09-02 | 1 | -6/+9 |
| | |||||
* | bpo-43613: Faster implementation of gzip.compress and gzip.decompress (GH-27941) | Ruben Vorderman | 2021-09-02 | 2 | -21/+42 |
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | [doc] Link to deprecation policy PEP from the DeprecationWarning ↵ | Łukasz Langa | 2021-09-02 | 1 | -0/+4 |
| | | | | documentation (GH-28123) | ||||
* | bpo-37330: open() no longer accept 'U' in file mode (GH-28118) | Victor Stinner | 2021-09-02 | 4 | -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 Stinner | 2021-09-02 | 4 | -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 Stinner | 2021-09-02 | 1 | -0/+3 |
| | |||||
* | bpo-31299: make it possible to filter out frames from tracebacks (GH-28067) | Irit Katriel | 2021-08-31 | 1 | -1/+2 |
| | |||||
* | bpo-44135: [docs] Fix inline markup (GH-28095) | Ken Jin | 2021-08-31 | 1 | -1/+1 |
| | |||||
* | bpo-45060: Get rid of few uses of the equality operators with None (GH-28087) | Serhiy Storchaka | 2021-08-31 | 1 | -1/+1 |
| | |||||
* | bpo-44135: Refine explanation of how passing tuples to issubclass() behaves ↵ | Zack Kneupper | 2021-08-31 | 1 | -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) | DonnaDia | 2021-08-31 | 1 | -4/+4 |
| | |||||
* | bpo-45019: Add a tool to generate list of modules to include for frozen ↵ | Eric Snow | 2021-08-30 | 1 | -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 Aasland | 2021-08-30 | 3 | -1/+24 |
| | |||||
* | bpo-44394: Update libexpat copy to 2.4.1 (GH-26945) | Victor Stinner | 2021-08-29 | 1 | -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. Smith | 2021-08-27 | 1 | -0/+4 |
| | | | overlooked in https://github.com/python/cpython/pull/23686 | ||||
* | bpo-41818: Add termios.tcgetwinsize(), termios.tcsetwinsize(). (GH-23686) | Soumendra Ganguly | 2021-08-27 | 1 | -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 kulakov | 2021-08-26 | 1 | -2/+3 |
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | bpo-45010: Remove support of special method __div__ in unittest.mock (GH-27965) | Serhiy Storchaka | 2021-08-26 | 1 | -1/+1 |
| | |||||
* | bpo-42238: [doc] Some more make suspicious false positives. (GH-27945) | Julien Palard | 2021-08-26 | 1 | -0/+10 |
| | |||||
* | bpo-45003: Change __div__ to __truediv__ in py3 language reference. (GH-27951) | Objectivitix | 2021-08-26 | 1 | -1/+1 |
| | |||||
* | bpo-45000: Update whatsnews about deleting __debug__ (GH-27956) | Dong-hee Na | 2021-08-26 | 2 | -2/+2 |
| | |||||
* | bpo-45000: Raise SyntaxError when try to delete __debug__ (GH-27947) | Dong-hee Na | 2021-08-25 | 1 | -0/+2 |
| | | | Automerge-Triggered-By: GH:pablogsal | ||||
* | bpo-39452: Rewrite and expand __main__.rst (#26883) | Jack DeVries | 2021-08-24 | 4 | -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 Moral | 2021-08-23 | 1 | -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 Roseman | 2021-08-23 | 1 | -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 Bean | 2021-08-23 | 1 | -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 Roseman | 2021-08-23 | 1 | -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 Roseman | 2021-08-23 | 2 | -145/+182 |
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | bpo-38291: Update 3.10 WhatsNew with typing.{io|re} DeprecationWarning ↵ | Ken Jin | 2021-08-23 | 1 | -0/+13 |
| | | | | (GH-27872) | ||||
* | [doc] Fix typo in idle.rst (GH-27903) | Ikko Ashimine | 2021-08-23 | 1 | -1/+1 |
| | | | intially -> initially | ||||
* | bpo-24234: Implement bytes.__bytes__ (GH-27901) | Dong-hee Na | 2021-08-23 | 1 | -0/+8 |
| | |||||
* | bpo-4442: Document use of __new__ for subclasses of immutable types (GH-27866) | Raymond Hettinger | 2021-08-22 | 1 | -0/+49 |
| | |||||
* | bpo-44957: Promote PEP 604 syntax in typing docs (GH-27833) | Sebastian Rittau | 2021-08-22 | 1 | -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> |