Just checked on an older machine and this error did not occur with Spyder 2.2.0 / Python 2.7.5 (32 bit) / Win7 (64 bit) 4GB memory. It does occur on my machine with Spyder 2.3.1 / Python 2.7.7 (32 bit) /Win7 (64 bit) / 8GB memory.
I'll file an issue On Fri, Oct 3, 2014 at 9:33 AM, Jonno <[email protected]> wrote: > If I run: > > import random > import struct > > intlist = [int(100*random.random()) for _ in range(33000000)] > > buf = struct.pack('%sh' %len(intlist), *intlist) > > > in Spyder I get a MemoryError for the last line. > > I've tried it pasting the code into the interpreters (Python or IPython) > and also by running the file from the editor in the consoles. > > > I don't get this error when using the Python or IPython consoles outside > of Spyder. > > > I'm running: > > Spyder 2.3.0 > > Python 2.7.7 (32 bit via Anaconda 2.0.1) > > Win7 > -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/spyderlib. For more options, visit https://groups.google.com/d/optout.
