From 078151da901bebce6eb232d958fbbb1e5ced4399 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sun, 11 Aug 2002 04:24:12 +0000 Subject: 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< sys.maxint " + "will return positive values " + "in Python 2.4 and up") < 0) + return NULL; + } + } else x = PyOS_strtol(s, &end, 0); if (*end == '\0') { -- cgit v1.2.1