This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ocean-city
Recipients loewis, ocean-city, vstinner
Date 2009-02-28.14:48:57
SpamBayes Score 1.1396084e-05
Marked as misclassified No
Message-id <1235832540.45.0.478175771361.issue5391@psf.upfronthosting.co.za>
In-reply-to
Content
I think more *bytes* cleanup is needed for mmap module documentation &
implementation. (and other modules?) Especially mmap.find() and its friends.

>>> import mmap
>>> m = mmap.mmap(-1, 10)
>>> m[:] = b"0123456789"
>>> m.find(b'2')
2
>>> m.find('2') # XXX: accepts unicode
2
History
Date User Action Args
2009-02-28 14:49:00ocean-citysetrecipients: + ocean-city, loewis, vstinner
2009-02-28 14:49:00ocean-citysetmessageid: <1235832540.45.0.478175771361.issue5391@psf.upfronthosting.co.za>
2009-02-28 14:48:58ocean-citylinkissue5391 messages
2009-02-28 14:48:58ocean-citycreate