[Python-Dev] PEP 298 (original) (raw)
Thomas Heller theller@python.net
12 Dec 2002 21:22:10 +0100
- Previous message: [Python-Dev] PEP 298
- Next message: [Python-Dev] PEP 298
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
martin@v.loewis.de (Martin v. =?iso-8859-15?q?L=F6wis?=) writes:
Having looked at the PEP for the first time, I have a number of comments:
- I think there must be a way to obtain the address of the buffer on the Python level, see http://tinyurl.com/3h79 Using /dev/poll on Solaris requires a way to create a struct whose address you know.
Do you know my ctypes module? http://tinyurl.com/2tyx
It allows to create Python objects which internally look like C data types. Able to access and create structures, unions, pointers, and such. And you do it (IMO) in a natural way.
The released package currently only runs under windows, although I have a prototype working under Linux.
Thomas
- Previous message: [Python-Dev] PEP 298
- Next message: [Python-Dev] PEP 298
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]