summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-84461: Build Emscripten with WASM BigInt support (#94219)Christian Heimes2022-06-243-1/+8
|
* gh-94205: Ensures all required DLLs are copied on Windows for underpth tests ↵Steve Dower2022-06-241-0/+2
| | | | (GH-94206)
* gh-84461: Fix ctypes and test_ctypes on Emscripten (#94142)Christian Heimes2022-06-249-9/+26
| | | | | - c_longlong and c_longdouble need experimental WASM bigint. - Skip tests that need threading - Define ``CTYPES_MAX_ARGCOUNT`` for Emscripten. libffi-emscripten 2022-06-23 supports up to 1000 args.
* gh-93692: remove "build finished successfully" message from setup.py (#93693)Erlend Egeberg Aasland2022-06-241-1/+0
| | | | The message was only emitted when the build succeeded _and_ there were missing modules.
* gh-94196: Remove gzip.GzipFile.filename attribute (#94197)Victor Stinner2022-06-244-8/+14
| | | | | | gzip: Remove the filename attribute of gzip.GzipFile, deprecated since Python 2.6, use the name attribute instead. In write mode, the filename attribute added '.gz' file extension if it was not present.
* gh-94199: Remove ssl.RAND_pseudo_bytes() function (#94202)Victor Stinner2022-06-247-81/+11
| | | | Remove the ssl.RAND_pseudo_bytes() function, deprecated in Python 3.6: use os.urandom() or ssl.RAND_bytes() instead.
* gh-94169: Remove deprecated io.OpenWrapper (#94170)Victor Stinner2022-06-245-40/+10
| | | | | | Remove io.OpenWrapper and _pyio.OpenWrapper, deprecated in Python 3.10: just use :func:`open` instead. The open() (io.open()) function is a built-in function. Since Python 3.10, _pyio.open() is also a static method.
* Add more tests for throwing into yield from (GH-94097)Brandt Bucher2022-06-231-0/+527
|
* Add ABI dump script (#94135)Pablo Galindo Salgado2022-06-233-1/+12
|
* [Enum] Remove automatic docstring generation (GH-94188)Sam Ezeh2022-06-232-267/+4
|
* gh-91219: Add an index_pages default list and parameter to ↵Myron Walker2022-06-232-2/+6
| | | | | | | | SimpleHTTPRequestHandler (GH-31985) * Add an index_pages default list to SimpleHTTPRequestHandler and an optional constructor parameter that allows the default indexes pages list to be overridden. This makes it easy to set a new index page name without having to override send_head.
* gh-93771: Clarify how deepfreeze.py is run (#94150)Guido van Rossum2022-06-231-2/+4
|
* gh-92858: Improve error message for some suites with syntax error before ':' ↵wookie1842022-06-234-380/+542
| | | | (#92894)
* [Enum] fix typo (GH-94158)Ethan Furman2022-06-231-8/+8
|
* GH-91742: Fix pdb crash after jump (GH-94171)Kumar Aditya2022-06-233-1/+45
|
* gh-89121: Keep the number of pending SQLite statements to a minimum (#30379)Erlend Egeberg Aasland2022-06-231-22/+12
| | | | | Make sure statements that have run to completion or errored are reset and cleared off the cursor for all paths in execute() and executemany().
* gh-86404: [doc] Fix missing backtick and double target name. (#94120)Julien Palard2022-06-231-2/+2
|
* gh-84461: Fix test_sqlite for Emscripten/WASI (#94125)Christian Heimes2022-06-231-1/+8
|
* gh-91456: [Enum] Deprecate default auto() behavior with mixed value types ↵Oscar R2022-06-234-17/+89
| | | | | | | (GH-91457) When used with plain Enum, auto() returns the last numeric value assigned, skipping any incompatible member values (such as strings); starting in 3.13 the default auto() for plain Enums will require all the values to be of compatible types, and will return a new value that is 1 higher than any existing value. Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
* Closes gh-94152: Update pyvideo.org URL (GH-94075)partev2022-06-231-1/+1
| | | The URL is now https://pyvideo.org, which uses HTTPS and avoids a redirect.
* gh-85308: argparse: Use filesystem encoding for arguments file (GH-93277)Inada Naoki2022-06-234-2/+23
|
* gh-84623: Remove unused imports in idlelib (#94143)Victor Stinner2022-06-223-17/+7
| | | | | Remove commented code in test_debugger_r.py. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Add ABI dump Makefile target (#94136)Pablo Galindo Salgado2022-06-221-0/+8
|
* gh-84623: Move imports in doctests (#94133)Victor Stinner2022-06-223-5/+5
| | | Move imports in doctests to prevent false alarms in pyflakes.
* gh-54781: Move Lib/tkinter/test/test_ttk/ to Lib/test/test_ttk/ (#94070)Victor Stinner2022-06-2229-109/+100
| | | | | | | | | | * Move Lib/tkinter/test/test_tkinter/ to Lib/test/test_tkinter/. * Move Lib/tkinter/test/test_ttk/ to Lib/test/test_ttk/. * Add Lib/test/test_ttk/__init__.py based on test_ttk_guionly.py. * Add Lib/test/test_tkinter/__init__.py * Remove old Lib/test/test_tk.py. * Remove old Lib/test/test_ttk_guionly.py. * Add __main__ sub-modules. * Update imports and update references to rename files.
* gh-84623: Remove unused imports (#94132)Victor Stinner2022-06-2228-43/+9
|
* gh-94114: Remove obsolete reference to python.org mirrors (GH-94115)partev2022-06-221-4/+1
| | | * gh-94114
* gh-91172: Create a workflow for verifying bundled pip and setuptools (GH-31885)Illia Volochii2022-06-223-0/+128
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* gh-93951: In test_bdb.StateTestCase.test_skip, avoid including auxiliary ↵Jason R. Coombs2022-06-223-0/+21
| | | | | importers. (GH-93962) Co-authored-by: Brett Cannon <brett@python.org>
* Fix typo in _io.TextIOWrapper Clinic input (#94037)fikotta2022-06-221-2/+2
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* gh-94101 Disallow instantiation of SSLSession objects (GH-94102)chgnrdv2022-06-222-1/+5
| | | | | Fixes #94101 Automerge-Triggered-By: GH:tiran
* gh-74696: Do not change the current working directory in ↵Serhiy Storchaka2022-06-224-52/+106
| | | | | | | | | | | shutil.make_archive() if possible (GH-93160) It is no longer changed when create a zip or tar archive. It is still changed for custom archivers registered with shutil.register_archive_format() if root_dir is not None. Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* Stats: Add summary of top instructions for misses and deferred ↵Mark Shannon2022-06-221-2/+20
| | | | specialization. (GH-94072)
* gh-88123: Implement new Enum __contains__ (GH-93298)Carl Bordum Hansen2022-06-223-112/+79
| | | Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
* bpo-30535: [doc] state that sys.meta_path is not empty by default (GH-94098)Irit Katriel2022-06-211-1/+2
| | | Co-authored-by: Windson yang <wiwindson@outlook.com>
* gh-89336: Remove configparser APIs that were deprecated for 3.12 (#92503)Gregory P. Smith2022-06-215-119/+27
| | | | | https://github.com/python/cpython/issue/89336: Remove configparser 3.12 deprecations. Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-87389: Fix an open redirection vulnerability in http.server. (#93879)Gregory P. Smith2022-06-213-2/+61
| | | | | | | | Fix an open redirection vulnerability in the `http.server` module when an URI path starts with `//` that could produce a 301 Location header with a misleading target. Vulnerability discovered, and logic fix proposed, by Hamza Avvan (@hamzaavvan). Test and comments authored by Gregory P. Smith [Google].
* DOC: correct bytesarray -> bytearray in comments (GH-92410)Thomas A Caswell2022-06-212-2/+2
|
* gh-82927: Update files related to HTML entities. (GH-92504)Ezio Melotti2022-06-216-78/+29
|
* gh-93021: Fix __text_signature__ for __get__ (GH-93023)Jelle Zijlstra2022-06-213-2/+10
| | | | | Because of the way wrap_descr_get is written, the second argument to __get__ methods implemented through the wrapper is always optional.
* Tutorial: specify match cases don't fall through (GH-93615)max2022-06-211-2/+4
|
* gh-93240: clarify wording in IO tutorial (GH-93276)paulreece2022-06-211-1/+1
| | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Minor optimization for Fractions.limit_denominator (GH-93730)Mark Dickinson2022-06-211-6/+8
| | | | | | | | | | When we construct the upper and lower candidates in limit_denominator, the numerator and denominator are already relatively prime (and the denominator positive) by construction, so there's no need to go through the usual normalisation in the constructor. This saves a couple of potentially expensive gcd calls. Suggested by Michael Scott Asato Cuthbert in GH-93477.
* gh-93675: Fix typos in `Doc/` (GH-93676)luzpaz2022-06-216-6/+6
| | | Closes #93675
* gh-93851: Fix all broken links in Doc/ (GH-93853)Oleg Iarygin2022-06-2130-47/+59
|
* Closes gh-94038: Update Release Schedule in README.rst from PEP 664 to PEP ↵MilanJuhas2022-06-211-1/+1
| | | | 693 (GH-94046)
* gh-94068: Remove HVSOCKET_CONTAINER_PASSTHRU constant because it has been ↵Steve Dower2022-06-213-3/+0
| | | | | | | removed from Windows (GH-94069) Fixes #94068 Automerge-Triggered-By: GH:zware
* gh-86986: Drop compatibility support for Sphinx 2 (GH-93737)Adam Turner2022-06-2111-52/+18
| | | | | | | | | * Revert "bpo-42843: Keep Sphinx 1.8 and Sphinx 2 compatibility (GH-24282)" This reverts commit 5c1f15b4b1024cbf0acc85832f0c623d1a4605fd * Revert "bpo-42579: Make workaround for various versions of Sphinx more robust (GH-23662)" This reverts commit b63a620014b67a6e63d10783149c41baaf59def8.
* GH-93841: Allow stats to be turned on and off, cleared and dumped at ↵Mark Shannon2022-06-217-22/+212
| | | | runtime. (GH-93843)
* gh-74953: _PyThread_cond_after() uses _PyTime_t (#94056)Victor Stinner2022-06-212-29/+16
| | | | | | pthread _PyThread_cond_after() implementation now uses the _PyTime_t type to handle properly overflow: clamp to the maximum value. Remove MICROSECONDS_TO_TIMESPEC() function.