Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:

Hopefully this is the last iteration before commit.  As discussed, I took 
whitespace processing out of PyUnicode_TransformDecimalToASCII() and made it 
public.  Whitespace conversion in int()/float()/complex() is repetitious and 
can be optimized by, for example only converting leading and trailing 
whitespace.  I erred on the side of correctness here and real optimization will 
come from making conversion algorithms operate directly on Py_UNICODE 
characters.  This looks like a relatively easy thing to do, but is definitely 
outside of the scope of this issue.

----------
Added file: http://bugs.python.org/file19931/issue10557d.diff

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

Reply via email to