Comment 1 for bug 839529

Revision history for this message
Barry Warsaw (barry) wrote :

Signalling an error when invalid characters are used should already work, because we do a check for valid Python identifiers. However, I agree that the API would be better if it took an iterator rather than a space-separated string. It would better match namedtuple() for example.

Care to take a crack at a patch/branch? Note that we have to keep the old interface for backward compatibility, though it can be deprecated. If you don't have time for that, let me know and I'll work on the patch. Thought you might have fun with it though :).