[issue6978] compiler.transformer dict key bug d[1,] = 1

2010-02-01 Thread Chuck Rhode
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

[issue6978] compiler.transformer dict key bug d[1,] = 1

2010-02-01 Thread Chuck Rhode
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&#x

[issue7210] Proposed Syntax Checks in Test Suite

2009-10-31 Thread Chuck Rhode
Chuck Rhode added the comment: Thanks. -ccr- -- ___ Python tracker <http://bugs.python.org/issue7210> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7210] Proposed Syntax Checks in Test Suite

2009-10-30 Thread Chuck Rhode
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

[issue7210] Proposed Syntax Checks in Test Suite

2009-10-30 Thread Chuck Rhode
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

[issue7210] Proposed Syntax Checks in Test Suite

2009-10-29 Thread Chuck Rhode
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

[issue7210] Proposed Syntax Checks in Test Suite

2009-10-29 Thread Chuck Rhode
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

[issue7210] Proposed Syntax Checks in Test Suite

2009-10-27 Thread Chuck Rhode
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

[issue7210] Proposed Syntax Checks in Test Suite

2009-10-26 Thread Chuck Rhode
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.

[issue7210] Proposed Syntax Checks in Test Suite

2009-10-26 Thread Chuck Rhode
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

[issue7210] Proposed Syntax Checks in Test Suite

2009-10-26 Thread Chuck Rhode
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

[issue7210] Proposed Syntax Checks in Test Suite

2009-10-26 Thread Chuck Rhode
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

[issue7210] Proposed Syntax Checks in Test Suite

2009-10-26 Thread Chuck Rhode
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

[issue6978] compiler.transformer dict key bug d[1,] = 1

2009-10-21 Thread Chuck Rhode
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

Re: [ python-Bugs-1215887 ] String and list methods deeply hidden

2005-12-24 Thread Chuck Rhode
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