bug in 2.0b1 unicode support

Richard Wolff rwolff at noao.edu
Thu Sep 7 11:25:44 EDT 2000


being unsure where to report this:


Python 2.0b1 (#3, Sep  6 2000, 12:34:06)
[GCC 2.95.2 19991024 (release)] on sunos5
Type "copyright", "credits" or "license" for more information.
>>> eval("1+2")
3
>>> eval(u"1+2")
Traceback (most recent call first):
  File "<stdin>", line 1, in ?
TypeError: eval() argument 1 must be string or code object


This problem means that the command line invocation   Python -U
fails when "import site" tries to import os.py and fails on line 325 in
_exists  ...  eval(name)


-- 
Richard Wolff, National Optical Astronomy Observatories, Tucson, AZ
Internet: rwolff at noao.edu         Phonenet:     +1 520 318 8392



More information about the Python-list mailing list