mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 22:02:27 +00:00
Implement tree-shaking for Python sources
This commit is contained in:
parent
81287b7ec0
commit
44c87b83ff
110 changed files with 899 additions and 1922 deletions
2
third_party/python/Include/pyerrors.h
vendored
2
third_party/python/Include/pyerrors.h
vendored
|
@ -275,7 +275,6 @@ PyObject * _PyErr_FormatFromCause(
|
|||
);
|
||||
#endif
|
||||
|
||||
#ifdef MS_WINDOWS
|
||||
PyObject * PyErr_SetFromWindowsErrWithFilename(
|
||||
int ierr,
|
||||
const char *filename /* decoded from the filesystem encoding */
|
||||
|
@ -302,7 +301,6 @@ PyObject * PyErr_SetExcFromWindowsErrWithUnicodeFilename(
|
|||
PyObject *,int, const Py_UNICODE *);
|
||||
#endif
|
||||
PyObject * PyErr_SetExcFromWindowsErr(PyObject *, int);
|
||||
#endif /* MS_WINDOWS */
|
||||
|
||||
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03060000
|
||||
PyObject * PyErr_SetImportErrorSubclass(PyObject *, PyObject *,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue