"as" keyword woes
Robert Kern
robert.kern at gmail.com
Wed Dec 3 18:15:48 EST 2008
Steven D'Aprano wrote:
> While I feel sympathy for the OP, I do have to ask: he's been using
> Python 2.5 for, what, a couple of years now? How many times did he see
> the depreciation warning, and almost certainly the pending depreciation
> warning before that? Python-dev has been talking about making "as" a
> keyword since at least Python 2.3. Why wait until after version 2.6 is
> released before saying anything?
It's entirely possible that he did not see the warning. Python 2.5 has a bug
where the warning gets silenced by an intervening import.
http://bugs.python.org/issue3936
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Python-list
mailing list