<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/astroid-git.git/ChangeLog, branch add-typing-in-tests</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>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>Deprecate some default values for node init calls (#1157)</title>
<updated>2021-09-02T12:42:22+00:00</updated>
<author>
<name>Marc Mueller</name>
<email>30130371+cdce8p@users.noreply.github.com</email>
</author>
<published>2021-09-02T12:42:22+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=40ea1a3b8e52bbfed43deb1725cde461f4bd8a96'/>
<id>40ea1a3b8e52bbfed43deb1725cde461f4bd8a96</id>
<content type='text'>
* Fix missing name value
* Add deprecation warnings to Name nodes
* Add deprecation warnings to Attribute nodes
* Add deprecation warnings for op attribute
* Add deprecation warning to Import nodes
* Add missing 'can be None' comment
* Add changelog entry
* Use decorator to emit DeprecationWarnings
* Require typing-extensions&gt;=3.10</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix missing name value
* Add deprecation warnings to Name nodes
* Add deprecation warnings to Attribute nodes
* Add deprecation warnings for op attribute
* Add deprecation warning to Import nodes
* Add missing 'can be None' comment
* Add changelog entry
* Use decorator to emit DeprecationWarnings
* Require typing-extensions&gt;=3.10</pre>
</div>
</content>
</entry>
<entry>
<title>Bump astroid to 2.7.3, update changelog</title>
<updated>2021-08-30T16:35:48+00:00</updated>
<author>
<name>Pierre Sassoulas</name>
<email>pierre.sassoulas@gmail.com</email>
</author>
<published>2021-08-30T16:29:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=f94eb5fe3af337660447fbe49420412846db7e46'/>
<id>f94eb5fe3af337660447fbe49420412846db7e46</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug pylint 3342 (#1148)</title>
<updated>2021-08-29T18:57:34+00:00</updated>
<author>
<name>hippo91</name>
<email>guillaume.peillex@gmail.com</email>
</author>
<published>2021-08-29T18:57:34+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=8049834c518adae06f6848f01bcba33f49e5cdf5'/>
<id>8049834c518adae06f6848f01bcba33f49e5cdf5</id>
<content type='text'>
* Adds some type hints

* Adds a logger module

* Remove this useless module

* It is probably not a good idea to apply transforms on module which have been authorized to be directly imported

* Adds a function named is_module_name_part_of_extension_package_whitelist which returns True if the beginning of a module dotted name is part of the package whitelist in argument

* Adds the extension_package_whitelist variable to the brainless manager in order unittest dealing with this managert to be ok

* Adds two tests that check the behavior of the is_module_name_part_of_extension_package_whitelist function

* Updating Changelog

* Adds explanation to the ChangeLog entry

Co-authored-by: Pierre Sassoulas &lt;pierre.sassoulas@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Adds some type hints

* Adds a logger module

* Remove this useless module

* It is probably not a good idea to apply transforms on module which have been authorized to be directly imported

* Adds a function named is_module_name_part_of_extension_package_whitelist which returns True if the beginning of a module dotted name is part of the package whitelist in argument

* Adds the extension_package_whitelist variable to the brainless manager in order unittest dealing with this managert to be ok

* Adds two tests that check the behavior of the is_module_name_part_of_extension_package_whitelist function

* Updating Changelog

* Adds explanation to the ChangeLog entry

Co-authored-by: Pierre Sassoulas &lt;pierre.sassoulas@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Bug pylint 4896 (#1154)</title>
<updated>2021-08-29T14:25:58+00:00</updated>
<author>
<name>hippo91</name>
<email>guillaume.peillex@gmail.com</email>
</author>
<published>2021-08-29T14:25:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=e90016f8baf7de815249ee60dc82636b3d7380b0'/>
<id>e90016f8baf7de815249ee60dc82636b3d7380b0</id>
<content type='text'>
* Adds a brain for the ctypes module and a unittest associated

* Another approach to handle ctypes module

* Update the unittest to take into account the brain_ctypes_bis definition. Adds more tests to be sure that the minimum has been modified through the brain

* Forget this method because the predicate is too large and applies the function for a too broad range of value attributes (i.e for value attribute that do not have a link with the ctypes module)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Adds a brain for the ctypes module and a unittest associated

* Another approach to handle ctypes module

* Update the unittest to take into account the brain_ctypes_bis definition. Adds more tests to be sure that the minimum has been modified through the brain

* Forget this method because the predicate is too large and applies the function for a too broad range of value attributes (i.e for value attribute that do not have a link with the ctypes module)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed inference bug with chained attributes and inheritance</title>
<updated>2021-08-28T07:24:30+00:00</updated>
<author>
<name>David Liu</name>
<email>david@cs.toronto.edu</email>
</author>
<published>2021-08-27T14:04:18+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=555f7274b110a42e1df658af4bcbeeba0055a043'/>
<id>555f7274b110a42e1df658af4bcbeeba0055a043</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed inference bug with unbound inherited methods</title>
<updated>2021-08-28T07:24:30+00:00</updated>
<author>
<name>David Liu</name>
<email>david@cs.toronto.edu</email>
</author>
<published>2021-08-27T03:24:47+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=7824a2c3ad5bf8971668db23c3a6cd4e2c28bbc2'/>
<id>7824a2c3ad5bf8971668db23c3a6cd4e2c28bbc2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug in attribute inference from inside method calls.</title>
<updated>2021-08-28T07:24:30+00:00</updated>
<author>
<name>David Liu</name>
<email>david@cs.toronto.edu</email>
</author>
<published>2021-08-23T12:00:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=c7666b4ac0f476b98c50ad117256199993fa7f6c'/>
<id>c7666b4ac0f476b98c50ad117256199993fa7f6c</id>
<content type='text'>
Add callee attribute to inference CallContext to keep track of the
function currently being called.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add callee attribute to inference CallContext to keep track of the
function currently being called.
</pre>
</div>
</content>
</entry>
<entry>
<title>Relax dataclass filter for Uninferable nodes. (#1144)</title>
<updated>2021-08-27T05:49:57+00:00</updated>
<author>
<name>David Liu</name>
<email>david@cs.toronto.edu</email>
</author>
<published>2021-08-27T05:49:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=c178fd15a8b24feb6336e2facc196eab1730c53a'/>
<id>c178fd15a8b24feb6336e2facc196eab1730c53a</id>
<content type='text'>
Now, any Uninferable node that looks like "dataclass" or
"&lt;expr&gt;.dataclass" will be treated as a dataclass decorator.

This supports pydantic.dataclasses.dataclass, as this value is currently
Uninferable.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now, any Uninferable node that looks like "dataclass" or
"&lt;expr&gt;.dataclass" will be treated as a dataclass decorator.

This supports pydantic.dataclasses.dataclass, as this value is currently
Uninferable.</pre>
</div>
</content>
</entry>
</feed>
