mirror of
https://github.com/Z3Prover/z3
synced 2025-07-23 04:38:53 +00:00
parent
15c48eeaf9
commit
27dcd8c5b6
2 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ FPMATH="Default"
|
||||||
FPMATH_FLAGS="-mfpmath=sse -msse -msse2"
|
FPMATH_FLAGS="-mfpmath=sse -msse -msse2"
|
||||||
|
|
||||||
def check_output(cmd):
|
def check_output(cmd):
|
||||||
return (subprocess.Popen(cmd, stdout=subprocess.PIPE).communicate()[0]).decode("utf-8").rstrip('\r\n')
|
return (subprocess.Popen(cmd, stdout=subprocess.PIPE).communicate()[0]).decode(sys.stdout.encoding).rstrip('\r\n')
|
||||||
|
|
||||||
def git_hash():
|
def git_hash():
|
||||||
try:
|
try:
|
||||||
|
|
|
@ -96,7 +96,7 @@ if sys.version < '3':
|
||||||
return s
|
return s
|
||||||
else:
|
else:
|
||||||
def _to_pystr(s):
|
def _to_pystr(s):
|
||||||
return s.decode('utf-8')
|
return s.decode(sys.stdout.encoding)
|
||||||
|
|
||||||
def init(PATH):
|
def init(PATH):
|
||||||
global _lib
|
global _lib
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue