Skip to content
Permalink
main
Switch branches/tags

Commits on Jun 8, 2022

  1. gh-79096: Fix/improve http cookiejar tests (GH-93614)

    Fixup of GH-93463:
    - remove stray print
    - use proper way to check file mode
    - add working chmod decorator
    
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    tiran and ambv committed Jun 8, 2022
  2. gh-93575: Use correct way to calculate PyUnicode struct sizes (GH-93602)

    * gh-93575: Use correct way to calculate PyUnicode struct sizes
    
    * Add comment to keep test_sys and test_unicode in sync
    
    * Fix case code < 256
    tiran committed Jun 8, 2022
  3. gh-87961: Remove outdated notes from functions that aren't in the Lim…

    …ited API (GH-93581)
    
    * Remove outdated notes from functions that aren't in the Limited API
    
    Nowadays everything that *is* in the Limited API has a note added
    automatically.
    These notes could mislead people to think that these functions
    could never be added to the limited API. Remove them.
    
    * Also remove forgotten note on tp_vectorcall_offset not being finalized
    encukou committed Jun 8, 2022
  4. gh-93584: Make all install+tests targets depends on all (GH-93589)

    All install targets use the "all" target as synchronization point to
    prevent race conditions with PGO builds. PGO builds use recursive make,
    which can lead to two parallel `./python setup.py build` processes that
    step on each others toes.
    
    "test" targets now correctly compile PGO build in a clean repo.
    tiran committed Jun 8, 2022

Commits on Jun 7, 2022

  1. gh-93370: Deprecate sqlite3.version and sqlite3.version_info (#93482)

    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
    Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
    4 people committed Jun 7, 2022
  2. Fix PurePath.relative_to links in the pathlib documentation. (GH-93268

    )
    
    These are currently broken as they refer to :meth:`Path.relative_to` rather than :meth:`PurePath.relative_to`, and `relative_to` is a method on `PurePath`.
    jacksonriley committed Jun 7, 2022
  3. gh-88831: In docs for asyncio.create_task, explain why strong referen…

    …ces to tasks are needed (GH-93258)
    
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    agrommek and ambv committed Jun 7, 2022
  4. gh-57539: Increase calendar test coverage (GH-93468)

    Co-authored-by: Sean Fleming
    Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    3 people committed Jun 7, 2022
  5. gh-93162: Add ability to configure QueueHandler/QueueListener together (

    GH-93269)
    
    Also, provide getHandlerByName() and getHandlerNames() APIs.
    
    Closes #93162.
    vsajip committed Jun 7, 2022
  6. gh-79096: Protect cookie file created by {LWP,Mozilla}CookieJar.save() (

    GH-93463)
    
    Note: This change is not effective on Microsoft Windows.
    
    Cookies can store sensitive information and should therefore be protected
    against unauthorized third parties. This is also described in issue #79096.
    
    The filesystem permissions are currently set to 644, everyone can read the
    file. This commit changes the permissions to 600, only the creater of the file
    can read and modify it. This improves security, because it reduces the attack
    surface. Now the attacker needs control of the user that created the cookie or
    a ways to circumvent the filesystems permissions.
    
    This change is backwards incompatible. Systems that rely on world-readable
    cookies will breake. However, one could argue that those are misconfigured in
    the first place.
    pSub committed Jun 7, 2022

Commits on Jun 6, 2022

  1. gh-89018: Improve documentation of sqlite3 exceptions (#27645)

    - Order exceptions as in PEP 249
    - Reword descriptions, so they match the current behaviour
    
    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    erlend-aasland and AlexWaygood committed Jun 6, 2022
  2. gh-90473: Make chmod a dummy on WASI, skip chmod tests (GH-93534)

    WASI does not have the ``chmod(2)`` syscall yet.
    tiran committed Jun 6, 2022
  3. asyncio.Barrier docs: Fix typo (#93371)

    taks -> tasks
    thedrow committed Jun 6, 2022
Older