[issue12931] xmlrpclib confuses unicode and string

2011-09-07 Thread Wolfgang Schnerring
New submission from Wolfgang Schnerring wosc+pyt...@wosc.de: This is a similar issue to http://bugs.python.org/issue7093, but more insiduous: This works: xmlrpclib.ServerProxy(u'http://localhost:8080').foo(dict(baz=u'bär')) While this fails with a UnicodeDecodeError (note the trailing slash

[issue12931] xmlrpclib confuses unicode and string

2011-09-07 Thread Wolfgang Schnerring
Wolfgang Schnerring wosc+pyt...@wosc.de added the comment: I guess it should use the configured encoding[1] (which is utf-8 by default) to do that, shouldn't it? Since that's the encoding that is used for the message body, too. [1] http://docs.python.org/library/xmlrpclib.html

[issue5727] doctest pdb readline broken

2009-06-05 Thread Wolfgang Schnerring
Wolfgang Schnerring wosc+pyt...@wosc.de added the comment: I've tracked down the reason by diffing pdb.py and cmd.py between 2.4 and 2.5: It turns out that pdb.Pdb in 2.5 changes the way it handles input depending on whether an explicit output was provided, more precisely, it disables readline

[issue5727] doctest pdb readline broken

2009-04-09 Thread Wolfgang Schnerring
New submission from Wolfgang Schnerring wosc+pyt...@wosc.de: When pdb is called from inside a doctest under python2.5, the readline keys do not work anymore -- like they did just fine in 2.4. Steps to reproduce: 1. Create two files, foo.txt and foo.py, like so: $ cat foo.txt import pdb