<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/astroid-git.git/astroid/objects.py, branch simplification-for-python3.6-code</title>
<subtitle>github.com: PyCQA/astroid.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid-git.git/'/>
<entry>
<title>Protect against ``infer_call_result`` failing with `InferenceError` in `Super.getattr()` (#782)</title>
<updated>2020-05-01T15:59:38+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>pcmanticore@gmail.com</email>
</author>
<published>2020-05-01T15:59:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=6aae91559d29acd3042e1fd26e0d111261521010'/>
<id>6aae91559d29acd3042e1fd26e0d111261521010</id>
<content type='text'>
``infer_call_result`` can raise InferenceError but we were not handling that when retrieving
objects from the Super instance.

Close PyCQA/pylint#3529</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
``infer_call_result`` can raise InferenceError but we were not handling that when retrieving
objects from the Super instance.

Close PyCQA/pylint#3529</pre>
</div>
</content>
</entry>
<entry>
<title>Add missing copyright annotations for the past releases</title>
<updated>2020-04-27T08:48:59+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>pcmanticore@gmail.com</email>
</author>
<published>2020-04-27T08:48:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=c2e6a889e338ef488fb0656a0fb6eaadbb59e463'/>
<id>c2e6a889e338ef488fb0656a0fb6eaadbb59e463</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reverse super call with setting the function to allow string representation before setting locals</title>
<updated>2020-03-06T08:54:45+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>pcmanticore@gmail.com</email>
</author>
<published>2020-03-06T08:54:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=88fd426e14c34cb5771fd6c06f5a1ba50bb03292'/>
<id>88fd426e14c34cb5771fd6c06f5a1ba50bb03292</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for inferring properties</title>
<updated>2019-12-04T12:31:38+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>pcmanticore@gmail.com</email>
</author>
<published>2019-11-28T08:55:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=55b43f6755d4839cefaf010eb2ced747d014d459'/>
<id>55b43f6755d4839cefaf010eb2ced747d014d459</id>
<content type='text'>
These new capabilities will allow inferring both the `property` builtin
as well as property attributes such as  `.deleter` and `.setter`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These new capabilities will allow inferring both the `property` builtin
as well as property attributes such as  `.deleter` and `.setter`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Correctly instantiate exception instances when inferring their attributes with objectmodel</title>
<updated>2019-02-28T14:35:51+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>pcmanticore@gmail.com</email>
</author>
<published>2019-02-28T14:35:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=d888495219b8d50da24ae85757c67b7b7cac1ae2'/>
<id>d888495219b8d50da24ae85757c67b7b7cac1ae2</id>
<content type='text'>
Close PyCQA/pylint#2776
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Close PyCQA/pylint#2776
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid statement deletion in the _filter_stmts method of the LookupMixin class for PartialFunction</title>
<updated>2019-01-23T08:09:22+00:00</updated>
<author>
<name>hippo91</name>
<email>guillaume.peillex@gmail.com</email>
</author>
<published>2018-12-02T15:20:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=87b55a6ea6a421b4702dbc178a45165f20d1e775'/>
<id>87b55a6ea6a421b4702dbc178a45165f20d1e775</id>
<content type='text'>
In the case where the node is a PartialFunction and its name is the same as the current statement's name,
avoid the statement deletion.
The problem was that a call to a function that has been previously called vit a functools.partial was wrongly inferred.
The bug comes from the _filter_stmts method of the LookupMixin class. The deletion of the current statement should not be
made in the case where the node is an instance of the PartialFunction class and if the node's name is the same as the statement's name.

This change also extracts PartialFunction from brain_functools into astroid.objects so that we remove a circular import problem.

Close PyCQA/pylint#2588
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the case where the node is a PartialFunction and its name is the same as the current statement's name,
avoid the statement deletion.
The problem was that a call to a function that has been previously called vit a functools.partial was wrongly inferred.
The bug comes from the _filter_stmts method of the LookupMixin class. The deletion of the current statement should not be
made in the case where the node is an instance of the PartialFunction class and if the node's name is the same as the statement's name.

This change also extracts PartialFunction from brain_functools into astroid.objects so that we remove a circular import problem.

Close PyCQA/pylint#2588
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a method to the manager to retrieve the builtins module</title>
<updated>2019-01-19T03:08:33+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>pcmanticore@gmail.com</email>
</author>
<published>2019-01-19T03:08:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=41a6d4d127d285dc4bcbff875a6990afa0035e96'/>
<id>41a6d4d127d285dc4bcbff875a6990afa0035e96</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a registry for builtin exception models. Close PyCQA/pylint#1432</title>
<updated>2019-01-17T14:24:04+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>pcmanticore@gmail.com</email>
</author>
<published>2019-01-17T14:24:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=041366cc7a0fecaccbb17421571f996cc645fe26'/>
<id>041366cc7a0fecaccbb17421571f996cc645fe26</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Initial formatting of astroid</title>
<updated>2018-10-02T07:43:56+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>pcmanticore@gmail.com</email>
</author>
<published>2018-10-02T07:43:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=add5f7b8eba427de9d39caae864bbc6dc37ef980'/>
<id>add5f7b8eba427de9d39caae864bbc6dc37ef980</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>infer_call_result can raise InferenceError so make sure to handle that for the call sites where it is used</title>
<updated>2018-07-31T07:47:23+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>pcmanticore@gmail.com</email>
</author>
<published>2018-07-31T07:47:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=f0044dd8b6d8d3d8f2e0b0291c105ac0dda38664'/>
<id>f0044dd8b6d8d3d8f2e0b0291c105ac0dda38664</id>
<content type='text'>
infer_call_result started recently to raise InferenceError for objects for which it could not find any returns.
Previously it was silently raising a StopIteration, which was especially leaking when calling builtin methods.
Since it is after all an inference method, it is expected that it could raise an InferenceError rather than
returning nothing.

Close PyCQA/pylint#2350
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
infer_call_result started recently to raise InferenceError for objects for which it could not find any returns.
Previously it was silently raising a StopIteration, which was especially leaking when calling builtin methods.
Since it is after all an inference method, it is expected that it could raise an InferenceError rather than
returning nothing.

Close PyCQA/pylint#2350
</pre>
</div>
</content>
</entry>
</feed>
