Show More
@@ -43,6 +43,7 b' if ispy3:' | |||||
43 | osname = os.name.encode('ascii') |
|
43 | osname = os.name.encode('ascii') | |
44 | ospathsep = os.pathsep.encode('ascii') |
|
44 | ospathsep = os.pathsep.encode('ascii') | |
45 | ossep = os.sep.encode('ascii') |
|
45 | ossep = os.sep.encode('ascii') | |
|
46 | sysargv = list(map(os.fsencode, sys.argv)) | |||
46 |
|
47 | |||
47 | def sysstr(s): |
|
48 | def sysstr(s): | |
48 | """Return a keyword str to be passed to Python functions such as |
|
49 | """Return a keyword str to be passed to Python functions such as | |
@@ -91,6 +92,7 b' else:' | |||||
91 | osname = os.name |
|
92 | osname = os.name | |
92 | ospathsep = os.pathsep |
|
93 | ospathsep = os.pathsep | |
93 | ossep = os.sep |
|
94 | ossep = os.sep | |
|
95 | sysargv = sys.argv | |||
94 |
|
96 | |||
95 | stringio = io.StringIO |
|
97 | stringio = io.StringIO | |
96 | empty = _queue.Empty |
|
98 | empty = _queue.Empty |
General Comments 0
You need to be logged in to leave comments.
Login now