<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/astroid-git.git, branch v2.11.6</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>Bump astroid to 2.11.6, update changelog</title>
<updated>2022-06-13T14:25:36+00:00</updated>
<author>
<name>Pierre Sassoulas</name>
<email>pierre.sassoulas@gmail.com</email>
</author>
<published>2022-06-13T12:23:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=80883503e1a2505ef54954a2dac16278e7e19e58'/>
<id>80883503e1a2505ef54954a2dac16278e7e19e58</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>`argparse` brain: avoid spurious addition of "namespace" to function locals</title>
<updated>2022-06-13T14:25:36+00:00</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2022-06-09T01:48:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=824abdbf5f6821b46f512f3f38d6788662b1eff6'/>
<id>824abdbf5f6821b46f512f3f38d6788662b1eff6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>qt brain: Make slot argument optional for disconnect() (#1550)</title>
<updated>2022-06-13T14:25:36+00:00</updated>
<author>
<name>Florian Bruhin</name>
<email>me@the-compiler.org</email>
</author>
<published>2022-05-12T13:21:56+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=b30977e6a13810a16d027bccded05336b9bd2ad5'/>
<id>b30977e6a13810a16d027bccded05336b9bd2ad5</id>
<content type='text'>
* qt brain: Make slot argument optional for disconnect()

Discussed here:
https://github.com/PyCQA/astroid/pull/1531#issuecomment-1111963792

PyQt supports calling .disconnect() without any arguments in order to
disconnect all slots:
https://www.riverbankcomputing.com/static/Docs/PyQt6/signals_slots.html#disconnect

Strictly speaking, slot=None is a wrong call, as actually passing None
does not work:
https://github.com/python-qt-tools/PyQt5-stubs/pull/103

However, pylint/astroid does not support overloads needed to properly
express this: https://github.com/PyCQA/pylint/issues/5264

So, while this is "wrong", it's less wrong than before - without this
change, pylint expects a mandatory argument, thus raising a
false-positive here:

    from PyQt5.QtCore import QTimer
    t = QTimer()
    t.timeout.connect(lambda: None)
    t.timeout.disconnect()

despite running fine, pylint complains:

    test.py:4:0: E1120: No value for argument 'slot' in method call (no-value-for-parameter)

while with this change, things work fine.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* qt brain: Make slot argument optional for disconnect()

Discussed here:
https://github.com/PyCQA/astroid/pull/1531#issuecomment-1111963792

PyQt supports calling .disconnect() without any arguments in order to
disconnect all slots:
https://www.riverbankcomputing.com/static/Docs/PyQt6/signals_slots.html#disconnect

Strictly speaking, slot=None is a wrong call, as actually passing None
does not work:
https://github.com/python-qt-tools/PyQt5-stubs/pull/103

However, pylint/astroid does not support overloads needed to properly
express this: https://github.com/PyCQA/pylint/issues/5264

So, while this is "wrong", it's less wrong than before - without this
change, pylint expects a mandatory argument, thus raising a
false-positive here:

    from PyQt5.QtCore import QTimer
    t = QTimer()
    t.timeout.connect(lambda: None)
    t.timeout.disconnect()

despite running fine, pylint complains:

    test.py:4:0: E1120: No value for argument 'slot' in method call (no-value-for-parameter)

while with this change, things work fine.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump astroid to 2.11.5, update changelog</title>
<updated>2022-05-09T11:36:01+00:00</updated>
<author>
<name>Pierre Sassoulas</name>
<email>pierre.sassoulas@gmail.com</email>
</author>
<published>2022-05-09T11:19:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=218ed2bb53ce90518e128ab34abc4b087255745e'/>
<id>218ed2bb53ce90518e128ab34abc4b087255745e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix crash while obtaining `object_type()` of an `Unknown` node (#1547)</title>
<updated>2022-05-09T11:36:01+00:00</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2022-05-07T18:38:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=fb553fd746742009648de29d63b615f38afec757'/>
<id>fb553fd746742009648de29d63b615f38afec757</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Prevent special case for `virtualenv`'s patching of `distutils` from catching other submodules (#1544)</title>
<updated>2022-05-09T11:36:01+00:00</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2022-05-05T12:29:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=2d83696def222cfc4ed3e5d61bec96d601e45ece'/>
<id>2d83696def222cfc4ed3e5d61bec96d601e45ece</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump astroid to 2.11.4, update changelog</title>
<updated>2022-05-02T11:59:44+00:00</updated>
<author>
<name>Pierre Sassoulas</name>
<email>pierre.sassoulas@gmail.com</email>
</author>
<published>2022-05-02T11:29:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=5f30afe05e8205606e863bf6b0135b1425b8e83d'/>
<id>5f30afe05e8205606e863bf6b0135b1425b8e83d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve recognition of ``_io`` module during bootstrapping on ``PyPy`` (#1529)</title>
<updated>2022-05-02T11:56:00+00:00</updated>
<author>
<name>Daniël van Noord</name>
<email>13665637+DanielNoord@users.noreply.github.com</email>
</author>
<published>2022-05-02T11:20:23+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=2b19658564ace0dbac96c4232abdfe04d6d8f8b7'/>
<id>2b19658564ace0dbac96c4232abdfe04d6d8f8b7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a crash involving two starred expressions inside a call (#1535)</title>
<updated>2022-05-02T11:56:00+00:00</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2022-04-30T16:21:05+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=2e383f3da69c71925904b15ad2f97e247cda419f'/>
<id>2e383f3da69c71925904b15ad2f97e247cda419f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make `FunctionDef.implicit_parameters` return 1 for methods (#1531)</title>
<updated>2022-05-02T11:56:00+00:00</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2022-04-30T15:57:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/astroid-git.git/commit/?id=be9235ce3eaf78d0ffd285c595bfa8d699a3a895'/>
<id>be9235ce3eaf78d0ffd285c595bfa8d699a3a895</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
