|
@@ -482,6 +482,11 @@ if sys.version_info < (3, 0) and sys.platform == 'win32':
|
|
else:
|
|
else:
|
|
compat_getpass = getpass.getpass
|
|
compat_getpass = getpass.getpass
|
|
|
|
|
|
|
|
+try:
|
|
|
|
+ compat_input = raw_input
|
|
|
|
+except NameError: # Python 3
|
|
|
|
+ compat_input = input
|
|
|
|
+
|
|
# Python < 2.6.5 require kwargs to be bytes
|
|
# Python < 2.6.5 require kwargs to be bytes
|
|
try:
|
|
try:
|
|
def _testfunc(x):
|
|
def _testfunc(x):
|