Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixed a warning in getsockaddrlen | Peter Schneider-Kamp | 2000-07-11 | 1 | -1/+1 |
| | |||||
* | add expandtabs command (-e) | Peter Schneider-Kamp | 2000-07-11 | 1 | -37/+64 |
| | | | | change eliminate to delete (-d) | ||||
* | Change the table in the pyexpat.errors module to a series of datadesc | Fred Drake | 2000-07-11 | 1 | -21/+64 |
| | | | | | | | | elements (since the table was pretty screwed up); this is how it is done elsewhere in the manual. I could use some help creating descriptions of the specific error identifiers (input conditions that lead to each error, etc.). | ||||
* | fix bug #42 reported by Andrew Dalke | Jeremy Hylton | 2000-07-11 | 5 | -27/+2 |
| | | | | | | | | | | | | | | The Compare close contains a close method that checks to see if there is any unconsumed data in the Compare instance; i.e. if the canonical output file contains more data than was produced by the current test run. This method was never called, allowing differences to go undetected. Fix is to call close after the test is run (after __import__) output/test_long and output/test_popen2 needed trivial changes output/test_select contained lots of text, but test_select.py produced no output | ||||
* | Neil Schemenauer <nascheme@enme.ucalgary.ca>: | Fred Drake | 2000-07-11 | 1 | -4/+4 |
| | | | | | | | Change a cast, intialize a local, and make some sprintf() format strings type-appropriate (add the "l" to "%d"). Closes SourceForge patch #100737. | ||||
* | Bug fix: ? and ! were not full aliases for `help' and `shell' as implied in | Eric S. Raymond | 2000-07-11 | 1 | -6/+6 |
| | | | | the documentation; the cases `? foo' and `! foo' failed. | ||||
* | fixed inconsistent use of tab and spaces | Peter Schneider-Kamp | 2000-07-11 | 1 | -3/+3 |
| | |||||
* | Add test of resize() method of mmap objects | Andrew M. Kuchling | 2000-07-11 | 2 | -0/+13 |
| | |||||
* | Docstring changes. | Andrew M. Kuchling | 2000-07-11 | 2 | -6/+2 |
| | |||||
* | 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) |