Mailing List Archive

platform.py (was: Fixing os.popen on Win32 => is the win32pipe stuff going to be adopted?)
On Thu, 9 Mar 2000, M.-A. Lemburg wrote:
>...
> Python < 1.5.2 doesn't support 'P', but anyway, I'll change
> those lines according to your suggestion.
>
> Does struct.calcsize('P')*8 return 64 on 64bit-platforms as
> it should (probably ;) ?

Yes. It returns sizeof(void *).

Cheers,
-g

--
Greg Stein, http://www.lyra.org/