SIGN IN SIGN UP

SF bug #1002530: test_decimal fails if repeated

* Protect the pre-defined contexts by using a deepcopy() instead of copy().
* Micro-optimization:  prefer x&1 over x%2
R
Raymond Hettinger committed
61992efc4bb413ae7a19752215eca5af09be6b6d
Parent: 19397e5