- 22 Oct, 2001 6 commits
-
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Guido van Rossum authored
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 authored
-
Guido van Rossum authored
(formerly these were silently ignored). The only built-in methods that take keyword arguments are __call__, __init__ and __new__.
-
Guido van Rossum authored
checking in changes. The test suite requires consistent use of spaces and tabs.)
-
- 21 Oct, 2001 11 commits
-
-
Piers Lauder authored
-
Neil Schemenauer authored
This fixes SF bug: [ #473491 ] "install -d" doesn't work on HP-UX.
-
Neil Schemenauer authored
-
Neil Schemenauer authored
-
Neil Schemenauer authored
#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 authored
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 authored
-
Fredrik Lundh authored
check to the test suite. added a few missing exception checks in the _sre module
-
Fredrik Lundh authored
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 authored
Do not set the Expat handlers if it is. Fixes PyXML bug #473195.
-
Guido van Rossum authored
'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 Oct, 2001 7 commits
-
-
Fredrik Lundh authored
also restored SRE Unicode support for 1.6/2.0/2.1
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
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 authored
perrdetail.token is unitialized when there is a syntax error in a file.
-
Guido van Rossum authored
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 authored
-
Fred Drake authored
in more detail, and use them where appropriate.
-
- 19 Oct, 2001 16 commits
-
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
-
Tim Peters authored
-
Fred Drake authored
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 authored
-
Skip Montanaro authored
should have been checked in as part of patch #470254.
-
Thomas Heller authored
use the correct base for a buffer object in _PyBuffer_FromObject.
-
Guido van Rossum authored
This appears to be a case of a missing \n\ in a multiline string literal.
-
Marc-André Lemburg authored
This patch should also be applied to the 2.2b1 trunk.
-
Barry Warsaw authored
anything about the hotshot profiler, this file is ready for the 2.2b1 Windows build.
-
Barry Warsaw authored
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 authored
TestMIMEMessage.test_epilogue(), TestIdempotent.test_preamble_epilogue(): Test cases for SF bug #472481.
-
Barry Warsaw authored
-
Barry Warsaw authored
_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 authored
-