Skip to content
Permalink
master

Commits on Oct 3, 2020

  1. [doc] Fix link to abc.collections.Iterable (GH-22520)

    Missed this occurrence before, sorry. Also changed "the PEP" to "PEP".
    
    Automerge-Triggered-By: @gvanrossum
    andresdelfino committed Oct 3, 2020
  2. bpo-40564: Avoid copying state from extant ZipFile. (GH-22371)

    bpo-40564: Avoid copying state from extant ZipFile.
    jaraco committed Oct 3, 2020
  3. bpo-41826: Fix compiler warnings in test_peg_generator (GH-22455)

    Co-authored-by: Skip Montanaro
    pablogsal committed Oct 3, 2020
  4. bpo-41867: List options for timespec in docstrings of isoformat metho…

    …ds (GH-22418)
    cool-RR committed Oct 3, 2020
  5. bpo-41900: C14N 2.0 serialisation failed for unprefixed attributes wh…

    …en a default namespace was defined. (GH-22474)
    scoder committed Oct 3, 2020

Commits on Oct 2, 2020

  1. [doc] Fix link to abc.collections.Iterable (GH-22502)

    Automerge-Triggered-By: @gvanrossum
    andresdelfino committed Oct 2, 2020
  2. Fix is_typeddict markup (#22501)

    andresdelfino committed Oct 2, 2020
  3. Typo fix - "mesasge" should be "message" (GH-22498)

    * Correct at 2 places in email module
    hansrajdas committed Oct 2, 2020
  4. bpo-41692: Deprecate PyUnicode_InternImmortal() (GH-22486)

    The PyUnicode_InternImmortal() function is now deprecated and will be
    removed in Python 3.12: use PyUnicode_InternInPlace() instead.
    vstinner committed Oct 2, 2020
  5. Update link to supporting references (GH-22488)

    rhettinger committed Oct 2, 2020

Commits on Oct 1, 2020

  1. [doc] Update references to NumPy (GH-22458)

    Numeric(al) Python to NumPy. It seems the old name hasn't been used for some time.
    andresdelfino committed Oct 1, 2020
  2. bpo-21955: Change my nickname in BINARY_ADD comment (GH-22481)

    vstinner committed Oct 1, 2020
  3. bpo-26680: Incorporate is_integer in all built-in and standard librar…

    …y numeric types (GH-6121)
    
    * bpo-26680: Adds support for int.is_integer() for compatibility with float.is_integer().
    
    The int.is_integer() method always returns True.
    
    * bpo-26680: Adds a test to ensure that False.is_integer() and True.is_integer() are always True.
    
    * bpo-26680: Adds Real.is_integer() with a trivial implementation using conversion to int.
    
    This default implementation is intended to reduce the workload for subclass
    implementers. It is not robust in the presence of infinities or NaNs and
    may have suboptimal performance for other types.
    
    * bpo-26680: Adds Rational.is_integer which returns True if the denominator is one.
    
    This implementation assumes the Rational is represented in it's
    lowest form, as required by the class docstring.
    
    * bpo-26680: Adds Integral.is_integer which always returns True.
    
    * bpo-26680: Adds tests for Fraction.is_integer called as an instance method.
    
    The tests for the Rational abstract base class use an unbound
    method to sidestep the inability to directly instantiate Rational.
    These tests check that everything works correct as an instance method.
    
    * bpo-26680: Updates documentation for Real.is_integer and built-ins int and float.
    
    The call x.is_integer() is now listed in the table of operations
    which apply to all numeric types except complex, with a reference
    to the full documentation for Real.is_integer().  Mention of
    is_integer() has been removed from the section 'Additional Methods
    on Float'.
    
    The documentation for Real.is_integer() describes its purpose, and
    mentions that it should be overridden for performance reasons, or
    to handle special values like NaN.
    
    * bpo-26680: Adds Decimal.is_integer to the Python and C implementations.
    
    The C implementation of Decimal already implements and uses
    mpd_isinteger internally, we just expose the existing function to
    Python.
    
    The Python implementation uses internal conversion to integer
    using to_integral_value().
    
    In both cases, the corresponding context methods are also
    implemented.
    
    Tests and documentation are included.
    
    * bpo-26680: Updates the ACKS file.
    
    * bpo-26680: NEWS entries for int, the numeric ABCs and Decimal.
    
    Co-authored-by: Robert Smallshire <[email protected]>
    rob-smallshire and Robert Smallshire committed Oct 1, 2020
  4. bpo-41870: Avoid the test when nargs=0 (GH-22462)

    corona10 committed Oct 1, 2020

Commits on Sep 30, 2020

  1. Fix grammar in secrets module documentation (GH-22467)

    From `In particularly,` to `In particular,`
    msmolens committed Sep 30, 2020

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
Older
You can’t perform that action at this time.