Re: [Python-Dev] Proposed unittest changes

2008-04-25 Thread Michael Foord
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

[Python-Dev] segfault in 2.5.1

2008-04-25 Thread Neal Becker
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

Re: [Python-Dev] segfault in 2.5.1

2008-04-25 Thread Ralf Schmitt
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

[Python-Dev] mmap documentation error (2.5.1)

2008-04-25 Thread Neal Becker
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

Re: [Python-Dev] mmap documentation error (2.5.1)

2008-04-25 Thread Neal Becker
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

Re: [Python-Dev] mmap documentation error (2.5.1)

2008-04-25 Thread Aahz
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

[Python-Dev] Summary of Tracker Issues

2008-04-25 Thread Tracker
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

[Python-Dev] Do we still need BaseAddress in .vcproj files?

2008-04-25 Thread Trent Nelson
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

Re: [Python-Dev] Do we still need BaseAddress in .vcproj files?

2008-04-25 Thread Christian Heimes
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

Re: [Python-Dev] Do we still need BaseAddress in .vcproj files?

2008-04-25 Thread Martin v. Löwis
> 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

Re: [Python-Dev] Do we still need BaseAddress in .vcproj files?

2008-04-25 Thread Atul Varma
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

Re: [Python-Dev] annoying dictionary problem, non-existing keys

2008-04-25 Thread Collin Winter
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