Skip to content
Permalink
main

Commits on Aug 8, 2021

  1. bpo-42053: Remove misleading check in os.fwalk() (GH-27669)

    os.fwalk() does not support integer as the first argument,
    and never supported.
    serhiy-storchaka committed Aug 8, 2021
  2. 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>
    serhiy-storchaka and erlend-aasland committed Aug 8, 2021

Commits on Aug 7, 2021

Commits on Aug 6, 2021

  1. bpo-42971: Add errno.EQFULL (macOS) (GH-24419)

    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    ronaldoussoren and ambv committed Aug 6, 2021
  2. bpo-27752: improve documentation of csv.Dialect (GH-26795)

    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    jdevries3133 and ambv committed Aug 6, 2021
  3. 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.
    serhiy-storchaka committed Aug 6, 2021
  4. Upgrade bundled pip and setuptools (#27625)

    pip is now 21.2.3
    setuptools is now 57.4.0
    uranusjr committed Aug 6, 2021
  5. bpo-44756: [docs] revert automated virtual environment creation on `m…

    …ake html` (GH-27635)
    
    It turned out to be disruptive for downstream distributors.
    ambv committed Aug 6, 2021
  6. bpo-44524: Fix an issue wherein _GenericAlias._name was 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>
    3 people committed Aug 6, 2021
  7. 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.
    vstinner committed Aug 6, 2021
  8. 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>
    jdevries3133 and ambv committed Aug 6, 2021
  9. 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.
    vstinner committed Aug 6, 2021

Commits on Aug 4, 2021

  1. bpo-42958: Improve description of shallow= in filecmp.cmp docs (GH-27166

    )
    
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    Co-authored-by: Alexander Vandenbulcke <alexander.vandenbulcke95@gmail.com>
    3 people committed Aug 4, 2021
  2. [doc] bpo-43066: zipfile - add note on leading slash in the filename …

    …arg (GH-26899)
    
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    akulakov and ambv committed Aug 4, 2021
  3. 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>
    3 people committed Aug 4, 2021
  4. 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.
    vstinner committed Aug 4, 2021
  5. 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.
    markshannon committed Aug 4, 2021
Older