STINNER Victor added the comment:

> On some OSes and combination of 64bit typess and 32bit long
> it's an invalid assumption.

Can you give an example of OS where pid_t, gid_t or uid_t type are longer than 
the long type?

(If I remember correctly, the "identifier" of a Windows process is an addresse, 
so it has a size of sizeof(void*), whereas long can be smaller on 64 bit 
Windows. But this issue looks to be specific to UNIX.)


Python tracker <>
Python-bugs-list mailing list

Reply via email to