summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Message.getheaders(): If there are no matching headers, return anFred Drake1999-06-141-2/+3
| | | | empty list instead of None. (Guido's request.)
* Add entry for the fpformat module.Fred Drake1999-06-112-0/+2
|
* Documentation for the fpformat module by Moshe ZadkaFred Drake1999-06-111-0/+51
| | | | <mzadka@geocities.com>.
* Added 'ce' to the list of "registered" values for os.name.Fred Drake1999-06-111-3/+3
| | | | Make references to the posix module hyperlinks.
* After more discussion with Jim, change the behavior so that only aGuido van Rossum1999-06-111-9/+1
| | | | | *missing* content-type at the outer level of a POST defaults to urlencoded. In all other circumstances, the default is read_singe().
* Two extra startswith testsBarry Warsaw1999-06-111-0/+3
|
* Harness can now test object methods directly, if they aren't availableBarry Warsaw1999-06-111-2/+14
| | | | | | in the string module. Add a bunch of new tests for extended startswith/endswith arguments.
* Tim Peters smart.patch:Guido van Rossum1999-06-113-59/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EditorWindow.py: + Added get_tabwidth & set_tabwidth "virtual text" methods, that get/set the widget's view of what a tab means. + Moved TK_TABWIDTH_DEFAULT here from AutoIndent. + Renamed Mark's get_selection_index to get_selection_indices (sorry, Mark, but the name was plain wrong <wink>). FormatParagraph.py: renamed use of get_selection_index. AutoIndent.py: + Moved TK_TABWIDTH_DEFAULT to EditorWindow. + Rewrote set_indentation_params to use new VTW get/set_tabwidth methods. + Changed smart_backspace_event to delete whitespace back to closest preceding virtual tab stop or real character (note that this may require inserting characters if backspacing over a tab!). + Nuked almost references to the selection tag, in favor of using get_selection_indices. The sole exception is in set_region, for which no "set_selection" abstraction has yet been agreed upon. + Had too much fun using the spiffy new features of the format-paragraph cmd.
* Last night's scribbles:Fred Drake1999-06-111-2/+34
| | | | | | | - Revise abstract based on Guido's comments from way back. - Point out that LaTeX is a structured system & we're using it that way. - Add a small section on marking up code examples.
* Mark Hammond: patch for Windows/CE.Guido van Rossum1999-06-111-0/+15
|
* Output for the regression test of the new string methods.Barry Warsaw1999-06-101-0/+3
|
* Regression test for the new string methods.Barry Warsaw1999-06-101-0/+110
|
* Some clarifications on operations for mapping types, based on commentsFred Drake1999-06-101-20/+36
| | | | from Gerry Weiner <gerry@ucar.edu>.
* Adjust indexing for __import__(); based on comments by Stefan FrankeFred Drake1999-06-101-12/+11
| | | | <sfranke@cdc-group.com>.
* Improve index entry for "import"; responding to comments by StefanFred Drake1999-06-101-1/+1
| | | | Franke <sfranke@cdc-group.com>.
* Work around latex2html problem; reported by Gerrit HollFred Drake1999-06-101-4/+5
| | | | <gerrit.holl@pobox.com>.
* Relocating file to Lib/lib-old.Fred Drake1999-06-101-25/+0
|
* Declare the "util" module obsolete.Fred Drake1999-06-101-3/+3
|
* Added a few more bugs to the doc string; reformatted existing bugs.Guido van Rossum1999-06-101-8/+23
|
* Code by Mark Hammond to format paragraphs embedded in comments.Guido van Rossum1999-06-101-10/+55
| | | | | Read the comments (which I reformatted using the new feature :-) for some limitations.
* Added abstraction get_selection_index() (Mark Hammond). AlsoGuido van Rossum1999-06-101-14/+23
| | | | | reformatted some comment blocks to show off a cool feature I'm about to check in next.
* Fixed typo reported by Bennett BensonFred Drake1999-06-101-1/+1
| | | | <BennettBenson@mn.mediaone.net>.
* Adapt to the new pyclbr's support of listing top-level functions. IfGuido van Rossum1999-06-101-33/+34
| | | | | | | | this functionality is not present (e.g. when used with a vintage Python 1.5.2 installation) top-level functions are not listed. (Hmm... Any distribution of IDLE 0.5 should probably include a copy of the new pyclbr.py!)
* At David Ascher's request, clarify that os.system() always returns 0Fred Drake1999-06-101-1/+2
| | | | on Win95 & Win98.
* Fix typo reported by Robert Kern <kernr@ncifcrf.gov>.Fred Drake1999-06-101-5/+5
|
* Fix off-by-one error in Tim's recent change to comment_region(): theGuido van Rossum1999-06-101-1/+1
| | | | | | list of lines returned by get_region() contains an empty line at the end representing the start of the next line, and this shouldn't be commented out!
* Co-production with Tim Peters, implementing a suggestion by MarkGuido van Rossum1999-06-101-6/+31
| | | | | | Hammond: record top-level functions (as Function instances, a simple subclass of Class). You must use the new interface readmodule_ex() to get these, though.
* Mark Hammond writes: Here is another change that allows it to work forGuido van Rossum1999-06-101-14/+37
| | | | | class creation - tries to locate an __init__ function. Also updated the test code to reflect your new "***" change.
* Mark Hammond writes: Tim's suggestion of copying the font for theGuido van Rossum1999-06-101-1/+2
| | | | | CallTipWindow from the text control makes sense, and actually makes the control look better IMO.
* Patch by Jim Fulton to document the new parse_qls().Guido van Rossum1999-06-101-2/+36
|
* Append "..." if the appropriate flag (for varargs) in co_flags is set.Guido van Rossum1999-06-091-1/+3
| | | | Ditto "***" for kwargs.
* Fix bug discovered by Klaus-Juergen Wolf -- it runs into infinite recursion!Guido van Rossum1999-06-091-1/+1
|
* Fix by Sjoerd for a package related bug: If you have a non-empyGuido van Rossum1999-06-091-6/+6
| | | | | | | | | | | | | | __init__.py it isn't read. (Sjoerd just came up with this, so it's not heavily tested.) Other (yet unsolved) package problems noted by Sjoerd: - If you have a package and a module inside that or another package with the same name, module caching doesn't work properly since the key is the base name of the module/package. - The only entry that is returned when you readmodule a package is a __path__ whose value is a list which confuses certain class browsers that I wrote. (Hm, this could be construed as a feature.)
* Set the max recursion limit to 5000 -- rather conservative (this usesGuido van Rossum1999-06-091-0/+7
| | | | 0.5 MB of the 1 MB available by default for stack on Win32 platforms).
* Jim Fulton writes:Guido van Rossum1999-06-091-10/+56
| | | | | | | | | | | | | | | | | | I've updated cPickle.c to use class exceptions: Changed pickle error types to classes: PickleError PicklingError UnpickleableError UnpicklingError And change the handling of unpickleable objects so that an UnpickleableError is raised with the unpickleable object as the argument. UnpickleableError has a reasonable string representation and provides access to the problem object, which is useful during debugging. [I'm still waiting for patches to do the same to pickle.py.]
* When deallocating a list, DECREF the items from the end back to the start.Guido van Rossum1999-06-091-1/+6
|
* Set PATCHLEVEL and PY_VERSION (string version only) to 1.5.2+ toGuido van Rossum1999-06-091-2/+2
| | | | | | indicate to those that are using the CVS access that they are using a newer-than-1.2.5 version, without committing to a particular version number or patch level.
* Updated lagging version#. Also added some comments about how quote()Guido van Rossum1999-06-091-1/+3
| | | | and quote_plus() can be optimized tenfold.
* Patch by Per Cederqvist:Guido van Rossum1999-06-091-3/+6
| | | | | | | I've found two places where smtplib.py sends an extra trailing space on command lines to the SMTP server. I don't know if this ever causes any problems, but I'd prefer to be on the safe side. The enclosed patch removes the extra space.
* Add doc for timegm().Guido van Rossum1999-06-091-0/+8
|
* Add unrelated but handy function: timegm(), to calculate UnixGuido van Rossum1999-06-091-0/+17
| | | | timestamp from GMT tuple.
* Don't just die if gethostbyaddr() fails -- as it can when DNS isGuido van Rossum1999-06-091-6/+10
| | | | unreachable -- but fall back to using whatever hostname we have.
* Oops, Sjoerd was in a hurry. This patch from him fixes some lengthGuido van Rossum1999-06-091-0/+1
| | | | math in the Chunk class.
* Patch/new code by Sjoerd Mullender:Guido van Rossum1999-06-092-74/+155
| | | | Separate the Chunk class out of the aifc module into a new "chunk" module.
* Fix (sanctioned by Sjoerd) for a problem reported by Andreas Faerber:Guido van Rossum1999-06-081-1/+1
| | | | | | all processing instruction target names containing 'xml' were rejected, instead (as the standard rejects) only the name 'xml' itself (or case variants thereof).
* On David Ascher's recommendation: reversed order of 'utime()' andGreg Ward1999-06-081-2/+5
| | | | 'chmod()' in 'copy_file()'.
* Sam's latest versionsGuido van Rossum1999-06-082-87/+109
|
* Skip Montanaro:Guido van Rossum1999-06-081-2/+13
| | | | | | | | | I guess in 1.5.2 a new module, whichdb, was added that attempts to divine the nature of a database file. This module doesn't know anything about Berkeley DB v2 files. In v2, Sleepycat added a 12-byte null pad in front of the old magic numbers (at least for hash and btree files). I've been using v2 for awhile and upgrading to 1.5.2 broke all my anydbm.open calls. I believe the following patch corrects the problem.
* Hmm... Tim didn't turn "replace all" into a single undo block.Guido van Rossum1999-06-081-0/+2
| | | | I think I like it better if it os, so here.
* Tim Peters: made replacement atomic for undo/redo.Guido van Rossum1999-06-081-0/+2
|