[Python-Dev] (some) C99 added to PEP 7 (original) (raw)
Random832 random832 at fastmail.com
Thu Sep 8 12:39:10 EDT 2016
- Previous message (by thread): [Python-Dev] (some) C99 added to PEP 7
- Next message (by thread): [Python-Dev] (some) C99 added to PEP 7
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Sep 8, 2016, at 12:30, Chris Barker wrote:
That's why I said "based on" -- under the hood, a C type is used, and IIUC, that type has been "long" for ages. And a long on Windows 64 (with the MS compiler anyway) is 32 bit, and a long on *nix (with the gnu compilers, at least) is 64 bits.
This doesn't expose itself to pure python (and sys.maxint is now gone) but it does get exposed in the C API, and in particular, when passing data back and forth between numpy and pure python (numpy doesn't support an unlimited integer like python), or working with buffers or bytearrays, or whatever in Cython.
I'm not sure "the builtin integer type" was the right term for what you're referring to.
You're talking about changing Py_ssize_t, right?
- Previous message (by thread): [Python-Dev] (some) C99 added to PEP 7
- Next message (by thread): [Python-Dev] (some) C99 added to PEP 7
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]