Re: anonymous memory mapping

2006-03-20 Thread Ben Caradoc-Davies
Fabiano Sidler wrote: > 2006/3/14, Fabiano Sidler <[EMAIL PROTECTED]>: >>Ok, sorry! I wanted to do this: >> >>--- snip --- >>from mmap import mmap, MAP_ANONYMOUS >>mm = mmap(-1, 1024, MAP_ANONYMOUS) >>--- snap --- >> >>But I got an EnvironmentError, "[Errno 22] Invalid argument" (on >>Linux2.6, btw

Re: anonymous memory mapping

2006-03-20 Thread Fabiano Sidler
2006/3/14, Fabiano Sidler <[EMAIL PROTECTED]>: > 2006/3/14, Peter Hansen <[EMAIL PROTECTED]>: > > (As for me, I have no idea what the question is about, so this is the > > most help I can give.) > > Ok, sorry! I wanted to do this: > > --- snip --- > from mmap import mmap, MAP_ANONYMOUS > mm = mmap(

Re: anonymous memory mapping

2006-03-14 Thread Fabiano Sidler
2006/3/14, Peter Hansen <[EMAIL PROTECTED]>: > (As for me, I have no idea what the question is about, so this is the > most help I can give.) Ok, sorry! I wanted to do this: --- snip --- from mmap import mmap, MAP_ANONYMOUS mm = mmap(-1, 1024, MAP_ANONYMOUS) --- snap --- But I got an Environment

Re: anonymous memory mapping

2006-03-13 Thread Peter Hansen
Fabiano Sidler wrote: > 2006/3/12, Fabiano Sidler <[EMAIL PROTECTED]>: > >>Is there any way to use anonymous memory mapping in python, versions >>earlier than 2.5? > > No idea or no way to do it? Often when there's no reply for a while, it's because the question is unclear. Rather than just ap

Re: anonymous memory mapping

2006-03-13 Thread Fabiano Sidler
2006/3/12, Fabiano Sidler <[EMAIL PROTECTED]>: > Is there any way to use anonymous memory mapping in python, versions > earlier than 2.5? No idea or no way to do it? Greetings, F. Sidler -- http://mail.python.org/mailman/listinfo/python-list