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/e999819e-a82e-4b9c-9599-3d8b4d6e10b9n%40googlegroups.com.

Reply via email to