<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/astroid.git/astroid/as_string.py, branch fix-python3-tests</title>
<subtitle>bitbucket.org: Obsolete (use python-packages/astroid-git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/'/>
<entry>
<title>Add a new *inference object* called Super</title>
<updated>2015-05-28T09:10:00+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>cpopa@cloudbasesolutions.com</email>
</author>
<published>2015-05-28T09:10:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=237b6c4662cc0a14b1912748776e5effe92e2611'/>
<id>237b6c4662cc0a14b1912748776e5effe92e2611</id>
<content type='text'>
This patch also adds support for understanding super calls.
astroid understands the zero-argument form of super, specific to
Python 3, where the interpreter fills itself the arguments of the call. Also, we
are understanding the 2-argument form of super, both for bounded lookups
(super(X, instance)) as well as for unbounded lookups (super(X, Y)),
having as well support for validating that the object-or-type is a subtype
of the first argument. The unbounded form of super (one argument) is not
understood, since it's useless in practice and should be removed from
Python's specification. Closes issue #89.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch also adds support for understanding super calls.
astroid understands the zero-argument form of super, specific to
Python 3, where the interpreter fills itself the arguments of the call. Also, we
are understanding the 2-argument form of super, both for bounded lookups
(super(X, instance)) as well as for unbounded lookups (super(X, Y)),
having as well support for validating that the object-or-type is a subtype
of the first argument. The unbounded form of super (one argument) is not
understood, since it's useless in practice and should be removed from
Python's specification. Closes issue #89.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a new type of nodes, called *inference objects*.</title>
<updated>2015-05-19T16:40:25+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>cpopa@cloudbasesolutions.com</email>
</author>
<published>2015-05-19T16:40:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=91529224bd4ad1a80065a76a9e077697b9ebecd0'/>
<id>91529224bd4ad1a80065a76a9e077697b9ebecd0</id>
<content type='text'>
Inference objects are similar with AST nodes, but they can be obtained
only after inference, so they can't be found inside the AST tree.
Their purpose is to handle at astroid level some operations which can't
be handled when using brain transforms. For instance, the first object
added is FrozenSet, which can be manipulated at astroid's level
(inferred, itered etc). Code such as this 'frozenset((1,2))'
will not return an Instance of frozenset, without having access to its
content, but a new objects.FrozenSet, which can be used just as a nodes.Set.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Inference objects are similar with AST nodes, but they can be obtained
only after inference, so they can't be found inside the AST tree.
Their purpose is to handle at astroid level some operations which can't
be handled when using brain transforms. For instance, the first object
added is FrozenSet, which can be manipulated at astroid's level
(inferred, itered etc). Code such as this 'frozenset((1,2))'
will not return an Instance of frozenset, without having access to its
content, but a new objects.FrozenSet, which can be used just as a nodes.Set.
</pre>
</div>
</content>
</entry>
<entry>
<title>Extend the metaclass hack to cover more potential cases.</title>
<updated>2014-11-09T21:33:50+00:00</updated>
<author>
<name>Torsten Marek</name>
<email>shlomme@gmail.com</email>
</author>
<published>2014-11-09T21:33:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=7b8f664cf8aa5e8f2e7f444b2274ae62b6390e1c'/>
<id>7b8f664cf8aa5e8f2e7f444b2274ae62b6390e1c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move all astroid modules into a its own directory, which is now the package.</title>
<updated>2014-11-08T22:47:14+00:00</updated>
<author>
<name>Torsten Marek</name>
<email>shlomme@gmail.com</email>
</author>
<published>2014-11-08T22:47:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=0c7327e7599c69843ffdb884d313863ec36cb6dd'/>
<id>0c7327e7599c69843ffdb884d313863ec36cb6dd</id>
<content type='text'>
python setup.py develop now works.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
python setup.py develop now works.
</pre>
</div>
</content>
</entry>
</feed>
