- 22 Eki, 2001 4 kayıt (commit)
-
-
Guido van Rossum yazdı
There really isn't a good reason for instance method objects to have their own __dict__, __doc__ and __name__ properties that just delegate the request to the function (callable); the default attribute behavior already does this. The test suite had to be fixed because the error changes from TypeError to AttributeError.
-
Andrew M. Kuchling yazdı
-
Guido van Rossum yazdı
(formerly these were silently ignored). The only built-in methods that take keyword arguments are __call__, __init__ and __new__.
-
Guido van Rossum yazdı
checking in changes. The test suite requires consistent use of spaces and tabs.)
-
- 21 Eki, 2001 11 kayıt (commit)
-
-
Piers Lauder yazdı
-
Neil Schemenauer yazdı
This fixes SF bug: [ #473491 ] "install -d" doesn't work on HP-UX.
-
Neil Schemenauer yazdı
-
Neil Schemenauer yazdı
-
Neil Schemenauer yazdı
#230075 ] dbmmodule build fails on Debian GNU/Linux unstable (Sid)". - Build bsddb module with libdb3 if it's available. It also fixes a bug that causes the build of bsddb to fail on Debian if bsddb3-dev is installed.
-
Fredrik Lundh yazdı
strings, not C strings) removed USE_PYTHON defines, and related sre.py helpers skip calling the subx helper if the template is callable. interestingly enough, this means that def callback(m): return literal result = pattern.sub(callback, string) is much faster than result = pattern.sub(literal, string)
-
Piers Lauder yazdı
-
Fredrik Lundh yazdı
check to the test suite. added a few missing exception checks in the _sre module
-
Fredrik Lundh yazdı
removed (conceptually flawed) getliteral helper; the new sub/subn code uses a faster code path for literal replacement strings, but doesn't (yet) look for literal patterns. added STATE_OFFSET macro, and use it to convert state.start/ptr to char indexes
-
Martin v. Löwis yazdı
Do not set the Expat handlers if it is. Fixes PyXML bug #473195.
-
Guido van Rossum yazdı
'slotdef' structure typedef and 'struct wrapperbase'. By adding the wrapper docstrings to the slotdef structure, the slotdefs array can serve as the data structure that drives add_operators(); the wrapper descriptor contains a pointer to slotdef structure. This replaces lots of custom code from add_operators() by a loop over the slotdefs array, and does away with all the tab_xxx tables.
-
- 20 Eki, 2001 7 kayıt (commit)
-
-
Fredrik Lundh yazdı
also restored SRE Unicode support for 1.6/2.0/2.1
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
Allow passing strings to the .border() method Correct some error messages ("1 or 4" -> "1 to 4") Bump version number Tweak code formatting Update my e-mail address
-
Guido van Rossum yazdı
perrdetail.token is unitialized when there is a syntax error in a file.
-
Guido van Rossum yazdı
1. configure doesn't handle HP-UX release numbers (e.g., B.11.00), resulting in MACHDEP = "hpuxB". 2. After checking for wchar.h, configure doesn't include it when checking the size of wchar_t. (Python 2.2b1 on HP-UX 11.00)
-
Fred Drake yazdı
-
Fred Drake yazdı
in more detail, and use them where appropriate.
-
- 19 Eki, 2001 18 kayıt (commit)
-
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Tim Peters yazdı
-
Fred Drake yazdı
parameters, given a hyperlink to the right part of the documentation to make it easier to look those up. Also, refer to the file() function/ constructor instead of open() now that that is where the actual docs for those parameters live. This closes SF bug #472004.
-
Barry Warsaw yazdı
-
Skip Montanaro yazdı
should have been checked in as part of patch #470254.
-
Thomas Heller yazdı
use the correct base for a buffer object in _PyBuffer_FromObject.
-
Guido van Rossum yazdı
This appears to be a case of a missing \n\ in a multiline string literal.
-
Marc-André Lemburg yazdı
This patch should also be applied to the 2.2b1 trunk.
-
Barry Warsaw yazdı
anything about the hotshot profiler, this file is ready for the 2.2b1 Windows build.
-
Barry Warsaw yazdı
epilogue, based on the discussion in this SF bug report: https://sourceforge.net/tracker/index.php?func=detail&aid=472481&group_id=25568&atid=384678
-
Barry Warsaw yazdı
TestMIMEMessage.test_epilogue(), TestIdempotent.test_preamble_epilogue(): Test cases for SF bug #472481.
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
_handle_multipart(): If there is an epilogue and the epilogue does not itself start with a newline, add a newline before writing the epilogue. Closes SF bug #472481.
-
Jeremy Hylton yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
This patch implements what we have discussed on python-dev late in September: str(obj) and unicode(obj) should behave similar, while the old behaviour is retained for unicode(obj, encoding, errors). The patch also adds a new feature with which objects can provide unicode(obj) with input data: the __unicode__ method. Currently no new tp_unicode slot is implemented; this is left as option for the future. Note that PyUnicode_FromEncodedObject() no longer accepts Unicode objects as input. The API name already suggests that Unicode objects do not belong in the list of acceptable objects and the functionality was only needed because PyUnicode_FromEncodedObject() was being used directly by unicode(). The latter was changed in the discussed way: * unicode(obj) calls PyObject_Unicode() * unicode(obj, encoding, errors) calls PyUnicode_FromEncodedObject() One thing left open to discussion is whether to leave the PyUnicode_FromObject() API as a thin API extension on top of PyUnicode_FromEncodedObject() or to turn it into a (macro) alias for PyObject_Unicode() and deprecate it. Doing so would have some surprising consequences though, e.g. u"abc" + 123 would turn out as u"abc123"... [Marc-Andre didn't have time to check this in before the deadline. I hope this is OK, Marc-Andre! You can still make changes and commit them on the trunk after the branch has been made, but then please mail Barry a context diff if you want the change to be merged into the 2.2b1 release branch. GvR]
-