[issue11862] urlparse.ParseResult to have meaningful __str__

Senthil Kumaran report at bugs.python.org
Mon Apr 18 04:45:11 CEST 2011


Senthil Kumaran <senthil at uthcode.com> added the comment:

What would be a 'meaning' __str__ or __unicode__ of urlparse.urlparse  and how would it be useful to you? 

I would think that people would except a tuple, list or a ParsedResult for such a call. 

I cannot understand the rational behind the expectation that __str__ or __unicode__ of ParsedResult to be equivalent to the geturl call.

If you can, please elaborate.

----------
assignee:  -> orsenthil
nosy: +orsenthil

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


More information about the Python-bugs-list mailing list