Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Doesn't work with python 3.3 #37

Closed
mcepl opened this Issue · 2 comments

2 participants

@mcepl

Trying ipdb 0.7 from PyPI and I get:

matej@wycliff: html2text (fix_tests)$ python3 -mipdb test/test_html2text.py 
Traceback (most recent call last):
  File "/usr/lib64/python3.3/runpy.py", line 140, in _run_module_as_main
    mod_name, loader, code, fname = _get_module_details(mod_name)
  File "/usr/lib64/python3.3/runpy.py", line 110, in _get_module_details
    return _get_module_details(pkg_main_name)
  File "/usr/lib64/python3.3/runpy.py", line 102, in _get_module_details
    loader = get_loader(mod_name)
  File "/usr/lib64/python3.3/pkgutil.py", line 482, in get_loader
    return find_loader(fullname)
  File "/usr/lib64/python3.3/pkgutil.py", line 499, in find_loader
    pkg = importlib.import_module(pkg_name)
  File "/usr/lib64/python3.3/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1577, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1558, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1525, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 586, in _check_name_wrapper
  File "<frozen importlib._bootstrap>", line 1023, in load_module
  File "<frozen importlib._bootstrap>", line 1004, in load_module
  File "<frozen importlib._bootstrap>", line 562, in module_for_loader_wrapper
  File "<frozen importlib._bootstrap>", line 869, in _load_module
  File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
  File "/home/matej/.local/lib/python3.3/site-packages/ipdb/__init__.py", line 16, in <module>
    from ipdb.__main__ import set_trace, post_mortem, pm, run, runcall, runeval, launch_ipdb_on_exception
  File "/home/matej/.local/lib/python3.3/site-packages/ipdb/__main__.py", line 118
    print "usage: ipdb.py scriptfile [arg] ..."
                                              ^
SyntaxError: invalid syntax
@gotcha
Owner

Hopefully fixed in 0.8.0

Lemme know

@gotcha gotcha closed this
@mcepl

Yes, it is correct now. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.