[pypy-dev] Memory error when importing optparse module
Roman Prykhodchenko
romcheg.prihod at gmail.com
Fri Nov 19 20:46:22 CET 2010
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_)
MemoryError
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
More information about the Pypy-dev
mailing list