Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Jeremy Hylton: | Marc-André Lemburg | 2000-07-11 | 1 | -2/+4 |
| | | | | better error message for unicode coercion failure | ||||
* | string_join(): Some cleaning up of reference counting. In the | Barry Warsaw | 2000-07-11 | 1 | -7/+10 |
| | | | | | | | | seqlen==1 clause, before returning item, we need to DECREF seq. In the res=PyString... failure clause, we need to goto finally to also decref seq (and the DECREF of res in finally is changed to a XDECREF). Also, we need to DECREF seq just before the PyUnicode_Join() return. | ||||
* | add more tests of string.join variants to run_method_tests | Jeremy Hylton | 2000-07-11 | 1 | -8/+11 |
| | |||||
* | fix two refcount bugs in new string_join implementation: | Jeremy Hylton | 2000-07-11 | 1 | -6/+2 |
| | | | | | 1. PySequence_Fast_GET_ITEM is a macro and borrows a reference 2. The seq returned from PySequence_Fast must be decref'd | ||||
* | Now that prototypes are in scope, the compiler gives legit wngs | Tim Peters | 2000-07-10 | 1 | -2/+2 |
| | | | | | | about int size mismatches at two calls to s_rand. Stuffed in casts to make the code do what it did before but w/o warnings -- although unclear that's correct! | ||||
* | two changes to string_join: | Jeremy Hylton | 2000-07-10 | 1 | -82/+42 |
| | | | | | | implementation -- use PySequence_Fast interface to iterate over elements interface -- if instance object reports wrong length, ignore it; previous version raised an IndexError if reported length was too high | ||||
* | -- removed get_default compatibility kludge | Fredrik Lundh | 2000-07-10 | 2 | -3/+4 |
| | | | | -- added a few extra comments to locale.py | ||||
* | - changed hash calculation for unicode strings. the new | Fredrik Lundh | 2000-07-10 | 1 | -18/+20 |
| | | | | | | | | | | value is calculated from the character values, in a way that makes sure an 8-bit ASCII string and a unicode string with the same contents get the same hash value. (as a side effect, this also works for ISO Latin 1 strings). for more details, see the python-dev discussion. | ||||
* | Give ConfigParser the capability to set as well as read options, and to write | Eric S. Raymond | 2000-07-10 | 2 | -0/+53 |
| | | | | | | | | | | | | | a representation of the configuration state in .ini format that can be read back in by a future read() call. Thus this class is now a back end for .ini editors as well as parsers. This patch is complete and tested, but exposes a bug in the ConfigParser implementation which I have not yet fixed. Because case information is discarded during parsing, the output of write() has its case smashed. I wrote this for a SourceForge interface script called forgetool. Documentation for the new entry points included. | ||||
* | ANSI-fication (fixed on parameter list I messed up in the patch) | Peter Schneider-Kamp | 2000-07-10 | 1 | -53/+19 |
| | |||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 3 | -105/+35 |
| | |||||
* | ANSI-fication, added #ifdef construction in mpz_coerce | Peter Schneider-Kamp | 2000-07-10 | 1 | -138/+54 |
| | |||||
* | factor out test definitions to string_tests module | Jeremy Hylton | 2000-07-10 | 4 | -353/+202 |
| | | | | test_string and test_userstring run same tests for string methods | ||||
* | add isalpha and isalnum methods | Jeremy Hylton | 2000-07-10 | 1 | -0/+2 |
| | |||||
* | ANSI-fication, not really tested, but should (hopefully) compile | Peter Schneider-Kamp | 2000-07-10 | 2 | -116/+34 |
| | |||||
* | ANSI-fication of the SGI modules (note that svmodule.c and sgimodule.c | Peter Schneider-Kamp | 2000-07-10 | 7 | -2295/+769 |
| | | | | | | have already been checked in) UNTESTED! | ||||
* | - stupid typo. | Fredrik Lundh | 2000-07-10 | 1 | -1/+1 |
| | |||||
* | Add linker flag -export-dynamic so symbols in libpython*.a are exported. | Guido van Rossum | 2000-07-10 | 1 | -1/+2 |
| | |||||
* | -- get rid of a compiler warning on unix. (as reported | Fredrik Lundh | 2000-07-10 | 1 | -21/+13 |
| | | | | for #100836, but implemented in a different way) | ||||
* | Added the line 'Testing UTF-16 code point order comparisons... done." | Guido van Rossum | 2000-07-10 | 1 | -0/+1 |
| | | | | to match addition to test_unicode.py. | ||||
* | Adapted for Python 2.0 under RH Linux. | Guido van Rossum | 2000-07-10 | 1 | -5/+6 |
| | |||||
* | remove prints of file objects from _test | Jeremy Hylton | 2000-07-10 | 1 | -2/+0 |
| | |||||
* | expect message "no regression test case for method 'encode' | Jeremy Hylton | 2000-07-10 | 1 | -0/+3 |
| | |||||
* | Patch from Joe Eaton <jeaton@hostway.net> (SF#100741) to fix following problem: | Andrew M. Kuchling | 2000-07-10 | 1 | -1/+0 |
| | | | | | | | | There is a silly bug in the fall-back dumbdbm.py database package in the Python 1.5.2 standard distro. This bug causes any changes to an existing item to generate a new key, even when the key already exists. After many updates, the .dir file used by dumbdbm grows to a huge size, and can cause filesystem problems. | ||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 3 | -73/+26 |
| | |||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 3 | -177/+60 |
| | |||||
* | ANSI-fying | Peter Schneider-Kamp | 2000-07-10 | 4 | -157/+55 |
| | | | | | added excplicit node * parameter to termvalid argument in validate_two_chain_ops of parsermodule.c (as proposed by fred) | ||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 4 | -213/+70 |
| | |||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 3 | -75/+25 |
| | |||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 2 | -32/+11 |
| | |||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 3 | -63/+22 |
| | |||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 1 | -53/+19 |
| | |||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 1 | -31/+11 |
| | |||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 4 | -124/+43 |
| | |||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 1 | -48/+16 |
| | |||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 1 | -84/+24 |
| | |||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 1 | -38/+19 |
| | |||||
* | ANSI-fication (and test if committing files works now) | Peter Schneider-Kamp | 2000-07-10 | 1 | -2/+1 |
| | |||||
* | Better error handling of bad entity references. Before when an & in | Sjoerd Mullender | 2000-07-10 | 1 | -16/+25 |
| | | | | | | an attribute value was not escaped, you could get two syntax errors: one about a missing semicolon and one about an unknown entity. Now you get only one about a bogus ampersand. | ||||
* | Initialize the return value in collect_generations() since it is updated | Vladimir Marangozov | 2000-07-10 | 1 | -1/+1 |
| | | | | conditionally in the code. | ||||
* | Remove the "1" that Tim sticked to the preprocessor symbol for unknown reasons | Vladimir Marangozov | 2000-07-10 | 1 | -1/+1 |
| | | | | (cf. the rest of the headers in the distribution) | ||||
* | A small comment fix just to make sure I got my cvs/ssh setup right. | Vladimir Marangozov | 2000-07-10 | 1 | -1/+1 |
| | |||||
* | Guido said include these in the Great ANSI-fication, so here they are! | Fred Drake | 2000-07-10 | 2 | -259/+216 |
| | |||||
* | - changed the nt.popen2 return values back to | Fredrik Lundh | 2000-07-09 | 2 | -40/+55 |
| | | | | | | | | (write, read, ...), based on feedback from GvR. - added tuple-swapping code to popen2.py - fixed some runaway indentation in posixmodule.c | ||||
* | - repaired locale.py for non-windows platforms. the try/except | Fredrik Lundh | 2000-07-09 | 1 | -2/+5 |
| | | | | | checked for the wrong exception. my fault. sorry. (first reported by Alex Coventry) | ||||
* | Exception__str__(): In case 1, be sure to decref the tmp local | Barry Warsaw | 2000-07-09 | 1 | -4/+8 |
| | | | | | variable. This crushes another memory leak. Slight rewrite included. | ||||
* | Use TQSQ (triple quoted single quote) module docstring for better | Barry Warsaw | 2000-07-09 | 1 | -2/+2 |
| | | | | font-locking. This complets the merge with Mailman's version. | ||||
* | - changed 1.5 to 2.0 in the help text | Fredrik Lundh | 2000-07-09 | 1 | -7/+3 |
| | | | | | | | (the PYTHONHOMEHELP define) - ANSI-fication (patch #100794 by Peter Schneider-Kamp) | ||||
* | - ANSI-fication | Fredrik Lundh | 2000-07-09 | 1 | -3/+1 |
| | | | | (patch #100805 by Peter Schneider-Kamp) | ||||
* | Update to use the new standard webbrowser module if available, otherwise | Fred Drake | 2000-07-09 | 1 | -2/+8 |
| | | | | | | | uses the BrowserControl module. BrowserControl is not removed to allow IDLE to be distributed separately and still be used with Python 1.5.2. |