[New-bugs-announce] [issue7520] Incorrect handling of nested calss

César Izurieta report at bugs.python.org
Tue Dec 15 22:16:07 CET 2009


New submission from César Izurieta <cesar at caih.org>:

I was using a function that has a nested urllib.quote. I need to double 
quote a value. When running this through the 2to3 tool, the nested call 
never got substituted.

Initial:    urllib.quote(urllib.quote(s))
2to3 ouput: urllib.parse.quote(urllib.quote(s))
Expected:   urllib.parse.quote(urllib.parse.quote(s))

----------
components: 2to3 (2.x to 3.0 conversion tool)
files: doublequote.py
messages: 96465
nosy: cesarizu
severity: normal
status: open
title: Incorrect handling of nested calss
type: behavior
versions: Python 3.1
Added file: http://bugs.python.org/file15571/doublequote.py

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


More information about the New-bugs-announce mailing list