[issue16047] Tools/freeze no longer works in Python 3

Barry A. Warsaw report at bugs.python.org
Wed Jan 2 17:34:40 CET 2013


Barry A. Warsaw added the comment:

On Jan 02, 2013, at 04:29 PM, Eric V. Smith wrote:

>I haven't had time to check yet: but why does site.py need the __file__
>attribute? Maybe that's the actual problem.

It uses it to find the license text when you type license() at the interactive
prompt.  I think setcopyright() should just ignore that if os.__file__ isn't
defined.  Why would you be printing the license at a prompt in a frozen
Python?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16047>
_______________________________________


More information about the Python-bugs-list mailing list