[python-win32] C extension class wrapping and sequence questi ons

Andrew MacIntyre Andrew.MacIntyre at aba.gov.au
Mon Dec 8 19:32:51 EST 2003


> From: Mark English
> Sent: Monday, 8 December 2003 11:03 PM
> Subject: [python-win32] C extension class wrapping and sequence
> questions

{...}

> There are a lot of messages and associated structures, currently
> implemented in C++. The C++ is actually auto-generated from a
> proprietary format. There has been an earlier attempt to wrap the
> messages in Python which works to some extent, although it requires a
> fairly high-level interface that runs in an executable with Python
> embedded in it, and is ultimately pretty difficult to use. It's also
> hand-coded, and therefore error-prone.
> 
> I'd like to auto-generate my code, and have some experience of Python,
> and plenty of experience with C++, mostly under Windows. I have very
> little experience with writing Python C extensions.

{...}

Given the depth of C++ involved, have you looked at Boost.Python?
(http://www.boost.org/)

-----------------------------------------------------------------------
Andrew MacIntyre                  \ E-mail: andrew.macintyre at aba.gov.au
Planning & Licensing Branch        \ Tel:   +61 2 6256 2812
Australian Broadcasting Authority   \ Fax:  +61 2 6253 3277
-> "These thoughts are mine alone!" <----------------------------------



More information about the Python-win32 mailing list