Overview

Request 1160817 accepted

- update to 3.1.0:
* Include PEP 695 (Python 3.12) generic type syntax nodes in
``get_children()``, allowing checkers to visit them.
* Add ``__main__`` as a possible inferred value for
``__name__`` to improve control flow inference around
``if __name__ == "__main__":`` guards.
* Following a deprecation period, the ``names`` arg to the
``Import`` constructor and the ``op`` arg to the ``BoolOp``
constructor are now required, and the ``doc`` args
to the ``PartialFunction`` and ``Property`` constructors
have been removed (call ``postinit(doc_node=...)`` instead.)
* Following a deprecation announced in astroid 1.5.0, the alias
``AstroidBuildingException`` is removed in favor of
``AstroidBuildingError``.
* Include modname in AST warnings. Useful for ``invalid escape
sequence`` warnings with Python 3.12.
* ``RecursionError`` is now trapped and logged out as
``UserWarning`` during astroid node transformations with
instructions about raising the system recursion limit.
* Suppress ``SyntaxWarning`` for invalid escape sequences on
Python 3.12 when parsing modules.

Request History
Dirk Mueller's avatar

dirkmueller created request

- update to 3.1.0:
* Include PEP 695 (Python 3.12) generic type syntax nodes in
``get_children()``, allowing checkers to visit them.
* Add ``__main__`` as a possible inferred value for
``__name__`` to improve control flow inference around
``if __name__ == "__main__":`` guards.
* Following a deprecation period, the ``names`` arg to the
``Import`` constructor and the ``op`` arg to the ``BoolOp``
constructor are now required, and the ``doc`` args
to the ``PartialFunction`` and ``Property`` constructors
have been removed (call ``postinit(doc_node=...)`` instead.)
* Following a deprecation announced in astroid 1.5.0, the alias
``AstroidBuildingException`` is removed in favor of
``AstroidBuildingError``.
* Include modname in AST warnings. Useful for ``invalid escape
sequence`` warnings with Python 3.12.
* ``RecursionError`` is now trapped and logged out as
``UserWarning`` during astroid node transformations with
instructions about raising the system recursion limit.
* Suppress ``SyntaxWarning`` for invalid escape sequences on
Python 3.12 when parsing modules.


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Marcus Rueckert's avatar

darix accepted review

Accepted review for by_group opensuse-review-team request 1160817 from user factory-auto


Dominique Leuenberger's avatar

dimstar_suse set openSUSE:Factory:Staging:B as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:B"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Picked "openSUSE:Factory:Staging:B"


Ana Guerrero's avatar

anag+factory added factory-staging as a reviewer

Being evaluated by group "factory-staging"


Ana Guerrero's avatar

anag+factory accepted review

Unstaged from project "openSUSE:Factory:Staging:B"


Ana Guerrero's avatar

anag+factory set openSUSE:Factory:Staging:D as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:D"


Ana Guerrero's avatar

anag+factory accepted review

Picked "openSUSE:Factory:Staging:D"


Ana Guerrero's avatar

anag+factory accepted review

Staging Project openSUSE:Factory:Staging:D got accepted.


Ana Guerrero's avatar

anag+factory approved review

Staging Project openSUSE:Factory:Staging:D got accepted.


Ana Guerrero's avatar

anag+factory accepted request

Staging Project openSUSE:Factory:Staging:D got accepted.

openSUSE Build Service is sponsored by