summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Added entries for four of Moshe's documentation sections.Fred Drake1999-06-211-0/+4
|
* Preliminary documentation for the curses module by Moshe Zadka, withFred Drake1999-06-211-0/+394
| | | | | | | lots of markup fixes and some English nits fixed. Still needs real review. Some of the function signatures used in this module are really bad! (Two leading optional parameters? Ugh!)
* Add warning FreeBSD users of a problem with curses and termcap,Guido van Rossum1999-06-211-0/+9
| | | | submitted by Klaus-Juergen Wolf.
* Fix a markup error.Fred Drake1999-06-211-1/+1
|
* Three more modules documented by Moshe!Fred Drake1999-06-214-0/+197
|
* Initial minimal test program: print information on anything dropped onto PythonJack Jansen1999-06-211-0/+43
| | | | window.
* Print something on stderr in case of exceptions in callback routines.Jack Jansen1999-06-212-6/+18
|
* Drag manager interface (completely untested, so far)Jack Jansen1999-06-215-0/+1447
|
* Greg McFarlane submitted two missing Text methods: mark_next() andGuido van Rossum1999-06-211-0/+4
| | | | mark_previous().
* Added a few minor comments, mostly to discourage documentation ofFred Drake1999-06-181-11/+13
| | | | really old modules that may become obsolete.
* Added paragraph about potential re-initialization of extensionFred Drake1999-06-181-0/+7
| | | | | modules; responding to suggestion by Robin Boerdijk <Robin.Boerdijk@nl.origin-it.com>.
* Further clarfication of the system-dependence of the system() returnFred Drake1999-06-181-1/+3
| | | | value, based on comments from Tim Peters.
* Relocating file to Lib/lib-old.Fred Drake1999-06-181-63/+0
|
* Re-categorize the dump module as obsolete.Fred Drake1999-06-181-3/+3
|
* fpformat has been documented for at least a week now!Fred Drake1999-06-181-5/+0
|
* CRITICAL PATCH!Guido van Rossum1999-06-181-5/+23
| | | | | | | | | | | | | | We occasionally received reports from people getting "invalid tstate" crashes (this is a fatal error in PyThreadState_Delete()). Finally several people were able to reproduce it reliably and Tim Peters discovered that there is a race condition when multiple threads are calling this function without holding the global interpreter lock (the function may be called without holding that). Solved the race condition by adding a lock around the mutating uses of interp->tstate_head. Tim and Jonathan Giddy have run tests that make it likely that this fixes the crashes -- although Tim hasn't heard from the person who reported the original problem.
* # Darn! Local variable l declared but not used in abstract_issubclass().Guido van Rossum1999-06-171-1/+1
|
* Small markup & usage adjustments.Fred Drake1999-06-171-3/+2
|
* 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
|