summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-45168: change dis output to omit missing values rather than replacing ↵Irit Katriel2021-09-144-19/+28
| | | | them by their index (GH-28313)
* bpo-45152: Add HAS_CONST macro and get_const_value() function and use… ↵Irit Katriel2021-09-143-7/+53
| | | | (#28262)
* bpo-42135 Correct version slated for importlib.find_loader removal (GH-28312)Hugo van Kemenade2021-09-132-1/+4
| | | importlib.find_loader should also be slated for 3.12 like the others in GH-25169 and as documented in https://docs.python.org/3.11/whatsnew/3.10.html#deprecated.
* bpo-45019: Do some cleanup related to frozen modules. (gh-28319)Eric Snow2021-09-1312-137/+339
| | | | | There are a few things I missed in gh-27980. This is a follow-up that will make subsequent PRs cleaner. It includes fixes to tests and tools that reference the frozen modules. https://bugs.python.org/issue45019
* bpo-45173 Remove configparser deprecations (GH-28292)Hugo van Kemenade2021-09-135-94/+18
| | | | | | | In the configparser module, these have been deprecated since Python 3.2: * the SafeConfigParser class, * the filename property of the ParsingError class, * the readfp method of the ConfigParser class,
* bpo-21302: Update time.sleep() doc for clock_nanosleep() (GH-28311)Victor Stinner2021-09-132-19/+32
| | | | Clean-up also What's New in Python 3.11 doc: move entries to the correct sections.
* bpo-21302: Add clock_nanosleep() implementation for time.sleep() (GH-28111)Livius2021-09-135-5/+100
| | | | | | In Unix operating systems, time.sleep() now uses the clock_nanosleep() function, if available, which allows to sleep for an interval specified with nanosecond precision. Co-authored-by: Victor Stinner <vstinner@python.org>
* bpo-45181: Simplify loading sqlite3 tests (GH-28304)Serhiy Storchaka2021-09-1310-146/+14
| | | | | Use unittest discover instead of manually enumerating all test modules and classes. Also add support for filtering them by pattern.
* bpo-45182: Fix incorrect use of requires_zlib in test_bdist_rpm (GH-28305)Serhiy Storchaka2021-09-131-2/+2
| | | It is a decorator factory and should be always followed by "()".
* 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
|