Skip to content

Python 3 support #339

Closed
Closed
@jleclanche

Description

@jleclanche

I searched the issues and didn't see any about the status of python 3 support.

Here are the current errors on pip install (on 22ebebd) when running in a 1.5 python3 environment:

Installing collected packages: django-debug-toolbar
  Running setup.py install for django-debug-toolbar

      File "/home/adys/.local/share/virtualenvs/wewow/lib/python3.3/site-packages/debug_toolbar/management/commands/debugsqlshell.py", line 17
        print sqlparse.format(raw_sql, reindent=True),
                     ^
    SyntaxError: invalid syntax

      File "/home/adys/.local/share/virtualenvs/wewow/lib/python3.3/site-packages/debug_toolbar/toolbar/loader.py", line 96
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax

      File "/home/adys/.local/share/virtualenvs/wewow/lib/python3.3/site-packages/debug_toolbar/utils/sqlparse/lexer.py", line 82
        except Exception, err:
                        ^
    SyntaxError: invalid syntax

      File "/home/adys/.local/share/virtualenvs/wewow/lib/python3.3/site-packages/debug_toolbar/utils/sqlparse/sql.py", line 155
        print '%s%s%d %s \'%s\'' % (indent, pre, idx,
                               ^
    SyntaxError: invalid syntax

      File "/home/adys/.local/share/virtualenvs/wewow/lib/python3.3/site-packages/debug_toolbar/utils/tracking/__init__.py", line 40
        except Exception, e:
                        ^
    SyntaxError: invalid syntax

      File "/home/adys/.local/share/virtualenvs/wewow/lib/python3.3/site-packages/debug_toolbar/__init__.py", line 6
        except Exception, e:
                        ^
    SyntaxError: invalid syntax

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions