<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/astroid.git/astroid, branch master</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>Some nodes got a new attribute, 'ctx', which tells in which context the said node was used.</title>
<updated>2015-12-08T08:42:36+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>pcmanticore@gmail.com</email>
</author>
<published>2015-12-08T08:42:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=91747c50f885efe461c0054a7835992f49740ab9'/>
<id>91747c50f885efe461c0054a7835992f49740ab9</id>
<content type='text'>
The possible values for the contexts are `Load` ('a'), `Del` ('del a'),
`Store` ('a = 4') and the nodes that got the new attribute are Starred,
Subscript, List and Tuple. The builtin ast module provides contexts for
Name and Attribute as well, but we took a different approach in the past,
by having different nodes for each type of context. For instance, Name
used in a Del context is a DelName, while Name used in a Store
context is AssignName. Since this is ingrained in astroid since quite
some time, it makes no sense to change them as well, even though it's
a loss of consistency.
The patch introduces a new dependency to enum34 on older Python
versions, which is used for building the three possible enum values
for the contexts.

Closes issue #267.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The possible values for the contexts are `Load` ('a'), `Del` ('del a'),
`Store` ('a = 4') and the nodes that got the new attribute are Starred,
Subscript, List and Tuple. The builtin ast module provides contexts for
Name and Attribute as well, but we took a different approach in the past,
by having different nodes for each type of context. For instance, Name
used in a Del context is a DelName, while Name used in a Store
context is AssignName. Since this is ingrained in astroid since quite
some time, it makes no sense to change them as well, even though it's
a loss of consistency.
The patch introduces a new dependency to enum34 on older Python
versions, which is used for building the three possible enum values
for the contexts.

Closes issue #267.
</pre>
</div>
</content>
</entry>
<entry>
<title>relative_to_absolute_name will now raise TooManyLevelsError when a relative import is trying to access something beyond the top-level package.</title>
<updated>2015-12-06T16:00:01+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>pcmanticore@gmail.com</email>
</author>
<published>2015-12-06T16:00:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=4b4cdeb07b670ef2366c159ef675c336f3c2fb6f'/>
<id>4b4cdeb07b670ef2366c159ef675c336f3c2fb6f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>AstroidBuildingException is now AstroidBuildingError.</title>
<updated>2015-12-06T15:11:50+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>pcmanticore@gmail.com</email>
</author>
<published>2015-12-06T15:11:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=e4ecd3d2805abfbd6f6b457939d4026fa19446ce'/>
<id>e4ecd3d2805abfbd6f6b457939d4026fa19446ce</id>
<content type='text'>
The first name will exist until astroid 2.0.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The first name will exist until astroid 2.0.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add two new exceptions, AstroidImportError and AstroidSyntaxError.</title>
<updated>2015-12-06T15:06:11+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>pcmanticore@gmail.com</email>
</author>
<published>2015-12-06T15:06:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=97c9092852d69f9b98b1276e3d10e9d29c7c0224'/>
<id>97c9092852d69f9b98b1276e3d10e9d29c7c0224</id>
<content type='text'>
They are subclasses of AstroidBuildingException and are raised when
a module can't be imported from various reasons.
Also do_import_module lets the errors to bubble up without converting
them to InferenceError. This particular conversion happens only
during the inference.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They are subclasses of AstroidBuildingException and are raised when
a module can't be imported from various reasons.
Also do_import_module lets the errors to bubble up without converting
them to InferenceError. This particular conversion happens only
during the inference.
</pre>
</div>
</content>
</entry>
<entry>
<title>assigned_stmts methods have the same signature from now on.</title>
<updated>2015-12-05T11:25:34+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>pcmanticore@gmail.com</email>
</author>
<published>2015-12-05T11:25:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=cf052851cab3176fc6442114cbdc8194b24b5b2e'/>
<id>cf052851cab3176fc6442114cbdc8194b24b5b2e</id>
<content type='text'>
They used to have different signatures and each one made
assumptions about what could be passed to other implementations,
leading to various possible crashes when one or more arguments
weren't given. Closes issue #277.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They used to have different signatures and each one made
assumptions about what could be passed to other implementations,
leading to various possible crashes when one or more arguments
weren't given. Closes issue #277.
</pre>
</div>
</content>
</entry>
<entry>
<title>Master is now astroid 1.5.0.</title>
<updated>2015-12-03T15:28:21+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>pcmanticore@gmail.com</email>
</author>
<published>2015-12-03T15:28:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=9c21c9d3846b50d8fa4e612ed695b53dd43520dd'/>
<id>9c21c9d3846b50d8fa4e612ed695b53dd43520dd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove the visit method for AssignAttr in rebuilder, since AssignAttr does not exist as a node in the builtin ast module.</title>
<updated>2015-12-03T15:23:23+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>pcmanticore@gmail.com</email>
</author>
<published>2015-12-03T15:23:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=dbf08da7fbd628a2dfeb4f0a6a3e79a33393ecf4'/>
<id>dbf08da7fbd628a2dfeb4f0a6a3e79a33393ecf4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use printf-style formatting in as_string, in order</title>
<updated>2015-12-01T16:49:47+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>pcmanticore@gmail.com</email>
</author>
<published>2015-12-01T16:49:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=2466e41279a9c54228df79baff694b38438b620d'/>
<id>2466e41279a9c54228df79baff694b38438b620d</id>
<content type='text'>
 to avoid a potential problem with encodings when using .format.


Closes issue #273.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 to avoid a potential problem with encodings when using .format.


Closes issue #273.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for handling Uninferable nodes when calling as_string</title>
<updated>2015-11-29T20:11:22+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>pcmanticore@gmail.com</email>
</author>
<published>2015-11-29T20:11:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=c486ba77ea44edc119e723286e26158a65436037'/>
<id>c486ba77ea44edc119e723286e26158a65436037</id>
<content type='text'>
Some object, for instance List or Tuple can have, after inference,
Uninferable as their elements, happening when their components
weren't couldn't be inferred properly. This means that as_string
needs to cope with expecting Uninferable nodes part of the other
nodes coming for a string transformation. The patch adds a visit
method in AsString and ``accept`` on Yes / Uninferable nodes.
Closes issue #270.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some object, for instance List or Tuple can have, after inference,
Uninferable as their elements, happening when their components
weren't couldn't be inferred properly. This means that as_string
needs to cope with expecting Uninferable nodes part of the other
nodes coming for a string transformation. The patch adds a visit
method in AsString and ``accept`` on Yes / Uninferable nodes.
Closes issue #270.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add __delitem__ to deque's brain tip.</title>
<updated>2015-11-26T15:11:42+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>pcmanticore@gmail.com</email>
</author>
<published>2015-11-26T15:11:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=65cf5619390921d2b08fcd1899b54197bafeefb8'/>
<id>65cf5619390921d2b08fcd1899b54197bafeefb8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
