Hyphenation module PyHyphen-0.3 released

thebjorn BjornSteinarFjeldPettersen at gmail.com
Mon Feb 25 18:59:14 EST 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