Collin Winter wrote:
> Am 31-Aug 05, Charles Cazabon <[EMAIL PROTECTED]> schrieb:
>
>
>>Perhaps py3k could have a py2compat module. Importing it could have the
>>effect of (for instance) putting compile, id, and intern into the global
>>namespace, making print an alias for writeln, alias the standard library
>>namespace, ... ?
>
>
> from __past__ import python2
If we ever get the ast-branch finished, then keeping a copy of the final 2.x
parser around that targets the Python AST should actually be feasible, too.
Cheers,
Nick.
--
Nick Coghlan | [EMAIL PROTECTED] | Brisbane, Australia
---------------------------------------------------------------
http://boredomandlaziness.blogspot.com
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com