Skip to content
Permalink
master

Commits on Mar 4, 2021

  1. bpo-42129: Add support for resources in namespaces (GH-24670)

    * Unify behavior in ResourceReaderDefaultsTests and align with the behavior found in importlib_resources.
    * Equip NamespaceLoader with a NamespaceReader.
    * Apply changes from importlib_resources 5.0.4
    jaraco committed Mar 4, 2021
  2. Revert "bpo-42405: fix C extensions build on Windows ARM64 (GH-23399)" (

    #24753)
    
    This reverts commit cb7bc76.
    jaraco committed Mar 4, 2021
  3. bpo-42405: fix C extensions build on Windows ARM64 (GH-23399)

    The following changes are required:
    
          * add a new platform win-arm64
          * replace the emulated compiler executable paths
          * bump the linker base addressed as ARM64 requires more memory
            this change might not be needed (investigation required)
    
        On Windows 10 ARM64, VS compiler paths look like this:
        C:\Program Files (x86)\Microsoft Visual
        Studio\2019\Community\VC\Tools\MSVC\14.27.29110\bin\HostX86\ARM64\cl.exe
    
        Note that the cl.exe for ARM64 is an x32 binary, which can run emulated
        on Windows 10 ARM64 (it has builtin emulation for x32).
    
        The rc.exe and mc.exe paths have to also be changed, as the initial
        discovery has to be fixed.
    
        Work in progress to remove the hardcoded bits and to change the path
        query fixes to the proper location.
    
    Automerge-Triggered-By: GH:jaraco
    ader1990 committed Mar 4, 2021
  4. bpo-43394: Fix -Wstrict-prototypes warnings (GH-24737)

    brandtbucher committed Mar 4, 2021
  5. bpo-43271: Re-enable ceval.c optimizations for Windows debug builds (G…

    …H-24739)
    
    Partially reverts commit b74396c
    
    The optimizations are necessary to prevent the interpreter from
    crashing in a number of tests involving recursion.
    db3l committed Mar 4, 2021
  6. Improve the description of the improvements in bpo-42202 (GH-24738)

    pablogsal committed Mar 4, 2021

Commits on Mar 3, 2021

  1. bpo-40701: tempfile mixes str and bytes in an inconsistent manner (GH…

    …-20442)
    
    The case of tempfile.tempdir variable being bytes is now handled consistently.
    The getters return the right type and no more error of mixing str and bytes unless explicitly caused by the user.
    
    Adds a regression test.
    
    Expands the documentation to clarify the behavior.
    
    Co-authored-by: Eric L <ewl+git@lavar.de>
    Co-authored-by: Gregory P. Smith <greg@krypto.org>
    3 people committed Mar 3, 2021
  2. bpo-43162: [Enum] update docs, renable doc tests (GH-24487)

    * update docs, renable doc tests
    * make deprecation warning active for two releases
    ethanfurman committed Mar 3, 2021
  3. bpo-43295: Fix error handling of datetime.strptime format string '%z' (

    …GH-24627)
    
    Previously, `datetime.strptime` would match `'z'` with the format string `'%z'` (for UTC offsets), throwing an `IndexError` by erroneously trying to parse `'z'` as a timestamp. As a special case, `'%z'` matches the string `'Z'` which is equivalent to the offset `'+00:00'`, however this behavior is not defined for lowercase `'z'`.
    
    This change ensures a `ValueError` is thrown when encountering the original example, as follows:
    
    ```
    >>> from datetime import datetime
    >>> datetime.strptime('z', '%z')
    ValueError: time data 'z' does not match format '%z'
    ```
    
    Automerge-Triggered-By: GH:pganssle
    noormichael committed Mar 3, 2021
  4. bpo-43368: Fix fetching empty bytes in sqlite3 (GH-24706)

    Regression introduced in 47feb1f.
    felixxm committed Mar 3, 2021
  5. missing multiply symbol in the documentation (GH-24686)

    Sekomer committed Mar 3, 2021
  6. Doc: typo fix. (GH-24721)

    JulienPalard committed Mar 3, 2021
  7. Pin test runner to Ubuntu 18 to un-break CI (#24715)

    brandtbucher committed Mar 3, 2021
  8. Reorder contents of 3.10's What's New (#24687)

    Fidget-Spinner committed Mar 3, 2021
  9. bpo-42994: Add MIME types for opus, AAC, 3gpp and 3gpp2 (#24287)

    Co-authored-by: Nathan Beals <ndbeals@users.noreply.github.com>
    ndbeals committed Mar 3, 2021

Commits on Mar 2, 2021

  1. bpo-42782: Fail fast for permission errors in shutil.move() (GH-24001)

    * Fail fast in shutil.move() to avoid creating destination directories on failure.
    
    Co-authored-by: Zackery Spytz <zspytz@gmail.com>
    winsonluk and ZackerySpytz committed Mar 2, 2021
  2. bpo-43049: Use io.IncrementalNewlineDecoder for doctest newline conve…

    …rsion (GH-24359)
    
    Followup to bpo-1812 and GH-17385.
    pdonis committed Mar 2, 2021
  3. bpo-43358: Fix bad free in assemble function (GH-24697)

    alexhenrie committed Mar 2, 2021
  4. bpo-41282: distutils: Fix stacklevel for DeprecationWarning (GH-24657)

    DeprecationWarning is emit for `import distutils`, not for `distutils` itself.
    methane committed Mar 2, 2021
  5. Doc: Improve library/json document. (GH-24390)

    adorilson committed Mar 2, 2021

Commits on Mar 1, 2021

  1. bpo-42840: Document providing kwargs to type. (#24173)

    Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
    esoma and Fidget-Spinner committed Mar 1, 2021
  2. Fixed linenumber missing when audit hook has an error (GH-24692)

    See sphinx-doc/sphinx#8932
    
    Co-authored-by: tk0miya <i.tkomiya@gmail.com>
    Seluj78 and tk0miya committed Mar 1, 2021
  3. Post 3.10.0a6

    pablogsal committed Mar 1, 2021
  4. Merge tag 'v3.10.0a6'

    Python 3.10.0a6
    pablogsal committed Mar 1, 2021
  5. Fix grammar in enum documentation. (GH-24689)

    There is an extra `s` in the singular word `method`.
    Reported in docs mailing list by Steven Nguyen.
    
    Automerge-Triggered-By: GH:Mariatta
    Mariatta committed Mar 1, 2021
  6. Python 3.10.0a6

    pablogsal committed Mar 1, 2021
  7. Fix typo in Mac/README.rst (#24682)

    targetting -> targeting
    eltociear committed Mar 1, 2021
  8. closes bpo-43349: Fix tuning(7) manpage hyperlink. (GH-24680)

    erlend-aasland committed Mar 1, 2021
Older