Skip to content
Permalink
master

Commits on Dec 24, 2020

  1. [Enum] EnumMeta.__prepare__ now accepts **kwds (#23917)

    ethanfurman committed Dec 24, 2020
  2. bpo-36876: [c-analyzer tool] Add a "capi" subcommand to the c-analyze…

    …r tool. (gh-23918)
    
    This will help identify which C-API items will need to be updated for subinterpreter support.
    
    https://bugs.python.org/issue36876
    ericsnowcurrently committed Dec 24, 2020
  3. closes bpo-42726: gdb libpython: InstanceProxy support for py3 (GH-23912

    )
    
    On Fedora 31 gdb is using python 3.7.9, calling `proxyval` on an instance with a dictionary fails because of the `dict.iteritems` usage. This PR changes the code to be compatible with py2 and py3.
    
    This changed seemed small enough to not need an issue and news blurb, if one is required please let me know.
    
    Automerge-Triggered-By: GH:benjaminp
    hackaugusto committed Dec 24, 2020
  4. GH: Add isidentical to the CODEOWNERS (GH-23923)

    isidentical committed Dec 24, 2020
  5. bpo-42195: Override _CallableGenericAlias's __getitem__ (GH-23915)

    Added `__getitem__` for `_CallableGenericAlias` so that it returns a subclass (itself) of `types.GenericAlias` rather than the default behavior of returning a plain `types.GenericAlias`. This fixes `repr` issues occuring after `TypeVar` substitution arising from the previous behavior.
    Fidget-Spinner committed Dec 24, 2020

Commits on Dec 23, 2020

  1. bpo-41960: Add globalns and localns parameters to inspect.signature a…

    …nd Signature.from_callable (GH-22583)
    isidentical committed Dec 23, 2020
  2. bpo-25246: Optimize deque.remove() (GH-23898)

    rhettinger committed Dec 23, 2020
  3. bpo-32381: pymain_run_command() uses PyCF_IGNORE_COOKIE (GH-23724)

    The coding cookie (ex: "# coding: latin1") is now ignored in the
    command passed to the -c command line option.
    
    Since pymain_run_command() uses UTF-8, pass PyCF_IGNORE_COOKIE
    compiler flag to the parser.
    
    pymain_run_python() no longer propages compiler flags between
    function calls.
    vstinner committed Dec 23, 2020
  4. bpo-9694: Fix misleading phrase "optional arguments" (GH-23858)

    rhettinger committed Dec 23, 2020
  5. bpo-28468: Fix typo in _os_release_candidates (GH-23913)

    Automerge-Triggered-By: GH:tiran
    vstinner committed Dec 23, 2020
  6. BPO-42703: Fix incorrect documentation links for asyncio.Event (GH-23881

    )
    mattfowler committed Dec 23, 2020
  7. bpo-1635741: Port resource extension module to module state (GH-23462)

    Signed-off-by: Christian Heimes <christian@python.org>
    tiran committed Dec 23, 2020
  8. bpo-42620: Improve socket.getsockname doc string (GH-23742)

    Signed-off-by: Christian Heimes <christian@python.org>
    tiran committed Dec 23, 2020
  9. bpo-39465: Add pycore_atomic_funcs.h header (GH-20766)

    Add pycore_atomic_funcs.h internal header file: similar to
    pycore_atomic.h but don't require to declare variables as atomic.
    
    Add _Py_atomic_size_get() and _Py_atomic_size_set() functions.
    vstinner committed Dec 23, 2020

Commits on Dec 22, 2020

  1. Fix typos in sysmodule (GH-23883)

    nanjekyejoannah committed Dec 22, 2020
  2. bpo-34463: Make python tracebacks identical to C tracebacks for Synta…

    …xErrors without a lineno (GH-23427)
    iritkatriel committed Dec 22, 2020
  3. [doc] Fix missing commas in signatures (#23693)

    * Fix star in signatures
    
    * Fix comma in signatures
    andresdelfino committed Dec 22, 2020
  4. bpo-42688: Fix ffi alloc/free when using external libffi on macos (GH…

    …-23868)
    
    Automerge-Triggered-By: GH:ronaldoussoren
    erykoff committed Dec 22, 2020

Commits on Dec 21, 2020

  1. bpo-42008: Fix internal _random.Random() seeding for the one argument…

    … case (GH-22668)
    amiremohamadi committed Dec 21, 2020
  2. Fix typo in docstring (GH-23515)

    fernandohtr committed Dec 21, 2020
  3. bpo-42634: Mark reraise after except blocks as artificial. (GH-23877)

    * Mark reraise after except blocks as artificial.
    
    * Update importlib
    
    * Update dis test.
    markshannon committed Dec 21, 2020
  4. bpo-35790: Correct the description of sys.exc_info() and add a code e…

    …xample (GH-11625)
    maggyero committed Dec 21, 2020
  5. [WIP/RFC] bpo-15872: tests: remove oddity from test_rmtree_errors (GH…

    …-22967)
    
    This was added for (some) Windows buildbots back in 2012, and should
    either not be necessary anymore, or it should probably get investigated
    why "\*.*" gets added to filenames in the first place.
    
    Ref:
    
    Automerge-Triggered-By: GH:hynek
    blueyed committed Dec 21, 2020

Commits on Dec 20, 2020

  1. bpo-42669: Document that `except` rejects nested tuples (GH-23822)

    In Python 2, it was possible to use `except` with a nested tuple, and occasionally natural.  For example, `zope.formlib.interfaces.InputErrors` is a tuple of several exception classes, and one might reasonably think to do something like this:
    
        try:
            self.getInputValue()
            return True
        except (InputErrors, SomethingElse):
            return False
    
    As of Python 3.0, this raises `TypeError: catching classes that do not inherit from BaseException is not allowed` instead: one must instead either break it up into multiple `except` clauses or flatten the tuple.  However, the reference documentation was never updated to match this new restriction.  Make it clear that the definition is no longer recursive.
    
    Automerge-Triggered-By: GH:ericvsmith
    cjwatson committed Dec 20, 2020
  2. bpo-42604: always set EXT_SUFFIX=${SOABI}${SHLIB_SUFFIX} when using c…

    …onfigure (GH-23708)
    
    Now all platforms use a value for the "EXT_SUFFIX" build variable derived
    from SOABI (for instance in FreeBSD, "EXT_SUFFIX" is now ".cpython-310d.so"
    instead of ".so"). Previously only Linux, Mac and VxWorks were using a value
    for "EXT_SUFFIX" that included "SOABI".
    
    Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
    mattip and pablogsal committed Dec 20, 2020
    2

Commits on Dec 19, 2020

  1. bpo-41724: Explain when the conversion is not possible with detect_ty…

    …pes enabled (GH-23855)
    
    * Explain when the conversion is not possible with detect_types enabled
    sblondon committed Dec 19, 2020
  2. [doc] Mention with and except clauses in globals() (GH-13232)

    andresdelfino committed Dec 19, 2020
  3. bpo-42630: Improve error reporting in Tkinter for absent default root (

    …GH-23781)
    
    * Tkinter functions and constructors which need a default root window
      raise now RuntimeError with descriptive message instead of obscure
      AttributeError or NameError if it is not created yet or cannot
      be created automatically.
    
    * Add tests for all functions which use default root window.
    
    * Fix import in the pynche script.
    serhiy-storchaka committed Dec 19, 2020
Older
You can’t perform that action at this time.