Code Monkey home page Code Monkey logo

Comments (5)

FrancescAlted avatar FrancescAlted commented on May 30, 2024

From [email protected] on December 13, 2009 19:21:34

Hmm. Looking again, I now see that "and" is not a supported operator.

So I guess this bug report now morphs into "I should get an error when I try to use
an unsupported operator". As TimBot's easter egg says: "Errors should never pass
silently."

from numexpr.

FrancescAlted avatar FrancescAlted commented on May 30, 2024

From [email protected] on September 27, 2011 06:18:23

fixed in r5591638b532f . Numexpr now raises an exception in that case.

Status: Fixed

from numexpr.

FrancescAlted avatar FrancescAlted commented on May 30, 2024

From [email protected] on November 06, 2011 02:16:57

Unfortunately, PyTables uses ExpressionNode comparisons via __nonzero__ a lot internally (the failures can be seen in, for example, PyTables test unit test_queries.IndexedTableUsage13), so I'm undoing this fix (in revision 18d29c5c2e64 ).

Not sure how to fix that without breaking PyTables (I suppose a refactoring of PyTables should be done in the future). I'll leave this open anyway.

Status: Accepted

from numexpr.

FrancescAlted avatar FrancescAlted commented on May 30, 2024

From [email protected] on April 26, 2013 04:20:16

After Antonio Valentino agreeing on this, I'm re-introducing this fix for 2.1.

Status: Fixed

from numexpr.

FrancescAlted avatar FrancescAlted commented on May 30, 2024

From [email protected] on September 27, 2013 01:05:30

Apparently people still use PyTables 2.4 a lot (see #115), so the __nonzero__ is commented again for branch 2.2 (it will remain commented for default branch).

Re-opening the ticket just to keep track of this and it should closed when numexpr would drop compatibility with PyTables < 3 completely.

Summary: Problem with "and" (also, nonzero should not be defined) (was: Problem with "and")
Status: Started

from numexpr.

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.