Message 32222 - Python tracker (original) (raw)
There should be test cases aplenty - this bug was first reported in March 2006 and this is one of four incarnations of it. See also 1753891, 1754642, 1183780
I think all of these contain testcases (though two roughly coincide) and any fix would be wise to try them all out...