[Python-Dev] Odd compile errors for bad genexps (original) (raw)
Tim Peters tim.peters at gmail.com
Wed Sep 29 22:30:10 CEST 2004
- Previous message: [Python-Dev] Finding the module from PyTypeObject?
- Next message: [Python-Dev] Odd compile errors for bad genexps
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
(i for i in x) = 2 SystemError: assign to generator expression not possible
- Why is that a SystemError instead of a SyntaxError? SystemError doesn't make sense.
- Why didn't it echo the offending line?
(i for i in x) += 2 SyntaxError: augmented assign to tuple literal not possible
- That's not a tuple literal.
- See #2 .
- Previous message: [Python-Dev] Finding the module from PyTypeObject?
- Next message: [Python-Dev] Odd compile errors for bad genexps
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]