Message56583
runpy is failing because pkgutil is failing because it is giving
compile() part of a source file instead of the entire thing::
Traceback (most recent call last):
File "/Users/drifty/Dev/python/3.x/pristine/Lib/runpy.py", line 97,
in _run_module_as_main
loader, code, fname = _get_module_details(mod_name)
File "/Users/drifty/Dev/python/3.x/pristine/Lib/runpy.py", line 82,
in _get_module_details
code = loader.get_code(mod_name)
File "/Users/drifty/Dev/python/3.x/pristine/Lib/pkgutil.py", line
275, in get_code
self.code = compile(source, self.filename, 'exec')
File "/Users/drifty/Dev/python/3.x/pristine/Lib/tokenize.py", line 2
"UR'''": single3prog, 'UR"""': double3prog,
^
IndentationError: unexpected indent
That bad line is the first line in the 'source' variable being passed
to compile(). So somewhere the beginning of the source file is being
chopped up.
On 10/19/07, Christian Heimes <report@bugs.python.org> wrote:
>
> Christian Heimes added the comment:
>
> I don't have a Mac at my disposal any more. :(
>
> Can you attach the output of the failing tests to the bug report? Maybe
> I can be of assistance.
>
> __________________________________
> Tracker <report@bugs.python.org>
> <http://bugs.python.org/issue1267>
> __________________________________
> |
|
Date |
User |
Action |
Args |
2007-10-20 01:20:37 | brett.cannon | set | spambayes_score: 0.0050834 -> 0.0050834017 recipients:
+ brett.cannon, gvanrossum, christian.heimes |
2007-10-20 01:20:37 | brett.cannon | link | issue1267 messages |
2007-10-20 01:20:36 | brett.cannon | create | |
|