[issue8382] StringIO.write() takes any argument and converts it to a string

2010-04-13 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> wont fix stage: -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue8382] StringIO.write() takes any argument and converts it to a string

2010-04-12 Thread Skip Montanaro
Skip Montanaro added the comment: Whoops. No stringio.py in 3.x. This should be closed as won't fix since it's not a problem in py3k and can't be changed in 2.x. -- ___ Python tracker ___

[issue8382] StringIO.write() takes any argument and converts it to a string

2010-04-12 Thread Skip Montanaro
Skip Montanaro added the comment: It's clear you can't change it for 2.6 or 2.7, almost certainly not 3.1. Maybe you could change it for 3.2. -- nosy: +skip.montanaro ___ Python tracker

[issue8382] StringIO.write() takes any argument and converts it to a string

2010-04-12 Thread Tarek Ziadé
Tarek Ziadé added the comment: Yes, I am not sure what would be the best fix though. We cannot raise an error on StringIO now because this will break lots of code out there. In the meantime, I think it's cleaner to avoid doing implicit str() conversions, so I think cStringIO has a better app

[issue8382] StringIO.write() takes any argument and converts it to a string

2010-04-12 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- title: cStringIO and StringIO don't behave the same way -> StringIO.write() takes any argument and converts it to a string ___ Python tracker ___ _