[Python-checkins] r59132 - in python/trunk: Parser/tokenizer.c Python/ast.c

Georg Brandl g.brandl at gmx.net
Fri Nov 23 11:07:58 CET 2007


christian.heimes schrieb:
> Author: christian.heimes
> Date: Fri Nov 23 10:10:36 2007
> New Revision: 59132
> 
> Modified:
>    python/trunk/Parser/tokenizer.c
>    python/trunk/Python/ast.c
> Log:
> Applied patch #1754273 and #1754271 from Thomas Glee
> The patches are adding deprecation warnings for back ticks and <>

In my tests, the warnings here are not reported to be in the correct module:


$ ./python -3 x.py
[...]
sys:1: DeprecationWarning: <> not supported in 3.x

$ ./python -3
[...]
 >>> import x
__main__:1: DeprecationWarning: <> not supported in 3.x

Georg

-- 
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.



More information about the Python-checkins mailing list