A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-August/068407.html below:

[Python-Dev] A cast from Py_ssize_t to long

[Python-Dev] A cast from Py_ssize_t to long [Python-Dev] A cast from Py_ssize_t to longAlexander Belopolsky alexander.belopolsky at gmail.com
Mon Aug 21 06:55:07 CEST 2006
On Aug 15, 2006, at 3:16 AM, Martin v. Löwis wrote:

>
> Where does it assume that it is safe to case ssize_t -> long?
> That would be a bug.

Is this a bug?

file_readinto(PyFileObject *f, PyObject *args)
{
...
         Py_ssize_t ndone, nnow;
...
         return PyInt_FromLong((long)ndone);
}

See Objects/fileobject.c (revision 51420).

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4