Package: python-profiler
Version: 2.7-1
Severity: normal

$ mkdir -p foo/bar/
$ touch foo/__init__.py
$ touch foo/bar/__init__.py
$ echo 'import foo.bar' > test.py
$ python -m profile test.py Traceback (most recent call last):
  File "/usr/lib/python2.6/runpy.py", line 122, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.6/runpy.py", line 34, in _run_code
    exec code in run_globals
  File "/usr/lib/python2.6/profile.py", line 619, in <module>
    main()
  File "/usr/lib/python2.6/profile.py", line 612, in main
    run('execfile(%r)' % (sys.argv[0],), options.outfile, options.sort)
  File "/usr/lib/python2.6/profile.py", line 76, in run
    return prof.print_stats(sort)
  File "/usr/lib/python2.6/profile.py", line 427, in print_stats
    pstats.Stats(self).strip_dirs().sort_stats(sort). \
  File "/usr/lib/python2.6/pstats.py", line 268, in strip_dirs
    (cc, nc, tt, ct, newcallers))
  File "/usr/lib/python2.6/pstats.py", line 516, in add_func_stats
    add_callers(t_callers, callers))
  File "/usr/lib/python2.6/pstats.py", line 526, in add_callers
    zip(caller, new_callers[func])])
TypeError: zip argument #1 must support iteration


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-profiler depends on:
ii  python                        2.6.5-13   interactive high-level object-orie

--
Jakub Wilk

Attachment: signature.asc
Description: Digital signature

Reply via email to