beeware / batavia

A JavaScript implementation of the Python virtual machine.
http://pybee.org/batavia
Other
1.39k stars 425 forks source link

Fix "".format() #804

Closed alexjdw closed 5 years ago

alexjdw commented 5 years ago

Updated the implementation and test for new-style string formatting so that most tests pass. There is one remaining issue: Floating points are being rounded by the test suite, meaning {e} formats on floating-point numbers display incorrectly in the test suite. Someone else seems to have found a fix for that, so I should be able to take care of it as soon as I get more details.

All other pending issues appear to be fixed.

PR Checklist:

alexjdw commented 5 years ago

Closing for #806