Neal Norwitz wrote:
[Michael working on cleaning up the unittest module]
it seems like most of the good ideas have been captured already. I'll
through two more (low priority) ideas out there.
1) Randomized test runner/option that runs tests in a random order
(like regrtest.py -r, but for meth
Attempt to write to a mmap which was opened mmap.PROT_READ causes python to
segfault.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/arc
On Fri, Apr 25, 2008 at 3:13 PM, Neal Becker <[EMAIL PROTECTED]> wrote:
> Attempt to write to a mmap which was opened mmap.PROT_READ causes python
> to
> segfault.
http://bugs.python.org/issue2111
___
Python-Dev mailing list
Python-Dev@python.org
http
mmap( fileno, length[, flags[, prot[, access]]])
(Unix version) Maps length bytes from the file specified by the file
descriptor fileno, and returns a mmap object. If length is 0, the maximum
length of the map will be the current size of the file when mmap() is
called.
flags specifies the nature
Sorry, my mistake. Acutally, I was trying to debug this:
On linux, I don't understand why:
f = open ('/dev/eos', 'rw')
m = mmap.mmap(f.fileno(), 100, prot=mmap.PROT_READ|mmap.PROT_WRITE,
flags=mmap.MAP_SHARED)
gives 'permission denied', but this c++ code works:
#include
#include
#include
On Fri, Apr 25, 2008, Neal Becker wrote:
>
> Sorry, my mistake. Acutally, I was trying to debug this:
python-dev is probably not the right place for this -- please use c.l.py
or the list capi-sig.
--
Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/
Why is this newsgrou
ACTIVITY SUMMARY (04/18/08 - 04/25/08)
Tracker at http://bugs.python.org/
To view or respond to any of the issues listed below, click on the issue
number. Do NOT respond to this message.
1850 open (+26) / 12667 closed (+11) / 14517 total (+37)
Open issues with patches: 558
Average durati
I just did this locally to all my .vcproj files for .pyds:
- BaseAddress="0x1e00"
+ RandomizedBaseAddress="2"
This was partly out of curiosity, and partly because it was quicker doing that
than finding a new unique base address to use for a new module I added to my
local tree. Rebuilt e
Trent Nelson schrieb:
> I just did this locally to all my .vcproj files for .pyds:
>
> - BaseAddress="0x1e00"
> + RandomizedBaseAddress="2"
>
> This was partly out of curiosity, and partly because it was quicker doing
> that than finding a new unique base address to use for a new module I
> This was partly out of curiosity, and partly because it was quicker
> doing that than finding a new unique base address to use for a new
> module I added to my local tree. Rebuilt everything and ran a full
> regression test, and everything passed. What am I missing? Do we
> have parts of Pytho
A while back I was reading an MSDN article that did some concrete research
on the performance benefits of rebasing DLLs to avoid fixups at runtime, and
it actually concluded that on modern systems, the benefits are really
negligible. I tried finding the article on the net just now, though, and I
c
2008/4/24 bvidinli <[EMAIL PROTECTED]>:
> I posted to so many lists because,
>
> this issue is related to all lists,
> this is an idea for python,
> this is related to development of python...
>
> why are you so much defensive ?
>
> i think ideas all important for development of python, softwa
12 matches
Mail list logo