Commit Graph

7344 Commits

Author SHA1 Message Date
Jack Jansen c73f83c8d9 Fixed for new "import dir.module" semantics. Needs accompanying fix in
import.c (yes Guido, I'll send it tomorrow)
1997-10-07 21:48:31 +00:00
Jack Jansen 55e3927f58 New exception interface 1997-10-07 21:47:25 +00:00
Guido van Rossum d2c0ec78d2 Use `...` around binary strings. 1997-10-07 21:22:48 +00:00
Fred Drake 0225a38907 initparser(): Use PyErr_NewException() to create the exception. 1997-10-07 19:32:00 +00:00
Guido van Rossum b68b77f62d A few last-minute additions and some rearrangements and corrections.
What's "xlib"?  I took the line that mentioned it out.
1997-10-07 19:12:50 +00:00
Guido van Rossum 0e8457c4ec Fix EventHook (the trick to make widgets appear when using GNU
readline) to create and use a new thread state object -- otherwise it
would dump core!
1997-10-07 18:51:41 +00:00
Fred Drake 53ad776cbf Remove this pathetic little module! 1997-10-07 18:12:20 +00:00
Guido van Rossum 176bb41efa Add the Setup line for the pcre module. 1997-10-07 16:17:55 +00:00
Barry Warsaw 93374539ad Updated for Python 1.5, including my experiences with Purify on
Solaris 2.6 and with a threaded interpreter.  I also included my name
and email address.
1997-10-07 15:50:58 +00:00
Guido van Rossum f326134e5c Map .shtml to text/html. 1997-10-07 14:56:42 +00:00
Guido van Rossum 57d4c5510d Version 0.8.1. 1997-10-07 14:56:09 +00:00
Guido van Rossum b6fd5a50b0 Add "set -e" to lock command. 1997-10-07 14:55:39 +00:00
Guido van Rossum 8731e5c35f The target directory is now called dos-8x3, not dos_8x3. 1997-10-07 14:55:11 +00:00
Guido van Rossum 04d73c495e Check that all base classes are indeed class objects, rather than
expecting the caller to do so.
1997-10-07 14:54:11 +00:00
Guido van Rossum 79378ffd91 Add get_line_buffer() and insert_text(), suggested by Michael McLay. 1997-10-07 14:53:21 +00:00
Guido van Rossum 43b26ea0fa Whole bunch of additions... 1997-10-07 14:52:19 +00:00
Guido van Rossum c6e8fd6de7 Temporary fix to valid_identifier(). 1997-10-07 14:51:18 +00:00
Guido van Rossum 2f3941d743 Return the error code from most commands, rather than swallowing it.
Adapted the example (lying slightly about the string printed by
login()).
1997-10-07 14:49:56 +00:00
Guido van Rossum ae590db3ce Fix join to support multiple arguments.
(Why isn't this file identical to ntpath.py?)
1997-10-07 14:48:23 +00:00
Guido van Rossum abfdd70665 Add XXX note about wanting support for copy_reg.py... 1997-10-07 14:47:50 +00:00
Guido van Rossum 90981e0e70 Add Jeff Epler's interact() function. Note that it is broken.
(It should probably be withdrawn :-( )
1997-10-07 14:47:24 +00:00
Guido van Rossum d5484fb75c Add optional arguments lo and hi to insort() and bisect(), to support
using arrays containing leading or trailing garbage.
1997-10-07 14:45:49 +00:00
Guido van Rossum eec6ef1aa2 Use K&R function prototypes. 1997-10-07 14:44:48 +00:00
Guido van Rossum 6cd7ecb10b The sequence behavior is now on the Exception root class rather than
on the StandardError class.
1997-10-07 14:41:04 +00:00
Guido van Rossum fdacc58bfe Added pointer to api.tex and note about the out-of-date-ness of this
document.
1997-10-07 14:40:16 +00:00
Guido van Rossum 18b0db3b53 Set Oct 10 as the release date. 1997-10-07 14:39:43 +00:00
Guido van Rossum 9faf4c57b0 Change title to {Python/C API Reference Manual}; remove \bcode \ecode
which appears to be out of fashion in this file.
1997-10-07 14:38:54 +00:00
Guido van Rossum 46a0bb4c3c Typo discovered by Case Roole. 1997-10-07 14:37:58 +00:00
Guido van Rossum d6449a2b11 Be more careful with closing fd's 0,1,2. 1997-10-07 14:37:31 +00:00
Guido van Rossum ef31b240ea Add note about condition.py. 1997-10-07 14:37:00 +00:00
Guido van Rossum 92664b890b Completed the changes between 1.5a3 and now. Not yet sorted though. 1997-10-07 00:12:43 +00:00
Fred Drake 6f2a26d42b And "ni" has been documented... 1997-10-06 21:53:50 +00:00
Fred Drake 2df75832b3 Oops; don't know if this was my typo or not: There was a "p" on a line that
should have been blank.
1997-10-06 21:52:31 +00:00
Fred Drake c211254334 Updated the section "Parsing Python". 1997-10-06 21:41:30 +00:00
Fred Drake 14bf341f16 Added keyword module entry. 1997-10-06 21:40:48 +00:00
Fred Drake e061a51de1 Minor nits (Lib/token.py is a file, token is a module...).
Added docs for symbol and token modules at the end.
1997-10-06 21:40:20 +00:00
Fred Drake db12f343bc Documentation for the keyword module. 1997-10-06 21:39:16 +00:00
Fred Drake e3dbc7e422 Reduced number of temporary names used at module scope. Use underscores in
front of temporary names in the module namespace.
1997-10-06 21:28:04 +00:00
Fred Drake 00eb96a126 Move the pprint docs after the code docs, so that all parser/codegen type
things come together.
1997-10-06 21:26:03 +00:00
Guido van Rossum 9971f689cb Fix comment to add the all-important trailing colon to the example.
Print the author with the revision date and filename.
1997-10-06 21:09:32 +00:00
Fred Drake dc1a072e02 Reduced number of temporary names used at module scope. Use underscores in
front of temporary names in the module namespace.
1997-10-06 21:06:29 +00:00
Guido van Rossum 1f83ccee88 Done with adding changes from 1.4 till 1.5a3. 1997-10-06 21:04:35 +00:00
Fred Drake 923c4eeeef Don't do weird things with the "import parser"; just do it. Sheesh... 1997-10-06 20:56:43 +00:00
Guido van Rossum a11ccccd24 The usual (and some new modules). 1997-10-06 20:19:59 +00:00
Guido van Rossum d57548023f A variant on webchecker that creates a mirror copy of a remote site. 1997-10-06 18:54:25 +00:00
Guido van Rossum 2237b73baf Several changes:
- Change the code that looks for robots.txt to always look in /, even
if the "root" path is somewhere deep down below.

- Add link processing in <AREA> tags.

- Change safeclose() to avoid crashing when the file has no geturl()
method.
1997-10-06 18:54:01 +00:00
Barry Warsaw dc0f00ad03 Document the mapping object's new get() method. 1997-10-06 17:50:48 +00:00
Barry Warsaw fc3e61cd28 UserDict.get(): New method to mirror built-in dictionaries' get()
method.
1997-10-06 17:50:04 +00:00
Barry Warsaw c38c5da5d0 dict_get(): New method for item access with different semantics than
__getitem__().  This method never raises an exception; if the key is
not in the dictionary, the second (optional) argument is returned.  If
the second argument is not provided and the key is missing, None is
returned.

mapp_methods: added "get" method.
1997-10-06 17:49:20 +00:00
Fred Drake 596db3161c Move the __getitem__() definition from StandardException to Exception.
This allows stuff like this out of the box:

	try:
	    ...
	except socket.error, (code, msg):
	    ...
1997-10-06 15:48:20 +00:00