John Lenton added the comment:
This is the same as the previous patch, but I added the "versionadded"
notation in the rst, and the info in refcounts.dat to get the "return
value" info in the docs.
Added file: http://bugs.python.org/
John Lenton added the comment:
Copied documentation from the py3k branch for the functions mentioned in
the .h's (those were: PyLong_FromSsize_t, PyLong_FromSize_t,
PyLong_AsSsize_t, PyUnicode_FromStringAndSize, PyUnicode_FromString,
PyUnicode_FromFormat, and PyUnicode_FromFormatV). Test
John Lenton added the comment:
Ran the regression test with this patch, all ok (on Ubuntu Gutsy).
Attached diff is the same, with the addition of the NEWS entry.
--
nosy: +Chipaca
Added file: http://bugs.python.org/file9443/mmap3.diff
__
Tracker <[EM
John Lenton added the comment:
New patch, with small change after being reviewed by amk. Still against
revision 60082.
Added file: http://bugs.python.org/file9223/mmap.rfind.patch
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/is
John Lenton added the comment:
Attached patch adds two things: an 'end' argument to find, and an
'rfind' method. This includes minimal tests for rfind, but as I actually
refactored find and rfind into a single method, tests covering find also
cover most of rfind :). I added
John Lenton added the comment:
This was fixed in r57389 by georg.brandl by changing the replacement
string '' to ' ' (turning the option into a non-option).
Steps to reproduce this on Ubuntu Feisty, before that revision, were:
$ mkdir banana
$ sudo mv /usr/include/sqlite3.h