Message223460
OK, now that I've screwed my thinking cap back on, it's obvious that pdb in the example is pulling from stdin. However, that isn't be the case in my original problem, so modify the example to:
sample.py:
import sys, pdb
infile = sys.stdin.buffer.read()
pdb.set_trace()
Same error despite nothing being left in stdin's buffer. |
|
Date |
User |
Action |
Args |
2014-07-19 02:54:26 | silverbacknet | set | recipients:
+ silverbacknet |
2014-07-19 02:54:26 | silverbacknet | set | messageid: <1405738466.21.0.808472114522.issue22009@psf.upfronthosting.co.za> |
2014-07-19 02:54:26 | silverbacknet | link | issue22009 messages |
2014-07-19 02:54:25 | silverbacknet | create | |
|