mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Add -3 option to the interpreter to warn about features that are
deprecated and will be changed/removed in Python 3.0. This patch is mostly from Anthony. I tweaked some format and added a little doc.
This commit is contained in:
parent
5f2ba9f2b1
commit
8b2bfbc198
7 changed files with 31 additions and 3 deletions
|
@ -29,6 +29,7 @@ _Py_GetRefTotal(void)
|
|||
#endif /* Py_REF_DEBUG */
|
||||
|
||||
int Py_DivisionWarningFlag;
|
||||
int Py_Py3kWarningFlag;
|
||||
|
||||
/* Object allocation routines used by NEWOBJ and NEWVAROBJ macros.
|
||||
These are used by the individual routines for object creation.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue