Re: [Python-Dev] 1-tuple trailing comma

2007-12-18 Thread Guido van Rossum
On Dec 18, 2007 7:31 AM, Calvin Spealman <[EMAIL PROTECTED]> wrote: > I just had an issue brought up by another developer who had a > trailing comma on an assignment causing a 1-tuple he did not expect. > We were talking about it and came to the conclusion that it is at > least worth bringing up th

[Python-Dev] 1-tuple trailing comma

2007-12-18 Thread Calvin Spealman
I just had an issue brought up by another developer who had a trailing comma on an assignment causing a 1-tuple he did not expect. We were talking about it and came to the conclusion that it is at least worth bringing up the idea of enforcing a SyntaxError in the case of this. 1-tuple synta