4 ms·
>... a comma at the end of the line turned his Python scalar into a unary tuple I have been burned by this mistake a handful of times. Each instance managed to
by 5d8767c68926 4y ago
>... a comma at the end of the line turned his Python scalar into a unary tuple
I have been burned by this mistake a handful of times. Each instance managed to eat up a shocking amount of time. I definitely consider it a misfeature.
- Sohcahtoa82 4y agoI'm trying to figure out how you ended up with a stray comma at the end of a line. A simple typo, bumping the key without noticing?
- Alupis 4y agoMy guess would be a bad auto-complete suggestion that wasn't read carefully before accepting. Loose-type languages often struggle with auto-complete and related. I don't know enough about current state of python development to say with certainty, however.
- 5d8767c68926 4y agoCannot offer any justification for the error. Just that I have done it more than once, and each time it has taken me too long to debug the underlying cause.