[Python-Dev] unicode inconsistency?

Neil Schemenauer nas at arctrix.com
Wed Mar 9 03:08:50 CET 2005


On Sat, Apr 04, 1998 at 07:04:02AM +0000, Tim Peters wrote:
> [Martin v. L?wis]
> > I can't see any harm by supporting this operation also if __str__ returns
> > a Unicode object.
> 
> It doesn't sound like a good idea to me, at least in part because it
> would be darned messy to implement short of saying "OK, we don't give
> a rip anymore about what type of objects PyObject_{Str,Repr} return",

It's about 10 lines of code.  See http://python.org/sf/1159501 .

  Neil



More information about the Python-Dev mailing list