[issue5876] __repr__ returning unicode doesn't work when called implicitly

2011-09-05 Thread Tomasz Melcer
Tomasz Melcer added the comment: Debian SID. No, it wasn't. Python 2.7.2+ (default, Aug 16 2011, 09:23:59) [GCC 4.6.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> class T(object): ... def _

[issue11862] urlparse.ParseResult to have meaningful __str__

2011-04-18 Thread Tomasz Melcer
Tomasz Melcer added the comment: If __str__ is meant to be a user-understandable way of expressing an URL, the best way to do that is to show it the same way user sees it in usually. This is now done by .geturl() call. This way I wouldn't have to remember to serialize it in cases wh

[issue11862] urlparse.ParseResult to have meaningful __str__

2011-04-17 Thread Tomasz Melcer
New submission from Tomasz Melcer : I find it a minor annoyance that a result of `urlparse.urlparse` (an object of class urlparse.ParseResult) doesn't have a meaningful __str__/__unicode__ methods. `urlparse.ParseResult` is a subclass of `namedtuple` with __slots__, so I can't eas

[issue700921] Wide-character curses

2009-04-29 Thread Tomasz Melcer
Changes by Tomasz Melcer : -- nosy: +liori ___ Python tracker <http://bugs.python.org/issue700921> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5876] __repr__ returning unicode doesn't work when called implicitly

2009-04-29 Thread Tomasz Melcer
New submission from Tomasz Melcer : Invitation... (Debian Sid, gnome-terminal with pl_PL.UTF8 locales) Python 2.5.4 (r254:67916, Feb 17 2009, 20:16:45) [GCC 4.3.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. Lets