Message6437

Author yole
Recipients yole
Date 2011-03-15.18:26:32
SpamBayes Score 1.7787655e-09
Marked as misclassified No
Message-id <1300213593.12.0.238290777741.issue1718@psf.upfronthosting.co.za>
In-reply-to
Content
Attached is a somewhat complete implementation of PEP 3101 (string.format) for Jython 2.6 which passes a certain number of the tests in the standard library testsuite. :)

Stuff that's still missing:
 - implement __format__ for floats
 - implement 'n' formatting type for integers
 - implement __format__ for datetime
 - limit recursion level for recursive format specs
 - implement remaining checks for error conditions
 - check str/unicode difference
 - handle classes inherited from int/long/string/float overriding __format__
 - anything else I haven't figured out yet :)
History
Date User Action Args
2011-03-15 18:26:33yolesetrecipients: + yole
2011-03-15 18:26:33yolesetmessageid: <1300213593.12.0.238290777741.issue1718@psf.upfronthosting.co.za>
2011-03-15 18:26:33yolelinkissue1718 messages
2011-03-15 18:26:33yolecreate