mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-03 00:10:31 +00:00
Python 3.7 METH_FASTCALL backport (#406)
This commit is contained in:
parent
fec396037a
commit
83b743cf96
103 changed files with 2949 additions and 3356 deletions
2
third_party/python/pyobj.c
vendored
2
third_party/python/pyobj.c
vendored
|
@ -644,7 +644,7 @@ Objectify(void)
|
|||
assert(PyBytes_CheckExact(marsh));
|
||||
mardata = PyBytes_AS_STRING(marsh);
|
||||
marsize = PyBytes_GET_SIZE(marsh);
|
||||
WRITE16LE(header+0, 3379); /* Python 3.6rc1 */
|
||||
WRITE16LE(header+0, 3390); /* Python 3.7a1 */
|
||||
WRITE16LE(header+2, READ16LE("\r\n"));
|
||||
WRITE32LE(header+4, timestamp.tv_sec);
|
||||
WRITE32LE(header+8, marsize);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue