Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add correction caught by Thomas Gellekum (and sitting in my e-mail) | Andrew M. Kuchling | 2000-12-22 | 1 | -1/+2 |
| | |||||
* | Wrapper for _curses_panel module; currently this adds nothing extra | Andrew M. Kuchling | 2000-12-22 | 1 | -0/+9 |
| | | | | beyond what's in _curses_panel | ||||
* | Added documentation for the panel wrapper module | Andrew M. Kuchling | 2000-12-22 | 1 | -0/+93 |
| | |||||
* | Add _curses_panel to Setup | Andrew M. Kuchling | 2000-12-22 | 1 | -1/+2 |
| | |||||
* | Patch #102813: add a wrapper for the panel library included with ncurses. | Andrew M. Kuchling | 2000-12-22 | 1 | -0/+495 |
| | | | | | Original version written by Thomas Gellekum, reshaped into a separate module by AMK. | ||||
* | Export C API from this module. | Andrew M. Kuchling | 2000-12-22 | 1 | -99/+47 |
| | | | | Remove several macros and #includes; py_curses.h contains them now. | ||||
* | Added header file for C API exported by _cursesmodule.c | Andrew M. Kuchling | 2000-12-22 | 1 | -0/+133 |
| | |||||
* | Update this demo to use curses.panel | Andrew M. Kuchling | 2000-12-22 | 1 | -2/+3 |
| | |||||
* | Fix bug 126587: matchobject.groupdict() leaks memory because of a missing | Andrew M. Kuchling | 2000-12-22 | 1 | -0/+1 |
| | | | | DECREF | ||||
* | When using the latest & greatest version of Expat (currently in the Expat | Fred Drake | 2000-12-21 | 1 | -0/+7 |
| | | | | CVS repository), provide the library version information. | ||||
* | Fix lots of small markup nits. | Fred Drake | 2000-12-21 | 1 | -54/+64 |
| | | | | Wrapped some long lines. | ||||
* | Another demo from Thomas Gellekum (seasonally-themed, too) | Andrew M. Kuchling | 2000-12-21 | 2 | -0/+907 |
| | |||||
* | Document the window.overlay() and .overwrite() methods | Andrew M. Kuchling | 2000-12-21 | 1 | -0/+26 |
| | |||||
* | Another patch from Thomas Gellekum: add .overlay() and .overwrite() | Andrew M. Kuchling | 2000-12-21 | 1 | -3/+81 |
| | | | | window methods | ||||
* | Whoops! Two stray characters crept in to my last check-in | Andrew M. Kuchling | 2000-12-20 | 1 | -1/+1 |
| | |||||
* | Patch #102492, fixing bug #116677: | Andrew M. Kuchling | 2000-12-20 | 2 | -10/+42 |
| | | | | | | | | | | give minidom.py behaviour that complies with the DOM Level 1 REC, which says that when a node newChild is added to the tree, "if the newChild is already in the tree, it is first removed." pulldom.py is patched to use the public minidom interface instead of setting .parentNode itself. Possibly this reduces pulldom's efficiency; someone else will have to pronounce on that. | ||||
* | Patch #102955, fixing one of the warnings in bug #121479: | Andrew M. Kuchling | 2000-12-20 | 1 | -5/+7 |
| | | | | | Simplifies ord()'s logic at the cost of some code duplication, removing a " `ord' might be used uninitialized in this function" warning | ||||
* | Change expected message for ValueError, fixing bug #126400 | Andrew M. Kuchling | 2000-12-20 | 1 | -1/+1 |
| | |||||
* | Make the indentation consistently use tabs instead of using spaces just | Fred Drake | 2000-12-20 | 1 | -3/+3 |
| | | | | in one place. | ||||
* | Add forgotten initialization. Fixes bug #120994, "Traceback with | Andrew M. Kuchling | 2000-12-20 | 1 | -0/+1 |
| | | | | DISTUTILS_DEBUG set" | ||||
* | Patch #102940: use only printable Unicode chars in reporting | Andrew M. Kuchling | 2000-12-19 | 1 | -1/+2 |
| | | | | | incorrect % characters; characters outside the printable range are replaced with '?' | ||||
* | Regenerated so that NewGWorld is included. | Jack Jansen | 2000-12-19 | 1 | -0/+66 |
| | |||||
* | Emulate a few more non-carbon calls in carbon and the other way around. | Jack Jansen | 2000-12-19 | 3 | -93/+163 |
| | |||||
* | Added hash() and compare() functions. Needed because multiple WinObj's can ↵ | Jack Jansen | 2000-12-19 | 2 | -2/+35 |
| | | | | now refer to the same underlying WindowRef. | ||||
* | Blacklisted a few constants with funny definitions (and they're not ↵ | Jack Jansen | 2000-12-19 | 2 | -6/+13 |
| | | | | important anyway: backward compatible error numbers). | ||||
* | Patch #102868 from cgw: fix memory leak when an EOF is encountered | Andrew M. Kuchling | 2000-12-19 | 1 | -0/+3 |
| | | | | using GNU libc's getline() | ||||
* | Adding a warning about the regsub module. This also disables further | Guido van Rossum | 2000-12-19 | 1 | -0/+7 |
| | | | | | warnings in this same module, to prevent getting a warning about importing regex (we *know* that it's obsolete :-). | ||||
* | Adding a warning about the regex module. This is the first official | Guido van Rossum | 2000-12-19 | 1 | -0/+3 |
| | | | | | use of PyErr_Warn()! This module is a good guinea pig because it's been obsolete since 1.5.0 was released. | ||||
* | Be explicit about scheme_chars -- string.letters is locale dependent | Guido van Rossum | 2000-12-19 | 1 | -20/+18 |
| | | | | | | | | so we can't use it. While I'm at it, got rid of string module use. (Found several new hard special cases for a hypothetical conversion tool: from string import join, find, rfind; and a local assignment "find=string.find".) | ||||
* | Fix typo | Andrew M. Kuchling | 2000-12-19 | 1 | -1/+1 |
| | |||||
* | Use binary mode to open "wave" files. | Guido van Rossum | 2000-12-19 | 1 | -2/+2 |
| | |||||
* | Document the warnings module. | Guido van Rossum | 2000-12-19 | 3 | -0/+193 |
| | |||||
* | Updated string literals description to encompass Unicode literals and the | Fred Drake | 2000-12-19 | 1 | -11/+24 |
| | | | | | additional escape sequences defined for Unicode. This closes bug #117158. | ||||
* | Document warning categories. | Guido van Rossum | 2000-12-19 | 1 | -0/+26 |
| | |||||
* | Clarify __repr__ and __str__. | Guido van Rossum | 2000-12-19 | 1 | -7/+10 |
| | |||||
* | Added documentation on the ErrorHandler interface. | Fred Drake | 2000-12-19 | 1 | -0/+40 |
| | | | | This closes bug #126034. | ||||
* | Oops. The value "0 or +1" for the category argument of PyErr_Warn() | Guido van Rossum | 2000-12-19 | 1 | -1/+1 |
| | | | | | | doesn't work. Make it 0. (Although it really *should* be 0 or +1 -- the refcount is incremented when it is raised as an exception, but not otherwise.) | ||||
* | Document Pyerr_Warn(). | Guido van Rossum | 2000-12-19 | 1 | -0/+11 |
| | | | | | Add an XXX comment at the beginning expressing disappointment over the confusing way refcount behavior of arguments is documented. | ||||
* | Document Pyerr_Warn(). | Guido van Rossum | 2000-12-19 | 1 | -0/+34 |
| | |||||
* | Document the -W option as best as I can. | Guido van Rossum | 2000-12-19 | 1 | -7/+70 |
| | | | | Get rid of BeOpen references. | ||||
* | Improve error messages for invalid warning arguments; don't raise | Guido van Rossum | 2000-12-19 | 1 | -4/+10 |
| | | | | exceptions but always print a warning message. | ||||
* | Make string.translate(s, table) work for Unicode s. Two things are | Guido van Rossum | 2000-12-19 | 1 | -4/+11 |
| | | | | | | | | | | | required to work around restrictions on the arguments of u.translate(): 1) don't pass the deletions argument if it's empty; 2) convert table to Unicode if s is Unicode. This fixes SF bug #124060. | ||||
* | Fix off-by-one error in split_substring(). Fixes SF bug #122162. | Guido van Rossum | 2000-12-19 | 1 | -1/+1 |
| | |||||
* | Test more split argument combinations: | Guido van Rossum | 2000-12-19 | 1 | -0/+7 |
| | | | | | | 1) multi-char separator 2) multi-char separator that only occurs at last position 3) all of the above with mixed Unicode and 8-bit-string arguments | ||||
* | Minimal fix for the complaints about pickling Unicode objects. (SF | Guido van Rossum | 2000-12-19 | 1 | -2/+48 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | bugs #126161 and 123634). The solution doesn't use the unicode-escape encoding; that has other problems (it seems not 100% reversible). Rather, it transforms the input Unicode object slightly before encoding it using raw-unicode-escape, so that the decoding will reconstruct the original string: backslash and newline characters are translated into their \uXXXX counterparts. This is backwards incompatible for strings containing backslashes, but for some of those strings, the pickling was already broken. Note that SF bug #123634 complains specifically that cPickle fails to unpickle the pickle for u'' (the empty Unicode string) correctly. This was an off-by-one error in load_unicode(). XXX Ugliness: in order to do the modified raw-unicode-escape, I've cut-and-pasted a copy of PyUnicode_EncodeRawUnicodeEscape() into this file that also encodes '\\' and '\n'. It might be nice to migrate this into the Unicode implementation and give this encoding a new name ('half-raw-unicode-escape'? 'pickle-unicode-escape'?); that would help pickle.py too. But right now I can't be bothered with the necessary infrastructural changes. | ||||
* | Test some Unicode pickling endcases. | Guido van Rossum | 2000-12-19 | 1 | -0/+12 |
| | |||||
* | Minimal fix for the complaints about pickling Unicode objects. (SF | Guido van Rossum | 2000-12-19 | 1 | -0/+2 |
| | | | | | | | | | | | | | | bugs #126161 and 123634). The solution doesn't use the unicode-escape encoding; that has other problems (it seems not 100% reversible). Rather, it transforms the input Unicode object slightly before encoding it using raw-unicode-escape, so that the decoding will reconstruct the original string: backslash and newline characters are translated into their \uXXXX counterparts. This is backwards incompatible for strings containing backslashes, but for some of those strings, the pickling was already broken. | ||||
* | Adapted from a patch by Barry Scott, SF patch #102875 and SF bug | Guido van Rossum | 2000-12-18 | 1 | -3/+4 |
| | | | | #125981: closing sockets was not thread-safe. | ||||
* | gdbm.open() no longer accepts garbage in the flags string. Fix the tests. | Neil Schemenauer | 2000-12-18 | 1 | -2/+7 |
| | |||||
* | Do not talk about "real" numbers; talk about "floats" or "floating point | Fred Drake | 2000-12-18 | 1 | -4/+4 |
| | | | | | | | numbers" instead; we have not described "reals" anywhere else in the documentation, and this is not the place to change the story! Reported by Keith Briggs <keith.briggs@bt.com>. |