Comments (3)
Original comment by Sylvain Thénault (BitBucket: sthenault, GitHub: @sthenault?):
anyone to confirm the pb occurs with numppy 1.8 but not previous version ? (I've only 1.7.1 there)
from astroid.
Original comment by BitBucket: idella5:
Yes; confirm;
Astroid 1.0.1,
numpy; Installed versions: 1.8.0
$ python -V
Python 2.7.6
/path/to/astroid-1.0.1/test $ PYTHONPATH=../build/lib/ pytest
yields
...F.S.
======================================================================
FAIL: test_numpy_crash (unittest_regrtest.NonRegressionTC)
test don't crash on numpy
----------------------------------------------------------------------
Traceback (most recent call last)
File "/usr/lib64/python2.7/site-packages/logilab/common/testlib.py", line 664, in _proceed
testfunc(*args, **kwargs)
File "/mnt/gen2/TmpDir/portage/dev-python/astroid-1.0.1/work/astroid-1.0.1/test/unittest_regrtest.py", line 136, in test_numpy_crash
self.assertIsInstance(infered[0], Instance)
File "/usr/lib64/python2.7/site-packages/logilab/common/testlib.py", line 1105, in assertIsInstance
self.assertTrue(isinstance(obj, klass), msg)
File "/usr/lib64/python2.7/unittest/case.py", line 424, in assertTrue
raise self.failureException(msg)
AssertionError: YES is not an instance of <class 'astroid.bases.Instance'> but of <class 'astroid.bases._Yes'>
no stdout
no stderr
from astroid.
Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore):
It was fixed in the tip.
from astroid.
Related Issues (20)
- Implement new nodes for PEP 695: Type Parameter Syntax
- `.arguments` property ignores keyword-only args, *args, and **kwargs HOT 5
- Exhausted inference from reused context in 3.0.0a6 HOT 1
- AttributeError: module 'astroid.nodes' has no attribute 'Try' HOT 1
- Update location attributes of new Typing nodes
- `ClassDef.instance_attrs` is being mutated during inference
- `max_inferable_values` is only tunable on the class HOT 3
- 2.15.7: sdist is still missing `tox.ini` HOT 3
- Regression in Astroid version 2.15.7 in handling subscriptable type parameters HOT 2
- `sphinx-autoapi` after astroid `v3.0.0` HOT 1
- A dataclass of type ``enum.Enum`` does not contain the enum ``__members__`` object HOT 4
- astroid depends on 'crypt', which is removed in Python 3.13 HOT 4
- Pyreverse does not show return type for property methods HOT 1
- Backstory behind license being LGPL? HOT 1
- Explore using `optimize` argument of `ast.parse()` in Python 3.13
- Test failures on Python 3.13 with astroid 3.0.2 HOT 4
- PEP 695: infer generic bases
- Editable installs don't expose `__version__`, break pylint HOT 4
- Exception 'RecursionError: maximum recursion depth exceeded' in astroid decorators with astroid 3.1.0 HOT 1
- test_pydantic_field failes HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from astroid.