[pypy-dev] Memory error when importing optparse module
romcheg.prihod at gmail.com
Sat Nov 20 20:20:32 CET 2010
I built the executable using macports (port install pypy).
My python is 64 bit.
I can help you to find the bug if you help me to help you.
On Nov 20, 2010, at 10:09 AM, Maciej Fijalkowski wrote:
> Unfortunately we don't have a full-time OS X developer and it makes it
> harder for this platform to be fully spported. Is your python 32bit or
> 64bit? How did you build that executable?
> On Fri, Nov 19, 2010 at 9:46 PM, Roman Prykhodchenko
> <romcheg.prihod at gmail.com> wrote:
>> Hi guys,
>> I'm trying to port my scripts to pypy but when I import the optparse module I get the error:
>>>>>> import optparse
>> Traceback (most recent call last):
>> File "<console>", line 1, in <module>
>> File "/opt/local/share/pypy-1.3/lib-python/2.5.2/optparse.py", line 84, in <module>
>> from gettext import gettext
>> File "/opt/local/share/pypy-1.3/lib-python/modified-2.5.2/gettext.py", line 49, in <module>
>> import locale, copy, os, re, struct, sys
>> File "/opt/local/share/pypy-1.3/lib-python/modified-2.5.2/locale.py", line 30, in <module>
>> from _locale import *
>> File "/opt/local/share/pypy-1.3/pypy/lib/_locale.py", line 6, in <module>
>> from ctypes import (Structure, POINTER, create_string_buffer,
>> File "/opt/local/share/pypy-1.3/lib-python/modified-2.5.2/ctypes/__init__.py", line 489, in <module>
>> _cast = PYFUNCTYPE(py_object, c_void_p, py_object, py_object)(_cast_addr)
>> File "/opt/local/share/pypy-1.3/pypy/lib/_ctypes/function.py", line 104, in __init__
>> ffiargs, ffires, self._flags_)
>> OS: Mac OS Snow Leopard 10.6.5
>> I tried to sign up your bugtracker to report a bug but the registration is broken -- I got the error message when I was trying to confirm my registration.
>> My login is prykhodchenko
>> Roman Prykhodchenko
>> pypy-dev at codespeak.net
More information about the Pypy-dev