Thanks Nils.
This is now
https://github.com/sagemath/sage/issues/35607

Guillermo

On Wed, 3 May 2023 at 17:51, Nils Bruin <nbr...@sfu.ca> wrote:

> On Wednesday, 3 May 2023 at 08:11:25 UTC-7 G. M.-S. wrote:
>
>
> This gives an error:
>
> sage: '' *in* CC
>
> […]
>
>
>
>     ^
>
> SyntaxError: invalid syntax
>
> It looks like this error comes from the fact that "eval('')" raises this.
> Apparently an empty string is not valid python for the parser. It is a
> little strange that an empty string is getting parsed to test for
> membership in CC. Many non-empty strings that are invalid python code do
> return "False", so it looks like the empty string ends up in a wrong code
> path somewhere. Worth a bug report, I'd say.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CANnG189b-3RCDUfo_3fbDrXbDYqzF_p7avfo0N6yy1YiHgh-%2BA%40mail.gmail.com.

Reply via email to