summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Minor wording change in section title.Fred Drake1999-06-291-1/+1
|
* byteswap() method: Tell *what* exception gets raised when the typeFred Drake1999-06-291-2/+3
| | | | cannot be byteswapped.
* Remove unnecessary comma.Fred Drake1999-06-291-1/+1
|
* Define NotANumber as a subclass of ValueError when using class-basedFred Drake1999-06-291-2/+6
| | | | | | | exceptions. When raising NotANumber, pass the string that failed as the exception value.
* Comment out XXX comment; this needn't appear in the formattedFred Drake1999-06-291-1/+1
| | | | versions. XXX comments only need to be grep-able.
* Add note about not being able to use this module with modules notFred Drake1999-06-291-1/+3
| | | | implemented in Python.
* Moshe: Remove extraneous "and".Fred Drake1999-06-291-1/+1
|
* Added entries for mutex and nis modules.Fred Drake1999-06-272-0/+4
|
* NIS documentation from Moshe.Fred Drake1999-06-271-0/+48
|
* Mutex documentation from Moshe.Fred Drake1999-06-271-0/+57
|
* Separate documentation of SUNAUDIODEV from sunaudiodev; this mirrorsFred Drake1999-06-271-11/+24
| | | | similar constructs elsewhere (al/AL, gl/GL/DEVICE).
* Fix some typos.Fred Drake1999-06-251-5/+5
| | | | Add an index entry.
* Add entries for the sched module.Fred Drake1999-06-252-1/+3
|
* While we're at it, convert to docstrings and set the indentation levelFred Drake1999-06-251-91/+96
| | | | to 4.
* Moshe's section on the sched module, with edits.Fred Drake1999-06-251-0/+95
|
* Update to Sjoerd's documentation of the chunk module, with someFred Drake1999-06-251-32/+64
| | | | | additions from Moshe's version. Used my table for describing the chunk format, and added some markup and index entries.
* Close debugger when closing. This may break a cycle.Guido van Rossum1999-06-251-0/+1
|
* Break cycle on close.Guido van Rossum1999-06-251-0/+2
|
* Destroy the tree when closing.Guido van Rossum1999-06-251-1/+2
|
* Add destroy() method to recursively destroy a tree.Guido van Rossum1999-06-251-0/+6
|
* Extend _close() to break cycles.Guido van Rossum1999-06-251-13/+18
| | | | Break some other cycles too (and destroy the root when done).
* Add _close() method that does the actual cleanup (close() asks theGuido van Rossum1999-06-251-10/+26
| | | | | | | | user what they want first if there's unsaved stuff, and may cancel). It closes more than before. Add unload_extensions() method to unload all extensions; called from _close(). It calls an extension's close() method if it has one.
* Add close() method that breaks cycles.Guido van Rossum1999-06-251-0/+8
|
* Add unregister() method.Guido van Rossum1999-06-251-4/+12
| | | | | Unregister everything at closing. Don't call close() in __del__, rely on explicit call to close().
* Add close() method that breaks a cycle.Guido van Rossum1999-06-253-4/+23
|
* Break some cycles when the widget is destroyed.Guido van Rossum1999-06-251-0/+8
|
* Patch from Sjoerd Mullender:Fred Drake1999-06-251-12/+12
| | | | | Make argument names equal to what is used in the documentation of the file object, since chunks are supposedly file-like.
* Mikael Lyngvig writes:Guido van Rossum1999-06-251-4/+4
| | | | | I just noticed that the changes below also apply to cmpcache.py, which is virtually identical to cmp.py.
* Patch by Mikael Lyngvig:Guido van Rossum1999-06-251-4/+4
| | | | | | | | | | 1. Fix incorrect file open mode on Win32 platforms (use "rb" instead of "r"). 2. Add shallow parameter to cmp.cmp(). If false, deep file comparisons are made. The module should be 100 percent backwards compatible.
* Clarify the example by explicitly importing the fcntl module -- thisGuido van Rossum1999-06-241-2/+2
| | | | | | | | | avoid being fooled into thinking that fcntl and FCNTL are the same thing -- they aren't! (fcntl is the extension, FCNTL.py is h2py output that defines all the constants). (XXX The example is still weird -- I think there's a more portable way to do locking now. That's for someone else to fix...)
* Sjoerd Mullender writes:Guido van Rossum1999-06-241-2/+8
| | | | | | | | | | | Urllib makes the URL of the opened file available through the geturl method of the returned object. For local files, this consists of file: plus the name of the file. This results in an invalid URL if the file name was relative. This patch fixes this so that the returned URL is just a relative URL in that case. When the file name is absolute, the URL returned is of the form file:///absolute/path. [I guess that a URL of the form "file:foo.html" is illegal... GvR]
* Small patch by Tim Peters - it was using self.maxlist when it shouldGuido van Rossum1999-06-231-1/+1
| | | | be using self.maxdict.
* Simplified version of a patch by Chih-Hao Huang, who wrote:Guido van Rossum1999-06-231-2/+3
| | | | | | | | | | | | | | | | | | | """ When there are additional Setup files, specified by -e option of freeze, checkextenstions.py assumes that *.o, *.a, -Lpath, and -Rpath are all relative to where the Setup file is. select() inserts the path to the Setup file to make them absolute. However, the assumption is not true. There are cases that absolute paths are specified for them. The inserted prefix, by select(), results in error. The following fix check for absolute paths. The assumption is: an absolute path begins with either '/' or '$'. In the latter case, it is from the environmental variable. (Variables defined locally in the Setup file have already been handled by expandvars()) """ My version of the patch has been verified by Charles Waldman (a colleague of Chih-Hao).
* Removed tty module entry.Fred Drake1999-06-231-3/+0
|
* Add entries for tty module.Fred Drake1999-06-232-0/+2
|
* Updates from Moshe, again edited by me. Describe the parameters toFred Drake1999-06-231-27/+50
| | | | border() using a table instead of text for ease of comprehension.
* Added "See Also" section for termios module.Fred Drake1999-06-231-0/+9
|
* Various updates.Fred Drake1999-06-231-24/+20
|
* tty module documentation from Moshe, with some editing and an addedFred Drake1999-06-231-0/+36
| | | | "See also" section.
* Added more sections...Fred Drake1999-06-232-0/+4
|
* Two more from Moshe!Fred Drake1999-06-232-0/+219
|
* Drag manager constants.Jack Jansen1999-06-231-0/+59
|
* Make the mode parameter to open() default in the same way as for wave.open().Fred Drake1999-06-222-8/+18
|
* Added entry for the chunk module.Fred Drake1999-06-222-0/+2
|
* New section from Moshe Zadka, modified by FLD for markup, someFred Drake1999-06-221-0/+71
| | | | additional content.
* mod from Joe Strout: when quitting, catch errors in window.close() methods ↵Just van Rossum1999-06-221-1/+4
| | | | and ignore them. Otherwise one can never quit.
* Patch by Tim Peters:Guido van Rossum1999-06-224-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce a new builtin exception, UnboundLocalError, raised when ceval.c tries to retrieve or delete a local name that isn't bound to a value. Currently raises NameError, which makes this behavior a FAQ since the same error is raised for "missing" global names too: when the user has a global of the same name as the unbound local, NameError makes no sense to them. Even in the absence of shadowing, knowing whether a bogus name is local or global is a real aid to quick understanding. Example: D:\src\PCbuild>type local.py x = 42 def f(): print x x = 13 return x f() D:\src\PCbuild>python local.py Traceback (innermost last): File "local.py", line 8, in ? f() File "local.py", line 4, in f print x UnboundLocalError: x D:\src\PCbuild> Note that UnboundLocalError is a subclass of NameError, for compatibility with existing class-exception code that may be trying to catch this as a NameError. Unfortunately, I see no way to make this wholly compatible with -X (see comments in bltinmodule.c): under -X, [UnboundLocalError is an alias for NameError --GvR]. [The ceval.c patch differs slightly from the second version that Tim submitted; I decided not to raise UnboundLocalError for DELETE_NAME, only for DELETE_LOCAL. DELETE_NAME is only generated at the module level, and since at that level a NameError is raised for referencing an undefined name, it should also be raised for deleting one.]
* Patch submitted by Toby Dickenson and approved by Mark Hammond.Guido van Rossum1999-06-211-2/+2
| | | | | | | | | | | | | | | | Toby writes: winmakemakefile.py tries to allow for spaces in the python install path, by adding quotes around the appropriate filenames. It doesn't quite get this correct; sometimes the quotes end up in the middle of the path. Microsoft's NMAKE version 6.0 is happy with this (!!!!) unless there is also a space in the name. I guess most users of freeze on windows do not use the same path as the binary distribution. I've tested the following changes on systems with and without a space in the path.
* Added some "See also" references to htmllib docs.Fred Drake1999-06-211-0/+32
| | | | Documented htmlentitydefs.
* Added entry for curses module.Fred Drake1999-06-211-0/+1
|