Giter VIP home page Giter VIP logo

Comments (6)

j042 avatar j042 commented on June 25, 2024

This is very rare use-case. In general, I'd like to add leading underscore to module local imports, then these things shouldn't happen.

from splinepy.

clemens-fricke avatar clemens-fricke commented on June 25, 2024

I was not able to reproduce this error at all. Even with a completely clean environment.

from splinepy.

SeRealMF avatar SeRealMF commented on June 25, 2024

I was successfully able to reproduce the error, though only on Windows, not on Linux. There may also be many other factors that influence whether the error appears or not.

from splinepy.

j042 avatar j042 commented on June 25, 2024

This is very rare use-case. In general, I'd like to add leading underscore to module local imports, then these things shouldn't happen.

Would still happen with json as it has the same name as built-in module. For this one, we will have to add a trailing underscore. You can add this to #296.

from splinepy.

clemens-fricke avatar clemens-fricke commented on June 25, 2024

After merging #309, does this issue persist? Could you check this @SeRealMF and close this issue if the problem is fixed?

from splinepy.

SeRealMF avatar SeRealMF commented on June 25, 2024

The issue still persists, even with the latest changes. @j042 mentioned a trailing underscore, though the issue seems resolved in my opinion with a leading underscore of json.py. No errors occur when the file is named _json.py.
Again, in my case all those notes apply only to Windows. No problems on Linux.

from splinepy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.