0225a38 | Fred Drake | 07 October 1997, 19:32:00 UTC | initparser(): Use PyErr_NewException() to create the exception. | 07 October 1997, 19:32:00 UTC |
b68b77f | Guido van Rossum | 07 October 1997, 19:12:50 UTC | A few last-minute additions and some rearrangements and corrections. What's "xlib"? I took the line that mentioned it out. | 07 October 1997, 19:12:50 UTC |
0e8457c | Guido van Rossum | 07 October 1997, 18:51:41 UTC | 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! | 07 October 1997, 18:51:41 UTC |
53ad776 | Fred Drake | 07 October 1997, 18:12:20 UTC | Remove this pathetic little module! | 07 October 1997, 18:12:20 UTC |
176bb41 | Guido van Rossum | 07 October 1997, 16:17:55 UTC | Add the Setup line for the pcre module. | 07 October 1997, 16:17:55 UTC |
9337453 | Barry Warsaw | 07 October 1997, 15:50:58 UTC | 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. | 07 October 1997, 15:50:58 UTC |
f326134 | Guido van Rossum | 07 October 1997, 14:56:42 UTC | Map .shtml to text/html. | 07 October 1997, 14:56:42 UTC |
57d4c55 | Guido van Rossum | 07 October 1997, 14:56:09 UTC | Version 0.8.1. | 07 October 1997, 14:56:09 UTC |
b6fd5a5 | Guido van Rossum | 07 October 1997, 14:55:39 UTC | Add "set -e" to lock command. | 07 October 1997, 14:55:39 UTC |
8731e5c | Guido van Rossum | 07 October 1997, 14:55:11 UTC | The target directory is now called dos-8x3, not dos_8x3. | 07 October 1997, 14:55:11 UTC |
04d73c4 | Guido van Rossum | 07 October 1997, 14:54:11 UTC | Check that all base classes are indeed class objects, rather than expecting the caller to do so. | 07 October 1997, 14:54:11 UTC |
79378ff | Guido van Rossum | 07 October 1997, 14:53:21 UTC | Add get_line_buffer() and insert_text(), suggested by Michael McLay. | 07 October 1997, 14:53:21 UTC |
43b26ea | Guido van Rossum | 07 October 1997, 14:52:19 UTC | Whole bunch of additions... | 07 October 1997, 14:52:19 UTC |
c6e8fd6 | Guido van Rossum | 07 October 1997, 14:51:18 UTC | Temporary fix to valid_identifier(). | 07 October 1997, 14:51:18 UTC |
2f3941d | Guido van Rossum | 07 October 1997, 14:49:56 UTC | Return the error code from most commands, rather than swallowing it. Adapted the example (lying slightly about the string printed by login()). | 07 October 1997, 14:49:56 UTC |
ae590db | Guido van Rossum | 07 October 1997, 14:48:23 UTC | Fix join to support multiple arguments. (Why isn't this file identical to ntpath.py?) | 07 October 1997, 14:48:23 UTC |
abfdd70 | Guido van Rossum | 07 October 1997, 14:47:50 UTC | Add XXX note about wanting support for copy_reg.py... | 07 October 1997, 14:47:50 UTC |
90981e0 | Guido van Rossum | 07 October 1997, 14:47:24 UTC | Add Jeff Epler's interact() function. Note that it is broken. (It should probably be withdrawn :-( ) | 07 October 1997, 14:47:24 UTC |
d5484fb | Guido van Rossum | 07 October 1997, 14:45:49 UTC | Add optional arguments lo and hi to insort() and bisect(), to support using arrays containing leading or trailing garbage. | 07 October 1997, 14:45:49 UTC |
eec6ef1 | Guido van Rossum | 07 October 1997, 14:44:48 UTC | Use K&R function prototypes. | 07 October 1997, 14:44:48 UTC |
6cd7ecb | Guido van Rossum | 07 October 1997, 14:41:04 UTC | The sequence behavior is now on the Exception root class rather than on the StandardError class. | 07 October 1997, 14:41:04 UTC |
fdacc58 | Guido van Rossum | 07 October 1997, 14:40:16 UTC | Added pointer to api.tex and note about the out-of-date-ness of this document. | 07 October 1997, 14:40:16 UTC |
18b0db3 | Guido van Rossum | 07 October 1997, 14:39:43 UTC | Set Oct 10 as the release date. | 07 October 1997, 14:39:43 UTC |
9faf4c5 | Guido van Rossum | 07 October 1997, 14:38:54 UTC | Change title to {Python/C API Reference Manual}; remove \bcode \ecode which appears to be out of fashion in this file. | 07 October 1997, 14:38:54 UTC |
46a0bb4 | Guido van Rossum | 07 October 1997, 14:37:58 UTC | Typo discovered by Case Roole. | 07 October 1997, 14:37:58 UTC |
d6449a2 | Guido van Rossum | 07 October 1997, 14:37:31 UTC | Be more careful with closing fd's 0,1,2. | 07 October 1997, 14:37:31 UTC |
ef31b24 | Guido van Rossum | 07 October 1997, 14:37:00 UTC | Add note about condition.py. | 07 October 1997, 14:37:00 UTC |
92664b8 | Guido van Rossum | 07 October 1997, 00:12:43 UTC | Completed the changes between 1.5a3 and now. Not yet sorted though. | 07 October 1997, 00:12:43 UTC |
6f2a26d | Fred Drake | 06 October 1997, 21:53:50 UTC | And "ni" has been documented... | 06 October 1997, 21:53:50 UTC |
2df7583 | Fred Drake | 06 October 1997, 21:52:31 UTC | Oops; don't know if this was my typo or not: There was a "p" on a line that should have been blank. | 06 October 1997, 21:52:31 UTC |
c211254 | Fred Drake | 06 October 1997, 21:41:30 UTC | Updated the section "Parsing Python". | 06 October 1997, 21:41:30 UTC |
14bf341 | Fred Drake | 06 October 1997, 21:40:48 UTC | Added keyword module entry. | 06 October 1997, 21:40:48 UTC |
e061a51 | Fred Drake | 06 October 1997, 21:40:20 UTC | Minor nits (Lib/token.py is a file, token is a module...). Added docs for symbol and token modules at the end. | 06 October 1997, 21:40:20 UTC |
db12f34 | Fred Drake | 06 October 1997, 21:39:16 UTC | Documentation for the keyword module. | 06 October 1997, 21:39:16 UTC |
e3dbc7e | Fred Drake | 06 October 1997, 21:28:04 UTC | Reduced number of temporary names used at module scope. Use underscores in front of temporary names in the module namespace. | 06 October 1997, 21:28:04 UTC |
00eb96a | Fred Drake | 06 October 1997, 21:26:03 UTC | Move the pprint docs after the code docs, so that all parser/codegen type things come together. | 06 October 1997, 21:26:03 UTC |
9971f68 | Guido van Rossum | 06 October 1997, 21:09:32 UTC | Fix comment to add the all-important trailing colon to the example. Print the author with the revision date and filename. | 06 October 1997, 21:09:32 UTC |
dc1a072 | Fred Drake | 06 October 1997, 21:06:29 UTC | Reduced number of temporary names used at module scope. Use underscores in front of temporary names in the module namespace. | 06 October 1997, 21:06:29 UTC |
1f83cce | Guido van Rossum | 06 October 1997, 21:04:35 UTC | Done with adding changes from 1.4 till 1.5a3. | 06 October 1997, 21:04:35 UTC |
923c4ee | Fred Drake | 06 October 1997, 20:56:43 UTC | Don't do weird things with the "import parser"; just do it. Sheesh... | 06 October 1997, 20:56:43 UTC |
a11cccc | Guido van Rossum | 06 October 1997, 20:19:59 UTC | The usual (and some new modules). | 06 October 1997, 20:19:59 UTC |
d575480 | Guido van Rossum | 06 October 1997, 18:54:25 UTC | A variant on webchecker that creates a mirror copy of a remote site. | 06 October 1997, 18:54:25 UTC |
2237b73 | Guido van Rossum | 06 October 1997, 18:54:01 UTC | 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. | 06 October 1997, 18:54:01 UTC |
dc0f00a | Barry Warsaw | 06 October 1997, 17:50:48 UTC | Document the mapping object's new get() method. | 06 October 1997, 17:50:48 UTC |
fc3e61c | Barry Warsaw | 06 October 1997, 17:50:04 UTC | UserDict.get(): New method to mirror built-in dictionaries' get() method. | 06 October 1997, 17:50:04 UTC |
c38c5da | Barry Warsaw | 06 October 1997, 17:49:20 UTC | 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. | 06 October 1997, 17:49:20 UTC |
596db31 | Fred Drake | 06 October 1997, 15:48:20 UTC | Move the __getitem__() definition from StandardException to Exception. This allows stuff like this out of the box: try: ... except socket.error, (code, msg): ... | 06 October 1997, 15:48:20 UTC |
bf9d353 | Guido van Rossum | 06 October 1997, 14:45:17 UTC | New "re" regular expression support. The new re module was written by Andrew Kuchling and uses the pcre code in ../Modules/. The old re module has been renamed to re1, just in case you need it for comparison. | 06 October 1997, 14:45:17 UTC |
51b3aa3 | Guido van Rossum | 06 October 1997, 14:43:11 UTC | New "re" regular expression support. This code is written by Philip Hazel and Andrew Kuchling. It requires a new "re.py" module, too. | 06 October 1997, 14:43:11 UTC |
04ac894 | Fred Drake | 06 October 1997, 13:20:17 UTC | Add the four latex2html output directories: api, ext, lib, tut. | 06 October 1997, 13:20:17 UTC |
c44d3d6 | Guido van Rossum | 06 October 1997, 05:10:47 UTC | Done with tread state descriptions. Sigh! | 06 October 1997, 05:10:47 UTC |
86b7db3 | Guido van Rossum | 06 October 1997, 00:15:31 UTC | Oops -- needed to fix another place affected by the change back to $(MACHDEP) being just the platform name, without "plat-" prefix... (To be precise, the libainstall target was totally broken.) | 06 October 1997, 00:15:31 UTC |
0bfd146 | Guido van Rossum | 05 October 1997, 18:54:52 UTC | Added strerror() | 05 October 1997, 18:54:52 UTC |
bc3b136 | Guido van Rossum | 05 October 1997, 18:54:36 UTC | Removed emacs.py | 05 October 1997, 18:54:36 UTC |
eb53ae4 | Guido van Rossum | 05 October 1997, 18:54:07 UTC | Fixed some stuff that was incorrectly copied from regex. | 05 October 1997, 18:54:07 UTC |
7974b0f | Guido van Rossum | 05 October 1997, 18:53:00 UTC | Documented __import__, callable, isinstance, issubclass, and slice. | 05 October 1997, 18:53:00 UTC |
df3dba0 | Guido van Rossum | 05 October 1997, 18:51:26 UTC | Documented new exceptions and exception classes. | 05 October 1997, 18:51:26 UTC |
5344d4f | Guido van Rossum | 05 October 1997, 18:51:02 UTC | Add -N0 to dvips flags to generate page structure comments. | 05 October 1997, 18:51:02 UTC |
42cefd0 | Guido van Rossum | 05 October 1997, 15:27:29 UTC | Checkpoint. Added docs for the new exception handling APIs and for the interfaces defined in import.h. | 05 October 1997, 15:27:29 UTC |
474ba3b | Guido van Rossum | 05 October 1997, 03:01:28 UTC | The directory containing config.h has changed. | 05 October 1997, 03:01:28 UTC |
6af6d35 | Guido van Rossum | 04 October 1997, 20:29:17 UTC | Turns out whatsound.py and sndhdr.py were identical modules. Since there's also an imghdr.py file, I propose to make sndhdr.py the official one. For compatibility, whatsound.py imports * from sndhdr.py. | 04 October 1997, 20:29:17 UTC |
bfeb74d | Fred Drake | 04 October 1997, 04:56:40 UTC | install: New target that installs shared modules in $exec_prefix/lib/python$VERSION/site-packages by default. | 04 October 1997, 04:56:40 UTC |
d99d714 | Guido van Rossum | 04 October 1997, 04:35:24 UTC | Install install-sh with the other config files. Could be useful for an install target in Misc/Makefile.pre.in. | 04 October 1997, 04:35:24 UTC |
2ac650f | Guido van Rossum | 03 October 1997, 19:50:55 UTC | New version of PyErr_NewException() that is compatible with -X option. | 03 October 1997, 19:50:55 UTC |
999e5e9 | Guido van Rossum | 03 October 1997, 19:46:02 UTC | Initialize Py_UseClassExceptionsFlag to 1. | 03 October 1997, 19:46:02 UTC |
a7f2e81 | Guido van Rossum | 03 October 1997, 15:33:32 UTC | Remove unreachable "return 1" at end of ensure_fromlist(). | 03 October 1997, 15:33:32 UTC |
aa9606f | Guido van Rossum | 03 October 1997, 13:53:28 UTC | Fix small omission: with all the new code, sys.exit(None) would print "None"; this should be equivalent to sys.exit(0). | 03 October 1997, 13:53:28 UTC |
d80b3bd | Fred Drake | 02 October 1997, 20:36:45 UTC | Argh; do the same for the "Release" version of the config. | 02 October 1997, 20:36:45 UTC |
e40afcf | Fred Drake | 02 October 1997, 20:23:52 UTC | Fix up include directories for compiling the resources. | 02 October 1997, 20:23:52 UTC |
f1b0009 | Guido van Rossum | 01 October 1997, 22:10:32 UTC | Fix path search for test data file so it works under more circumstances. | 01 October 1997, 22:10:32 UTC |
88d8bee | Guido van Rossum | 01 October 1997, 04:43:39 UTC | Oops, forgot one. | 01 October 1997, 04:43:39 UTC |
ae631f7 | Guido van Rossum | 01 October 1997, 04:41:05 UTC | There was actually a test that ensured that raising an exception A with an instance of a derived class B would really raise an A, not a B. Since Barry fixed this anomalous behaviour, I though I might as well fix the test! (Hmm, Barry, did you not run the tests or did you miss that test_opcodes failed?) | 01 October 1997, 04:41:05 UTC |
a008fa5 | Guido van Rossum | 01 October 1997, 04:39:05 UTC | Fixed test for socket.error to work when it's a class exception. | 01 October 1997, 04:39:05 UTC |
0cb96de | Guido van Rossum | 01 October 1997, 04:29:29 UTC | Apply two changes, systematically: (1) Use PyErr_NewException("module.class", NULL, NULL) to create the exception object. (2) Remove all calls to Py_FatalError(); instead, return or ignore the errors -- the import code now checks PyErr_Occurred() after calling a module's init function, so it's no longer a fatal error for the initialization to fail. Also did some small cleanups, e.g. removed unnecessary test for "already initialized" from initfpectl(), and unified initposix()/initnt(). I haven't checked this very thoroughly, so while the changes are pretty trivial -- beware of untested code! | 01 October 1997, 04:29:29 UTC |
ccf0a44 | Guido van Rossum | 30 September 1997, 22:14:39 UTC | Fix PYTHONPATH for new names; rename tkinter to lib-tk, rename win to plat-win, get rid of test (which is now a package). | 30 September 1997, 22:14:39 UTC |
b74eca9 | Guido van Rossum | 30 September 1997, 22:03:16 UTC | Change PyEval_SaveThread() and PyEval_RestoreThread() to always do the tstate swapping. Only the acquiring and releasing of the lock is conditional (twice, under ``#ifdef WITH_THREAD'' and inside ``if (interpreter_lock)''). | 30 September 1997, 22:03:16 UTC |
b4102bf | Guido van Rossum | 30 September 1997, 22:00:13 UTC | Fix a bug in this code that made it do the wrong thing when an option was a single '-'. Thanks to Andrew Kuchling. | 30 September 1997, 22:00:13 UTC |
b55e07f | Fred Drake | 30 September 1997, 21:59:27 UTC | Fixed up formatting. | 30 September 1997, 21:59:27 UTC |
1b914b3 | Fred Drake | 30 September 1997, 20:14:50 UTC | Fixed up formatting, added descriptions for previously undocumented functions. | 30 September 1997, 20:14:50 UTC |
fd9ef4a | Fred Drake | 30 September 1997, 19:20:01 UTC | Removed extern declaration of strdup(). Doesn't appear to be important and causes ugly noises under Windows. | 30 September 1997, 19:20:01 UTC |
228776c | Fred Drake | 30 September 1997, 19:12:33 UTC | PyExc_NumberError -> PyExc_ArithmeticError | 30 September 1997, 19:12:33 UTC |
ac8a9f3 | Guido van Rossum | 30 September 1997, 19:05:50 UTC | Handy utility to guess MIME type from extension. | 30 September 1997, 19:05:50 UTC |
3a74993 | Barry Warsaw | 30 September 1997, 15:00:18 UTC | PyErr_NormalizeException(): If the exception's type is a class and the instance's class is a subclass of this, then use the instance's class as the exception type. | 30 September 1997, 15:00:18 UTC |
22ecb71 | Guido van Rossum | 29 September 1997, 23:40:07 UTC | Added PyExc_Exception and PyErr_NewException. | 29 September 1997, 23:40:07 UTC |
271f977 | Guido van Rossum | 29 September 1997, 23:39:31 UTC | Seem to be some changes related to DLL version from string resource, again (Mark Hammond is the cause of all this). | 29 September 1997, 23:39:31 UTC |
ec68092 | Guido van Rossum | 29 September 1997, 23:37:12 UTC | DLL version is now loaded from a string resource. | 29 September 1997, 23:37:12 UTC |
f57c170 | Guido van Rossum | 29 September 1997, 23:36:42 UTC | Remove #ifdef __cplusplus. | 29 September 1997, 23:36:42 UTC |
ff8c9da | Guido van Rossum | 29 September 1997, 23:36:17 UTC | Bump version and store DLL version in a string variable (for branding). | 29 September 1997, 23:36:17 UTC |
6c1e5f2 | Guido van Rossum | 29 September 1997, 23:34:23 UTC | Get DLL version from a variable. | 29 September 1997, 23:34:23 UTC |
4f3bf1e | Guido van Rossum | 29 September 1997, 23:31:11 UTC | Don't intern the key string for getitem and delitem. | 29 September 1997, 23:31:11 UTC |
b4cfdfa | Guido van Rossum | 29 September 1997, 23:29:08 UTC | Removed special Windows defines, at Mark Hammond's request. | 29 September 1997, 23:29:08 UTC |
83bd9a9 | Guido van Rossum | 29 September 1997, 23:24:52 UTC | Move Widget.config() c.s. to Misc class, so the Tk class also inherits them. | 29 September 1997, 23:24:52 UTC |
332e144 | Guido van Rossum | 29 September 1997, 23:23:46 UTC | Use sys.exc_info() where needed. Use "re" module, making it threadsafe. | 29 September 1997, 23:23:46 UTC |
f15d159 | Guido van Rossum | 29 September 1997, 23:22:12 UTC | Use sys.exc_info() where needed. | 29 September 1997, 23:22:12 UTC |
c90ad21 | Guido van Rossum | 29 September 1997, 23:17:48 UTC | No longer need to be very careful with saving the exception state first. Don't store the traceback as a local variable, to avoid circular references. | 29 September 1997, 23:17:48 UTC |
a3beb63 | Guido van Rossum | 29 September 1997, 13:19:53 UTC | Removing emacs.py, which is obsolete. | 29 September 1997, 13:19:53 UTC |
da28666 | Guido van Rossum | 29 September 1997, 04:04:39 UTC | Add optional bufsize argument to various calls so we can make the os.fdopen() calls unbuffered. I presume that it's enough if we can make all three of them (for stdin, stdout, and stderr) unbuffered and don't need to specify different buffer sizes per file -- that would complicate the interface more than I care for. | 29 September 1997, 04:04:39 UTC |
54e2091 | Guido van Rossum | 28 September 1997, 05:52:41 UTC | Add an optional hack for threads in Tkinter. This one works! However it requires using a modified version of tclNotify.c (provided), which requires access to the Tcl source to compile it. In order to enable this hack, add the following to the Setup line for _tkinter: tclNotify.c -DHAVE_PYTCL_WAITUNTILEVENT -I$(TCL)/generic where TCL points to the source tree of Tcl 8.0. Other versions of Tcl are not supported. The tclNotify.c file is copyrighted by Sun Microsystems; the licensing terms are in the file license.terms. According to this file, no further permission to distribute this is required, provided the file license.terms is included. Hence, I am checking that in, too. | 28 September 1997, 05:52:41 UTC |
a9f02b8 | Guido van Rossum | 28 September 1997, 05:45:40 UTC | Add plat- prefix to MACHDEPPATH, now that it's been removed from MACHDEP. | 28 September 1997, 05:45:40 UTC |
b97ef17 | Guido van Rossum | 28 September 1997, 05:44:03 UTC | Remove plat- prefix from MACHDEP macro; instead it is added to MACHDEPPATH in Modules/Setup.in | 28 September 1997, 05:44:03 UTC |