Comments (5)
Mmmmh, I assume this ends up with a clobbered c++ compilation error, am I right?
There is a implicit assumption in pythran that states that the compiler will not try to verify much things. If you're using polymorphic variables, it will try to generate polymorphic code, and will like fail.
I assume this can be implemented quiete easily, but it will not be a priority.
from pythran.
Errors emitted from the front end are better since they can reference the right line in the original Python code
from pythran.
issuing #line is another alternative. this used to be implemented in pythran... anyway c++ errors are so difficult to grab...
Maybe I should restore it ?
from pythran.
I think it is good practice to emit an error as early as you can in the process, assuming finding out that error early doesn't require too much work
from pythran.
I completely agree. Commit 5ea0d09 fixes this. Poor's man method: rely on pyflakes (if available) to perform a few checks.
from pythran.
Related Issues (20)
- latest HEAD does not work with cython on CPython 3.11 HOT 7
- no candidates with strided array HOT 2
- GCC error with list comprehension HOT 2
- Support `numpy.ndarray.view`
- On windows, with anaconda, is there a procedure to use pythran by calling side-loaded compiler (e.g. from winlibs). HOT 1
- Test failures with Python 3.12 HOT 2
- RFE: please start making github releases HOT 5
- `-Wreturn-std-move` compiler warnings from `assignable.hpp` HOT 2
- Recursive import issue with Pythran when building SciPy HOT 10
- Pythran extension contains timestamp preventing reproducibility HOT 4
- Compile issue HOT 2
- Segfault on pythran module import
- Reversing a range HOT 1
- Compilation errors when using array indexing HOT 1
- New warnings: "Overriding pythran description with argspec information" HOT 5
- Using Pythran to implement the compiled kernel of a NumPy ufunc HOT 10
- several errors when building python 3.8 wheels for CPython 3.8 musllinux i686 HOT 2
- MAINT: NumPy complex shim needed? HOT 3
- Some tests still want numpy.distutils HOT 3
- Compile error on simple numpy example HOT 5
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 pythran.