[Python-3000] Need help fixing failing Py3k Unittests in py3k-struni (original) (raw)
Walter Dörwald walter at livinglogic.de
Wed Jul 11 09:51:58 CEST 2007
- Previous message: [Python-3000] Need help fixing failing Py3k Unittests in py3k-struni
- Next message: [Python-3000] Need help fixing failing Py3k Unittests in py3k-struni
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Christian Heimes wrote:
I found a bug in the str type that may affect a lot of tests.
In the py3k-struni branch the str() constructor doesn't use str when the argument is an instance of a subclass of str. A user defined string can't change str(). The repr method isn't affected.
This hasn't been rewired yet. Behind the covers str still behaves like unicode, i.e. it uses unicode for conversion.
Servus, Walter
- Previous message: [Python-3000] Need help fixing failing Py3k Unittests in py3k-struni
- Next message: [Python-3000] Need help fixing failing Py3k Unittests in py3k-struni
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]