summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Delete DOS-only PC/testpy.py (GH-94419)Oleg Iarygin2022-06-302-36/+0
|
* gh-94332: make it safe to call assemble_free when assemble_init has not been ↵Irit Katriel2022-06-301-1/+2
| | | | called (GH-94389)
* gh-92336: linecache.getline should not raise exceptions on decoding errors ↵Irit Katriel2022-06-303-7/+8
| | | | (GH-94410)
* bpo-92336: [doc] clarify that the dfile is read by the traceback display ↵Irit Katriel2022-06-291-2/+3
| | | | code (GH-94409)
* Docs: Update SyntaxError message in REPL example for list comprehension ↵Cheryl Sabella2022-06-291-3/+3
| | | | (GH-93901)
* gh-94401: Remove unneeded bz2 module state (#94402)Erlend Egeberg Aasland2022-06-291-51/+11
|
* Delete unused PC/empty.c (GH-94418)Oleg Iarygin2022-06-291-6/+0
|
* gh-94404: Use module CFLAGS before PY_STDMODULE_CFLAGS (GH-94413)Christian Heimes2022-06-293-6/+8
| | | | ``PY_STDMODULE_CFLAGS`` may contain include directories with system headers. This can break compiling with built-in libmpdec.
* gh-94401: Remove unneeded overlapped module state (#94403)Erlend Egeberg Aasland2022-06-291-43/+6
|
* gh-86404: [doc] Two 'make suspicious' false positives. (GH-94407)Julien Palard2022-06-291-0/+2
|
* gh-94026: Buffer regrtest worker stdout in temporary file (GH-94253)Christian Heimes2022-06-291-39/+38
| | | Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-94404: makesetup: use correct CFLAGS and macOS workaround (GH-94405)Christian Heimes2022-06-292-5/+13
| | | | ``makesetup`` now works around an issue with sed on macOS and uses correct CFLAGS for object files that end up in a shared extension.
* gh-94395: Remove unneeded module state from mmap (#94396)Erlend Egeberg Aasland2022-06-291-46/+8
|
* Fix typos in comments (#94305)yutotnh2022-06-282-3/+3
|
* gh-88116: Avoid undefined behavior when decoding varints in code objects ↵Pablo Galindo Salgado2022-06-282-8/+10
| | | | (#94375)
* gh-93939: Create and install scripts in Makefile (GH-94324)Christian Heimes2022-06-285-38/+36
| | | Scripts for 2to3, idle, and pydoc are now created and installed by make.
* gh-94172: Remove ssl.PROTOCOL_SSLv2 dead code (#94312)Victor Stinner2022-06-283-68/+2
| | | | | | | | Remove dead code related to ssl.PROTOCOL_SSLv2. ssl.PROTOCOL_SSLv2 was already removed in Python 3.10. In test_ssl, @requires_tls_version('SSLv2') always returned False. Extract of the removed code: "OpenSSL has removed support for SSLv2".
* gh-61585: Clarify import scope in modules tutorial (GH-93455)Stanley2022-06-281-10/+11
| | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-94018: Remove trailing spaces in _sanitize_windows_name (GH-94040)Robin Plumey2022-06-283-2/+5
| | | | | | | | Closes #94018. Co-authored-by: Sam Ezeh <sam.z.ezeh@gmail.com> Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
* Add docs for decorated object and field specifier params (GH-94354)Erik De Bonte2022-06-281-1/+35
|
* gh-87995: Make MappingProxyType hashable (GH-94252)Serhiy Storchaka2022-06-285-1/+28
|
* gh-94199: Remove hashlib.pbkdf2_hmac() Python implementation (GH-94200)Victor Stinner2022-06-285-87/+22
| | | | | | | Remove the pure Python implementation of hashlib.pbkdf2_hmac(), deprecated in Python 3.10. Python 3.10 and newer requires OpenSSL 1.1.1 or newer (PEP 644), this OpenSSL version provides a C implementation of pbkdf2_hmac() which is faster.
* Generalize build_msi GitHub action (GH-94201)Oleg Iarygin2022-06-281-29/+8
|
* gh-86404: [doc] Fix missing space in idle documentation. (GH-94366)Julien Palard2022-06-281-1/+1
| | | | | This should have been spotted by sphinx-lint, tracked here: https://github.com/sphinx-contrib/sphinx-lint/issues/39
* gh-94208: Add more TLS version/protocol checks for FreeBSD (GH-94347)Christian Heimes2022-06-282-27/+35
| | | Three test cases were failing on FreeBSD with latest OpenSSL.
* GH-89988: Fix memory leak in pickle.Pickler dispatch_table lookup (GH-94298)Kumar Aditya2022-06-283-1/+27
|
* gh-82006: IDLE doc improvements (#94349)Terry Jan Reedy2022-06-273-188/+330
| | | | | | 0. Update text start and stop conditions. 1. Title-case sections but not subsections. 2. Edit Shell Window sections: title, execute, restart.
* gh-87347: Fix test_pymem_new() reference leak (#94330)Victor Stinner2022-06-271-15/+15
| | | | | | Delete the allocated object with Py_DECREF() rather than PyObject_Free(). Rename also test_pymem_new() to test_pyobject_new().
* gh-94280: Require Python 3.9 or higher to compile CPython on Windows (GH-94281)Shixian Li2022-06-272-2/+5
|
* gh-94315: Check for DAC override capability (GH-94316)Christian Heimes2022-06-276-22/+58
| | | | | ``os.geteuid() == 0`` is not a reliable check whether the current user has the capability to bypass permission checks. Tests now probe for DAC override.
* gh-93858: Prevent error when activating venv in nested fish instances (GH-93931)Thomas B. Brunner2022-06-272-3/+7
|
* gh-90473: Reduce recursion limit on WASI even further (GH-94333)Christian Heimes2022-06-272-5/+6
| | | | 750 fails sometimes with newer wasmtime versions. 600 is a more conservative value.
* GH-94163: Add BINARY_SLICE and STORE_SLICE instructions. (GH-94168)Mark Shannon2022-06-2714-157/+335
|
* gh-94318: Strip trailing spaces in pydoc text output (GH-94319)Serhiy Storchaka2022-06-274-78/+78
|
* gh-88239: Use sqlite3_stmt_busy() to determine if statements are in use (#25984)Erlend Egeberg Aasland2022-06-273-18/+3
|
* gh-90005: Rename MODULE_EGG variable to MODULE_EGG_STATE (GH-94301)Christian Heimes2022-06-274-83/+83
| | | | | It makes it easier to look for module states in sysconfig without special casing suffixes "_CFLAGS", "_DEPS", "_LDFLAGS", "_OBJS", and "CTYPES_MALLOC_CLOSURE".
* gh-85023: [doc] clarify parameters vs arguments explanation in FAQ (GH-94282)Arun Mani J2022-06-261-2/+3
|
* gh-94192: Fix error for dictionary literals with invalid expression as ↵wookie1842022-06-264-263/+339
| | | | | | | value. (#94304) * Fix error for dictionary literals with invalid expression as value. * Remove trailing whitespace
* gh-94214: Add venv context.lib_path and document the context (GH-94221)Paul Moore2022-06-263-0/+41
|
* gh-90005: Port _ctypes to PY_STDLIB_MOD (GH-32229)Christian Heimes2022-06-269-147/+660
| | | | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> Automerge-Triggered-By: GH:tiran
* gh-94226: Remove the locale.format() function (#94229)Victor Stinner2022-06-266-102/+58
| | | | | | | Remove the locale.format() function, deprecated in Python 3.7: use locale.format_string() instead. Remove TestFormatPatternArg test case: it is irrelevant for locale.format_string() which accepts complex formats.
* gh-87347: Fix PyObject_NEW() regression (#94234)Victor Stinner2022-06-262-2/+45
| | | | | Don't add parenthesis around the type parameter. Add unit tests on PyObject_NEW() and similar functions.
* GH-94254: Make _struct module types immutable (#94269)Kumar Aditya2022-06-263-2/+17
|
* gh-93370: Drop deprecated sqlite3.version from pythoninfo.py (#94277)Erlend Egeberg Aasland2022-06-261-1/+1
|
* [doc] fix typo in reference to tp_descr_get and tp_descr_set (GH-94140)Max Bachmann2022-06-261-2/+2
|
* gh-94172: urllib.request avoids deprecated key_file/cert_file (#94232)Victor Stinner2022-06-261-3/+11
| | | | The urllib.request module no longer uses the deprecated key_file and cert_file parameter of the http.client module.
* Run Tools/scripts/reindent.py (#94225)Victor Stinner2022-06-264-5/+4
| | | | | Reindent files which were not properly formatted (PEP 8: 4 spaces). Remove also some trailing spaces.
* gh-83499: Fix closing file descriptors in tempfile (GH-93874)Serhiy Storchaka2022-06-263-64/+106
|
* gh-93820: Pickle enum.Flag by name (GH-93891)Serhiy Storchaka2022-06-263-3/+58
|
* Revert "bpo-45162: Revert "Remove many old deprecated unittest features"" ↵Serhiy Storchaka2022-06-2614-373/+78
| | | | | | (GH-92556) This reverts commit b50322d20337ca468f2070eedb051a16ee1eba94.