Message233350
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. |
|
Date |
User |
Action |
Args |
2015-01-03 10:27:07 | Drekin | set | recipients:
+ 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:07 | Drekin | set | messageid: <1420280827.59.0.984207453651.issue1602@psf.upfronthosting.co.za> |
2015-01-03 10:27:07 | Drekin | link | issue1602 messages |
2015-01-03 10:27:06 | Drekin | create | |
|