Louie Lu added the comment:
The lazy import cause by two modules, readline and _bootlocale.
readline: in __init__
try:
import readline
readline.set_completer_delims(' \t\n`@#$%^&*()=+[{]}\\|;:\'",<>?')
_bootlocale: in __init__
with open(os.path.join(envHome, '.pdbrc')) as rcFile:
with open('.pdbrc') as rcFile
Easiest way to eliminated it to move import readline and import _bootlocale to
the top of the file.
----------
nosy: +louielu
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue20703>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com