[issue4529] parser module failure on valid try/except/finally blocks

2008-12-04 Thread Kai Willadsen
New submission from Kai Willadsen [EMAIL PROTECTED]: Using the parser module to create a parse tree succeeds, but a subsequent tuple2ast fails, when parsing valid try/except/finally (and try/except/else/finally) blocks. parser.tuple2ast fails with: parser.ParserError: Illegal number

[issue4324] locale documentation is inconsistent

2008-11-14 Thread Kai Willadsen
New submission from Kai Willadsen [EMAIL PROTECTED]: The documentation for locale.getlocale is not consistent with the example given. The docs for getlocale([category]) say: category may be one of the LC_* values except LC_ALL. but the example at the bottom of the documentation starts