[issue2733] mmap resize fails on anonymous memory

2021-10-23 Thread Tim Golden
Change by Tim Golden : -- resolution: later -> duplicate superseder: -> multiple problems with mmap.resize() in Windows ___ Python tracker ___

[issue2733] mmap resize fails on anonymous memory

2021-10-23 Thread Tim Golden
Tim Golden added the comment: Superseded by issue40915 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2733] mmap resize fails on anonymous memory

2021-10-23 Thread Tim Golden
Change by Tim Golden : -- resolution: -> later stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue2733] mmap resize fails on anonymous memory

2021-10-23 Thread Tim Golden
Tim Golden added the comment: https://bugs.python.org/issue40915 is related Retargetting for 3.10+ -- assignee: -> tim.golden versions: +Python 3.10, Python 3.11 -Python 2.7, Python 3.2 ___ Python tracker

[issue2733] mmap resize fails on anonymous memory

2011-07-27 Thread Piotr Zolnierczuk
Piotr Zolnierczuk piotr.zolnierc...@gmail.com added the comment: I wonder if this is related to the problem I reported about two weeks ago http://bugs.python.org/issue12562? -- nosy: +zolnie ___ Python tracker rep...@bugs.python.org

[issue2733] mmap resize fails on anonymous memory

2011-02-02 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: I don't see an actual crash reported. An unexpected exception is not a crash. Changing the type to behavior. -- nosy: +belopolsky type: crash - behavior ___ Python tracker

[issue2733] mmap resize fails on anonymous memory

2009-07-05 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I still think we should forbid to resize anonymous memory map because this operation is really problematic. I think original poster's purpose can be fulfilled with creation of another mmap object with same tagname. Here is a patch

[issue2733] mmap resize fails on anonymous memory (Windows)

2009-03-05 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: More two cents which I noticed. (After the patch was applied) 1. On windows, resize for anonymous map can clear its contents. import mmap m = mmap.mmap(-1, 10) m[:] = 0123456789 m[:] '0123456789' m.resize(20) m[:]

[issue2733] mmap resize fails on anonymous memory (Windows)

2009-03-05 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: - Sorry for having clear solution for this. + Sorry for having no clear solution for this. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2733

[issue2733] mmap resize fails on anonymous memory (Windows)

2009-02-18 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: Hirokazu Yamamoto wrote: Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I reconsidered this issue. When mmap is anonymous, self-file_handle == INVALID_HANDLE_VALUE (-1), so we should not call SetFilePointer and

[issue2733] mmap resize fails on anonymous memory (Windows)

2009-02-18 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: Added file: http://bugs.python.org/file13131/mmapmodule.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2733 ___

[issue2733] mmap resize fails on anonymous memory (Windows)

2009-02-17 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Tim, I confirmed your test fails on my machine, and is fixed by your patch. I want to commit this. Can I? -- components: +Extension Modules, Windows -Library (Lib) nosy: +ocean-city stage: - commit review versions: +Python

[issue2733] mmap resize fails on anonymous memory (Windows)

2009-02-17 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: From me, yes of course, but I assume you want another core dev for a 2nd opinion. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2733 ___

[issue2733] mmap resize fails on anonymous memory (Windows)

2009-02-16 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: OK, I can see why this is happening and in fact there are two levels of problem. The trouble is that, in my ignorance, I can't work out exactly why the existing code is doing what it's doing. (References to mmapmodule.c at r69666) Problem 1:

[issue2733] mmap resize fails on anonymous memory (Windows)

2009-02-16 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: Patch attached to mmapmodule.c and test_mmap.py -- keywords: +patch Added file: http://bugs.python.org/file13107/mmapmodule.patch ___ Python tracker rep...@bugs.python.org

[issue2733] mmap resize fails on anonymous memory (Windows)

2008-05-02 Thread Kathryn M Kowalski
Kathryn M Kowalski [EMAIL PROTECTED] added the comment: sorry Added file: http://bugs.python.org/file10170/testofResize.py.txt __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2733 __

[issue2733] mmap resize fails on anonymous memory (Windows)

2008-05-02 Thread Trent Nelson
Changes by Trent Nelson [EMAIL PROTECTED]: -- nosy: +Trent.Nelson __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2733 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue2733] mmap resize fails on anonymous memory (Windows)

2008-05-01 Thread Kathryn M Kowalski
New submission from Kathryn M Kowalski [EMAIL PROTECTED]: We have a shared memory module that has been running fine on Windows with Active State Python 2.4.3 Build 12. On machines with 2.5.1.1 mmap.resize fails on an existing anonymous shared memory. The attached file is a stripped down

[issue2733] mmap resize fails on anonymous memory (Windows)

2008-05-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: It seems that you attached the output file instead of a python script... -- nosy: +amaury.forgeotdarc __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2733