Looks fine to me. I'd probably keep MyInt rather than MyLong in Lib/test/pickletester.py, and Int rather than Long in Lib/test/test_getargs2.py, but that's just a matter of renaming. I note the major deletions in test_long; maybe the remaining tests in test_long should be moved from there to test_int? With this patch, all tests pass for me on OS X 10.6. Eric, this patch affects a bunch of formatting tests, particularly in Lib/test/test_types.py; I don't know whether you're trying to keep trunk and py3k formatting tests synchronized for ease of maintenance. Are you?
> Eric, this patch affects a bunch of formatting tests, particularly > in Lib/test/test_types.py; I don't know whether you're trying to > keep trunk and py3k formatting tests synchronized for ease of > maintenance. Are you? No, I've basically given up on keeping the tests in sync. The implementations are the same but not the tests.