Skip to content
Permalink
Branch: master
Commits on Dec 10, 2019
  1. Minor fixes to the NEWS entries (GH-17556)

    pablogsal committed Dec 10, 2019
  2. Clean imports in test_unparse (GH-17545)

    pablogsal committed Dec 10, 2019
Commits on Dec 9, 2019
  1. bpo-39003: Make sure all test are the same when using -R in test_unpa…

    pablogsal committed Dec 9, 2019
    …rse (GH-17537)
Commits on Dec 5, 2019
  1. Remove unused variable in Python/pylifecycle.c (GH-17475)

    pablogsal committed Dec 5, 2019
Commits on Dec 4, 2019
  1. bpo-38962: Fix reference leak in the per-subinterpreter gc (GH-17457)

    pablogsal authored and miss-islington committed Dec 4, 2019
  2. bpo-38962: Fix reference leak in new_interpreter() (GH-17453)

    pablogsal authored and miss-islington committed Dec 4, 2019
  3. bpo-38962: Fix reference leak in test_httpservers (GH-17454)

    pablogsal authored and vstinner committed Dec 4, 2019
Commits on Dec 2, 2019
  1. Fix compiler warning in Objects/unicodeobject.c (GH-17440)

    pablogsal committed Dec 2, 2019
Commits on Nov 25, 2019
  1. bpo-38870: Remove dependency on contextlib to avoid performance regre…

    pablogsal authored and miss-islington committed Nov 25, 2019
    …ssion on import (GH-17376)
    
    https://bugs.python.org/issue38870
    
    
    
    Automerge-Triggered-By: @pablogsal
  2. Fix typo in Doc/whatsnew/3.9.rst (GH-17372)

    pablogsal committed Nov 25, 2019
Commits on Nov 24, 2019
  1. bpo-38870: Expose a function to unparse an ast object in the ast modu…

    pablogsal committed Nov 24, 2019
    …le (GH-17302)
    
    Add ast.unparse() as a function in the ast module that can be used to unparse an
    ast.AST object and produce a string with code that would produce an equivalent ast.AST
    object when parsed.
Commits on Nov 19, 2019
  1. bpo-37957: Allow regrtest to receive a file with test (and subtests) …

    pablogsal committed Nov 19, 2019
    …to ignore (GH-16989)
    
    When building Python in some uncommon platforms there are some known tests that will fail. Right now, the test suite has the ability to ignore entire tests using the -x option and to receive a filter file using the --matchfile filter. The problem with the --matchfile option is that it receives a file with patterns to accept and when you want to ignore a couple of tests and subtests, is too cumbersome to lists ALL tests that are not the ones that you want to accept and he problem with -x is that is not easy to ignore just a subtests that fail and the whole test needs to be ignored.
    
    For these reasons, add a new option to allow to ignore a list of test and subtests for these situations.
  2. Remove binding of captured exceptions when not used to reduce the cha…

    pablogsal committed Nov 19, 2019
    …nces of creating cycles (GH-17246)
    
    Capturing exceptions into names can lead to reference cycles though the __traceback__ attribute of the exceptions in some obscure cases that have been reported previously and fixed individually. As these variables are not used anyway, we can remove the binding to reduce the chances of creating reference cycles.
    
    See for example GH-13135
  3. Add @pablogsal to code owners file for the garbage collector (GH-17248)

    pablogsal committed Nov 19, 2019
    Add myself to the codeowners file as I would like to
    be automatically added as a reviewer for PRs that touch
    that component and its documentation.
Commits on Oct 30, 2019
Commits on Oct 15, 2019
  1. bpo-38478: Correctly handle keyword argument with same name as positi…

    pablogsal committed Oct 15, 2019
    …onal-only parameter (GH-16800)
Commits on Oct 14, 2019
  1. bpo-38469: Handle named expression scope with global/nonlocal keywords (

    pablogsal committed Oct 14, 2019
    GH-16755)
    
    The symbol table handing of PEP572's assignment expressions is not resolving correctly the scope of some variables in presence of global/nonlocal keywords in conjunction with comprehensions.
