Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugjar support for Python 2.6 #9

Open
freakboy3742 opened this issue Jan 20, 2014 · 3 comments
Open

Bugjar support for Python 2.6 #9

freakboy3742 opened this issue Jan 20, 2014 · 3 comments

Comments

@freakboy3742
Copy link
Member

Via @beatthem on #8, Bugjar apparently doesn't run on Python 2.6 due to changes in the Bdb API - specifically the 'skip' parameter.

@beatthem
Copy link

also I have Tcl error "Unmatched braces" (http://bugs.python.org/issue15861)
in python 2.6
Because of not escaping braces in tcl code

for example
bugjar path/to/autopep8.py script_name.py

@freakboy3742
Copy link
Member Author

Are you able to narrow down what Tcl identifier has the unmatched braces? It sounds like we're going to need to include some manual escaping somewhere (since this won't ever be fixed in 2.6)

@beatthem
Copy link

As I see, Bugjar breaks on inspecting this variable from autopep8.py

SHORTEN_OPERATOR_GROUPS = frozenset([
    frozenset([',']),
    frozenset(['%']),
    frozenset([',', '(', '[', '{']),
    frozenset([',', '(', '[', '{', '%', '+', '-', '*', '/', '//']),
])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants