[issue4885] mmap enhancement request

2013-08-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1754b7900da1 by Antoine Pitrou in branch 'default': Issue #4885: Add weakref support to mmap objects. Patch by Valerie Lambert. http://hg.python.org/cpython/rev/1754b7900da1 -- nosy: +python-dev ___ Pyth

[issue4885] mmap enhancement request

2013-08-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: Your patch is now committed. Thanks for contributing! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker __

[issue4885] mmap enhancement request

2013-08-02 Thread Valerie Lambert
Valerie Lambert added the comment: I just signed and sent the agreement electronically. Let me know if there is anything else I need to do. -- ___ Python tracker ___

[issue4885] mmap enhancement request

2013-08-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks Valerie. I've tested your patch and it looks good to me. Have you signed and sent a contributor's agreement? http://www.python.org/psf/contrib/ -- ___ Python tracker

[issue4885] mmap enhancement request

2013-08-02 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4885] mmap enhancement request

2013-08-01 Thread Valerie Lambert
Valerie Lambert added the comment: I've uploaded a patch to make mmap_obj support weakref. A test is included in the patch. -- keywords: +patch nosy: +lambertv Added file: http://bugs.python.org/file31115/issue-4885.patch ___ Python tracker

[issue4885] mmap enhancement request

2013-07-08 Thread Christian Heimes
Christian Heimes added the comment: It's a trivial task for any Python developer with some C experience. -- keywords: +easy ___ Python tracker ___

[issue4885] mmap enhancement request

2013-07-08 Thread Christian Heimes
Christian Heimes added the comment: 1) and 2) have been fixed in Python 3.x. mmap supports writable memory views and slice assignment from any object that supports the buffer protocol. 3) is still an issue as mmap objects are not weakref-able yet. It should be easy to add __weakref__ to mmap o

[issue4885] mmap enhancement request

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> unit test needed versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Pyt

[issue4885] mmap enhancement request

2009-01-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: As for 2), the buffer() function is deprecated and is replaced in 3.0 by new object called memoryview() (together with a revamped internal API for taking and releasing buffers). -- nosy: +pitrou priority: -> normal versions: +Python 2.7, Python 3.1 -Py

[issue4885] mmap enhancement request

2009-01-08 Thread ndbecker
New submission from ndbecker : I'd like to suggest some improvements from mmap 1) mmap assign to slice only accepts a string. This is unfortunate, because AFAIK a string can only be created by copying data, and this is wasteful for large data transfers. mmap should accept any object supporting