Message6437
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 :) |
|
Date |
User |
Action |
Args |
2011-03-15 18:26:33 | yole | set | recipients:
+ yole |
2011-03-15 18:26:33 | yole | set | messageid: <1300213593.12.0.238290777741.issue1718@psf.upfronthosting.co.za> |
2011-03-15 18:26:33 | yole | link | issue1718 messages |
2011-03-15 18:26:33 | yole | create | |
|