[New-bugs-announce] [issue11861] 2to3 fails with a ParseError

Vinay Sajip report at bugs.python.org
Sun Apr 17 15:12:18 CEST 2011


New submission from Vinay Sajip <vinay_sajip at yahoo.co.uk>:

2to3 fails on boto/rds/__init__.py with a ParseError:

vinay at eta-natty:~/tools/boto$ 2to3 boto/rds/__init__.py 
RefactoringTool: Skipping implicit fixer: buffer
RefactoringTool: Skipping implicit fixer: idioms
RefactoringTool: Skipping implicit fixer: set_literal
RefactoringTool: Skipping implicit fixer: ws_comma
RefactoringTool: Can't parse boto/rds/__init__.py: ParseError: bad input: type=1, value='RDSRegionInfo', context=('\n            ', (48, 12))
RefactoringTool: No files need to be modified.
RefactoringTool: There was 1 error:
RefactoringTool: Can't parse boto/rds/__init__.py: ParseError: bad input: type=1, value='RDSRegionInfo', context=('\n            ', (48, 12))

----------
components: 2to3 (2.x to 3.0 conversion tool)
files: __init__.py
messages: 133922
nosy: vinay.sajip
priority: normal
severity: normal
status: open
title: 2to3 fails with a ParseError
versions: Python 3.2, Python 3.3
Added file: http://bugs.python.org/file21693/__init__.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11861>
_______________________________________


More information about the New-bugs-announce mailing list