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:
Justine Tunney 2024-03-02 16:57:56 -08:00
parent c8383f25b4
commit a6baba1b07
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
239 changed files with 2092 additions and 2244 deletions

View file

@ -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']

View file

@ -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]')

View file

@ -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']