R. David Murray added the comment:

Heh.  Nice find.  I'm not sure how practical it is to fix, though.  We don't 
have any actual rules about what indicates a 'non-file-stand-in' for the 
__file__ attribute, just a loose convention that it is an identifier in angle 
brackets.  If we make that a hard rule, though, and someone really has a file 
named '<string>'.... :)

----------
nosy: +r.david.murray
versions: +Python 3.3, Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16974>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to