This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients amaury.forgeotdarc, belopolsky, eryksun, martin.panter, meador.inge, memeplex
Date 2016-06-10.03:56:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465530995.33.0.883674987307.issue26565@psf.upfronthosting.co.za>
In-reply-to
Content
Eryk Sun’s as_void suggestion sounds similar to doing:

ctypes.cast(any_pointer, ctypes.c_void_p)

Why do you want the address? Perhaps it is good enough to get it from a void pointer:

ctypes.cast(any_pointer, ctypes.c_void_p).value

Maybe “pointer_value” would be less confusing than “toaddress”.
History
Date User Action Args
2016-06-10 03:56:35martin.pantersetrecipients: + martin.panter, amaury.forgeotdarc, belopolsky, memeplex, meador.inge, eryksun
2016-06-10 03:56:35martin.pantersetmessageid: <1465530995.33.0.883674987307.issue26565@psf.upfronthosting.co.za>
2016-06-10 03:56:35martin.panterlinkissue26565 messages
2016-06-10 03:56:34martin.pantercreate