bugjar icon indicating copy to clipboard operation
bugjar copied to clipboard

Bugjar support for Python 2.6

Open freakboy3742 opened this issue 11 years ago • 3 comments

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

freakboy3742 avatar Jan 20 '14 00:01 freakboy3742

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

beatthem avatar Jan 27 '14 05:01 beatthem

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)

freakboy3742 avatar Jan 27 '14 23:01 freakboy3742

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

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

beatthem avatar Jan 29 '14 16:01 beatthem