<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/astroid-git.git/astroid/objects.py, branch 2.3</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>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>
<entry>
<title>Update the copyright notices</title>
<updated>2018-07-15T07:21:52+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>pcmanticore@gmail.com</email>
</author>
<published>2018-07-15T07:21:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=654492a0259215b0e4cdb76546777186b0f3a710'/>
<id>654492a0259215b0e4cdb76546777186b0f3a710</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix lint errors</title>
<updated>2018-05-31T05:05:57+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>pcmanticore@gmail.com</email>
</author>
<published>2018-05-31T05:05:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=b99210422d452d6c135d31bd532f11accb74130d'/>
<id>b99210422d452d6c135d31bd532f11accb74130d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove reraise() in favour of using raise..from</title>
<updated>2018-05-31T04:56:28+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>pcmanticore@gmail.com</email>
</author>
<published>2018-05-27T06:45:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=8374023e3ae0ad4c9ceffb8b5c29aa1fde20433f'/>
<id>8374023e3ae0ad4c9ceffb8b5c29aa1fde20433f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove six from a couple of files</title>
<updated>2018-05-31T04:56:28+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>pcmanticore@gmail.com</email>
</author>
<published>2018-05-27T06:27:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=329deed20f8f8d65288ff7ae01b12e69c66f08c7'/>
<id>329deed20f8f8d65288ff7ae01b12e69c66f08c7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
