Visitar URL original
Commits · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20200604172421/https://github.com/python/cpython/commits/master
Skip to content
Permalink
Branch: master
Commits on Jun 4, 2020
  1. bpo-40679: Fix _PyEval_EvalCode() crash if qualname is NULL (GH-20615)

    vstinner committed Jun 4, 2020
    If name is NULL, name is now set to co->co_name.
    If qualname is NULL, qualname is now set to name.
    
    qualname must not be NULL: it is used to build error messages.
    
    Cleanup also the code: declare variables where they are initialized.
    Rename "name" local variables to "varname" to avoid overriding "name"
    parameter.
  2. bpo-17258: Add requires_hashdigest to multiprocessing tests (GH-20412)

    tiran committed Jun 4, 2020
    Skip some :mod:`multiprocessing` tests when MD5 hash digest is blocked.
    
    Signed-off-by: Christian Heimes <christian@python.org>
  3. Fix MSVC warning in frameobject.c (GH-20590)

    ammaraskar committed Jun 4, 2020
Commits on Jun 3, 2020
  1. Remove unused ReaderObject_Check macro (#20614)

    corona10 committed Jun 3, 2020
  2. Update error message in _zoneinfo.py to use f-string (GH-20577)

    aboddie committed Jun 3, 2020
    Inline with the rest of the file, updated error message to use f-string.
  3. bpo-40471: Fix grammar typo in 'issubclass' docstring (GH-19847)

    alexpovel committed Jun 3, 2020
    Just a brief grammar fix.
    
    See also <>.
  4. bpo-40767: Allow pure Wayland to get default XDG web browser (GH-20382)

    jtheoof committed Jun 3, 2020
    Would be nice to backport to python 3.7+. I don't think it's worth the hassle to backport this all the way down to 3.10. But I'll let the maintainers decide.
    
    This is hard to test because the test setup already includes this [environment variable](https://github.com/python/cpython/blob/master/Lib/test/pythoninfo.py#L292)
    
    Let me know if something doesn't match the PR guidelines. This is my first PR in the python source code.
  5. bpo-40826: Add _PyOS_InterruptOccurred(tstate) function (GH-20599)

    vstinner committed Jun 3, 2020
    my_fgets() now calls _PyOS_InterruptOccurred(tstate) to check for
    pending signals, rather calling PyOS_InterruptOccurred().
    
    my_fgets() is called with the GIL released, whereas
    PyOS_InterruptOccurred() must be called with the GIL held.
    
    test_repl: use text=True and avoid SuppressCrashReport in
    test_multiline_string_parsing().
    
    Fix my_fgets() on Windows: fgets(fp) does crash if fileno(fp) is closed.
  6. bpo-32604: Fix reference leak in select module (GH-20600)

    vstinner committed Jun 3, 2020
    Fix reference leak in PyInit_select() of the select module:
    remove Py_INCREF(poll_Type).
Commits on Jun 2, 2020
  1. bpo-40232: _PyImport_ReInitLock() can now safely use its lock (GH-20597)

    vstinner committed Jun 2, 2020
    Since _PyImport_ReInitLock() now calls _PyThread_at_fork_reinit() on
    the import lock, the lock is now in a known state: unlocked. It
    became safe to acquire it after fork.
  2. PyOS_AfterFork_Child() uses PyStatus (GH-20596)

    vstinner committed Jun 2, 2020
    PyOS_AfterFork_Child() helper functions now return a PyStatus:
    PyOS_AfterFork_Child() is now responsible to handle errors.
    
    * Move _PySignal_AfterFork() to the internal C API
    * Add #ifdef HAVE_FORK on _PyGILState_Reinit(), _PySignal_AfterFork()
      and _PyInterpreterState_DeleteExceptMain().
  3. bpo-39465: Cleanup _PyUnicode_FromId() code (GH-20595)

    vstinner committed Jun 2, 2020
    Work on a local variable before filling _Py_Identifier members.
  4. bpo-40839: PyDict_GetItem() requires the GIL (GH-20580)

    vstinner committed Jun 2, 2020
    Calling PyDict_GetItem() without GIL held had been allowed for
    historical reason. It is no longer allowed.
  5. bpo-35078: Allow customization of CSS class name of a month in calend…

    srinivasreddy committed Jun 2, 2020
    …ar module (gh-10137)
    
    Refactor formatweekday(), formatmonthname() methods in LocaleHTMLCalendar and LocaleTextCalendar classes in calendar module to call the base class methods. This enables customizable CSS classes for LocaleHTMLCalendar and LocaleTextCalendar.
    
    Patch by Srinivas Reddy Thatiparthy
  6. bpo-40241: What's New in Python 3.9: opaque PyGC_Head (GH-20586)

    vstinner committed Jun 2, 2020
  7. bpo-40244: Remove XLC's support from the noreturn flag (GH-20588)

    isidentical committed Jun 2, 2020
    Automerge-Triggered-By: @pablogsal
  8. Fix MSVC warnings in pythonrun.c (#GH-587)

    ammaraskar committed Jun 2, 2020
Commits on Jun 1, 2020
  1. bpo-40826: Fix GIL usage in PyOS_Readline() (GH-20579)

    vstinner committed Jun 1, 2020
    Fix GIL usage in PyOS_Readline(): lock the GIL to set an exception.
    
    Pass tstate to my_fgets() and _PyOS_WindowsConsoleReadline(). Cleanup
    these functions.
  2. bpo-40826: PyOS_InterruptOccurred() requires GIL (GH-20578)

    vstinner committed Jun 1, 2020
    PyOS_InterruptOccurred() now fails with a fatal error if it is called
    with the GIL released.
  3. bpo-39943: Fix MSVC warnings in sre extension (GH-20508)

    ammaraskar committed Jun 1, 2020
  4. bpo-39593: Add test on ctypes cfield.c s_set() (GH-18424)

    shihai1991 committed Jun 1, 2020
  5. bpo-40826: Add _Py_EnsureTstateNotNULL() macro (GH-20571)

    vstinner committed Jun 1, 2020
    Add _Py_EnsureTstateNotNULL(tstate) macro: call Py_FatalError() if
    tstate is NULL, the error message contains the current function name.
  6. Make sure that keyword arguments are merged into the arguments dictio…

    markshannon committed Jun 1, 2020
    …nary when dict unpacking and keyword arguments are interleaved. (GH-20553)
  7. bpo-30008: Fix OpenSSL no-deprecated compilation (GH-20397)

    tiran and markwright committed Jun 1, 2020
    Fix :mod:`ssl`` code to be compatible with OpenSSL 1.1.x builds that use
    ``no-deprecated`` and ``--api=1.1.0``.
    
    Note: Tests assume full OpenSSL API and fail with limited API.
    
    Signed-off-by: Christian Heimes <christian@python.org>
    Co-authored-by: Mark Wright <gienah@gentoo.org>
Commits on May 31, 2020
  1. bpo-17005: Move topological sort functionality to its own module (GH-…

    pablogsal committed May 31, 2020
    …20558)
    
    The topological sort functionality that was introduced initially in the
    functools module has been moved to a new graphlib module to
    better accommodate the new tools and keep the original scope of the
    functools module.
  2. Fix typo in "What's new in Python 3.9" (GH-20559)

    lysnikolaou committed May 31, 2020
    Automerge-Triggered-By: @pablogsal
  3. bpo-40759: Deprecate the symbol module (GH-20364)

    isidentical committed May 31, 2020
    Automerge-Triggered-By: @pablogsal
Older
You can’t perform that action at this time.