mirror of https://github.com/python/cpython
and other platforms, when using a non-gcc compiler. Patch by egreen. In addition, I made explicit the signedness of all bitfields in the IO library.
This commit is contained in:
parent
40ee861c0a
commit
2a46658bee
|
@ -379,6 +379,9 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #6236, #6348: Fix various failures in the `io` module under AIX
|
||||||
|
and other platforms, when using a non-gcc compiler. Patch by egreen.
|
||||||
|
|
||||||
- Issue #6954: Fixed crash when using DISTUTILS_DEBUG flag in Distutils.
|
- Issue #6954: Fixed crash when using DISTUTILS_DEBUG flag in Distutils.
|
||||||
|
|
||||||
- Issue #6851: Fix urllib.urlopen crash on secondairy threads on OSX 10.6
|
- Issue #6851: Fix urllib.urlopen crash on secondairy threads on OSX 10.6
|
||||||
|
|
|
@ -45,10 +45,10 @@
|
||||||
typedef struct {
|
typedef struct {
|
||||||
PyObject_HEAD
|
PyObject_HEAD
|
||||||
int fd;
|
int fd;
|
||||||
unsigned readable : 1;
|
unsigned int readable : 1;
|
||||||
unsigned writable : 1;
|
unsigned int writable : 1;
|
||||||
int seekable : 2; /* -1 means unknown */
|
signed int seekable : 2; /* -1 means unknown */
|
||||||
int closefd : 1;
|
unsigned int closefd : 1;
|
||||||
PyObject *weakreflist;
|
PyObject *weakreflist;
|
||||||
PyObject *dict;
|
PyObject *dict;
|
||||||
} fileio;
|
} fileio;
|
||||||
|
|
|
@ -190,8 +190,8 @@ typedef struct {
|
||||||
PyObject_HEAD
|
PyObject_HEAD
|
||||||
PyObject *decoder;
|
PyObject *decoder;
|
||||||
PyObject *errors;
|
PyObject *errors;
|
||||||
int pendingcr:1;
|
signed int pendingcr: 1;
|
||||||
int translate:1;
|
signed int translate: 1;
|
||||||
unsigned int seennl: 3;
|
unsigned int seennl: 3;
|
||||||
} nldecoder_object;
|
} nldecoder_object;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue