Skip to content
Permalink
master

Commits on Dec 17, 2020

  1. [doc] Fix a few margins due to bad markup (GH-23619)

    andresdelfino committed Dec 17, 2020
  2. bpo-42246: Make sure that `f_lasti`, and thus `f_lineno`, is set corr…

    …ectly after raising or reraising an exception (GH-23803)
    
    * Ensure that f_lasti is set correctly after an exception is raised to conform to PEP 626.
    
    * Update importlib
    
    * Add NEWS.
    markshannon committed Dec 17, 2020
  3. bpo-26564: fix obsolete comment in traceback.c (GH-23819)

    iritkatriel committed Dec 17, 2020
  4. bpo-31904: Skip some asyncio tests on VxWorks (#23815)

    pxinwr committed Dec 17, 2020
  5. [doc] Fix erroneous backslashes in signatures and names (GH-23658)

    The issue being resolved is shown in the 3.10 docs (if you select docs for older versions you won't see a visual glitch).
    
    The newer sphinx version that produces the 3.10 docs doesn't treat the backslash to escape things in some situations it previously did.
    andresdelfino committed Dec 17, 2020
  6. Correct referenced RFC number in cgi module (GH-22827)

    The quoted sentence can be found from the last paragraph of RFC 2046, Section 5.1, while the content of RFC 2026 is unrelated to this module.
    mikelei8291 committed Dec 17, 2020

Commits on Dec 16, 2020

  1. Fix indentation for get_stats_profile() docs (GH-23618)

    The existing method is indented one too many times which
    makes it look like a sub-method of print_callees().
    msuozzo committed Dec 16, 2020
  2. bpo-37961: Fix regression in tracemalloc.Traceback.__repr__ (GH-23805)

    Regression in 8d59eb1.
    blueyed committed Dec 16, 2020
  3. bpo-38323: Add guard clauses in MultiLoopChildWatcher. (#22756)

    This is a trivial refactor in preparation for a fix for bpo-38323.
    cjerdonek committed Dec 16, 2020
  4. Clarify eval() doc from library/functions. (GH-22700)

    awecx committed Dec 16, 2020
  5. bpo-40686: Fix compiler warnings on _zoneinfo.c (GH-23614)

    "uint8_t day" is unsigned and so "day < 0" test is always true.
    Remove the test to fix the following warnings on Windows:
    
    modules\_zoneinfo.c(1224): warning C4068: unknown pragma
    modules\_zoneinfo.c(1225): warning C4068: unknown pragma
    modules\_zoneinfo.c(1227): warning C4068: unknown pragma
    vstinner committed Dec 16, 2020
  6. Fix reStructuredText typo in NEWS.d. (GH-23800)

    JulienPalard committed Dec 16, 2020
  7. Add symbols of the stable ABI to python3dll.c (GH-23598)

    Add the following symbols to python3dll.c:
    
    * PyFrame_GetCode (bpo-40421)
    * PyFrame_GetLineNumber (bpo-40421)
    * PyModule_AddObjectRef (bpo-1635741)
    * PyObject_CallNoArgs (bpo-37194)
    * PyThreadState_GetFrame (bpo-39947)
    * PyThreadState_GetID (bpo-39947)
    * PyThreadState_GetInterpreter (bpo-39947)
    vstinner committed Dec 16, 2020
  8. bpo-42645: Make sure that return/break/continue are only traced once …

    …when exiting via a finally block. (GH-23780)
    
    * Make sure that return/break/continue are only traced once when exiting via a finally block.
    
    * Add test for return in try-finally.
    
    * Update importlib
    markshannon committed Dec 16, 2020
  9. bpo-42615: Delete redundant jump instructions that only bypass empty …

    …blocks (GH-23733)
    
    * Delete jump instructions that bypass empty blocks
    
    * Add news entry
    
    * Explicitly check for unconditional jump opcodes
    
    Using the is_jump function results in the inclusion of instructions like
    returns for which this optimization is not really valid. So, instead
    explicitly check that the instruction is an unconditional jump.
    
    * Handle conditional jumps, delete jumps gracefully
    
    * Ensure b_nofallthrough and b_reachable are valid
    
    * Add test for redundant jumps
    
    * Regenerate importlib.h and edit Misc/ACKS
    
    * Fix bad whitespace
    OmG-117 committed Dec 16, 2020
  10. bpo-1635741: Refactor _threadmodule.c (GH-23793)

    * Fix ExceptHookArgsType name: "_thread.ExceptHookArgs", instead of
      "_thread._ExceptHookArgs".
    * PyInit__thread() no longer intializes interp->num_threads to 0:
      it is already done in PyInterpreterState_New().
    * Use PyModule_AddType(), Py_NewRef() and Py_XNewRef().
    * Replace str_dict variable with _Py_IDENTIFIER(__dict__).
    * Remove assert(Py_IS_TYPE(obj, &Locktype)) from release_sentinel()
      to avoid having to retrive the type from this callback.
    * Add thread_bootstate_free()
    * Rename t_bootstrap() to thread_run()
    * bootstate structure: rename keyw member to kwargs
    vstinner committed Dec 16, 2020
  11. bpo-42613: Fix freeze.py config directory (GH-23792)

    Fix freeze.py tool to use the prope config and library directories.
    vstinner committed Dec 16, 2020
  12. bpo-40364: asyncio uses os.waitstatus_to_exitcode() (GH-23798)

    test_unix_events.py no longer checks if waitstatus_to_exitcode() mock
    has been called or not to make the test more functional, rather than
    checking the exact implementation.
    vstinner committed Dec 16, 2020
  13. bpo-41804: Enhance test_epoll.test_control_and_wait() (GH-23795)

    Use shorter timeout and replace send() with sendall().
    vstinner committed Dec 16, 2020
  14. bpo-42644: Validate values in logging.disable() (#23786)

    * bpo-42644: Validate values in logging.disable()
    
    Technically make the value of manager a property that checks and convert
    values assigned to it properly. This has the side effect of making
    `logging.disable` also accept strings representing the various level of
    warnings.
    
    We want to validate the type of the disable attribute at assignment
    time, as it is later compared to other levels when emitting warnings and
    would generate a `TypeError: '>=' not supported between ....` in a
    different part of the code base, which can make it difficult to track
    down.
    
    When assigned an incorrect value; it will raise a TypeError when the
    wrong type, or ValueError if an invalid str.
    
    Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
    Carreau and asvetlov committed Dec 16, 2020
  15. bpo-42179: Clarify exception chaining (GH-23160)

    * Update errors.rst
    
    Clarify exception chaining behaviour and give a reference to the library documentation.
    
    * Update errors.rst
    
    Wording
    
    * Update errors.rst
    
    Spelling
    
    * Update errors.rst
    
    Remove mentioning of special attributes as folks think it's too much for beginners.
    greatvovan committed Dec 16, 2020
  16. Update Stale action message (GH-23791)

    We don't close PRs after it becomes stale.
    Mariatta committed Dec 16, 2020
  17. bpo-42090: zipfile.Path.joinpath now accepts multiple arguments (GH-2…

    …2976)
    
    Automerge-Triggered-By: GH:jaraco
    jaraco committed Dec 16, 2020

Commits on Dec 15, 2020

  1. bpo-31904: Skip os.path.expanduser() tests on VxWorks (GH-23776)

    pxinwr committed Dec 15, 2020
  2. bpo-31904: Skip some tests of changing owner in _test_all_chown_commo…

    …n() on VxWorks (GH-23716)
    pxinwr committed Dec 15, 2020
  3. Adding "stale" GitHub Action (GH-21247)

    Adding "stale" GitHub Action
    
    Added the "stale" GitHub action to the CPython repo.
    PR's older than 30 days will be labeled as stale using the "stale-pr" label.
    
    Closes python/core-workflow#372
    
    Co-authored-by: Brett Cannon <brett@python.org>
    Mariatta and brettcannon committed Dec 15, 2020
  4. bpo-40219: Lowered ttk LabeledScale dummy (GH-21467)

    E-Paine committed Dec 15, 2020
  5. Let dependabot create PRs against the maintenance branches (GH-22992)

    With this, we don't have to manually trigger backport whenever there is update to GitHub Actions dependencies.
    Mariatta committed Dec 15, 2020
  6. bpo-42641: Enhance test_select.test_select() (GH-23782)

    Enhance test_select.test_select(): it now takes 500 ms rather than 10
    seconds.
    
    * Use Python rather than a shell as the child process to make the
      test more portable.
    * Use a sleep of 50 ms per line rather than 1 second.
    * Use subprocess.Popen rather than os.popen().
    vstinner committed Dec 15, 2020
Older
You can’t perform that action at this time.