Staging
v0.5.1
https://github.com/python/cpython
Revision bc8ac6b00efcb3c601224b73f64071281f434bcd authored by Victor Stinner on 30 November 2017, 17:03:55 UTC, committed by GitHub on 30 November 2017, 17:03:55 UTC
_Py_InitializeEx_Private() now calls
_PyMainInterpreterConfig_ReadEnv() to read environment variables
PYTHONHOME and PYTHONPATH, and set the program name.
1 parent 0efc024
Raw File
Tip revision: bc8ac6b00efcb3c601224b73f64071281f434bcd authored by Victor Stinner on 30 November 2017, 17:03:55 UTC
bpo-32030: Fix _Py_InitializeEx_Private() (#4649)
Tip revision: bc8ac6b
pygetopt.h

#ifndef Py_PYGETOPT_H
#define Py_PYGETOPT_H
#ifdef __cplusplus
extern "C" {
#endif

#ifndef Py_LIMITED_API
PyAPI_DATA(int) _PyOS_opterr;
PyAPI_DATA(int) _PyOS_optind;
PyAPI_DATA(wchar_t *) _PyOS_optarg;

PyAPI_FUNC(void) _PyOS_ResetGetOpt(void);

PyAPI_FUNC(int) _PyOS_GetOpt(int argc, wchar_t **argv, wchar_t *optstring);
#endif /* !Py_LIMITED_API */

#ifdef __cplusplus
}
#endif
#endif /* !Py_PYGETOPT_H */
back to top