Message 296043 - Python tracker (original) (raw)

Message296043

Author vstinner
Recipients Devin Jeanpierre, benjamin.peterson, josh.r, mark.dickinson, pitrou, serhiy.storchaka, vstinner, yselivanov
Date 2017-06-14.21:51:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id 1497477089.98.0.0864403647044.issue17870@psf.upfronthosting.co.za
In-reply-to
Content
> Hold on, nobody ever answered the question in the OP. How would you convert an intptr_t (e.g. Rust's int type) to a Python int? Write your own C extension to do that. Sorry, I don't know what is the best way to write such C extension. Maybe look at https://github.com/PyO3/PyO3 ? cc Yury
History
Date User Action Args
2017-06-14 21:51:30 vstinner set recipients: + vstinner, mark.dickinson, pitrou, benjamin.peterson, Devin Jeanpierre, serhiy.storchaka, yselivanov, josh.r
2017-06-14 21:51:29 vstinner set messageid: 1497477089.98.0.0864403647044.issue17870@psf.upfronthosting.co.za
2017-06-14 21:51:29 vstinner link issue17870 messages
2017-06-14 21:51:29 vstinner create