Skip to content
Permalink
master

Commits on Dec 9, 2020

  1. bpo-32381: Remove unused _Py_fopen() function (GH-23711)

    Remove the private _Py_fopen() function which is no longer needed.
    Use _Py_wfopen() or _Py_fopen_obj() instead.
    vstinner committed Dec 9, 2020

Commits on Dec 8, 2020

  1. bpo-32381: Add _PyRun_SimpleFileObject() (GH-23709)

    pymain_run_startup() now pass the filename as a Python object to
    _PyRun_SimpleFileObject().
    vstinner committed Dec 8, 2020
  2. bpo-41439: Skip test_ssl and test_uuid tests if fork() is not support…

    …ed (GH-21684)
    pxinwr committed Dec 8, 2020
  3. bpo-41443: Add more attribute checking in test_posix (GH-21688)

    pxinwr committed Dec 8, 2020
  4. bpo-35134: Add Include/cpython/pythonrun.h file (GH-23701)

    Py_CompileString() is now always declared as a function by
    Include/pythonrun.h. It is overriden with a macro in
    Include/cpython/pythonrun.h.
    vstinner committed Dec 8, 2020
  5. bpo-32381: Rewrite PyErr_ProgramText() (GH-23700)

    PyErr_ProgramText() now calls PyErr_ProgramTextObject().
    vstinner committed Dec 8, 2020
  6. [Enum] reformat and add doc strings (GH-23705)

    ethanfurman committed Dec 8, 2020
  7. bpo-42111: Make the xxlimited module an example of best extension mod…

    …ule practices (GH-23226)
    
    - Copy existing xxlimited to xxlimited53 (named for the limited API version it uses)
    - Build both modules, both in debug and release
    - Test both modules
    encukou committed Dec 8, 2020
  8. bpo-41910: move news entry (GH-23695)

    terryjreedy committed Dec 8, 2020
  9. bpo-42599: Remove useless PyModule_GetWarningsModule() (GH-23691)

    Removed PyModule_GetWarningsModule() which is useless due to 
    the _warnings module was converted to a builtin module in 2.6.
    shihai1991 committed Dec 8, 2020
  10. bpo-32381: Fix PyRun_SimpleFileExFlags() encoding (GH-23642)

    Fix encoding name when running a ".pyc" file on Windows:
    PyRun_SimpleFileExFlags() now uses the correct encoding to decode the
    filename.
    
    * Add pyrun_file() subfunction.
    * Add pyrun_simple_file() subfunction.
    * PyRun_SimpleFileExFlags() now calls _Py_fopen_obj() rather than
      _Py_fopen().
    vstinner committed Dec 8, 2020
  11. Post 3.10.0a3

    pablogsal committed Dec 8, 2020
  12. Merge tag 'v3.10.0a3'

    Python 3.10.0a3
    pablogsal committed Dec 8, 2020

Commits on Dec 7, 2020

  1. bpo-42579: Make workaround for various versions of Sphinx more robust (

    …GH-23662)
    
    The solution in gh##13236 is too strict because it
    effectively requires the use of Sphinx >= 2.0. It is not too difficult to
    make the same solution more robust so it works with all normal versions
    of Sphinx.
    mcepl committed Dec 7, 2020
  2. Python 3.10.0a3

    pablogsal committed Dec 7, 2020
  3. bpo-39825: Fixes sysconfig.get_config_var('EXT_SUFFIX') on Windows to…

    … match distutils (GH-22088)
    mattip committed Dec 7, 2020
  4. bpo-30459: Cast the result of PyCell_SET to void (GH-23654)

    vstinner committed Dec 7, 2020
  5. Update macos installer ReadMe for 3.10.0a3 (GH-23671)

    ned-deily committed Dec 7, 2020
  6. bpo-42508: Keep IDLE running on macOS (GH-23577)

    Remove obsolete workaround that prevented running files with
    shortcuts when using new universal2 installers built on macOS 11.
    Ignore buggy 2nd run_module_event call.
    terryjreedy committed Dec 7, 2020
  7. bpo-38843: Document behavior of default when the attribute is already…

    … set (GH-23653)
    rhettinger committed Dec 7, 2020

Commits on Dec 6, 2020

  1. bpo-42582: Remove asyncio._all_tasks_compat(). (GH-23664)

    It was used to implement now removed asyncio.Task.all_tasks().
    serhiy-storchaka committed Dec 6, 2020
  2. bpo-42532: Check if NonCallableMock's spec_arg is not None instead of…

    … call its __bool__ function (GH23613)
    
    Check if NonCallableMock's spec_arg is not None instead of call its __bool__ function
    idanw206 committed Dec 6, 2020

Commits on Dec 5, 2020

  1. bpo-42576: Raise TypeError when passing in keyword arguments to Gener…

    …icAlias (GH-23656)
    
    Use `_PyArg_NoKeywords` instead of `_PyArg_NoKwnames` when checking the `kwds` tuple when creating `GenericAlias`. This fixes an interpreter crash when passing in keyword arguments to `GenericAlias`'s constructor.
    
    Needs backport to 3.9.
    
    Automerge-Triggered-By: GH:gvanrossum
    Fidget-Spinner committed Dec 5, 2020
  2. bpo-30459: Cast the result of PyList_SET_ITEM() to void (GH-19975)

    Do the same for PyTuple_SET_ITEM().
    ZackerySpytz committed Dec 5, 2020
  3. bpo-41116: Fix setup.py test for macOS Tcl/Tk frameworks (GH-23649)

    If no explicit macOS SDK was specified, setup.py should check for
    Tcl and TK frameworks in /Library/Frameworks; the previous commit
    inadvertently broke that test.
    ned-deily committed Dec 5, 2020
  4. bpo-42536: GC track recycled tuples (GH-23623)

    Several built-in and standard library types now ensure that their internal result tuples are always tracked by the garbage collector:
    
    - collections.OrderedDict.items
    - dict.items
    - enumerate
    - functools.reduce
    - itertools.combinations
    - itertools.combinations_with_replacement
    - itertools.permutations
    - itertools.product
    - itertools.zip_longest
    - zip
    
    Previously, they could have become untracked by a prior garbage collection.
    brandtbucher committed Dec 5, 2020

Commits on Dec 4, 2020

  1. bpo-26131: Deprecate usage of load_module() (GH-23469)

    Raise an ImportWarning when the import system falls back on load_module(). As for implementations of load_module(), raise a DeprecationWarning.
    brettcannon committed Dec 4, 2020
  2. 1
  3. bpo-17735: inspect.findsource now raises OSError when co_lineno is ou…

    …t of range (GH-23633)
    
    This can happen when a file was edited after it was imported.
    iritkatriel committed Dec 4, 2020
Older
You can’t perform that action at this time.