Staging
v0.5.1
https://github.com/python/cpython
Revision 066394018a8463643cc63d933493f0afa99d72cc authored by Victor Stinner on 04 December 2020, 15:23:56 UTC, committed by GitHub on 04 December 2020, 15:23:56 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=1866884 is fixed in gdb
10.1 (failed to reproduce on gdb-10.1-1.fc34.aarch64).
1 parent eaccc12
Raw File
Tip revision: 066394018a8463643cc63d933493f0afa99d72cc authored by Victor Stinner on 04 December 2020, 15:23:56 UTC
bpo-41473: Reenable test_gdb on gdb 9.2 and newer (GH-23637)
Tip revision: 0663940
fileutils.h
#ifndef Py_FILEUTILS_H
#define Py_FILEUTILS_H
#ifdef __cplusplus
extern "C" {
#endif

#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03050000
PyAPI_FUNC(wchar_t *) Py_DecodeLocale(
    const char *arg,
    size_t *size);

PyAPI_FUNC(char*) Py_EncodeLocale(
    const wchar_t *text,
    size_t *error_pos);

PyAPI_FUNC(char*) _Py_EncodeLocaleRaw(
    const wchar_t *text,
    size_t *error_pos);
#endif

#ifndef Py_LIMITED_API
#  define Py_CPYTHON_FILEUTILS_H
#  include  "cpython/fileutils.h"
#  undef Py_CPYTHON_FILEUTILS_H
#endif

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