Chuck Rhode added the comment:
> I don't see why the compiler module is any better than any of the other
> ways that produce reasonable AST.
It is available on Python releases older than 2.6?
--
___
Python tracker
<http://b
Chuck Rhode added the comment:
Here are four ways to generate things called in the documentation Abstract
Syntax Trees (ASTs). Obviously they are not all the same kind of object:
#!/usr/local/bin/python2.6
import sys
import compiler
import parser
import ast
STATEMENT = 'd[1,] = 2
Chuck Rhode added the comment:
Thanks. -ccr-
--
___
Python tracker
<http://bugs.python.org/issue7210>
___
___
Python-bugs-list mailing list
Unsubscribe:
Chuck Rhode added the comment:
Oh! That's very different. :-)
I can do that.
--
Added file: http://bugs.python.org/file15237/test_grammar_trunk.diff
___
Python tracker
<http://bugs.python.org/i
Changes by Chuck Rhode :
Removed file: http://bugs.python.org/file15231/test_grammar.patch
___
Python tracker
<http://bugs.python.org/issue7210>
___
___
Python-bugs-list m
Chuck Rhode added the comment:
Sorry I'm having so much trouble with this patch. Here's another.
Thanks for your patience. -ccr-
--
Added file: http://bugs.python.org/file15231/test_grammar.patch
___
Python tracker
<http://bu
Changes by Chuck Rhode :
Removed file: http://bugs.python.org/file15213/test_grammar.patch
___
Python tracker
<http://bugs.python.org/issue7210>
___
___
Python-bugs-list m
Chuck Rhode added the comment:
Yet another patch file
--
Added file: http://bugs.python.org/file15213/test_grammar.patch
___
Python tracker
<http://bugs.python.org/issue7
Chuck Rhode added the comment:
Well, the last two patch files weren't very good, but I hope the third
time's the charm.
--
Added file: http://bugs.python.org/file15210/test_grammar.patch
___
Python tracker
<http://bugs.python.
Changes by Chuck Rhode :
Removed file: http://bugs.python.org/file15206/test_grammar.patch
___
Python tracker
<http://bugs.python.org/issue7210>
___
___
Python-bugs-list m
Changes by Chuck Rhode :
Removed file: http://bugs.python.org/file15209/test_grammar.patch
___
Python tracker
<http://bugs.python.org/issue7210>
___
___
Python-bugs-list m
Chuck Rhode added the comment:
You mean like this?
--
Added file: http://bugs.python.org/file15209/test_grammar.patch
___
Python tracker
<http://bugs.python.org/issue7
New submission from Chuck Rhode :
PythonTidy is a code beautifier written three years ago and downloaded
numerous times.
o http://lacusveris.com/PythonTidy/PythonTidy.python
It suffers a bug, which has only recently come to light. It considers
the following lines equivalent:
if False is (2
Chuck Rhode added the comment:
PythonTidy encounters this problem.
o http://lacusveris.com/PythonTidy/PythonTidy.python
It is unable correctly to render line 694 of test_grammar.py in the
Python Test Suite:
d[1,] = 2
becomes:
d[1] = 2
because the *compiler* module does not return
I'm not complaining that it's not buried
under "2.3.6.1 String Methods."
Exposing the fourth level of subtopics in section 2.3 of the lib.html
document would be nice, though.
--
.. Chuck Rhode, Sheboygan, WI
.. http://www.excel.net/~crhode/RockyGnashtoo
15 matches
Mail list logo