Issue 3051: make pure python code pass the same tests as the C version.
2 files changed