commit | 54df53a3522436e714ac6ea6f896bf790d31bc4e | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Aug 14 18:38:27 2002 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Aug 14 18:38:27 2002 +0000 |
tree | bccd10e1e90877f0068a3aa704827272ad146c3e | |
parent | 29c2106465afdcb3f48f3ef6cca7660fa644764d [diff] [blame] |
More changes of DeprecationWarning to FutureWarning.
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index d0fe24c..4ac12a0 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c
@@ -5338,7 +5338,7 @@ if (x == -1 && PyErr_Occurred()) return -1; if (x < 0 && type != 'd' && type != 'i') { - if (PyErr_Warn(PyExc_DeprecationWarning, + if (PyErr_Warn(PyExc_FutureWarning, "%u/%o/%x/%X of negative int will return " "a signed string in Python 2.4 and up") < 0) return -1;