Staging
v0.5.1
https://github.com/python/cpython
Revision bf0d1165174e8347b4d3a731c4e47e8288f1d01b authored by Miss Islington (bot) on 10 March 2018, 16:27:01 UTC, committed by Andrew Svetlov on 10 March 2018, 16:27:01 UTC
* Skip write()/data_received() if sslpipe is destroyed
(cherry picked from commit 5e80a71ab67045fecec46573a1892e240b569ace)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
1 parent 8909078
Raw File
Tip revision: bf0d1165174e8347b4d3a731c4e47e8288f1d01b authored by Miss Islington (bot) on 10 March 2018, 16:27:01 UTC
bpo-33037: Skip sending/receiving after SSL transport closing (GH-6044) (GH-6057)
Tip revision: bf0d116
pystrhex.h
#ifndef Py_STRHEX_H
#define Py_STRHEX_H

#ifdef __cplusplus
extern "C" {
#endif

#ifndef Py_LIMITED_API
/* Returns a str() containing the hex representation of argbuf. */
PyAPI_FUNC(PyObject*) _Py_strhex(const char* argbuf, const Py_ssize_t arglen);
/* Returns a bytes() containing the ASCII hex representation of argbuf. */
PyAPI_FUNC(PyObject*) _Py_strhex_bytes(const char* argbuf, const Py_ssize_t arglen);
#endif /* !Py_LIMITED_API */

#ifdef __cplusplus
}
#endif

#endif /* !Py_STRHEX_H */
back to top