[Python-bugs-list] [ python-Bugs-837242 ] id() for large ptr should return a long

SourceForge.net noreply at sourceforge.net
Thu Nov 6 10:11:47 EST 2003


Bugs item #837242, was opened at 2003-11-07 02:11
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=837242&group_id=5470

Category: Python Interpreter Core
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Anthony Baxter (anthonybaxter)
Assigned to: Nobody/Anonymous (nobody)
Summary: id() for large ptr should return a long

Initial Comment:
Under something like Redhat 10 the address space is
messed about with to "prevent stack smash attacks" or
some such. This means that you sometimes get addresses
in the high half of a 32 bit int. Since Python ints are
signed, this means we return a negative number from
id(). For 2.4, we should probably return a long. 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=837242&group_id=5470



More information about the Python-bugs-list mailing list