Rafael Zanella added the comment:
I believe you're referring to StringIO, if so, it changes the parameter
received to a string:
"""
class StringIO:
def __init__(self, buf = ''):
# Force self.buf to be a string or unicode
if not isinstance(buf, basestring):
buf = str(buf)
"""
----------
nosy: +zanella
__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1986>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com