[Python-Dev] PEP 3144 review.

Stephen J. Turnbull stephen at xemacs.org
Tue Sep 15 20:49:46 CEST 2009


Antoine Pitrou writes:

 > Speaking as a non-network specialist, it actually looks logical to
 > me to be given an address if I iterate over a network (the same way
 > that, if I iterate on a list, I get individual elements, not
 > 1-element sublists).

But if you iterate over a string you get one character strings.  So
it's an issue of convenience of representation.





More information about the Python-Dev mailing list