On 4/2/12 5:11 PM, Daπid wrote:
> I want to report an inaccuracy in this doc:
> http://pytables.github.com/usersguide/condition_syntax.html#condition-syntax
>
> After listing the types supported in the search table.where:
>
> "Nevertheless, if the type passed is not among the above ones, it will
> be silently upcasted, so you don’t need to worry too much about
> passing supported types: just pass whatever type you want and the
> interpreter will take care of it."
>
> But if I pass an Unsigned 64 bits integer I get:
>
> NotImplementedError: variable ``N`` refers to a 64-bit unsigned
> integer column, not yet supported in conditions, sorry; please use
> regular Python selections
>
> Of course, that type cannot be upcasted to any of the listed, so you
> trully cannot expect it to work; but the behaviour is not exactly what
> it says on the paragraph.
Yes, you are right. These small amendments to docs are best dealt if you
could submit a PR. With github this is easy to do, and it is also very
convenient for maintainers for keeping track of all these requests for
improvement.
Cheers,
--
Francesc Alted
|