[Python-Dev] Known doctest bug with unicode? (original) (raw)
Atul Varma varmaa at gmail.com
Fri Apr 18 16:17:47 CEST 2008
- Previous message: [Python-Dev] Known doctest bug with unicode?
- Next message: [Python-Dev] Known doctest bug with unicode?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Can you provide an example that fails? This seems to work on my end, for instance:
mydict = { u'\u2026' : 'ellipsis' } mydict[u'\u2026'] 'ellipsis'
- Atul
On Fri, Apr 18, 2008 at 7:12 AM, Jeroen Ruigrok van der Werven < asmodai at in-nomine.org> wrote:
Is it a known doctest bug that when you have a dict with Unicode key values that doctest dies with a KeyError?
When I excute my code from the regular python interpreter it works as expected. -- Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai $B%$%'%k!<%s(B $B%i%&%U%m%C%/(B $B%t%!%s(B $B%G%k(B $B%&%'%k%t%'%s(B http://www.in-nomine.org/ | http://www.rangaku.org/ Whenever you meet difficult situations dash forward bravely and joyfully...
Python-Dev mailing list Python-Dev at python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/varmaa%40gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/python-dev/attachments/20080418/25d0e2d8/attachment.htm
- Previous message: [Python-Dev] Known doctest bug with unicode?
- Next message: [Python-Dev] Known doctest bug with unicode?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]