<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python, branch v3.10.3</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>[3.10] bpo-46940: Don't override existing AttributeError suggestion information (GH-31710) (GH-31724)</title>
<updated>2022-03-07T13:18:36+00:00</updated>
<author>
<name>Pablo Galindo Salgado</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2022-03-07T13:18:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=3594ebca2cacf5d9b5212d2c487fd017cd00e283'/>
<id>3594ebca2cacf5d9b5212d2c487fd017cd00e283</id>
<content type='text'>
When an exception is created in a nested call to PyObject_GetAttr, any
external calls will override the context information of the
AttributeError that we have already placed in the most internal call.
This will cause the suggestions we create to nor work properly as the
attribute name and object that we will be using are the incorrect ones.

To avoid this, we need to check first if these attributes are already
set and bail out if that's the case..
(cherry picked from commit 3b3be05a164da43f201e35b6dafbc840993a4d18)

Co-authored-by: Pablo Galindo Salgado &lt;Pablogsal@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When an exception is created in a nested call to PyObject_GetAttr, any
external calls will override the context information of the
AttributeError that we have already placed in the most internal call.
This will cause the suggestions we create to nor work properly as the
attribute name and object that we will be using are the incorrect ones.

To avoid this, we need to check first if these attributes are already
set and bail out if that's the case..
(cherry picked from commit 3b3be05a164da43f201e35b6dafbc840993a4d18)

Co-authored-by: Pablo Galindo Salgado &lt;Pablogsal@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-46831: Update __build_class__ comment (GH-31522)</title>
<updated>2022-03-03T06:02:59+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-03-03T06:02:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=fa8c5ed9c80507670c756aa83ea872b8a92bcd1c'/>
<id>fa8c5ed9c80507670c756aa83ea872b8a92bcd1c</id>
<content type='text'>
Co-authored-by: Jelle Zijlstra &lt;jelle.zijlstra@gmail.com&gt;
(cherry picked from commit 81d968b7c30d5b41f3f28b297b7ee5345d569509)

Co-authored-by: Shantanu &lt;12621235+hauntsaninja@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Jelle Zijlstra &lt;jelle.zijlstra@gmail.com&gt;
(cherry picked from commit 81d968b7c30d5b41f3f28b297b7ee5345d569509)

Co-authored-by: Shantanu &lt;12621235+hauntsaninja@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[3.10] bpo-46724: Use `JUMP_ABSOLUTE` for all backward jumps. (GH-31326) (GH-31354)</title>
<updated>2022-02-16T11:26:02+00:00</updated>
<author>
<name>Mark Shannon</name>
<email>mark@hotpy.org</email>
</author>
<published>2022-02-16T11:26:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d4e4ef107a9fea257981d7701f023177b704a44f'/>
<id>d4e4ef107a9fea257981d7701f023177b704a44f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-45773: Remove invalid peephole optimizations (GH-31066)</title>
<updated>2022-02-03T15:54:51+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-02-03T15:54:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ff6948b1286c854ee77dfc0b23b9d828b36873e4'/>
<id>ff6948b1286c854ee77dfc0b23b9d828b36873e4</id>
<content type='text'>
(cherry picked from commit e0433c1e70254d4d0357a9e14596929a04bdf769)

Co-authored-by: Brandt Bucher &lt;brandt@python.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit e0433c1e70254d4d0357a9e14596929a04bdf769)

Co-authored-by: Brandt Bucher &lt;brandt@python.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[3.10] bpo-45703: Invalidate _NamespacePath cache on importlib.invalidate_cache (GH-29384) (GH-30922)</title>
<updated>2022-01-27T14:00:23+00:00</updated>
<author>
<name>Petr Viktorin</name>
<email>encukou@gmail.com</email>
</author>
<published>2022-01-27T14:00:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=5c39e474dbd61397c2ff877fa17d742bf4646702'/>
<id>5c39e474dbd61397c2ff877fa17d742bf4646702</id>
<content type='text'>
Consider the following directory structure:

    .
    └── PATH1
        └── namespace
            └── sub1
                └── __init__.py

And both PATH1 and PATH2 in sys path:

    $ PYTHONPATH=PATH1:PATH2 python3.11
    &gt;&gt;&gt; import namespace
    &gt;&gt;&gt; import namespace.sub1
    &gt;&gt;&gt; namespace.__path__
    _NamespacePath(['.../PATH1/namespace'])
    &gt;&gt;&gt; ...

While this interpreter still runs, PATH2/namespace/sub2 is created:

    .
    ├── PATH1
    │   └── namespace
    │       └── sub1
    │           └── __init__.py
    └── PATH2
        └── namespace
            └── sub2
                └── __init__.py

The newly created module cannot be imported:

    &gt;&gt;&gt; ...
    &gt;&gt;&gt; namespace.__path__
    _NamespacePath(['.../PATH1/namespace'])
    &gt;&gt;&gt; import namespace.sub2
    Traceback (most recent call last):
      File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    ModuleNotFoundError: No module named 'namespace.sub2'

Calling importlib.invalidate_caches() now newly allows to import it:

    &gt;&gt;&gt; import importlib
    &gt;&gt;&gt; importlib.invalidate_caches()
    &gt;&gt;&gt; namespace.__path__
    _NamespacePath(['.../PATH1/namespace'])
    &gt;&gt;&gt; import namespace.sub2
    &gt;&gt;&gt; namespace.__path__
    _NamespacePath(['.../PATH1/namespace', '.../PATH2/namespace'])

