<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/astroid-git.git, branch v2.5.7</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>Update copyright notice for 2.5.7</title>
<updated>2021-05-29T20:31:29+00:00</updated>
<author>
<name>Pierre Sassoulas</name>
<email>pierre.sassoulas@gmail.com</email>
</author>
<published>2021-05-29T20:24:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=79fdc323f058f5f2ba754c29b564818d898548ae'/>
<id>79fdc323f058f5f2ba754c29b564818d898548ae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Disable consider-using-dict-items in LocalsDictNodeNG</title>
<updated>2021-05-29T20:31:29+00:00</updated>
<author>
<name>Pierre Sassoulas</name>
<email>pierre.sassoulas@gmail.com</email>
</author>
<published>2021-05-29T20:15:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=408de00d7dc510064feb3693a53464df3cb0c38c'/>
<id>408de00d7dc510064feb3693a53464df3cb0c38c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove specific code handling for old version of pytest</title>
<updated>2021-05-29T20:31:29+00:00</updated>
<author>
<name>Pierre Sassoulas</name>
<email>pierre.sassoulas@gmail.com</email>
</author>
<published>2021-05-29T20:07:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=812fcc49d1fb8e77c2d9c9568f59b1c5588b8c3c'/>
<id>812fcc49d1fb8e77c2d9c9568f59b1c5588b8c3c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Use 'from astroid import test_utils' instead</title>
<updated>2021-05-29T20:31:29+00:00</updated>
<author>
<name>Pierre Sassoulas</name>
<email>pierre.sassoulas@gmail.com</email>
</author>
<published>2021-05-29T20:06:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=bc28efe5186b7872b691b8fe22217f479afc254e'/>
<id>bc28efe5186b7872b691b8fe22217f479afc254e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix unhandled AstroidSyntaxError raised by infer_named_tuple brain  (#929)</title>
<updated>2021-05-29T19:44:36+00:00</updated>
<author>
<name>Andrew Haigh</name>
<email>hello@nelf.in</email>
</author>
<published>2021-05-29T19:44:36+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=8a08d50d0b83feae1dfa0b0c3ca1748b0d708429'/>
<id>8a08d50d0b83feae1dfa0b0c3ca1748b0d708429</id>
<content type='text'>
* Fix uncaught AstroidSyntaxErrors in namedtuple brain

Ref #920. This adds a test suite and updates the infer_named_tuple brain with
some additional behaviours expected by `collections.namedtuple`, specifically
about rejecting invalid type and field names. Some of these cases inferred as
namedtuples/`ClassDef` when they would have raised `ValueError` and some of
these raise unhandled `AstroidSyntaxError`s due to attempts to parse class
fakes with type names that would have raised `ValueError`. For example:

    from collections import namedtuple
    Tuple = namedtuple('X', 'abc abc')
    # Traceback (most recent call last):
    #     ...
    # ValueError: Encountered duplicate field name: 'abc'

    import astroid
    node = astroid.extract_node("""
        from collections import namedtuple
        Tuple = namedtuple('X', 'abc abc')
        Tuple
    """)
    next(node.infer())
    # &lt;ClassDef.X l.3 at 0x...&gt;

    from collections import namedtuple
    Tuple = namedtuple('123', 'abc')
    # Traceback (most recent call last):
    #     ...
    # ValueError: Type names and field names must be valid identifiers: '123'

    import astroid
    node = astroid.extract_node("""
        from collections import namedtuple
        Tuple = namedtuple('123', 'abc')
        Tuple
    """)
    next(node.infer())
    # Traceback (most recent call last):
    #     ...
    # KeyError: (&lt;function infer_named_tuple at 0x...&gt;, &lt;Call l.3 at 0x...&gt;)
    #
    # During handling of the above exception, another exception occurred:
    #
    # Traceback (most recent call last):
    #     ...
    #   File "&lt;unknown&gt;", line 2
    #     class 123(tuple):
    #             ^
    # SyntaxError: invalid syntax
    #
    # The above exception was the direct cause of the following exception:
    #
    # Traceback (most recent call last):
    #     ...
    # astroid.exceptions.AstroidSyntaxError: Parsing Python code failed:
    # invalid syntax (&lt;unknown&gt;, line 2)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix uncaught AstroidSyntaxErrors in namedtuple brain

Ref #920. This adds a test suite and updates the infer_named_tuple brain with
some additional behaviours expected by `collections.namedtuple`, specifically
about rejecting invalid type and field names. Some of these cases inferred as
namedtuples/`ClassDef` when they would have raised `ValueError` and some of
these raise unhandled `AstroidSyntaxError`s due to attempts to parse class
fakes with type names that would have raised `ValueError`. For example:

    from collections import namedtuple
    Tuple = namedtuple('X', 'abc abc')
    # Traceback (most recent call last):
    #     ...
    # ValueError: Encountered duplicate field name: 'abc'

    import astroid
    node = astroid.extract_node("""
        from collections import namedtuple
        Tuple = namedtuple('X', 'abc abc')
        Tuple
    """)
    next(node.infer())
    # &lt;ClassDef.X l.3 at 0x...&gt;

    from collections import namedtuple
    Tuple = namedtuple('123', 'abc')
    # Traceback (most recent call last):
    #     ...
    # ValueError: Type names and field names must be valid identifiers: '123'

    import astroid
    node = astroid.extract_node("""
        from collections import namedtuple
        Tuple = namedtuple('123', 'abc')
        Tuple
    """)
    next(node.infer())
    # Traceback (most recent call last):
    #     ...
    # KeyError: (&lt;function infer_named_tuple at 0x...&gt;, &lt;Call l.3 at 0x...&gt;)
    #
    # During handling of the above exception, another exception occurred:
    #
    # Traceback (most recent call last):
    #     ...
    #   File "&lt;unknown&gt;", line 2
    #     class 123(tuple):
    #             ^
    # SyntaxError: invalid syntax
    #
    # The above exception was the direct cause of the following exception:
    #
    # Traceback (most recent call last):
    #     ...
    # astroid.exceptions.AstroidSyntaxError: Parsing Python code failed:
    # invalid syntax (&lt;unknown&gt;, line 2)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add initial support for pattern matching py310 (#986)</title>
<updated>2021-05-29T11:20:56+00:00</updated>
<author>
<name>Marc Mueller</name>
<email>30130371+cdce8p@users.noreply.github.com</email>
</author>
<published>2021-05-29T11:20:56+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=0689f0e3cd29aae24c135d64c53b05dcf73d4d33'/>
<id>0689f0e3cd29aae24c135d64c53b05dcf73d4d33</id>
<content type='text'>
* Add initial support for pattern matching py310
* Add typing_extensions</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add initial support for pattern matching py310
* Add typing_extensions</pre>
</div>
</content>
</entry>
<entry>
<title>Fix six.with_metaclass transformation so it doesn't break user defined transformations (#975)</title>
<updated>2021-05-29T10:06:37+00:00</updated>
<author>
<name>Artsiom Kaval</name>
<email>lezeroq@gmail.com</email>
</author>
<published>2021-05-29T10:06:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=8d7019531868eab63f72eefc1b9ee5e59b6d1299'/>
<id>8d7019531868eab63f72eefc1b9ee5e59b6d1299</id>
<content type='text'>
* Fix six.with_metaclass transformation so it doesn't break user defined transformations</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix six.with_metaclass transformation so it doesn't break user defined transformations</pre>
</div>
</content>
</entry>
<entry>
<title>Add manifest</title>
<updated>2021-05-25T19:51:58+00:00</updated>
<author>
<name>Marc Mueller</name>
<email>30130371+cdce8p@users.noreply.github.com</email>
</author>
<published>2021-05-25T19:25:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=88cee6f2f6535afeab49e42c9a4b01ea64b0810a'/>
<id>88cee6f2f6535afeab49e42c9a4b01ea64b0810a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove version attribute</title>
<updated>2021-05-25T19:51:58+00:00</updated>
<author>
<name>Marc Mueller</name>
<email>30130371+cdce8p@users.noreply.github.com</email>
</author>
<published>2021-05-25T19:24:51+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=2f838cd93c6f87ccfd097919c0ce3e23d7a78d04'/>
<id>2f838cd93c6f87ccfd097919c0ce3e23d7a78d04</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump ci cache version</title>
<updated>2021-05-25T11:44:56+00:00</updated>
<author>
<name>Marc Mueller</name>
<email>30130371+cdce8p@users.noreply.github.com</email>
</author>
<published>2021-05-25T11:13:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=18644f06ba971ae05870fb21639894254a2d1187'/>
<id>18644f06ba971ae05870fb21639894254a2d1187</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
