Per Guido, I've checked a slightly different version of this patch in to the py3k branch as revision 57444. The primary difference is that I modified sysmodule.c and unicodeobject.c to start implementing the string.Formatter class.
Should I mark the original patch as closed in the tracker? Eric Smith wrote: > There are a handful of remaining issues, but it works for the most part. > > http://bugs.python.org/issue1009 > > Thanks to Guido and Talin for all of their help the last few days, and > thanks to Patrick Maupin for help with the initial implementation. > > Known issues: > Better error handling, per the PEP. > > Need to write Formatter class. > > test_long is failing, but I don't think it's my doing. > > Need to fix this warning that I introduced when compiling > Python/formatter_unicode.c: > Objects/stringlib/unicodedefs.h:26: warning: `STRINGLIB_CMP' defined but > not used > > Need more tests for sign handling for int and float. > > It still supports "()" sign formatting from an earlier PEP version. > > Eric. > _______________________________________________ > Python-3000 mailing list > [email protected] > http://mail.python.org/mailman/listinfo/python-3000 > Unsubscribe: > http://mail.python.org/mailman/options/python-3000/eric%2Bpython-dev%40trueblade.com > _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
