Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Dec 28, 2022

  1. gh-100585: Fixed a bug where importlib.resources.as_file was leaving …

    …file pointers open (GH-100586)
    
    * gh-100585: Fixed open fp bug in the imporlib module
    
    * Added news for gh-100585
    samety committed Dec 28, 2022
  2. gh-94172: Update docs for params removed in 3.12 (#100431)

    Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
    Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
    3 people committed Dec 28, 2022
  3. gh-100540: Remove unused Modules/_ctypes/libffi_osx/ (GH-100543)

    It was an ancient, modified copy of libffi that has not been in use
    since GH-22855.
    zware committed Dec 28, 2022
  4. gh-100540: Remove obsolete '--with-system-ffi' configure option (GH-1…

    …00544)
    
    It has had no effect on non-macOS platforms for a long time, and has had
    the non-obvious effect of invoking `pkg_config` and not setting
    `-DUSING_APPLE_OS_LIBFFI` on macOS since GH-22855.
    zware committed Dec 28, 2022
  5. gh-100540: Remove unnecessary '-DMACOSX' for ctypes on macOS (GH-100542)

    The define was only used to protect a `#pragma clang diagnostic`
    setting, which is already better guarded by `__clang__` anwyay.
    zware committed Dec 28, 2022
  6. Remove skipped test in test for async mocks. (#100559)

    Remove skipped test.
    
    See discussion on #25326.
    Fix is apparently here, but no-one is confident to review and land: #25347.
    cjw296 committed Dec 28, 2022
  7. gh-55688: Add note about ending backslashes for raw strings (#94768)

    Co-authored-by: hauntsaninja <hauntsaninja@gmail.com>
    slateny and hauntsaninja committed Dec 28, 2022
  8. GH-98831: Modernize a ton of simpler instructions (#100545)

    * load_const and load_fast aren't families for now
    * Don't decref unmoved names
    * Modernize GET_ANEXT
    * Modernize GET_AWAITABLE
    * Modernize ASYNC_GEN_WRAP
    * Modernize YIELD_VALUE
    * Modernize POP_EXCEPT (in more than one way)
    * Modernize PREP_RERAISE_STAR
    * Modernize LOAD_ASSERTION_ERROR
    * Modernize LOAD_BUILD_CLASS
    * Modernize STORE_NAME
    * Modernize LOAD_NAME
    * Modernize LOAD_CLASSDEREF
    * Modernize LOAD_DEREF
    * Modernize STORE_DEREF
    * Modernize COPY_FREE_VARS (mark it as done)
    * Modernize LIST_TO_TUPLE
    * Modernize LIST_EXTEND
    * Modernize SET_UPDATE
    * Modernize SETUP_ANNOTATIONS
    * Modernize DICT_UPDATE
    * Modernize DICT_MERGE
    * Modernize MAP_ADD
    * Modernize IS_OP
    * Modernize CONTAINS_OP
    * Modernize CHECK_EXC_MATCH
    * Modernize IMPORT_NAME
    * Modernize IMPORT_STAR
    * Modernize IMPORT_FROM
    * Modernize JUMP_FORWARD (mark it as done)
    * Modernize JUMP_BACKWARD (mark it as done)
    gvanrossum committed Dec 28, 2022

Commits on Dec 26, 2022

  1. gh-92446: Improve argparse choices docs; revert bad change to lzma do…

    …cs (#94627)
    
    Based on the definition of the collections.abc classes, it is more accurate to use "sequence" instead of "container" when describing argparse choices.
    
    A previous attempt at fixing this in #92450 was mistaken; this PR reverts that change.
    
    Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
    yourlefthandman and hauntsaninja committed Dec 26, 2022

Commits on Dec 25, 2022

  1. gh-100519: simplification to eff_request_host in cookiejar.py (#99588)

    `IPV4_RE` includes a `.`, and the `.find(".") == -1` included here is already testing to make sure there's no dot, so this part of the expression is tautological. Instead use more modern `in` syntax to make it clear what the check is doing here. The simplified implementation more clearly matches the wording in RFC 2965.
    
    Co-authored-by: hauntsaninja <hauntsaninja@gmail.com>
    glyph and hauntsaninja committed Dec 25, 2022

Commits on Dec 24, 2022

  1. [Minor PR] Quotes in documentation changed into code blocks (#99536)

    Minor formatting fix in documentation
    
    Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
    bartbroere and hauntsaninja committed Dec 24, 2022
  2. gh-100428: Make float documentation more accurate (#100437)

    Previously, the grammar did not accept `float("10")`.
    Also implement mdickinson's suggestion of removing the indirection.
    hauntsaninja committed Dec 24, 2022
  3. gh-100474: Fix handling of dirs named index.html in http.server (GH-1…

    …00475)
    
    If you had a directory called index.html or index.htm within a directory, it would cause http.server to return a 404 Not Found error instead of the directory listing. This came about due to not checking that the index was a regular file.
    
    I have also added a test case for this situation.
    
    Automerge-Triggered-By: GH:merwok
    Fraetor committed Dec 24, 2022
  4. gh-99908: Tutorial: Modernize the 'data-record class' example (#100499)

    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    JosephSBoyle and AlexWaygood committed Dec 24, 2022
Older