Skip to content
Permalink
master

Commits on Feb 26, 2021

  1. bpo-42128: Structural Pattern Matching (PEP 634) (GH-22917)

    Co-authored-by: Guido van Rossum <guido@python.org>
    Co-authored-by: Talin <viridia@gmail.com>
    Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
    4 people committed Feb 26, 2021
  2. bpo-38302: __pow__/__rpow__ now called when __ipow__ returns NotImple…

    …mented (#16459)
    ashkop committed Feb 26, 2021
  3. bpo-43317: Use io.DEFAULT_BUFFER_SIZE instead of 1024 in gzip CLI (#2…

    …4645)
    
    This improves the performance slightly.
    rhpvorderman committed Feb 26, 2021
  4. Update logging.config.rst (GH-24630)

    # a typo fix
    
    Automerge-Triggered-By: GH:vsajip
    MasaYan24 committed Feb 26, 2021
  5. closes bpo-43278: remove unnecessary leading '\n' from COMPILER when …

    …build with GCC/Clang (GH-24606)
    
    Automerge-Triggered-By: GH:benjaminp
    josephsmeng committed Feb 26, 2021
  6. bpo-43144: Mark unicodedata's test_normalization as requiring network (

    …GH-24650)
    
    Co-authored-by: Arkadiusz Miśkiewicz <arekm@maven.pl>
    ammaraskar and arekm committed Feb 26, 2021
  7. bpo-43316: gzip: Fix sys.exit() usage. (GH-24652)

    methane committed Feb 26, 2021
  8. bpo-43314: Remove SQLITE_OPEN_URI ifdef (GH-24637)

    SQLite 3.7.15 is required as by GH-24106. SQLITE_OPEN_URI was added in
    SQLite 3.7.7.
    erlend-aasland committed Feb 26, 2021

Commits on Feb 25, 2021

  1. bpo-43290: Remove workaround from pysqlite_step() (GH-24638)

    From the SQLite 3.5.3 changelog:
    
    sqlite3_step() returns SQLITE_MISUSE instead of crashing when called
    with a NULL parameter.
    
    The workaround no longer needed because we no longer support
    SQLite releases older than 3.7.15.
    erlend-aasland committed Feb 25, 2021
  2. bpo-43316: gzip: CLI uses non-zero return code on error. (GH-24647)

    Exit code is now 1 instead of 0. A message is printed to stderr instead of stdout. This is
    the proper behaviour for a tool that can be used in scripts.
    rhpvorderman committed Feb 25, 2021

Commits on Feb 24, 2021

  1. Remove comment about a private email.headerregistry (GH-24233)

    It's been public since 2012: ea97668
    The-Compiler committed Feb 24, 2021
  2. bpo-43293: Doc: move note about GIL to top of threading module (GH-24622

    )
    
    The note about the GIL was buried pretty deep in the threading documentation,
    and this made it hard for first time users to discover why their attempts
    at using threading to parallelizing their application did not work.
    
    In this commit, the note is moved to the top of the module documention for
    visibility.
    quantum5 committed Feb 24, 2021
  3. bpo-41841: Revise header (GH-24633)

    terryjreedy committed Feb 24, 2021
  4. bpo-43283: Add IDLE doc paragraph about print speed (GH-24615)

    Printing to IDLE's Shell is often slower than printing to a system
    terminal, but it can be made faster by pre-formatting a single
    string before printing.
    terryjreedy committed Feb 24, 2021

Commits on Feb 23, 2021

  1. bpo-43146: fix None-handling in single-arg traceback.print_exception(…

    …None) (GH-24629)
    
    (The previous commit fixed print_exception(None, None, None).)
    iritkatriel committed Feb 23, 2021
  2. bpo-43239: Export PyCFunction_New with PyAPI_FUNC (GH-24551)

    encukou committed Feb 23, 2021

