Skip to content
Permalink
Branch: master
Commits on Jan 3, 2020
  1. bpo-38532: Add missing decrefs in PyCFuncPtr_FromDll() (GH-16857)

    ZackerySpytz authored and Yhg1s committed Jan 3, 2020
  2. Add link to zlib v1.1.3 vulnerability (GH-17156)

    nosahama authored and Yhg1s committed Jan 3, 2020
  3. Bring Python into the next decade. (GH-17801)

    benjaminp committed Jan 3, 2020
Commits on Jan 2, 2020
  1. bpo-38870: Throw ValueError on invalid yield from usage (GH-17798)

    isidentical authored and pablogsal committed Jan 2, 2020
  2. Remove outdated mention of hg.exe from Tools/msi/README.txt (GH-17792)

    tonybaloney authored and zware committed Jan 2, 2020
  3. bpo-39114: Fix tracing of except handlers with name binding (GH-17769)

    pablogsal committed Jan 2, 2020
    When producing the bytecode of exception handlers with name binding (like `except Exception as e`) we need to produce a try-finally block to make sure that the name is deleted after the handler is executed to prevent cycles in the stack frame objects. The bytecode associated with this try-finally block does not have source lines associated and it was causing problems when the tracing functionality was running over it.
Commits on Jan 1, 2020
  1. bpo-39183: Fix formatting in library/ensurepip (GH-17787)

    rffontenelle authored and miss-islington committed Jan 1, 2020
    Remove extra space to fix formatting and avoid from splitting text in to strings.
    
    
    https://bugs.python.org/issue39183
  2. bpo-13601: always use line-buffering for sys.stderr (GH-17646)

    jendrikseipp authored and pitrou committed Jan 1, 2020
  3. bpo-39142: Avoid converting namedtuple instances to ConvertingTuple. (G…

    vsajip committed Jan 1, 2020
    …H-17773)
    
    This uses the heuristic of assuming a named tuple is a subclass of
    tuple with a _fields attribute. This change means that contents of
    a named tuple wouldn't be converted - if a user wants to have
    ConvertingTuple functionality from a namedtuple, they will have to
    implement it themselves.
  4. Document CodeType.replace (GH-17776)

    asottile authored and pablogsal committed Jan 1, 2020
  5. bpo-39176: Improve error message for 'named assignment' (GH-17777)

    nedbat authored and rhettinger committed Jan 1, 2020
Commits on Dec 31, 2019
  1. Fix idlelib README typo. (GH-17770)

    terryjreedy committed Dec 31, 2019
  2. Minor doc fixes in urllib.parse (GH-17745)

    verhovsky authored and miss-islington committed Dec 31, 2019
  3. closes bpo-37446: resolve undefined behavior in Python/hamt.c (GH-17727)

    isidentical authored and benjaminp committed Dec 31, 2019
  4. bpo-38588: Optimize list comparison. (GH-17766)

    methane committed Dec 31, 2019
    Mitigate performance regression of the list comparison caused by 2d5bf56.
  5. bpo-38588: Fix possible crashes in dict and list when calling PyObjec…

    corona10 authored and pablogsal committed Dec 31, 2019
    …t_RichCompareBool (GH-17734)
    
    Take strong references before calling PyObject_RichCompareBool to protect against the case
    where the object dies during the call.
Commits on Dec 30, 2019
  1. bpo-34118: memoryview, range, and tuple are classes (GH-17761)

    terryjreedy committed Dec 30, 2019
    Tag memoryview, range, and tuple as classes, the same as list, etcetera, in
    the library manual built-in functions list.
  2. bpo-38610: Fix possible crashes in several list methods (GH-17022)

    ZackerySpytz authored and pablogsal committed Dec 30, 2019
    Hold strong references to list elements while calling PyObject_RichCompareBool().
  3. bpo-39019: Implement missing __class_getitem__ for SpooledTemporaryFi…

    isidentical authored and ilevkivskyi committed Dec 30, 2019
    …le (GH-17560)
  4. bpo-34790: Implement deprecation of passing coroutines to asyncio.wai…

    aeros authored and asvetlov committed Dec 30, 2019
    …t() (GH-16977)
  5. Fix handling of line numbers around finally-blocks. (#17737)

    markshannon committed Dec 30, 2019
  6. bpo-39037: Fix lookup order of magic methods in with statement docume…

    maggyero authored and ncoghlan committed Dec 30, 2019
    …ntation (GH-17608)
    
    * __enter__ is now looked up before __exit__ to give a more intuitive error message
    * add pseudo-code equivalent for the with statement
    * fix pseudo-code for the async with statement to use a finally clause
    * use SUITE rather than BLOCK for consistency with the language grammar
    
    Patch by Géry Ogam.
Commits on Dec 29, 2019
  1. Fix typos and remove deprecated deprecation warning. (GH-17741)

    awecx authored and pablogsal committed Dec 29, 2019
  2. bpo-39157: Skip test_pidfd_send_signal if the system does not have en…

    pablogsal committed Dec 29, 2019
    …ough privileges to use pidfd (GH-17740)
  3. Fix error when running with -uall in test_unparse (GH-17739)

    pablogsal committed Dec 29, 2019
  4. bpo-38870: Run always tests that heavily use grammar features in test…

    pablogsal committed Dec 29, 2019
    …_unparse (GH-17738)
  5. links in importlib.metadata.rst replaced with sphinx references (GH-1…

    hoefling authored and jaraco committed Dec 29, 2019
    …7730)
    
    The importlib.metadata documentation uses hardcoded links to internal
    pages. This results in minor rendering issues. This change replaces
    the hardcoded links with suitable Sphinx roles.
    
    Signed-off-by: Oleg Höfling <oleg.hoefling@gmail.com>
Commits on Dec 28, 2019
  1. bpo-39136: Fixed typos (GH-17720)

    gurupad93 authored and terryjreedy committed Dec 28, 2019
    funtion -> function; configuraton -> configuration; defintitions -> definitions;
    focusses -> focuses; necesarily -> necessarily; follwing -> following;
    Excape -> Escape,
  2. bpo-38731: Fix function signature of quiet in docs (GH-17719)

    isidentical authored and pablogsal committed Dec 28, 2019
  3. bpo-39144 Align ctags and etags behaviours in the makefile and includ…

    tonybaloney authored and pablogsal committed Dec 28, 2019
    …e Python stdlib files (GH-17721)
Commits on Dec 27, 2019
  1. Move comment about permanent generation to gcmodule.c (GH-17718)

    pablogsal committed Dec 27, 2019
    The comment about the collection rules for the permanent generation was
    incorrectly referenced by a comment in gcmodule.c (the comment has been
    moved long ago into a header file). Moving the comment into the relevant
    code helps with readability and avoids broken references.
  2. closes bpo-39135: Remove 'time.clock()' mention in docs. (GH17709)

    goodmami authored and benjaminp committed Dec 27, 2019
    `time.clock()` was removed in Python 3.8, but it was still mentioned
    in the documentation for when `time.get_clock_info()` is given the
    argument `'clock'`. This commit removes that mention.
Older
You can’t perform that action at this time.