PEP 317: Eliminate Implicit Exception Instantiation
Steven Taschuk
staschuk at telusplanet.net
Tue Jun 10 11:25:44 EDT 2003
Quoth Bernhard Herzog:
[...]
> Yes, but Python doesn't issue warnings about it. Actually, issuing
> deprecation warnings for exc_traceback and friends might be a good idea.
> The alternative has been available since 1.5 and it is a potential
> source of bugs. It would be far less controversial than the proposed
> syntax change for the raise statement, I think.
I agree entirely, but I don't see how such warnings could be
implemented. How can you hook into access of specific globals?
PyChecker could do it heuristically, I expect.
--
Steven Taschuk staschuk at telusplanet.net
"[T]rue greatness is when your name is like ampere, watt, and fourier
-- when it's spelled with a lower case letter." -- R.W. Hamming
More information about the Python-list
mailing list