[Chicago] is there really no built-in file/iter split() thing?

skip at pobox.com skip at pobox.com
Sun Dec 2 08:52:01 CET 2007


    Ian> One thing I've noticed is that some string operations are fairly
    Ian> efficient in this case, because they notice when they wouldn't do
    Ian> anything and don't create a new string.

    ...

    >>> x.split()[0] is x
    False

Patch here:

    http://bugs.python.org/issue1538

Skip


More information about the Chicago mailing list