##// END OF EJS Templates
add prefer_stream arg to utils.encoding.getdefaultencoding...
add prefer_stream arg to utils.encoding.getdefaultencoding sometimes the stream encoding should be ignored, and start with locale (e.g. Popen on Windows Python 2). Default behavior is unchanged.

File last commit:

r13582:b21d447e
r14695:bda2ad7d
Show More
__init__.py
15 lines | 333 B | text/x-python | PythonLexer
try:
from appnope import *
except ImportError:
__version__ = '0.0.5'
import sys
import platform
from distutils.version import LooseVersion as V
if sys.platform != "darwin" or V(platform.mac_ver()[0]) < V("10.9"):
from _dummy import *
else:
from ._nope import *
del sys, platform, V