mmap doesn't support weakref

Neal Becker ndbecker2 at gmail.com
Wed Jan 7 21:29:45 EST 2009


 r = weakref.ref (m)
TypeError: cannot create weak reference to 'mmap.mmap' object

I believe it would be very useful for mmap object to support weakref.  Can it be added?




More information about the Python-list mailing list