Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-90005: Rename MODULE_EGG variable to MODULE_EGG_STATE (GH-94301) | Christian Heimes | 2022-06-27 | 4 | -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 J | 2022-06-26 | 1 | -2/+3 |
| | |||||
* | gh-94192: Fix error for dictionary literals with invalid expression as ↵ | wookie184 | 2022-06-26 | 4 | -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 Moore | 2022-06-26 | 3 | -0/+41 |
| | |||||
* | gh-90005: Port _ctypes to PY_STDLIB_MOD (GH-32229) | Christian Heimes | 2022-06-26 | 9 | -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 Stinner | 2022-06-26 | 6 | -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 Stinner | 2022-06-26 | 2 | -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 Aditya | 2022-06-26 | 3 | -2/+17 |
| | |||||
* | gh-93370: Drop deprecated sqlite3.version from pythoninfo.py (#94277) | Erlend Egeberg Aasland | 2022-06-26 | 1 | -1/+1 |
| | |||||
* | [doc] fix typo in reference to tp_descr_get and tp_descr_set (GH-94140) | Max Bachmann | 2022-06-26 | 1 | -2/+2 |
| | |||||
* | gh-94172: urllib.request avoids deprecated key_file/cert_file (#94232) | Victor Stinner | 2022-06-26 | 1 | -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 Stinner | 2022-06-26 | 4 | -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 Storchaka | 2022-06-26 | 3 | -64/+106 |
| | |||||
* | gh-93820: Pickle enum.Flag by name (GH-93891) | Serhiy Storchaka | 2022-06-26 | 3 | -3/+58 |
| | |||||
* | Revert "bpo-45162: Revert "Remove many old deprecated unittest features"" ↵ | Serhiy Storchaka | 2022-06-26 | 14 | -373/+78 |
| | | | | | | (GH-92556) This reverts commit b50322d20337ca468f2070eedb051a16ee1eba94. | ||||
* | gh-93259: Validate arg to ``Distribution.from_name``. (GH-94270) | Jason R. Coombs | 2022-06-26 | 6 | -67/+135 |
| | | | Syncs with importlib_metadata 4.12.0. | ||||
* | gh-70474: [doc] fix wording of GET_ANEXT doc (GH-94048) | Irit Katriel | 2022-06-25 | 1 | -2/+2 |
| | |||||
* | bpo-39971: Change examples to be runnable (GH-32172) | Stanley | 2022-06-25 | 1 | -11/+18 |
| | |||||
* | gh-90016: Reword sqlite3 adapter/converter docs (#93095) | Erlend Egeberg Aasland | 2022-06-25 | 5 | -122/+156 |
| | | | | | | Also add adapters and converter recipes. Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com | ||||
* | gh-77560: Report possible errors in restoring builtins at finalization ↵ | Serhiy Storchaka | 2022-06-25 | 1 | -1/+1 |
| | | | | | | | (GH-94255) Seems in the past the copy of builtins was not made in some scenarios, and the error was silenced. Write it now to stderr, so we have a chance to see it. | ||||
* | gh-94245: Test pickling and copying of typing.Tuple[()] (GH-94259) | Serhiy Storchaka | 2022-06-25 | 1 | -2/+4 |
| | |||||
* | gh-94207: Fix struct module leak (GH-94239) | Mark Dickinson | 2022-06-25 | 3 | -2/+39 |
| | | | | | | | | | | | | Make _struct.Struct a GC type This fixes a memory leak in the _struct module, where as soon as a Struct object is stored in the cache, there's a cycle from the _struct module to the cache to Struct objects to the Struct type back to the module. If _struct.Struct is not gc-tracked, that cycle is never collected. This PR makes _struct.Struct GC-tracked, and adds a regression test. | ||||
* | gh-94199: Remove ssl.match_hostname() function (#94224) | Victor Stinner | 2022-06-25 | 5 | -313/+14 |
| | |||||
* | gh-70441: Fix test_tarfile on systems w/o bz2 (gh-2962) (#94258) | Christian Heimes | 2022-06-25 | 1 | -0/+1 |
| | |||||
* | bpo-26253: Add compressionlevel to tarfile stream (GH-2962) | Yaron de Leeuw | 2022-06-25 | 4 | -11/+88 |
| | | | | | | `tarfile` already accepts a compressionlevel argument for creating files. This patch adds the same for stream-based tarfile usage. The default is 9, the value that was previously hard-coded. | ||||
* | bpo-46642: Explicitly disallow subclassing of instaces of TypeVar, ↵ | Gregory Beauregard | 2022-06-25 | 3 | -39/+81 |
| | | | | | | | | ParamSpec, etc (GH-31148) The existing test covering this case passed only incidentally. We explicitly disallow doing this and add a proper error message. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | gh-85308: Add argparse tests for reading non-ASCII arguments from file ↵ | Serhiy Storchaka | 2022-06-24 | 2 | -12/+28 |
| | | | | (GH-94160) | ||||
* | gh-94217: Skip import tests when _testcapi is a builtin (GH-94218) | Christian Heimes | 2022-06-24 | 2 | -1/+13 |
| | |||||
* | gh-93382: Sync up `co_code` changes with 3.11 (GH-94227) | Ken Jin | 2022-06-24 | 4 | -3/+5 |
| | | | Sync up co_code changes with 3.11 commit 852b4d4bcd12b0b6839a015a262ce976b134f6f3. | ||||
* | Docs: Remove `Provides [...]` from `multiprocessing.shared_memory` ↵ | Oleg Iarygin | 2022-06-24 | 1 | -2/+2 |
| | | | | description (#92761) | ||||
* | IDLE: replace if statement with expression (#94228) | Terry Jan Reedy | 2022-06-24 | 1 | -6/+2 |
| | |||||
* | gh-94172: urllib.request avoids deprecated check_hostname (#94193) | Victor Stinner | 2022-06-24 | 2 | -17/+23 |
| | | | | | | | | | | | The urllib.request no longer uses the deprecated check_hostname parameter of the http.client module. Add private http.client._create_https_context() helper to http.client, used by urllib.request. Remove the now redundant check on check_hostname and verify_mode in http.client: the SSLContext.check_hostname setter already implements the check. | ||||
* | gh-84461: Build Emscripten with WASM BigInt support (#94219) | Christian Heimes | 2022-06-24 | 3 | -1/+8 |
| | |||||
* | gh-94205: Ensures all required DLLs are copied on Windows for underpth tests ↵ | Steve Dower | 2022-06-24 | 1 | -0/+2 |
| | | | | (GH-94206) | ||||
* | gh-84461: Fix ctypes and test_ctypes on Emscripten (#94142) | Christian Heimes | 2022-06-24 | 9 | -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 Aasland | 2022-06-24 | 1 | -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 Stinner | 2022-06-24 | 4 | -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 Stinner | 2022-06-24 | 7 | -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 Stinner | 2022-06-24 | 5 | -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 Bucher | 2022-06-23 | 1 | -0/+527 |
| | |||||
* | Add ABI dump script (#94135) | Pablo Galindo Salgado | 2022-06-23 | 3 | -1/+12 |
| | |||||
* | [Enum] Remove automatic docstring generation (GH-94188) | Sam Ezeh | 2022-06-23 | 2 | -267/+4 |
| | |||||
* | gh-91219: Add an index_pages default list and parameter to ↵ | Myron Walker | 2022-06-23 | 2 | -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 Rossum | 2022-06-23 | 1 | -2/+4 |
| | |||||
* | gh-92858: Improve error message for some suites with syntax error before ':' ↵ | wookie184 | 2022-06-23 | 4 | -380/+542 |
| | | | | (#92894) | ||||
* | [Enum] fix typo (GH-94158) | Ethan Furman | 2022-06-23 | 1 | -8/+8 |
| | |||||
* | GH-91742: Fix pdb crash after jump (GH-94171) | Kumar Aditya | 2022-06-23 | 3 | -1/+45 |
| | |||||
* | gh-89121: Keep the number of pending SQLite statements to a minimum (#30379) | Erlend Egeberg Aasland | 2022-06-23 | 1 | -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 Palard | 2022-06-23 | 1 | -2/+2 |
| | |||||
* | gh-84461: Fix test_sqlite for Emscripten/WASI (#94125) | Christian Heimes | 2022-06-23 | 1 | -1/+8 |
| |