Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch from /F: | Andrew M. Kuchling | 2000-06-18 | 2 | -0/+106 |
| | | | | | | | | | | this patch adds a fast _flatten function to the _tkinter module, and imports it from Tkinter.py (if available). this speeds up canvas operations like create_line and create_polygon. for example, a create_line with 5000 vertices runs about 50 times faster with this patch in place. | ||||
* | Patch from /F: | Andrew M. Kuchling | 2000-06-18 | 3 | -22/+56 |
| | | | | | this patch introduces PySequence_Fast and PySequence_Fast_GET_ITEM, and modifies the list.extend method to accept any kind of sequence. | ||||
* | 'get_platform()' now just returns 'sys.platform' on all platforms. | Greg Ward | 2000-06-18 | 1 | -12/+4 |
| | |||||
* | Regenerated autoconf files. There's an extra change to config.h.in beyond | Andrew M. Kuchling | 2000-06-18 | 2 | -127/+134 |
| | | | | | the mremap() change I made; did someone modify configure.in previously without recreating these files? | ||||
* | Check for existence of mremap() | Andrew M. Kuchling | 2000-06-18 | 1 | -1/+2 |
| | |||||
* | Support resizing the mapping depending on whether HAVE_MREMAP is defined | Andrew M. Kuchling | 2000-06-18 | 1 | -4/+6 |
| | | | | Remove two unused variables | ||||
* | Markup consistency nits. | Fred Drake | 2000-06-18 | 1 | -89/+43 |
| | |||||
* | Additional tests for seek() method, written by Trent Mick | Andrew M. Kuchling | 2000-06-18 | 2 | -1/+36 |
| | |||||
* | Patch from Trent Mick: | Andrew M. Kuchling | 2000-06-18 | 1 | -34/+105 |
| | | | | | | | The seek() method is broken for any 'whence' value (seek from start, current, orend) other than the default. I have a patch that fixes that as well as gets mmap'd files working on Linux64 and Win64. | ||||
* | Removed MS_INVALIDATE flags | Andrew M. Kuchling | 2000-06-18 | 1 | -2/+2 |
| | |||||
* | Make changes and clarifications suggested by Mark Hammond | Andrew M. Kuchling | 2000-06-18 | 1 | -14/+23 |
| | |||||
* | Pulled the MSVC++-specific hackery out to a new method, 'prelink_hook()', | Greg Ward | 2000-06-17 | 1 | -36/+63 |
| | | | | | | and added (empty) 'precompile_hook()' for symmetry. One can envision a much more elaborate hook mechanism, but this looks like it'll do for now. | ||||
* | Fix the size() method to return the size of the file on Unix, not the | Andrew M. Kuchling | 2000-06-17 | 1 | -3/+12 |
| | | | | | size of the mapped area. This seems to be what the Windows version does. This change requires keeping around the fd of the mapped file. | ||||
* | Documentation for the mmap module: proofreaders welcomed | Andrew M. Kuchling | 2000-06-17 | 1 | -0/+120 |
| | |||||
* | Vladimir MARANGOZOV <Vladimir.Marangozov@inrialpes.fr>: | Marc-André Lemburg | 2000-06-17 | 1 | -3/+4 |
| | | | | | This patch fixes an optimisation mystery in _PyUnicodeNew causing segfaults on AIX when the interpreter is compiled with -O. | ||||
* | Renamed PATH_CREATED to _path_created, on the grounds that it's private and | Greg Ward | 2000-06-17 | 1 | -8/+8 |
| | | | | mutable, rather than public and constant. | ||||
* | Changed 'remove_tree()' to use the new 'grok_environment_error()' function | Greg Ward | 2000-06-17 | 1 | -7/+6 |
| | | | | instead of muddling through IOError and OSError exception objects itself. | ||||
* | Changed to use the new 'grok_environment_error()' function instead of | Greg Ward | 2000-06-17 | 1 | -10/+1 |
| | | | | muddling through IOError and OSError exception objects right here. | ||||
* | Added 'grok_environment_error()' function to deal with the various | Greg Ward | 2000-06-17 | 1 | -0/+20 |
| | | | | forms that IOError and OSError can take (taken from core.py). | ||||
* | Bastian Kleineidam: added 'remove_tree()' function. Needed so that | Greg Ward | 2000-06-17 | 1 | -10/+25 |
| | | | | | | | | | 'remove_tree()' can cooperate with 'mkpath()' in the maintenance of the PATH_CREATED cache: specifically, if a directory is created with 'mkpath()', later removed with 'remove_tree()', and 'mkpath()' is again requested to create it, then it would erroneously think the directory already existed, because it was in the PATH_CREATED cache. The patch (slightly tweaked by me) fixes that. | ||||
* | Fixed install directory for header files on Unix. | Greg Ward | 2000-06-17 | 1 | -1/+1 |
| | |||||
* | Updates from Marc-Andre Lemburg <mal@leburg.com> for the Unicode support. | Fred Drake | 2000-06-16 | 2 | -2/+273 |
| | |||||
* | Added reference count information for PySequence_List(). | Fred Drake | 2000-06-16 | 1 | -0/+3 |
| | |||||
* | Documented PySequence_List() and PySequence_Tuple(). | Fred Drake | 2000-06-16 | 1 | -20/+54 |
| | | | | | | | Added a bit more documentation in the chapter on building extension types, including Py_FindMethod() documentation. Several minor consistency nits were fixed. | ||||
* | Michael Hudson <mwh21@cam.ac.uk>: | Marc-André Lemburg | 2000-06-16 | 1 | -1/+1 |
| | | | | | The error message refers to "append", yet the operation in question is "concat". | ||||
* | do_cmd_textasciitilde(): New function. | Fred Drake | 2000-06-15 | 1 | -0/+5 |
| | |||||
* | Fix markup error that hid a tilde character; reported long ago by | Fred Drake | 2000-06-15 | 1 | -1/+12 |
| | | | | Carl Feynman <carlf@abinitio.com>. | ||||
* | Michael Hudson <mwh21@cam.ac.uk>: | Fred Drake | 2000-06-15 | 1 | -4/+4 |
| | | | | | | This patch corrects a little glitch and two outright errors. (Including one reported earlier by Thomas Wouters.) | ||||
* | Thomas Wouters <thomas@xs4all.net>: | Fred Drake | 2000-06-15 | 3 | -0/+46 |
| | | | | | | | | | | | | | | | The following patch adds "sq_contains" support to rangeobject, and enables the already-written support for sq_contains in listobject and tupleobject. The rangeobject "contains" code should be a bit more efficient than the current default "in" implementation ;-) It might not get used much, but it's not that much to add. listobject.c and tupleobject.c already had code for sq_contains, and the proper struct member was set, but the PyType structure was not extended to include tp_flags, so the object-specific code was not getting called (Go ahead, test it ;-). I also did this for the immutable_list_type in listobject.c, eventhough it is probably never used. Symmetry and all that. | ||||
* | Marc-Andre Lemburg <mal@lemburg.com>: | Marc-André Lemburg | 2000-06-14 | 2 | -0/+48 |
| | | | | Added code so that .isXXX() testing returns 0 for emtpy strings. | ||||
* | Marc-Andre Lemburg <mal@lemburg.com>: | Marc-André Lemburg | 2000-06-14 | 1 | -6/+0 |
| | | | | | Removed a test which can fail when the default locale setting uses a Latin-1 encoding. The test case is not applicable anymore. | ||||
* | Oops, default type and creator were reversed. | Jack Jansen | 2000-06-14 | 1 | -1/+1 |
| | |||||
* | Hook in the documentation for the unicodedata module. | Fred Drake | 2000-06-13 | 2 | -0/+2 |
| | |||||
* | Marc-Andre Lemburg <mal@lemburg.com>: | Fred Drake | 2000-06-13 | 1 | -0/+72 |
| | | | | | Documentation for the unicodedata module (massaged by Fred for minor consistency issues). | ||||
* | James C. Ahlstron <jim@interet.com>: | Fred Drake | 2000-06-13 | 1 | -1/+1 |
| | | | | Thanks to Hubert Hoegl <hubert.hoegl@dlr.de> for finding this bug. | ||||
* | Also add a one-line description of the "optional" directive. | Jack Jansen | 2000-06-13 | 1 | -0/+1 |
| | |||||
* | Marc-Andre Lemburg <mal@lemburg.com>: | Marc-André Lemburg | 2000-06-13 | 1 | -3/+12 |
| | | | | | | | | Fixed some tests to not cause the script to fail, but rather output a warning (which then is caught by regrtest.py as wrong output). This is needed to make test_unicode.py run through on JPython. Thanks to Finn Bock. | ||||
* | Marc-Andre Lemburg <mal@lemburg.com>: | Marc-André Lemburg | 2000-06-13 | 1 | -2/+2 |
| | | | | | Removed import of string module -- use string methods directly. Thanks to Finn Bock. | ||||
* | Documentation for the pyexpat module. | Andrew M. Kuchling | 2000-06-11 | 1 | -0/+262 |
| | |||||
* | Applied simplifications suggested by Greg Stein. | Andrew M. Kuchling | 2000-06-10 | 1 | -15/+4 |
| | |||||
* | Renamed the C extension for ncurses support from 'curses' to '_curses'. | Andrew M. Kuchling | 2000-06-10 | 2 | -8/+8 |
| | | | | (The SourceForge admins have been asked to rename the ,v file.) | ||||
* | Install the contents of the Lib/curses directory | Andrew M. Kuchling | 2000-06-10 | 1 | -1/+1 |
| | |||||
* | Add contents of curses package | Andrew M. Kuchling | 2000-06-10 | 2 | -0/+68 |
| | |||||
* | Mention setting the default encoding | Andrew M. Kuchling | 2000-06-10 | 1 | -15/+45 |
| | | | | Add IDLE section from MZ | ||||
* | Marc-Andre Lemburg <mal@lemburg.com>: | Marc-André Lemburg | 2000-06-10 | 1 | -2/+1 |
| | | | | | Fixed a typo and removed a debug printf(). Thanks to Finn Bock for finding these. | ||||
* | Added test for linnuxaudiodev module; directly adapted from sunaudiodev | Fred Drake | 2000-06-10 | 2 | -0/+21 |
| | | | | | test. Someone with more Linux audio knowledge should at least take a brief look at it. | ||||
* | List more deleted modules. | Andrew M. Kuchling | 2000-06-10 | 1 | -7/+29 |
| | | | | Add request for feedback. | ||||
* | Filled in the sections on new and deleted modules. | Andrew M. Kuchling | 2000-06-10 | 1 | -49/+111 |
| | | | | Bumped version number. | ||||
* | Comment out an apparent debug print | Andrew M. Kuchling | 2000-06-10 | 1 | -1/+1 |
| | |||||
* | the PyDict_SetItem does not borrow a reference, so we need to decref | Jeremy Hylton | 2000-06-09 | 1 | -0/+1 |
| | | | | reported by Mark Hammon |