summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* When looking for things that might be modules, include *module.c fromFred Drake1999-06-171-1/+18
| | | | | the Modules/ directory. Most of the remaining undocumented modules seem to be living there.
* Patch suggested (and partially provided) by Lars Damerow: instead ofGuido van Rossum1999-06-171-5/+8
| | | | | | always lowercasing the option name, call a method optionxform() which can be overridden. Also make the regexps SECTRE and OPTRE non-private variables so they can also be overridden.
* Correction: the parameters of new.instance() are type-checked.Fred Drake1999-06-171-11/+11
| | | | | Edited several of the descriptions for English usage and more consistent style.
* Updated version from Moshe, with a re-written warning about theFred Drake1999-06-171-28/+11
| | | | side-effect of cmpcache.cmp() using statcache.stat() internally.
* Minor markup nits.Fred Drake1999-06-171-3/+4
|
* Small English usage nits.Fred Drake1999-06-171-10/+13
|
* Small markup and English usage nits.Fred Drake1999-06-171-29/+30
|
* In collect_children(), put a try-except around os.waitpid() because itGuido van Rossum1999-06-171-1/+4
| | | | | may raise an exception (when there are no children). Reported by Andy Dustman.
* Add reminder that wave.open() documentation should be updated for theFred Drake1999-06-171-0/+3
| | | | next Python release.
* open(): Make the mode parameter optional; if omitted or None, use theFred Drake1999-06-171-1/+6
| | | | | | | | mode attribute of the file object (if it has one), otherwise use 'rb'. The documentation should still show this as required until there's a new release.
* Add entries due to additional sections from Moshe.Fred Drake1999-06-171-0/+6
|
* Add/remove entries due to additional sections from Moshe.Fred Drake1999-06-172-19/+6
|
* New module documentation sections from Moshe Zadka <moshez@math.huji.ac.il>!Fred Drake1999-06-176-0/+390
|
* Patch by Jim Fulton (code style tweaked a bit) to supportGuido van Rossum1999-06-161-17/+94
| | | | | | | | | | | | | | | | ExtensionClasses in isinstance() and issubclass(). - abstract instance and class protocols are used *only* in those cases that would generate errors before the patch. That is, there's no penalty for the normal case. - instance protocol: an object smells like an instance if it has a __class__ attribute that smells like a class. - class protocol: an object smells like a class if it has a __bases__ attribute that is a tuple with elements that smell like classes (although not all elements may actually get sniffed ;).
* Suppress warning print statements about modules not found, they areGuido van Rossum1999-06-161-2/+3
| | | | confusing to end users of IDEs.
* Sjoerd Mullender:Guido van Rossum1999-06-161-8/+24
| | | | | | | Added support for unseekable files. (I use unqualified excepts since we don't know why the seek/tell might fail. In my case it was because of an AttributeError.)
* Laurence Tratt notes that the accept() call in get_request() can fail,Guido van Rossum1999-06-151-1/+4
| | | | | and suggests putting a try/except around the get_request() call in handle_request(). (All in class TCPServer.)
* Added note to __not__() description that this operation is definedFred Drake1999-06-151-1/+3
| | | | | | only by the interpreter core and is not overridable by objects. Based on comment from David Ascher on the list.
* Add the test case provided by Barry Scott for his patch.Guido van Rossum1999-06-151-0/+5
|
* Barry Scott writes:Guido van Rossum1999-06-151-1/+1
| | | | | | | | | | | | | | | | | | | Problem: rfc822.py in 1.5.2 final loses the quotes around quoted local-part names. The fix is to preserve the quotes around a local-part name in an address. Test: import rfc822 a = rfc822.AddrlistClass('(Comment stuff) "Quoted name"@somewhere.com') a.getaddrlist() The correct result is: [('Comment stuff', '"Quoted name"@somewhere.com')]
* Several new index entries to make find this easier.Fred Drake1999-06-151-9/+11
| | | | Noted that name=value is allowed in addition to name: value.
* Added a couple of endswith test cases for bugs reported by Timbot.Barry Warsaw1999-06-151-0/+8
| | | | | Also added a short circuit for the regression test suite since CVS insisted on putting this file in the main branch. :(
* New version from Jim:Guido van Rossum1999-06-151-50/+30
| | | | | | | | - Don't call Py_FatalError() when initialization fails. - Fix bogus use of return value from PyRun_String(). - Fix misc. compiler errors on some platforms.
* New version from Jim: don't call Py_FatalError() when initialization fails.Guido van Rossum1999-06-151-5/+2
|
* Added entries for new sections from Moshe.Fred Drake1999-06-141-0/+3
|
* Misc. changes related to the new sections.Fred Drake1999-06-143-12/+14
|
* New sections from Moshe Zadka <moshez@math.huji.ac.il>.Fred Drake1999-06-143-0/+173
| | | | These document CGIHTTPServer, SimpleHTTPServer, and linecache.
* Added more tests of joinBarry Warsaw1999-06-141-0/+9
|
* 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>.