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.

Reply via email to