Issue #22821: Fixed fcntl() with integer argument on 64-bit big-endian
platforms.
This commit is contained in:
parent
86e9b6b164
commit
d915b0847d
@ -36,6 +36,9 @@ Core and Builtins
|
|||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #22821: Fixed fcntl() with integer argument on 64-bit big-endian
|
||||||
|
platforms.
|
||||||
|
|
||||||
- Issues #814253, #9179: Group references and conditional group references now
|
- Issues #814253, #9179: Group references and conditional group references now
|
||||||
work in lookbehind assertions in regular expressions.
|
work in lookbehind assertions in regular expressions.
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ fcntl_fcntl(PyObject *self, PyObject *args)
|
|||||||
{
|
{
|
||||||
int fd;
|
int fd;
|
||||||
int code;
|
int code;
|
||||||
long arg;
|
int arg;
|
||||||
int ret;
|
int ret;
|
||||||
char *str;
|
char *str;
|
||||||
Py_ssize_t len;
|
Py_ssize_t len;
|
||||||
@ -61,7 +61,7 @@ fcntl_fcntl(PyObject *self, PyObject *args)
|
|||||||
PyErr_Clear();
|
PyErr_Clear();
|
||||||
arg = 0;
|
arg = 0;
|
||||||
if (!PyArg_ParseTuple(args,
|
if (!PyArg_ParseTuple(args,
|
||||||
"O&i|l;fcntl requires a file or file descriptor,"
|
"O&i|I;fcntl requires a file or file descriptor,"
|
||||||
" an integer and optionally a third integer or a string",
|
" an integer and optionally a third integer or a string",
|
||||||
conv_descriptor, &fd, &code, &arg)) {
|
conv_descriptor, &fd, &code, &arg)) {
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user