Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SF bug [#473864] doctest expects spurios space. | Tim Peters | 2001-10-23 | 1 | -0/+6 |
| | | | | | | Repair unlikely surprise due to magical softspace attr and the use of print with a trailing comma in doctest examples. Bugfix candidate. | ||||
* | Add function attributes that allow GCC to check the arguments of printf-like | Neil Schemenauer | 2001-10-23 | 4 | -9/+18 |
| | | | | functions. | ||||
* | Hide GCC attributes fom compilers that don't support them. | Neil Schemenauer | 2001-10-23 | 1 | -0/+9 |
| | |||||
* | Doc and NEWS changes due to Jeremy adding traceback objects to gc. | Tim Peters | 2001-10-23 | 2 | -1/+8 |
| | |||||
* | Make traceback objects collectable. | Jeremy Hylton | 2001-10-22 | 1 | -2/+46 |
| | | | | | This should eliminate the traceback returned by sys.exc_info() as a common source of memory leaks. | ||||
* | Record that test_curses doesn't run on win32. | Tim Peters | 2001-10-22 | 1 | -0/+1 |
| | |||||
* | Fixed denial-of-weak-ref-support test; Jeremy changed the error message | Fred Drake | 2001-10-22 | 1 | -1/+1 |
| | | | | | | used by the weakref code since he didn't like the word "referencable". Is it really necessary to be more specific than to test for TypeError here, though? | ||||
* | another major speedup: let sre.sub/subn check for escapes in the | Fredrik Lundh | 2001-10-22 | 1 | -30/+89 |
| | | | | | template string, and don't call the template compiler if we can avoid it. | ||||
* | Fixed an example in the use of email.Utils.getaddresses(). The | Barry Warsaw | 2001-10-22 | 1 | -4/+4 |
| | | | | failobj has to be a list or the `+' can fail. | ||||
* | Removed two pointless and obfuscating macros. | Tim Peters | 2001-10-22 | 1 | -7/+4 |
| | |||||
* | Added two very tardy notes about the 2.2b1 release, fixed a typo. | Fred Drake | 2001-10-22 | 1 | -1/+9 |
| | |||||
* | A few formatting nits: | Jeremy Hylton | 2001-10-22 | 1 | -5/+5 |
| | | | | | Don't put paren in column 0 (to please font-lock mode). Put space after comma in argument list. | ||||
* | Add better support for Mozilla's use of <link> elements. | Fred Drake | 2001-10-22 | 1 | -10/+41 |
| | |||||
* | Add curses-related news items | Andrew M. Kuchling | 2001-10-22 | 1 | -0/+5 |
| | |||||
* | Referencable is not a word, so don't use it in an error message <wink>. | Jeremy Hylton | 2001-10-22 | 1 | -2/+2 |
| | |||||
* | cleanup indentation | Jeremy Hylton | 2001-10-22 | 1 | -1/+1 |
| | |||||
* | Update bug/patch counts | Andrew M. Kuchling | 2001-10-22 | 1 | -1/+1 |
| | |||||
* | Patch #473187: Add a test script that exercises most of the functions in | Andrew M. Kuchling | 2001-10-22 | 2 | -1/+214 |
| | | | | | the curses module. It's not run automatically; '-u curses' must be specified as an argument to regrtest | ||||
* | Do a little bit more to try and add <link> elements to the header, not that | Fred Drake | 2001-10-22 | 1 | -1/+10 |
| | | | | | | | Mozilla 0.9.5 can make intelligent use of them. Specifically, this causes the "Acknowledgements" and "Global Module Index" pages to acquire "up" links in the Mozilla "Site Navigation Bar". This partially responds to SF bug #469772. | ||||
* | Clarify that the resource module does not attempt to mask platform | Fred Drake | 2001-10-22 | 1 | -1/+3 |
| | | | | | differences by defining symbols not defined on particular platforms. This closes SF bug #473433. | ||||
* | Add correction from /F about SRE | Andrew M. Kuchling | 2001-10-22 | 1 | -10/+10 |
| | | | | \filename{} should be \file{} | ||||
* | sre.split should return the last segment, even if empty | Fredrik Lundh | 2001-10-22 | 2 | -11/+11 |
| | | | | (sorry, barry) | ||||
* | Make the error message for unsupported operand types cleaner, in | Guido van Rossum | 2001-10-22 | 2 | -8/+28 |
| | | | | | | | | | | | | response to a message by Laura Creighton on c.l.py. E.g. >>> 0+'' TypeError: unsupported operand types for +: 'int' and 'str' (previously this did not mention the operand types) >>> ''+0 TypeError: cannot concatenate 'str' and 'int' objects | ||||
* | Partly fill out the PEP 252 section | Andrew M. Kuchling | 2001-10-22 | 1 | -12/+214 |
| | |||||
* | A bunch of minor rewordings | Andrew M. Kuchling | 2001-10-22 | 1 | -48/+64 |
| | |||||
* | Fix for SF bug #472940: can't getattr() attribute shown by dir() | Guido van Rossum | 2001-10-22 | 2 | -33/+6 |
| | | | | | | | | | | 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. | ||||
* | Fix some typos | Andrew M. Kuchling | 2001-10-22 | 1 | -4/+4 |
| | |||||
* | Methods of built-in types now properly check for keyword arguments | Guido van Rossum | 2001-10-22 | 5 | -12/+45 |
| | | | | | (formerly these were silently ignored). The only built-in methods that take keyword arguments are __call__, __init__ and __new__. | ||||
* | Make tabnanny happy. (Piers, please run the test suite before | Guido van Rossum | 2001-10-22 | 1 | -7/+7 |
| | | | | | checking in changes. The test suite requires consistent use of spaces and tabs.) | ||||
* | update version number | Piers Lauder | 2001-10-21 | 1 | -1/+1 |
| | |||||
* | install on HP-UX does not support the -d option. Using the install-sh instead. | Neil Schemenauer | 2001-10-21 | 2 | -318/+329 |
| | | | | This fixes SF bug: [ #473491 ] "install -d" doesn't work on HP-UX. | ||||
* | Add missing "static" declarations (found by "make smelly"). | Neil Schemenauer | 2001-10-21 | 2 | -5/+5 |
| | |||||
* | Adding missing "static" declarations (found by "make smelly"). | Neil Schemenauer | 2001-10-21 | 3 | -5/+5 |
| | |||||
* | - Build dbm module using libdb1 if it's available. This fixes SF bug "[ | Neil Schemenauer | 2001-10-21 | 1 | -0/+5 |
| | | | | | | | #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. | ||||
* | fixed character set description in docstring (SRE uses Python | Fredrik Lundh | 2001-10-21 | 2 | -176/+56 |
| | | | | | | | | | | | | | | | | | 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) | ||||
* | fix send method not noticing when partial sends happen | Piers Lauder | 2001-10-21 | 1 | -1/+7 |
| | |||||
* | sre.Scanner fixes (from Greg Chapman). also added a Scanner sanity | Fredrik Lundh | 2001-10-21 | 3 | -5/+43 |
| | | | | | | check to the test suite. added a few missing exception checks in the _sre module | ||||
* | rewrote the pattern.sub and pattern.subn methods in C | Fredrik Lundh | 2001-10-21 | 2 | -130/+331 |
| | | | | | | | | | 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 | ||||
* | Change clear_handlers argument to indicate whether this is an initialization. | Martin v. Löwis | 2001-10-21 | 1 | -9/+10 |
| | | | | Do not set the Expat handlers if it is. Fixes PyXML bug #473195. | ||||
* | Big internal change that should have no external effects: unify the | Guido van Rossum | 2001-10-21 | 2 | -527/+246 |
| | | | | | | | | | '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. | ||||
* | rewrote the pattern.split method in C | Fredrik Lundh | 2001-10-20 | 1 | -12/+136 |
| | | | | also restored SRE Unicode support for 1.6/2.0/2.1 | ||||
* | Update description of border() | Andrew M. Kuchling | 2001-10-20 | 1 | -3/+2 |
| | |||||
* | Add two forgotten 'break' statements | Andrew M. Kuchling | 2001-10-20 | 1 | -15/+40 |
| | | | | | | | | 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 | ||||
* | Patch from SF bug #472956: UMR when there is a syntax error (Neal Norwitz) | Guido van Rossum | 2001-10-20 | 1 | -12/+15 |
| | | | | | perrdetail.token is unitialized when there is a syntax error in a file. | ||||
* | Patch from SF bug #473150: configure weaknesses on HP-UX (Michael Piotrowski) | Guido van Rossum | 2001-10-20 | 4 | -5/+6 |
| | | | | | | | | | | 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) | ||||
* | Use the \note and \warning macros where appropriate. | Fred Drake | 2001-10-20 | 45 | -163/+156 |
| | |||||
* | Describe the content given as the parameter to the \note and \warning macros | Fred Drake | 2001-10-20 | 1 | -10/+13 |
| | | | | in more detail, and use them where appropriate. | ||||
* | Additional rules to support the iSilo conversion. | Fred Drake | 2001-10-19 | 1 | -1/+110 |
| | |||||
* | Hush up CVS. | Fred Drake | 2001-10-19 | 1 | -0/+10 |
| | |||||
* | Support for the iSilo conversion. | Fred Drake | 2001-10-19 | 1 | -0/+12 |
| |