[issue1762972] 'exec' does not accept what 'open' returns

Guido van Rossum report at bugs.python.org
Tue Mar 18 06:01:30 CET 2008


Guido van Rossum <guido at python.org> added the comment:

Christian, I still see __file__ point to a .pyc file:

guido-macbookpro:~/p3 guido$ ./python.exe 
Python 3.0a3+ (py3k:61464M, Mar 17 2008, 16:36:53) 
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import string
>>> string.__file__
'/Users/guido/p3/Lib/string.pyc'
>>> 

Please assign back to me if you've fixed this...

----------
assignee: gvanrossum -> tiran

_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1762972>
_____________________________________


More information about the Python-bugs-list mailing list