##// END OF EJS Templates
add text.getdefaultencoding() for central default encoding guess...
add text.getdefaultencoding() for central default encoding guess This is a central location for the many places we call sys.stdin.encoding or sys.getdefaultencoding(), which now adds locale.getpreferredencoding(False) after stdin.encoding, which should be a better guess when stdin.encoding is None.

File last commit:

r2058:7e8fc59a
r4783:6392cebc
Show More
irunner
9 lines | 183 B | text/plain | TextLexer
#!/usr/bin/env python
"""Thin wrapper around the IPython irunner module.
Run with --help for details, or see the irunner source."""
from IPython.lib import irunner
irunner.main()