summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-5846: Do not use obsolete unittest functions. (GH-28303)Serhiy Storchaka2021-09-1349-93/+80
| | | | Get rid of use of makeSuite() and findTestCases(). Also make test_math and test_threading_local discoverable.
* bpo-45126: Fix ref. leak in `sqlite3.Connection.__init__` (GH-28231)Erlend Egeberg Aasland2021-09-122-13/+49
|
* bpo-43413: Fix handling keyword arguments in subclasses of some buitin ↵Serhiy Storchaka2021-09-1226-67/+285
| | | | | | | | classes (GH-26456) * Constructors of subclasses of some buitin classes (e.g. tuple, list, frozenset) no longer accept arbitrary keyword arguments. * Subclass of set can now define a __new__() method with additional keyword parameters without overriding also __init__().
* bpo-44987: Fix typo whatsnew 3.11 (GH-28293)Dong-hee Na2021-09-111-1/+1
|
* bpo-44987: Speed up unicode normalization of ASCII strings (GH-28283)Dong-hee Na2021-09-113-0/+9
|
* bpo-35474: Fix mimetypes.guess_all_extensions() potentially mutating list ↵Serhiy Storchaka2021-09-113-8/+20
| | | | | | | (GH-28286) * Calling guess_all_extensions() with strict=False potentially mutated types_map_inv. * Mutating the result of guess_all_extensions() mutated types_map_inv.
* bpo-45163: Haiku build fix. (GH-28269)David CARLIER2021-09-113-2/+7
| | | | | | linkage issues mainly for shared libs and missing system library, also little nit into the signal extension as strsignal returns a constant in this platform.
* IDLE: adjust Python version in doc url for 3.10+ (GH-28228)giovanniwijaya2021-09-101-5/+7
| | | | | Expression 'python_version()[:3]' truncated '3.10.0' to '3.1' instead of '3.10'. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-45144: use subTests in test_peepholer (GH-28247)Irit Katriel2021-09-101-43/+53
|
* bpo-9811: [doc] strftime handling of unsupported format specifiers is ↵Irit Katriel2021-09-101-1/+2
| | | | platform dependent (GH-28264)
* bpo-25894: Always report skipped and failed subtests separately (GH-28082)Serhiy Storchaka2021-09-103-49/+189
| | | | | | * In default mode output separate characters for skipped and failed subtests. * In verbose mode output separate lines (including description) for skipped and failed subtests. * In verbose mode output test description for errors in test cleanup.
* bpo-44964: Correct the note about the f_lasti field (GH-28208)Pablo Galindo Salgado2021-09-102-4/+4
|
* bpo-44219: Mention GH-28250 is a deadlock bugfix (GH-28261)Łukasz Langa2021-09-101-1/+2
|
* Fix typos in pep384_macrocheck.py (GH-28220)Ikko Ashimine2021-09-101-2/+2
| | | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* bpo-45132: Fix the reStructuredText markup error. (GH-28270)Serhiy Storchaka2021-09-101-1/+1
|
* bpo-40563: Support pathlike objects on dbm/shelve (GH-21849)Henry-Joseph Audéoud2021-09-1014-68/+124
| | | | Co-authored-by: Hakan Çelik <hakancelik96@outlook.com>
* bpo-45024 and bpo-23864: Document how interface testing works with the ↵Raymond Hettinger2021-09-102-63/+168
| | | | collections ABCs (GH-28218)
* bpo-45067 - Verify the version of ncurses for extended color support feature ↵Senthil Kumaran2021-09-092-2/+7
| | | | | | | | | | | | | | usage. (GH-28260) * issue45067 - Fix _curses compilation in CentOS 7. Verify the version of ncurses for extended color support feature usage. The function extended_color_content was introduced in 2017. The ncurses-devel package in CentOS 7 had a older version ncurses resulted in compilation error. For compiling ncurses with extended color support, we verify the version of the ncurses library. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Fix minor typo in 3.10.rst (GH-28253)D.Lintin2021-09-091-1/+1
|
* bpo-44219: Release the GIL during isatty syscalls (GH-28250)Vincent Michel2021-09-093-2/+20
| | | | | | Release the GIL while performing isatty() system calls on arbitrary file descriptors. In particular, this affects os.isatty(), os.device_encoding() and io.TextIOWrapper. By extension, io.open() in text mode is also affected.
* bpo-45017: move opcode-related logic from modulefinder to dis (GH-28246)Irit Katriel2021-09-093-26/+76
|
* bpo-44860: Update test_sysconfig for posix_user platlib (GH-28235)Victor Stinner2021-09-093-1/+14
| | | | Update test_sysconfig.test_user_similar() for the posix_user scheme: "platlib" doesn't use sys.platlibdir.
* Specify default order in memoryview.tobytes() docs (GH-27936)andrei kulakov2021-09-091-1/+1
|
* Fix small mistake in fileinput documentation (GH-28241)Jean-Abou-Samra2021-09-091-1/+1
|
* bpo-20499: Rounding error in statistics.pvariance (GH-28230)Raymond Hettinger2021-09-093-56/+51
|
* bpo-38371: Remove deprecated `tkinter` split() method (GH-28237)Erlend Egeberg Aasland2021-09-085-264/+6
|
* bpo-44340: Update whatsnews for ThinLTO (GH-28229)Dong-hee Na2021-09-081-0/+3
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-45129 Remove deprecated reuse_address (GH-28207)Hugo van Kemenade2021-09-085-70/+33
| | | | | | | | Due to significant security concerns, the reuse_address parameter of asyncio.loop.create_datagram_endpoint, deprecated in Python 3.9, is now removed. This is because of the behavior of the socket option SO_REUSEADDR in UDP. Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-19113: Remove unused test_errors from ctypes tests (GH-28008)andrei kulakov2021-09-081-9/+0
| | | This test was forever shadowed by another test method named `test_errors`.
* bpo-44959: Add fallback to extension modules with '.sl' suffix on HP-UX ↵Florin Spătar2021-09-082-1/+2
| | | | (GH-27857)
* bpo-45121: Fix RecursionError when calling Protocol.__init__ from a ↵Yurii Karabas2021-09-083-0/+17
| | | | subclass' __init__ (GH-28206)
* bpo-45132 Remove deprecated __getitem__ methods (GH-28225)Hugo van Kemenade2021-09-0811-139/+34
| | | | | 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-085-9/+52
| | | | | 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-45022: Fix libffi DLL name in Windows installer sources (GH-28203)giovanniwijaya2021-09-071-1/+1
|
* bpo-24888: Clarify subprocess.check_call propagates exceptions if unable to ↵DonnaDia2021-09-071-0/+2
| | | | start process (GH-28018)
* Remove documentation for non-existing socket class attributes (GH-28029)Matti Picus2021-09-071-3/+0
| | | The functions in question are available on the module-level only.
* bpo-45012: Release GIL around stat in os.scandir (GH-28085)Stanisław Skonieczny2021-09-073-2/+11
| | | | | Releasing GIL allows other threads to continue its work when os.scandir is fetching DirEntry.stat info from file system.
* Add more itertool recipes (GH-28165)Raymond Hettinger2021-09-072-2/+43
|
* bpo-38820: Test with OpenSSL 3.0.0 final (GH-28205)Christian Heimes2021-09-072-2/+6
| | | Signed-off-by: Christian Heimes <christian@python.org>
* bpo-45118: Fix regrtest second summary for re-run tests (GH-28183)Victor Stinner2021-09-071-4/+7
| | | | Fix regrtest second summary when using -w/--verbose2 command line option: lists re-run tests in the second test summary.
* bpo-45104: Clarify when __init__ is called (GH-28210)Raymond Hettinger2021-09-071-1/+1
|
* bpo-44348: BaseException deallocator uses trashcan (GH-28190)Victor Stinner2021-09-072-1/+14
| | | | | | | | | | The deallocator function of the BaseException type now uses the trashcan mecanism to prevent stack overflow. For example, when a RecursionError instance is raised, it can be linked to another RecursionError through the __context__ attribute or the __traceback__ attribute, and then a chain of exceptions is created. When the chain is destroyed, nested deallocator function calls can crash with a stack overflow if the chain is too long compared to the available stack memory.
* bpo-42064: Pass module state to trace, progress, and authorizer callbacks ↵Erlend Egeberg Aasland2021-09-072-73/+111
| | | | | | | | (GH-27940) - add print-or-clear traceback helper - add helpers to clear and visit saved contexts - modify callbacks to use the new callback_context struct
* bpo-45034: Fix how upper limit is formatted for `struct.pack("H", ...)` ↵Nikita Sobolev2021-09-074-6/+27
| | | | | | (GH-28178) Co-authored-by: Mark Dickinson <dickinsm@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Revert "bpo-45035: Make sysconfig posix_home depend on platlibdir ↵Pablo Galindo Salgado2021-09-072-5/+3
| | | | | (GH-28011)" (GH-28201) This reverts commit 4f88161f07538dfb24a43189fd59bf966cb40817.
* bpo-44991: Normalise `sqlite3` callback naming (GH-28088)Erlend Egeberg Aasland2021-09-072-52/+59
| | | | | | | | - all callbacks are now named xxx_callback - normalise callable naming in set_*() functions - normalise context argument naming in callbacks The sqlite code is being "touched" in bpo-42064 (and related issues); this style change makes it easier to work with and review.
* 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-0710-22/+23
| | | | | | | | 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-0711-822/+18
| | | | The bdist_msi command, deprecated in Python 3.9, is now removed. Use bdist_wheel (wheel packages) instead.
* bpo-44963: Implement send() and throw() methods for anext_awaitable objects ↵Pablo Galindo Salgado2021-09-073-22/+270
| | | | | (GH-27955) Co-authored-by: Yury Selivanov <yury@edgedb.com>