Guido van Rossum 078151da90 Implement stage B0 of PEP 237: add warnings for operations that
currently return inconsistent results for ints and longs; in
particular: hex/oct/%u/%o/%x/%X of negative short ints, and x<<n that
either loses bits or changes sign.  (No warnings for repr() of a long,
though that will also change to lose the trailing 'L' eventually.)

This introduces some warnings in the test suite; I'll take care of
those later.
2002-08-11 04:24:12 +00:00
..
2000-05-02 18:34:30 +00:00
2002-08-06 22:12:52 +00:00
2001-08-29 23:54:21 +00:00
2002-07-17 16:30:39 +00:00
2002-08-06 21:50:54 +00:00
2002-07-17 16:30:39 +00:00
2002-07-17 16:30:39 +00:00
2002-08-07 16:21:51 +00:00
2002-07-18 18:49:52 +00:00
2002-07-17 16:30:39 +00:00
2002-07-17 16:30:39 +00:00