mwlib: reworking re2c files to use ctypes

Ralf Schmitt schmir at
Mon Jan 31 09:57:11 EST 2011

Martin Langhoff <martin at> writes:

> Hi Ralf,
> thanks for your reply! I don't mind if you are not interested in the
> code (as I have a workaround), however...
> On Mon, Jan 31, 2011 at 4:50 AM,  <schmir at> wrote:
>> I understand the problem. But dynamically loading shared libraries will
>> only create more problems for us.
> Why do you think that dynamically loaded libraries will create more problems?

I probably should have called that "using ctypes".

* If I use ctypes I have to somehow locate the shared library
* AFAIK distutils won't build shared libraries
* The shared library code must handle both wide and narrow unicode builds
  (which your code didn't)

- Ralf

More information about the Devel mailing list