[wplug] cores

Tim Lesher tlesher at gmail.com
Mon Mar 3 15:52:04 EST 2008


On Mon, Mar 3, 2008 at 1:44 PM, Tom Rhodes <trhodes at freebsd.org> wrote:
>  With what I want to accomplish, the python types aren't anywhere
>  near flexible enough to do properly.

Ahh. That makes sense--ctypes is a library, and its "types" aren't
native Python numeric types.  So you're at the mercy of whatever
operators the ctypes author implemented.

It seems as if it wouldn't be hard to implement the bitwise ops in
ctypes, though, since Python has ways to overload each of the binary
operators for a type.  Might be worth a bug report against ctypes.


-- 
Tim Lesher <tlesher at gmail.com>


More information about the wplug mailing list