This was not previously possible.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Consider the following directory structure:

    .
    └── PATH1
        └── namespace
            └── sub1
                └── __init__.py

And both PATH1 and PATH2 in sys path:

    $ PYTHONPATH=PATH1:PATH2 python3.11
    &gt;&gt;&gt; import namespace
    &gt;&gt;&gt; import namespace.sub1
    &gt;&gt;&gt; namespace.__path__
    _NamespacePath(['.../PATH1/namespace'])
    &gt;&gt;&gt; ...

While this interpreter still runs, PATH2/namespace/sub2 is created:

    .
    ├── PATH1
    │   └── namespace
    │       └── sub1
    │           └── __init__.py
    └── PATH2
        └── namespace
            └── sub2
                └── __init__.py

The newly created module cannot be imported:

    &gt;&gt;&gt; ...
    &gt;&gt;&gt; namespace.__path__
    _NamespacePath(['.../PATH1/namespace'])
    &gt;&gt;&gt; import namespace.sub2
    Traceback (most recent call last):
      File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    ModuleNotFoundError: No module named 'namespace.sub2'

Calling importlib.invalidate_caches() now newly allows to import it:

    &gt;&gt;&gt; import importlib
    &gt;&gt;&gt; importlib.invalidate_caches()
    &gt;&gt;&gt; namespace.__path__
    _NamespacePath(['.../PATH1/namespace'])
    &gt;&gt;&gt; import namespace.sub2
    &gt;&gt;&gt; namespace.__path__
    _NamespacePath(['.../PATH1/namespace', '.../PATH2/namespace'])

This was not previously possible.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-46347: Fix PyEval_EvalCodeEx to correctly cleanup in error paths (#30553)</title>
<updated>2022-01-12T00:17:42+00:00</updated>
<author>
<name>Yury Selivanov</name>
<email>yury@edgedb.com</email>
</author>
<published>2022-01-12T00:17:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=6f9ca53a6ac343a5663cc5c52546acf9a63b605a'/>
<id>6f9ca53a6ac343a5663cc5c52546acf9a63b605a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-46347: Fix memory leak in PyEval_EvalCodeEx. (GH-30546)</title>
<updated>2022-01-11T23:09:22+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-01-11T23:09:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b1a94f1fab7c0aee0705483616a1b2c3f2713c00'/>
<id>b1a94f1fab7c0aee0705483616a1b2c3f2713c00</id>
<content type='text'>
First introduced in 0332e569c12d3dc97171546c6dc10e42c27de34b
(cherry picked from commit 607d8a838f29ad3c4c4e85b39f338dade5f9cafe)

Co-authored-by: Yury Selivanov &lt;yury@edgedb.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
First introduced in 0332e569c12d3dc97171546c6dc10e42c27de34b
(cherry picked from commit 607d8a838f29ad3c4c4e85b39f338dade5f9cafe)

Co-authored-by: Yury Selivanov &lt;yury@edgedb.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-46289: Make conversion of FormattedValue not optional on ASDL (GH-30467)</title>
<updated>2022-01-07T22:30:18+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-01-07T22:30:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=bea3f42bb7c360921f864949ef7472a7ecb02cd3'/>
<id>bea3f42bb7c360921f864949ef7472a7ecb02cd3</id>
<content type='text'>
Automerge-Triggered-By: GH:isidentical
(cherry picked from commit d382f7ee0b98e4ab6ade9384268f25c06be462ad)

Co-authored-by: Batuhan Taskaya &lt;batuhan@python.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Automerge-Triggered-By: GH:isidentical
(cherry picked from commit d382f7ee0b98e4ab6ade9384268f25c06be462ad)

Co-authored-by: Batuhan Taskaya &lt;batuhan@python.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[3.10] Update copyright year to 2022. (GH-30335) (GH-30336)</title>
<updated>2022-01-02T21:13:04+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-01-02T21:13:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=35955e4adec4dd09127af93f9413d46889a3c475'/>
<id>35955e4adec4dd09127af93f9413d46889a3c475</id>
<content type='text'>
Automerge-Triggered-By: GH:benjaminp
(cherry picked from commit ba00f0d93a4aea85ae8089f139856a7c450584d7)


Co-authored-by: Benjamin Peterson &lt;benjamin@python.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Automerge-Triggered-By: GH:benjaminp
(cherry picked from commit ba00f0d93a4aea85ae8089f139856a7c450584d7)


Co-authored-by: Benjamin Peterson &lt;benjamin@python.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-46042: Improve SyntaxError locations in the symbol table (GH-30059) (GH-30064)</title>
<updated>2021-12-12T01:24:12+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-12-12T01:24:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=438817fdd5b731d486285d205bed2e78b655c0d6'/>
<id>438817fdd5b731d486285d205bed2e78b655c0d6</id>
<content type='text'>
(cherry picked from commit 59435eea08d30796174552c0ca03c59b41adf8a5)

Co-authored-by: Pablo Galindo Salgado &lt;Pablogsal@gmail.com&gt;

Co-authored-by: Pablo Galindo Salgado &lt;Pablogsal@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 59435eea08d30796174552c0ca03c59b41adf8a5)

Co-authored-by: Pablo Galindo Salgado &lt;Pablogsal@gmail.com&gt;

Co-authored-by: Pablo Galindo Salgado &lt;Pablogsal@gmail.com&gt;</pre>
</div>
</content>
</entry>
</feed>
