On Mar 05, 2010, at 10:56 AM, Antoine Pitrou wrote: >String type is actually very important, if you don't want your >application/library to fail in the face of non-ASCII data. > >That's why we did all this thing in py3k, after all :)
That's not actually what I mean. I meant that in doctests, you probably don't need to be confronted by the string type every single time. It's just not that interesting for documentation, most of the time. I have no problem adding (unit)tests that ensure your outputs and values are of the expected type though! -Barry
signature.asc
Description: PGP signature
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com