[issue1087741] subclassable mmap

2008-01-22 Thread Ralf Schmitt
Ralf Schmitt added the comment: sorry, I somehow managed to introduce a segfault: ~/pydev/trunk/ cat t.py [EMAIL PROTECTED] ok from mmap import mmap class anon_mmap(mmap): def __new__(klass, *args, **kwargs): res =

[issue1087741] subclassable mmap

2008-01-22 Thread Ralf Schmitt
Changes by Ralf Schmitt: Added file: http://bugs.python.org/file9261/subclass_mmap_patch.txt _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1087741 _ ___

[issue1087741] subclassable mmap

2008-01-22 Thread Ralf Schmitt
Ralf Schmitt added the comment: ./python Lib/test/test_mmap.py works with a debug build with this patch. _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1087741 _ ___

[issue1087741] subclassable mmap

2008-01-22 Thread Georg Brandl
Georg Brandl added the comment: Committed as r60202. Thanks for the care! _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1087741 _ ___ Python-bugs-list mailing list

[issue1087741] subclassable mmap

2008-01-21 Thread Ralf Schmitt
Ralf Schmitt added the comment: I'm attaching a patch, which makes mmap.mmap the mmap class itself and also makes it subclassable. It also contains changes to the documentation. This is against revision 60148 of trunk. -- nosy: +schmir Added file:

[issue1087741] subclassable mmap

2008-01-21 Thread Georg Brandl
Georg Brandl added the comment: Reviewed and committed in r60152. -- nosy: +georg.brandl resolution: - accepted status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1087741 _

[issue1087741] subclassable mmap

2008-01-21 Thread Ralf Schmitt
Ralf Schmitt added the comment: Many thanks for handling it immediately. _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1087741 _ ___ Python-bugs-list mailing list