Commits on Feb 22, 2021

  1. bpo-36346: Document removal schedule of deprecate APIs (GH-20879)

    We will remove wstr cache in Python 3.12. See PEP 623.
    methane committed Feb 22, 2021
  2. bpo-36346: Emit DeprecationWarning for PyArg_Parse() with 'u' or 'Z'. (

    …GH-20927)
    
    Emit DeprecationWarning when PyArg_Parse*() is called with 'u', 'Z' format.
    
    See PEP 623.
    methane committed Feb 22, 2021
  3. bpo-23882: Doc: Clarify unittest discovery document (GH-21560)

    Unittest discovery support namespace package as start
    directory. But it doesn't find namespace package in
    the start directory automatically.
    
    Otherwise, unittest discovery search into unexpected
    directories like `vendor/` or `node_modules/`.
    methane committed Feb 22, 2021

Commits on Feb 21, 2021

  1. bpo-43260: io: Prevent large data remains in textio buffer. (GH-24592)

    When very large data remains in TextIOWrapper, flush() may fail forever.
    
    So prevent that data larger than chunk_size is remained in TextIOWrapper internal
    buffer.
    
    Co-Authored-By: Eryk Sun
    methane committed Feb 21, 2021
  2. Fix failed merge of bpo-43288. (GH-24614)

    nascheme committed Feb 21, 2021
  3. bpo-43288: Fix bug in test_importlib test. (GH-24612)

    nascheme committed Feb 21, 2021
  4. bpo-42093: Cleanup _PyDict_GetItemHint() (GH-24582)

    * No longer save/restore the current exception. It is no longer used
      with an exception raised.
    * No longer clear the current exception on error: it's now up to the
      caller.
    vstinner committed Feb 21, 2021
  5. bpo-43269: Remove redundant extern keywords (GH-24605)

    erlend-aasland committed Feb 21, 2021
  6. bpo-43283: Rearrange some IDLE doc paragraphs. (GH-24604)

    In the Running User Code section, gather together paragraphs about two
    processes and the sys.stdstream replacements, preparing to add another.
    terryjreedy committed Feb 21, 2021
  7. bpo-27646: Say that 'yield from' expression can be any iterable (GH-2…

    …4595)
    
    Previously, the doc at least strongly implied that it had to be an iterator.
    terryjreedy committed Feb 21, 2021
  8. bpo-43269: Clean up sqlite3 file scope (GH-24578)

    erlend-aasland committed Feb 21, 2021

Commits on Feb 20, 2021

  1. bpo-43277: Add PySet_CheckExact to the C-API (GH-24598)

    For some mysterious reason we have PySet_Check, PyFrozenSet_Check, PyAnySet_Check, PyAnySet_CheckExact and PyFrozenSet_CheckExact but no PySet_CheckExact.
    pablogsal committed Feb 20, 2021
  2. bpo-42990: Functions inherit current builtins (GH-24564)

    The types.FunctionType constructor now inherits the current builtins
    if the globals dictionary has no "__builtins__" key, rather than
    using {"None": None} as builtins: same behavior as eval() and exec()
    functions.
    
    Defining a function with "def function(...): ..." in Python is not
    affected, globals cannot be overriden with this syntax: it also
    inherits the current builtins.
    
    PyFrame_New(), PyEval_EvalCode(), PyEval_EvalCodeEx(),
    PyFunction_New() and PyFunction_NewWithQualName() now inherits the
    current builtins namespace if the globals dictionary has no
    "__builtins__" key.
    
    * Add _PyEval_GetBuiltins() function.
    * _PyEval_BuiltinsFromGlobals() now uses _PyEval_GetBuiltins() if
      builtins cannot be found in globals.
    * Add tstate parameter to _PyEval_BuiltinsFromGlobals().
    vstinner committed Feb 20, 2021
  3. Fix typo in launcher.c (GH-24497)

    eltociear committed Feb 20, 2021
  4. Fix typo in dis module doc (GH-24509)

    iritkatriel committed Feb 20, 2021
Older