Staging
v0.5.1
https://github.com/python/cpython
Revision 196810a98ab07714df3d329c325575ac36e61318 authored by Miss Islington (bot) on 04 June 2020, 17:22:36 UTC, committed by GitHub on 04 June 2020, 17:22:36 UTC

Skip some :mod:`multiprocessing` tests when MD5 hash digest is blocked.

Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit b022e5cffbd3ff51ae361cf80f2a3b660be8b1ee)

Co-authored-by: Christian Heimes <christian@python.org>
1 parent 6d62dc1
Raw File
Tip revision: 196810a98ab07714df3d329c325575ac36e61318 authored by Miss Islington (bot) on 04 June 2020, 17:22:36 UTC
bpo-17258: Add requires_hashdigest to multiprocessing tests (GH-20412)
Tip revision: 196810a
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