[issue12238] Readline module loading in interactive mode

Antoine Pitrou report at bugs.python.org
Tue Jun 7 13:08:05 CEST 2011

Antoine Pitrou <pitrou at free.fr> added the comment:

I don't think readline is "special-cased":

$ echo "1/0" > logging.py
$ cpython/default/python
Python 3.3a0 (default:d8502fee4638+, Jun  6 2011, 19:13:58) 
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import logging
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "logging.py", line 1, in <module>
ZeroDivisionError: division by zero


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list