diff options
| author | Barry Warsaw <barry@python.org> | 2002-08-14 15:51:29 +0000 |
|---|---|---|
| committer | Barry Warsaw <barry@python.org> | 2002-08-14 15:51:29 +0000 |
| commit | b3effee3dc0d8fb7663a099442164d491ab621d8 (patch) | |
| tree | b829f1038afdeda10cbdca6dcc1105da5ecbc871 /Python/compile.c | |
| parent | e787e2ec55bce44c2d8c23c17d6aa8d82dd42c6a (diff) | |
| download | cpython-b3effee3dc0d8fb7663a099442164d491ab621d8.tar.gz | |
Added a FutureWarning for constructs that will change semantically in
the future. Changed PEP 237 hex constant warnings from
DeprecationWarning to FutureWarning. Updated the documentation.
Diffstat (limited to 'Python/compile.c')
| -rw-r--r-- | Python/compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c index d1655e954f..5b4e8e6420 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -1158,7 +1158,7 @@ parsenumber(struct compiling *co, char *s) x = (long) PyOS_strtoul(s, &end, 0); if (x < 0 && errno == 0) { if (PyErr_WarnExplicit( - PyExc_DeprecationWarning, + PyExc_FutureWarning, "hex/oct constants > sys.maxint " "will return positive values " "in Python 2.4 and up", |
