PEP 312 (and thus 308) implemented with a black magic trick
Steven Taschuk
staschuk at telusplanet.net
Tue Mar 18 02:44:09 EST 2003
Quoth Sean Ross:
[...]
> '~' just happens to be easier than ':' to intelligently isolate and replace
> in Python code because it
> has fewer possible uses/meanings.
Imho the more important factor is that the code using ~ in the
black magic way can be compiled by the stock compiler as is
(though the result of that compilation is never used).
--
Steven Taschuk o- @
staschuk at telusplanet.net 7O )
" (
More information about the Python-list
mailing list