Hyphenation module PyHyphen-0.3 released

thebjorn BjornSteinarFjeldPettersen at gmail.com
Tue Feb 26 00:59:14 CET 2008


On Feb 25, 3:56 am, Ivan Illarionov <ivan.illario... at gmail.com> wrote:
> > I don't know if I'm just doing it wrong, or if I can't use extensions
> > compiled with mingw32 with the standard distribution Python
> > executable?
>
> I was able to install on Windows XP with mingw:
>
> setup.py build -c mingw32
> setup.py install --skip-build
>
> It works fine with English dictionary, but hangs with Russian
> dictionary from Mozilla.

This is unfortunately deceptive :-(  The C-runtime mismatch problem
happens when memory malloc'd in an extension module is free'd by the
interpreter (or vice versa). Things might work for a while with this
mismatch, but will (almost) always crash/hang/etc. in hard to track
down ways later.

Using the link that max provided above, I managed to build and install
without passing any switches and getting no error messages.

-- bjorn



More information about the Python-list mailing list