This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Drekin
Recipients BreamoreBoy, David.Sankel, Drekin, akira, amaury.forgeotdarc, christian.heimes, christoph, davidsarah, ezio.melotti, flox, giampaolo.rodola, hippietrail, lemburg, mark, mhammond, ncoghlan, pitrou, santoso.wijaya, smerlin, ssbarnea, steve.dower, stijn, terry.reedy, tim.golden, tzot, v+python, wiz21
Date 2015-01-03.10:27:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1420280827.59.0.984207453651.issue1602@psf.upfronthosting.co.za>
In-reply-to
Content
I tried the following code:

import pdb
pdb.set_trace()
print(1 + 2)
print("αβγ∫")

When run in vanilla Python it indeed ends with UnicodeEncodeError as soon as it hits the line with non-ASCII characters. However, the solution via win_unicode_console package seems to work correctly. There is just an issue when you keep calling 'next' even after the main program ended. It ends with a RuntimeError after a few iterations. I didn't know that pdb can continue debugging after the main program has ended.
History
Date User Action Args
2015-01-03 10:27:07Drekinsetrecipients: + Drekin, lemburg, mhammond, terry.reedy, tzot, amaury.forgeotdarc, ncoghlan, pitrou, giampaolo.rodola, christian.heimes, tim.golden, mark, christoph, ezio.melotti, v+python, hippietrail, ssbarnea, flox, davidsarah, santoso.wijaya, akira, BreamoreBoy, David.Sankel, smerlin, steve.dower, wiz21, stijn
2015-01-03 10:27:07Drekinsetmessageid: <1420280827.59.0.984207453651.issue1602@psf.upfronthosting.co.za>
2015-01-03 10:27:07Drekinlinkissue1602 messages
2015-01-03 10:27:06Drekincreate