◐ Shell
clean mode source ↗

Message 207069 - Python tracker

Ran full test suite; some errors came up in test_format from the following test lines:

    testformat("%#x", 1.0, "0x1")
    testformat("%x", float(big), "123456_______________", 6)
    testformat("%o", float(big), "123456__________________________", 6)
    testformat("%x", float(0x42), "42")
    testformat("%o", float(0o42), "42")

Removed as float() is not supposed to be valid input.

Also fixed two memory leaks in unicodeobject from my changes, and a float->oct bug in tarfile.