Author cgroves
Date 2008-01-31.17:01:49
SpamBayes Score
Marked as misclassified
Ahh, the buffer interface doesn't exist because no one has needed it yet.  If and file.write can be made to use it, I'd suggest adding it to Jython and having mmap use it.  You're right that special-casing just to support mmap seems like a bad idea.  Oddly, I ran into the buffer type being used directly to provide a sliced view of a str, so adding it to Jython seems like a good idea especially if it can be added to array.

That said, I seem to recollect removing extends PyString from PyMmmap and not having a problem with that when initially evaluating this patch, but it was a while ago.  You might try that first.
Date User Action Args
2008-02-20 17:18:54adminlinkissue1854873 messages
2008-02-20 17:18:54admincreate