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 silverbacknet
Recipients silverbacknet
Date 2014-07-19.02:54:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405738466.21.0.808472114522.issue22009@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-07-19 02:54:26silverbacknetsetrecipients: + silverbacknet
2014-07-19 02:54:26silverbacknetsetmessageid: <1405738466.21.0.808472114522.issue22009@psf.upfronthosting.co.za>
2014-07-19 02:54:26silverbacknetlinkissue22009 messages
2014-07-19 02:54:25silverbacknetcreate