[Python-Dev] python-dev Summary for 2003-08-01 through 2003-08-15
bac at OCF.Berkeley.EDU
Sun Aug 17 13:25:17 EDT 2003
Skip Montanaro wrote:
> Brett> After clearing up the confusing issue of the difference between a
> Brett> Python int and a Python Integer (the former is <type 'int'> while
> Brett> the latter is the union of <type 'int'> and <type 'long'>), ....
> Brett> As of right now Python claims that a void pointer can be held in
> Brett> a Python Integer, but this breaks that claim....
> How so? If a Python Integer is the union of int and long, then when
> sizeof(void *) > sizeof(long), you just spill into Python longs. I didn't
> follow the discussion closely, but something about what you've said doesn't
> make a lot of sense to me. Maybe the wording just needs to be clarified.
That is a typo. I meant to write Python int. Guess I had the same
problems as the thread did in terms of terms used. =)
More information about the Python-Dev