[issue1945] Document back ported C functions

2008-02-18 Thread John Lenton
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/

[issue1945] Document back ported C functions

2008-02-17 Thread John Lenton
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

[issue2112] mmap.error should be a subclass of EnvironmentError and not a direct EnvironmentError

2008-02-17 Thread John Lenton
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

[issue976880] mmap needs a rfind method

2008-01-19 Thread John Lenton
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

[issue976880] mmap needs a rfind method

2008-01-19 Thread John Lenton
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

[issue1675533] setup.py LDFLAGS regexp is wrong

2008-01-19 Thread John Lenton
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