<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/astroid-git.git, branch v2.8.0</title>
<subtitle>github.com: PyCQA/astroid.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/'/>
<entry>
<title>Bump astroid to 2.8.0, update changelog</title>
<updated>2021-09-14T07:20:19+00:00</updated>
<author>
<name>Pierre Sassoulas</name>
<email>pierre.sassoulas@gmail.com</email>
</author>
<published>2021-09-14T07:08:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=9a7878a78a284571d3788afc42203089185cfcbf'/>
<id>9a7878a78a284571d3788afc42203089185cfcbf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add inference of Compare nodes (#979)</title>
<updated>2021-09-14T07:05:48+00:00</updated>
<author>
<name>Andrew Haigh</name>
<email>hello@nelf.in</email>
</author>
<published>2021-09-14T07:05:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=82d7fafce09ee94ce537b453f5ebf053966b7734'/>
<id>82d7fafce09ee94ce537b453f5ebf053966b7734</id>
<content type='text'>
* Add inference for Compare nodes

Ref #846.

Identity checks are currently Uninferable as there is no sensible way to
infer that two Instances refer to the same object without accurately
modelling control flow.

Co-authored-by: Pierre Sassoulas &lt;pierre.sassoulas@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add inference for Compare nodes

Ref #846.

Identity checks are currently Uninferable as there is no sensible way to
infer that two Instances refer to the same object without accurately
modelling control flow.

Co-authored-by: Pierre Sassoulas &lt;pierre.sassoulas@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Add typing in tests directory (#1163)</title>
<updated>2021-09-14T05:32:35+00:00</updated>
<author>
<name>Pierre Sassoulas</name>
<email>pierre.sassoulas@gmail.com</email>
</author>
<published>2021-09-14T05:32:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=24a11181d36635dd18904ba55dadaa2c6f14bdb8'/>
<id>24a11181d36635dd18904ba55dadaa2c6f14bdb8</id>
<content type='text'>
* Add typing in the tests/ directory

* Add some assert for mypy's sake

* Avoid adding mypy_extension by using pytest skip</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add typing in the tests/ directory

* Add some assert for mypy's sake

* Avoid adding mypy_extension by using pytest skip</pre>
</div>
</content>
</entry>
<entry>
<title>[pre-commit.ci] pre-commit autoupdate (#1171)</title>
<updated>2021-09-13T22:52:48+00:00</updated>
<author>
<name>pre-commit-ci[bot]</name>
<email>66853113+pre-commit-ci[bot]@users.noreply.github.com</email>
</author>
<published>2021-09-13T22:52:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=1ae89bf16eb2f2a13dd0df5e2a4823beee97c26d'/>
<id>1ae89bf16eb2f2a13dd0df5e2a4823beee97c26d</id>
<content type='text'>
updates:
- [github.com/asottile/pyupgrade: v2.25.0 → v2.26.0](https://github.com/asottile/pyupgrade/compare/v2.25.0...v2.26.0)
- [github.com/pre-commit/mirrors-prettier: v2.3.2 → v2.4.0](https://github.com/pre-commit/mirrors-prettier/compare/v2.3.2...v2.4.0)

Co-authored-by: pre-commit-ci[bot] &lt;66853113+pre-commit-ci[bot]@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
updates:
- [github.com/asottile/pyupgrade: v2.25.0 → v2.26.0](https://github.com/asottile/pyupgrade/compare/v2.25.0...v2.26.0)
- [github.com/pre-commit/mirrors-prettier: v2.3.2 → v2.4.0](https://github.com/pre-commit/mirrors-prettier/compare/v2.3.2...v2.4.0)

Co-authored-by: pre-commit-ci[bot] &lt;66853113+pre-commit-ci[bot]@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Add node_ancestors method (#1169)</title>
<updated>2021-09-13T14:18:08+00:00</updated>
<author>
<name>Nick Drozd</name>
<email>nicholasdrozd@gmail.com</email>
</author>
<published>2021-09-13T14:18:08+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=9322fc37a0404d37a297a05274e937ac971471af'/>
<id>9322fc37a0404d37a297a05274e937ac971471af</id>
<content type='text'>
I've been thinking about ways to get rid of unbounded `while` loops in
the Pylint codebase. A common use is to loop over a node's ancestors.
The `node_ancestors` method centralizes this logic in one place so
that those `while` loops can be rewritten as `for`.

A few uses are made of this new method. It only comes up a few places
in Astroid, but there are many more in Pylint.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I've been thinking about ways to get rid of unbounded `while` loops in
the Pylint codebase. A common use is to loop over a node's ancestors.
The `node_ancestors` method centralizes this logic in one place so
that those `while` loops can be rewritten as `for`.

A few uses are made of this new method. It only comes up a few places
in Astroid, but there are many more in Pylint.</pre>
</div>
</content>
</entry>
<entry>
<title>Add typing to NodeNG.nodes_of_class (#1168)</title>
<updated>2021-09-13T11:18:09+00:00</updated>
<author>
<name>Daniël van Noord</name>
<email>13665637+DanielNoord@users.noreply.github.com</email>
</author>
<published>2021-09-13T11:18:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=8fbef58f84dc81da69add3c3bb77ad47de8609c5'/>
<id>8fbef58f84dc81da69add3c3bb77ad47de8609c5</id>
<content type='text'>
Co-authored-by: Marc Mueller &lt;30130371+cdce8p@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Marc Mueller &lt;30130371+cdce8p@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Fix crash on datafields (#1165)</title>
<updated>2021-09-13T10:28:30+00:00</updated>
<author>
<name>Daniël van Noord</name>
<email>13665637+DanielNoord@users.noreply.github.com</email>
</author>
<published>2021-09-13T10:28:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=af0724ba515b61dbdead945f43baf29116d44d4a'/>
<id>af0724ba515b61dbdead945f43baf29116d44d4a</id>
<content type='text'>
* Fix crash on datafields
Fixes the crash reported at PyCQA/pylint#4963
Tests added there.

* Change to ``if not``

* Update astroid/brain/brain_dataclasses.py

* Add tests

* Update and merge test

* Use ``raise UseInferenceDefault``</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix crash on datafields
Fixes the crash reported at PyCQA/pylint#4963
Tests added there.

* Change to ``if not``

* Update astroid/brain/brain_dataclasses.py

* Add tests

* Update and merge test

* Use ``raise UseInferenceDefault``</pre>
</div>
</content>
</entry>
<entry>
<title>Support pyz imports (#1161)</title>
<updated>2021-09-10T20:19:37+00:00</updated>
<author>
<name>grayjk</name>
<email>grayjk@gmail.com</email>
</author>
<published>2021-09-10T20:19:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=741cd614d7cec1f730a66632f018ff0bcb17b561'/>
<id>741cd614d7cec1f730a66632f018ff0bcb17b561</id>
<content type='text'>
* Support pyz imports

Closes PyCQA/pylint#3887
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Support pyz imports

Closes PyCQA/pylint#3887
</pre>
</div>
</content>
</entry>
<entry>
<title>Recognize nested classes in classes inherited from NamedTuple</title>
<updated>2021-09-06T17:47:12+00:00</updated>
<author>
<name>Dimitri Prybysh</name>
<email>dmand@yandex.ru</email>
</author>
<published>2021-09-06T16:47:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=ac100bcf8dc7ec634b319c90c375cd16a7f96284'/>
<id>ac100bcf8dc7ec634b319c90c375cd16a7f96284</id>
<content type='text'>
Fixes PyCQA/pylint#4370
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes PyCQA/pylint#4370
</pre>
</div>
</content>
</entry>
<entry>
<title>Add ``astroid.objects.ExceptionInstance`` import</title>
<updated>2021-09-04T15:57:34+00:00</updated>
<author>
<name>Daniël van Noord</name>
<email>13665637+DanielNoord@users.noreply.github.com</email>
</author>
<published>2021-09-02T07:36:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=46628ba46f7ec074c4312447dbf1721fb4440467'/>
<id>46628ba46f7ec074c4312447dbf1721fb4440467</id>
<content type='text'>
With typing added to parts of the code in ``pylint`` it has become useful 
to import this class so ``pylint`` can access it. See discussion in:
https://github.com/PyCQA/pylint/pull/4940</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With typing added to parts of the code in ``pylint`` it has become useful 
to import this class so ``pylint`` can access it. See discussion in:
https://github.com/PyCQA/pylint/pull/4940</pre>
</div>
</content>
</entry>
</feed>
