main
Commits on Aug 8, 2021
-
bpo-42053: Remove misleading check in os.fwalk() (GH-27669)
os.fwalk() does not support integer as the first argument, and never supported.
-
bpo-44859: Improve error handling in sqlite3 and and raise more accur…
…ate exceptions. (GH-27654) * MemoryError is now raised instead of sqlite3.Warning when memory is not enough for encoding a statement to UTF-8 in Connection.__call__() and Cursor.execute(). * UnicodEncodeError is now raised instead of sqlite3.Warning when the statement contains surrogate characters in Connection.__call__() and Cursor.execute(). * TypeError is now raised instead of ValueError for non-string script argument in Cursor.executescript(). * ValueError is now raised for script containing the null character instead of truncating it in Cursor.executescript(). * Correctly handle exceptions raised when getting boolean value of the result of the progress handler. * Add many tests covering different corner cases. Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Commits on Aug 7, 2021
-
bpo-44856: Possible reference leak in error paths of update_bases() a…
…nd __build_class__ (GH-27647)
Commits on Aug 6, 2021
-
bpo-42971: Add errno.EQFULL (macOS) (GH-24419)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
-
bpo-27752: improve documentation of csv.Dialect (GH-26795)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
-
bpo-44839: Raise more specific errors in sqlite3 (GH-27613)
MemoryError raised in user-defined functions will now preserve its type. OverflowError will now be converted to DataError. Previously both were converted to OperationalError.
-
Upgrade bundled pip and setuptools (#27625)
pip is now 21.2.3 setuptools is now 57.4.0
-
bpo-44756: [docs] revert automated virtual environment creation on `m…
…ake html` (GH-27635) It turned out to be disruptive for downstream distributors.
-
bpo-44524: Fix an issue wherein
_GenericAlias._namewas not properl……y set for specialforms (GH-27614) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
-
bpo-44849: Fix os.set_inheritable() on FreeBSD 14 with O_PATH (GH-27623)
Fix the os.set_inheritable() function on FreeBSD 14 for file descriptor opened with the O_PATH flag: ignore the EBADF error on ioctl(), fallback on the fcntl() implementation.
-
bpo-40928: notify users running test_decimal on macOS of malloc warni…
…ngs (GH-26783) * When trying to allocate very large regions on macOS, malloc does not fail silently. It sends a noisy error out to STDERR * This provides a helper function to warn the user, and provides the warning for test_decimal, which consistently generates these warnings on macOS. Co-authored-by: Łukasz Langa <lukasz@langa.pl>
-
bpo-44584: Deprecate PYTHONTHREADDEBUG env var (GH-27065)
The threading debug (PYTHONTHREADDEBUG environment variable) is deprecated in Python 3.10 and will be removed in Python 3.12. This feature requires a debug build of Python.
Commits on Aug 5, 2021
-
-
bpo-44822: Don't truncate
strs with embedded NULL chars returned by…… `sqlite3` UDF callbacks (GH-27588)
-
Commits on Aug 4, 2021
-
bpo-42958: Improve description of shallow= in filecmp.cmp docs (GH-27166
-
[doc] bpo-43066: zipfile - add note on leading slash in the filename …
…arg (GH-26899) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
-
-
Fix 404 link to the pyporting mailing list (GH-27320)
Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
-
-
bpo-41117: Cleanup subtract_refs() (GH-27593)
subtract_refs() reuses the 'op' variable rather than calling the FROM_GC() macro twice. Issue reported by William Pickard.
-
Add option to write specialization stats to files and script to summa…
…rize. (GH-27575) * Add option to write stats to random file in a directory. * Add script to summarize stats.
Commits on Aug 3, 2021
-
-
bpo-44808: fixes test for interactive inspect getsource of a class (G…
…H-27571) Co-authored-by: Łukasz Langa <lukasz@langa.pl>