PEP0238 lament
Wiktor Sadowski
wiktor at warszawa.sky.pl
Wed Jul 25 03:23:54 EDT 2001
Maybe starting from version 2.2 Python could require importing it's
environment
like this:
import python_22
then we could have:
def run_code(debug=0):
if first_line=='':
if not debug:
int/int->int
else:
raise Exception (or warn):
'python's environment is not imported!!!!!!,read manual'
elif first_line=='python_22':
int/int->float
etc.
elif first_line=='python_23':
whatever....
Python(command line):
Python 2.2(....
type "copyright....
import python_22
>>
and some code:
if PYTHON_22:
print 'no,thanks,Stephen Horne'
else:
a=2/3
regards
Wiktor Sadowski
More information about the Python-list
mailing list