[issue16821] bundlebuilder broken in 2.7

Barry Alan Scott report at bugs.python.org
Mon Dec 31 11:58:29 CET 2012


Barry Alan Scott added the comment:

Why not use IDLE? Workbench is a lot of code and dependencies.

I expect that it works because idle.app was created using the --no-zipimport option that is new in 2.7.

However with zip import the code is badly broken.

Build IDLE.app with zip import and you should reproduce the bug.

Have you code inspected the module as I suggested to review the new code?

_getSiteCode is clearly wrong. The if is backwards and no else.

The following inserts are in the wrong order:

if %(optimize)s:
    sys.argv.insert(1, '-O')

sys.argv.insert(1, mainprogram)

----------

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


More information about the Python-bugs-list mailing list