-
-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3.7.2 StopIteration with custom context #663
Comments
thanks for the quick fix. Works as expected. When is this going to be released? |
Thanks for testing! Probably around start or May as a final minor release. It won't be part of 1.9.x line though. |
nelfin
added a commit
to nelfin/astroid
that referenced
this issue
May 1, 2021
Ref pylint-dev#663. This test did not actually check for regression of the issue fixed in 55076ca (i.e. it also passed on c87bea1 before the fix was applied). Additionally, it over-specified the behaviour it was attempting to check: whether the value returned from the context manager was Uninferable was not directly relevant to the test, so when this value changed due to unrelated fixes in inference, this test failed.
nelfin
added a commit
to nelfin/astroid
that referenced
this issue
May 1, 2021
Ref pylint-dev#663. This test did not actually check for regression of the issue fixed in 55076ca (i.e. it also passed on c87bea1 before the fix was applied). Additionally, it over-specified the behaviour it was attempting to check: whether the value returned from the context manager was Uninferable was not directly relevant to the test, so when this value changed due to unrelated fixes in inference, this test failed.
2 tasks
nelfin
added a commit
to nelfin/astroid
that referenced
this issue
May 2, 2021
Ref pylint-dev#663. This test did not actually check for regression of the issue fixed in 55076ca (i.e. it also passed on c87bea1 before the fix was applied). Additionally, it over-specified the behaviour it was attempting to check: whether the value returned from the context manager was Uninferable was not directly relevant to the test, so when this value changed due to unrelated fixes in inference, this test failed.
cdce8p
added a commit
to cdce8p/astroid
that referenced
this issue
May 15, 2021
…h no returns Squashed commit of the following: commit 7ec6a68 Author: Andrew Haigh <hello@nelf.in> Date: Mon May 3 09:09:17 2021 +1000 Update changelog commit b50a7dd Author: Andrew Haigh <hello@nelf.in> Date: Mon May 3 09:02:29 2021 +1000 Update check of implicit return to ignore abstract methods Ref pylint-dev#485. To avoid additional breakage, we optionally extend is_abstract to consider functions whose body is any raise statement (not just raise NotImplementedError) commit ff719c8 Author: Andrew Haigh <hello@nelf.in> Date: Sat May 1 12:19:52 2021 +1000 Add check of __getitem__ signature to instance_getitem commit 427d422 Author: Andrew Haigh <hello@nelf.in> Date: Sat May 1 11:45:27 2021 +1000 Fix test definition of igetattr recursion and context_manager_inference Ref pylint-dev#663. This test did not actually check for regression of the issue fixed in 55076ca (i.e. it also passed on c87bea1 before the fix was applied). Additionally, it over-specified the behaviour it was attempting to check: whether the value returned from the context manager was Uninferable was not directly relevant to the test, so when this value changed due to unrelated fixes in inference, this test failed. commit 8ec2b47 Author: Andrew Haigh <hello@nelf.in> Date: Sat Apr 24 09:16:16 2021 +1000 Update FunctionDef.infer_call_result to infer None with no Returns Ref pylint-dev#485. If the function was inferred (unlike many compiler-builtins) and it contains no Return nodes, then the implicit return value is None.
nelfin
added a commit
to nelfin/astroid
that referenced
this issue
May 24, 2021
Ref pylint-dev#663. This test did not actually check for regression of the issue fixed in 55076ca (i.e. it also passed on c87bea1 before the fix was applied). Additionally, it over-specified the behaviour it was attempting to check: whether the value returned from the context manager was Uninferable was not directly relevant to the test, so when this value changed due to unrelated fixes in inference, this test failed.
nelfin
added a commit
to nelfin/astroid
that referenced
this issue
May 24, 2021
Ref pylint-dev#663. This test did not actually check for regression of the issue fixed in 55076ca (i.e. it also passed on c87bea1 before the fix was applied). Additionally, it over-specified the behaviour it was attempting to check: whether the value returned from the context manager was Uninferable was not directly relevant to the test, so when this value changed due to unrelated fixes in inference, this test failed.
nelfin
added a commit
to nelfin/astroid
that referenced
this issue
May 24, 2021
Ref pylint-dev#663. This test did not actually check for regression of the issue fixed in 55076ca (i.e. it also passed on c87bea1 before the fix was applied). Additionally, it over-specified the behaviour it was attempting to check: whether the value returned from the context manager was Uninferable was not directly relevant to the test, so when this value changed due to unrelated fixes in inference, this test failed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
python37 -m pylint pylint_exc_stop_iteration.py
Current behavior
Expected behavior
python -c "from astroid import __pkginfo__; print(__pkginfo__.version)"
output$ python37 -c "from astroid import __pkginfo__; print(__pkginfo__.version)" 2.2.5
more Version information
The text was updated successfully, but these errors were encountered: