Skip to content
Permalink
master

Commits on Sep 29, 2020

  1. bpo-41670: Remove outdated predict macro invocation. (GH-22026)

    Remove PREDICTion of POP_BLOCK from FOR_ITER.
    markshannon committed Sep 29, 2020
  2. bpo-41774: Add programming FAQ entry (GH-22402)

    In the "Sequences (Tuples/Lists)" section, add
    "How do you remove multiple items from a list".
    terryjreedy committed Sep 29, 2020
  3. bpo-41873: Add vectorcall for float() (GH-22432)

    sweeneyde committed Sep 29, 2020

Commits on Sep 28, 2020

  1. bpo-41842: Add codecs.unregister() function (GH-22360)

    Add codecs.unregister() and PyCodec_Unregister() functions
    to unregister a codec search function.
    shihai1991 committed Sep 28, 2020
  2. bpo-41875: Use __builtin_unreachable when possible (GH-22433)

    corona10 committed Sep 28, 2020
  3. bpo-40105: ZipFile truncate in append mode with shorter comment (GH-1…

    mzr committed Sep 28, 2020
  4. bpo-41870: Use PEP 590 vectorcall to speed up bool() (GH-22427)

    * bpo-41870: Use PEP 590 vectorcall to speed up bool()
    
    * bpo-41870: Add NEWS.d
    corona10 committed Sep 28, 2020

Commits on Sep 27, 2020

  1. [doc] Leverage the fact that the actual types can now be indexed for …

    …typing (GH-22340)
    
    This shows users that they can use the actual types. Using deprecated types is confusing.
    
    This also prefers colections.abc.Sized instead of the alias typing.Sized. I guess the aliases were created to make it convenient to import all collections related types from the same place.
    
    This should be backported to 3.9.
    
    Automerge-Triggered-By: @gvanrossum
    andresdelfino committed Sep 27, 2020
  2. bpo-41858: Clarify line in optparse doc (GH-22407)

    The existing line is easily read as being incomplete.
    eamanu committed Sep 27, 2020
  3. Revert "Fix all Python Cookbook links (#22205)" (GH-22424)

    This commit reverts commit ac0333e as the original links are working again and they provide extended features such as comments and alternative versions.
    andresdelfino committed Sep 27, 2020

Commits on Sep 26, 2020

  1. bpo-1635741: Port _bisect module to multi-phase init (GH-22415)

    corona10 committed Sep 26, 2020
  2. bpo-41428: Fix compiler warning in unionobject.c (GH-22416)

    Use Py_ssize_t type rather than int, to store lengths in
    unionobject.c. Fix the warning:
    
    Objects\unionobject.c(205,1): warning C4244: 'initializing':
    conversion from 'Py_ssize_t' to 'int', possible loss of data
    vstinner committed Sep 26, 2020

Commits on Sep 25, 2020

  1. Fix logging error message (GH-22410)

    Same changes as #22276 squashed to a single commit. Just hoping to get Travis to cooperate by opening a new PR...
    
    Automerge-Triggered-By: @vsajip
    larsoner committed Sep 25, 2020
  2. bpo-39934: Account for control blocks in 'except' in compiler. (GH-22395

    )
    
    * Account for control blocks in 'except' in compiler. Fixes #39934.
    markshannon committed Sep 25, 2020

Commits on Sep 24, 2020

  1. bpo-41775: Make 'IDLE Shell' the shell title (#22399)

    'Python Shell' may have contributed to some beginners confusing 'IDLE' with ' Python'.
    terryjreedy committed Sep 24, 2020

Commits on Sep 23, 2020

  1. bpo-41428: Fix compiler warnings in unionobject.c (GH-22388)

    Use Py_ssize_t type rather than int, to store lengths in
    unionobject.c. Fix warnings:
    
    Objects\unionobject.c(189,71): warning C4244: '+=':
    conversion from 'Py_ssize_t' to 'int', possible loss of data
    
    Objects\unionobject.c(182,1): warning C4244: 'initializing':
    conversion from 'Py_ssize_t' to 'int', possible loss of data
    
    Objects\unionobject.c(205,1): warning C4244: 'initializing':
    conversion from 'Py_ssize_t' to 'int', possible loss of data
    
    Objects\unionobject.c(437,1): warning C4244: 'initializing':
    conversion from 'Py_ssize_t' to 'int', possible loss of data
    vstinner committed Sep 23, 2020
  2. bpo-41654: Fix compiler warning in MemoryError_dealloc() (GH-22387)

    Fix warning:
    
    Objects\exceptions.c(2324,56): warning C4098:
    'MemoryError_dealloc': 'void' function returning a value
    vstinner committed Sep 23, 2020
  3. bpo-41833: threading.Thread now uses the target name (GH-22357)

    vstinner committed Sep 23, 2020
  4. bpo-30155: Add macros to get tzinfo from datetime instances (GH-21633)

    Add PyDateTime_DATE_GET_TZINFO() and PyDateTime_TIME_GET_TZINFO()
    macros.
    ZackerySpytz committed Sep 23, 2020
  5. bpo-33822: Update IDLE section of What's New 3.8 (GH-22383)

    terryjreedy committed Sep 23, 2020
  6. bpo-41844: Add IDLE section to What's New 3.9 (GN-22382)

    terryjreedy committed Sep 23, 2020
  7. bpo-41841: Prepare IDLE News for 3.10 (GH-22379)

    terryjreedy committed Sep 23, 2020
  8. bpo-37779 : Add information about the overriding behavior of ConfigPa…

    …rser.read (GH-15177)
    
    Co-Authored-By: Kyle Stanley <[email protected]>
    Co-Authored-By: Paul Ganssle <[email protected]>
    3 people committed Sep 23, 2020
  9. bpo-40170: Use inline _PyType_HasFeature() function (GH-22375)

    Use _PyType_HasFeature() in the _io module and in structseq
    implementation. Replace PyType_HasFeature() opaque function call with
    _PyType_HasFeature() inlined function.
    vstinner committed Sep 23, 2020
  10. bpo-40941: Fix stackdepth compiler warnings (GH-22377)

    Explicitly cast a difference of two pointers to int:
    PyFrameObject.f_stackdepth is an int.
    vstinner committed Sep 23, 2020
  11. bpo-40941: Fix fold_tuple_on_constants() compiler warnings (GH-22378)

    Add explicit casts to fix compiler warnings in
    fold_tuple_on_constants().
    
    The limit of constants per code is now INT_MAX, rather than UINT_MAX.
    vstinner committed Sep 23, 2020
  12. bpo-40521: Fix PyUnicode_InternInPlace() (GH-22376)

    Fix PyUnicode_InternInPlace() when the INTERNED_STRINGS macro is not
    defined (when the EXPERIMENTAL_ISOLATED_SUBINTERPRETERS macro is
    defined).
    vstinner committed Sep 23, 2020
  13. bpo-41834: Remove _Py_CheckRecursionLimit variable (GH-22359)

    Remove the global _Py_CheckRecursionLimit variable: it has been
    replaced by ceval.recursion_limit of the PyInterpreterState
    structure.
    
    There is no need to keep the variable for the stable ABI, since
    Py_EnterRecursiveCall() and Py_LeaveRecursiveCall() were not usable
    in Python 3.8 and older: these macros accessed PyThreadState members,
    whereas the PyThreadState structure is opaque in the limited C API.
    vstinner committed Sep 23, 2020
  14. bpo-1635741, unicodedata: add ucd_type parameter to UCD_Check() macro (

    …GH-22328)
    
    Co-authored-by: Victor Stinner <[email protected]>
    koubaa and vstinner committed Sep 23, 2020
  15. bpo-41513: Improve order of adding fractional values. Improve variabl…

    …e names. (GH-22368)
    rhettinger committed Sep 23, 2020

Commits on Sep 22, 2020

  1. bpo-41816: `StrEnum.__str__` is `str.__str__` (GH-22362)

    use `str.__str__` for `StrEnum` so that `str(StrEnum.member)` is the same as directly accessing the string value of the `StrEnum` member
    ethanfurman committed Sep 22, 2020
Older
You can’t perform that action at this time.