Commits on Oct 13, 2019
  1. bpo-38379: Don't block collection of unreachable objects when some ob…

    pablogsal committed Oct 13, 2019
    …jects resurrect (GH-16687)
    
    Currently if any finalizer invoked during garbage collection resurrects any object, the gc gives up and aborts the collection. Although finalizers are assured to only run once per object, this behaviour of the gc can lead to an ever-increasing memory situation if new resurrecting objects are allocated in every new gc collection.
    
    To avoid this, recompute what objects among the unreachable set need to be resurrected and what objects can be safely collected. In this way, resurrecting objects will not block the collection of other objects in the unreachable set.
  2. Correct signature of __build_class__ (GH-16735)

    pablogsal committed Oct 13, 2019
  3. bpo-38282: Correctly manage the Bluetooth L2CAP socket structure in F…

    pablogsal committed Oct 13, 2019
    …reeBSD (GH-16738)
Commits on Oct 12, 2019
  1. bpo-37731: Reorder includes in xmltok.c to avoid redefinition of _POS…

    pablogsal committed Oct 12, 2019
    …IX_C_SOURCE (GH-16733)
Commits on Oct 10, 2019
  1. bpo-38437: Activate GC_DEBUG when PY_DEBUG is set (GH-16707)

    pablogsal committed Oct 10, 2019
Commits on Oct 8, 2019
  1. bpo-38395: Fix ownership in weakref.proxy methods (GH-16632)

    pablogsal committed Oct 8, 2019
    The implementation of weakref.proxy's methods call back into the Python
    API using a borrowed references of the weakly referenced object
    (acquired via PyWeakref_GET_OBJECT). This API call may delete the last
    reference to the object (either directly or via GC), leaving a dangling
    pointer, which can be subsequently dereferenced.
    
    To fix this, claim a temporary ownership of the referenced object when
    calling the appropriate method. Some functions because at the moment they
    do not need to access the borrowed referent, but to protect against
    future changes to these functions, ownership need to be fixed in
    all potentially affected methods.
Commits on Oct 7, 2019
  1. bpo-38400 Don't check for NULL linked list pointers in _PyObject_IsFr…

    pablogsal committed Oct 7, 2019
    …eed (GH-16630)
    
    Some objects like Py_None are not initialized with conventional means
    that prepare the circular linked list pointers, leaving them unlinked
    from the rest of the objects. For those objects, NULL pointers does
    not mean that they are freed, so we need to skip the check in those
    cases.
Commits on Sep 17, 2019
  1. bpo-38187: Fix reference leak in test_tools (GH-16233)

    pablogsal committed Sep 17, 2019
Commits on Sep 10, 2019
  1. bpo-38090: Fix reference leak in ceval.c (GH-15848)

    pablogsal authored and zooba committed Sep 10, 2019
Commits on Sep 9, 2019
  1. Fix typo in the algorithm description (GH-15774)

    pablogsal committed Sep 9, 2019
Commits on Aug 26, 2019
  1. bpo-37954: Fix reference leak in the symtable (GH-15514)

    pablogsal committed Aug 26, 2019
  2. bpo-37947: Adjust correctly the recursion level in symtable for named…

    pablogsal committed Aug 26, 2019
    … expressions (GH-15499)
Commits on Aug 22, 2019
  1. Refactor Parser/pgen and add documentation and explanations (GH-15373)

    pablogsal committed Aug 22, 2019
    * Refactor Parser/pgen and add documentation and explanations
    
    To improve the readability and maintainability of the parser
    generator perform the following transformations:
    
        * Separate the metagrammar parser in its own class to simplify
          the parser generator logic.
    
        * Create separate classes for DFAs and NFAs and move methods that
          act exclusively on them from the parser generator to these
          classes.
    
        * Add docstrings and comment documenting the process to go from
          the grammar file into NFAs and then DFAs. Detail some of the
          algorithms and give some background explanations of some concepts
          that will helps readers not familiar with the parser generation
          process.
    
        * Select more descriptive names for some variables and variables.
    
        * PEP8 formatting and quote-style homogenization.
    
    The output of the parser generator remains the same (Include/graminit.h
    and Python/graminit.c remain untouched by running the new parser generator).
Commits on Aug 8, 2019
Older
You can’t perform that action at this time.