Eric Smith <e...@trueblade.com> added the comment:

Now that I start this, I see that it's complicated by the fact that the 
functions actually being wrapped are in stringlib/string_format.h. That's 
because in 2.x they compile as both unicode and str. Before the _string module 
is created, the code should really be moved out of stringlib (possibly into 
_string). But that's a much more involved task.

I guess it depends if we want to have a bytes version of format(). If we do, 
it's best to leave the code in stringlib so it can be shared between the 
implementations. If we never want that, it can be removed from stringlib and 
put somewhere else, removing the ability to call it both ways. I'll have to 
give that some thought.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9418>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to