mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 13:52:28 +00:00
Stop using .com extension in monorepo
The WIN32 CreateProcess() function does not require an .exe or .com suffix in order to spawn an executable. Now that we have Cosmo bash we're no longer so dependent on the cmd.exe prompt.
This commit is contained in:
parent
c8383f25b4
commit
a6baba1b07
239 changed files with 2092 additions and 2244 deletions
2
third_party/python/Lib/json/decoder.py
vendored
2
third_party/python/Lib/json/decoder.py
vendored
|
@ -7,7 +7,7 @@ try:
|
|||
from _json import scanstring as c_scanstring
|
||||
except ImportError:
|
||||
c_scanstring = None
|
||||
if __name__ == 'PYOBJ.COM':
|
||||
if __name__ == 'PYOBJ':
|
||||
import _json
|
||||
|
||||
__all__ = ['JSONDecoder', 'JSONDecodeError']
|
||||
|
|
2
third_party/python/Lib/json/encoder.py
vendored
2
third_party/python/Lib/json/encoder.py
vendored
|
@ -14,7 +14,7 @@ try:
|
|||
from _json import make_encoder as c_make_encoder
|
||||
except ImportError:
|
||||
c_make_encoder = None
|
||||
if __name__ == 'PYOBJ.COM':
|
||||
if __name__ == 'PYOBJ':
|
||||
import _json
|
||||
|
||||
ESCAPE = re.compile(r'[\x00-\x1f\\"\b\f\n\r\t]')
|
||||
|
|
2
third_party/python/Lib/json/scanner.py
vendored
2
third_party/python/Lib/json/scanner.py
vendored
|
@ -5,7 +5,7 @@ try:
|
|||
from _json import make_scanner as c_make_scanner
|
||||
except ImportError:
|
||||
c_make_scanner = None
|
||||
if __name__ == 'PYOBJ.COM':
|
||||
if __name__ == 'PYOBJ':
|
||||
import _json
|
||||
|
||||
__all__ = ['make_scanner']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue