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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, mark.dickinson, theller
Date 2009-06-11.12:51:54
SpamBayes Score 0.00022349505
Marked as misclassified No
Message-id <1244724715.81.0.567198637593.issue6259@psf.upfronthosting.co.za>
In-reply-to
Content
I like this feature. Some comments:

- tests...

- unsupported operand types should return Py_NotImplemented.

- gcc supports pointer arithmetic with void*:
  http://gcc.gnu.org/onlinedocs/gcc/Pointer-Arith.html
  Could ctypes do the same?

- Some operations are not allowed. If p1 and p2 are ctypes pointers,
  "p1 -= p2" will not work - but it's not a common usage.
  However, "p1 + 1" and "p1 - 1" seem very useful, and should be supported.
History
Date User Action Args
2009-06-11 12:51:56amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, theller, mark.dickinson
2009-06-11 12:51:55amaury.forgeotdarcsetmessageid: <1244724715.81.0.567198637593.issue6259@psf.upfronthosting.co.za>
2009-06-11 12:51:54amaury.forgeotdarclinkissue6259 messages
2009-06-11 12:51:54amaury.forgeotdarccreate