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 xdegaye
Recipients BreamoreBoy, georg.brandl, josh.r, xdegaye
Date 2015-02-26.11:03:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1424948586.8.0.089699828911.issue20703@psf.upfronthosting.co.za>
In-reply-to
Content
> I can reproduce this on Windows 8.1 with 3.4.3 but cannot do so with 3.5.0a1.

I can still reproduce this on linux on today's tip:
'3.5.0a1+ (default:7185a35fb293, Feb 26 2015, 11:27:11) \n[GCC 4.9.2 20150204 (prerelease)]'.

Maybe you tried reproducing it with the interactive interpreter. When this code
is run from the interactive interpreter and not as a script as suggested in the
initial post, then readline is already imported by the interpreter at startup
and the RuntimeError is not raised.

Also interestingly, the bdb module takes lot of steps to ensure that linecache
and reprlib are lazyly imported, but pdb and bdb cannot do anything interesting
without these modules.
History
Date User Action Args
2015-02-26 11:03:06xdegayesetrecipients: + xdegaye, georg.brandl, BreamoreBoy, josh.r
2015-02-26 11:03:06xdegayesetmessageid: <1424948586.8.0.089699828911.issue20703@psf.upfronthosting.co.za>
2015-02-26 11:03:06xdegayelinkissue20703 messages
2015-02-26 11:03:06xdegayecreate