Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
55e3927 New exception interface 07 October 1997, 21:47:25 UTC
d2c0ec7 Use `...` around binary strings. 07 October 1997, 21:22:48 UTC
0225a38 initparser(): Use PyErr_NewException() to create the exception. 07 October 1997, 19:32:00 UTC
b68b77f 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 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 Remove this pathetic little module! 07 October 1997, 18:12:20 UTC
176bb41 Add the Setup line for the pcre module. 07 October 1997, 16:17:55 UTC
9337453 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 Map .shtml to text/html. 07 October 1997, 14:56:42 UTC
57d4c55 Version 0.8.1. 07 October 1997, 14:56:09 UTC
b6fd5a5 Add "set -e" to lock command. 07 October 1997, 14:55:39 UTC
8731e5c The target directory is now called dos-8x3, not dos_8x3. 07 October 1997, 14:55:11 UTC
04d73c4 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 Add get_line_buffer() and insert_text(), suggested by Michael McLay. 07 October 1997, 14:53:21 UTC
43b26ea Whole bunch of additions... 07 October 1997, 14:52:19 UTC
c6e8fd6 Temporary fix to valid_identifier(). 07 October 1997, 14:51:18 UTC
2f3941d 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 Fix join to support multiple arguments. (Why isn't this file identical to ntpath.py?) 07 October 1997, 14:48:23 UTC
abfdd70 Add XXX note about wanting support for copy_reg.py... 07 October 1997, 14:47:50 UTC
90981e0 Add Jeff Epler's interact() function. Note that it is broken. (It should probably be withdrawn :-( ) 07 October 1997, 14:47:24 UTC
d5484fb 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 Use K&R function prototypes. 07 October 1997, 14:44:48 UTC
6cd7ecb The sequence behavior is now on the Exception root class rather than on the StandardError class. 07 October 1997, 14:41:04 UTC
fdacc58 Added pointer to api.tex and note about the out-of-date-ness of this document. 07 October 1997, 14:40:16 UTC
18b0db3 Set Oct 10 as the release date. 07 October 1997, 14:39:43 UTC
9faf4c5 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 Typo discovered by Case Roole. 07 October 1997, 14:37:58 UTC
d6449a2 Be more careful with closing fd's 0,1,2. 07 October 1997, 14:37:31 UTC
ef31b24 Add note about condition.py. 07 October 1997, 14:37:00 UTC
92664b8 Completed the changes between 1.5a3 and now. Not yet sorted though. 07 October 1997, 00:12:43 UTC
6f2a26d And "ni" has been documented... 06 October 1997, 21:53:50 UTC
2df7583 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 Updated the section "Parsing Python". 06 October 1997, 21:41:30 UTC
14bf341 Added keyword module entry. 06 October 1997, 21:40:48 UTC
e061a51 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 Documentation for the keyword module. 06 October 1997, 21:39:16 UTC
e3dbc7e 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 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 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 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 Done with adding changes from 1.4 till 1.5a3. 06 October 1997, 21:04:35 UTC
923c4ee Don't do weird things with the "import parser"; just do it. Sheesh... 06 October 1997, 20:56:43 UTC
a11cccc The usual (and some new modules). 06 October 1997, 20:19:59 UTC
d575480 A variant on webchecker that creates a mirror copy of a remote site. 06 October 1997, 18:54:25 UTC
2237b73 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 Document the mapping object's new get() method. 06 October 1997, 17:50:48 UTC
fc3e61c UserDict.get(): New method to mirror built-in dictionaries' get() method. 06 October 1997, 17:50:04 UTC
c38c5da 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 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 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 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 Add the four latex2html output directories: api, ext, lib, tut. 06 October 1997, 13:20:17 UTC
c44d3d6 Done with tread state descriptions. Sigh! 06 October 1997, 05:10:47 UTC
86b7db3 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 Added strerror() 05 October 1997, 18:54:52 UTC
bc3b136 Removed emacs.py 05 October 1997, 18:54:36 UTC
eb53ae4 Fixed some stuff that was incorrectly copied from regex. 05 October 1997, 18:54:07 UTC
7974b0f Documented __import__, callable, isinstance, issubclass, and slice. 05 October 1997, 18:53:00 UTC
df3dba0 Documented new exceptions and exception classes. 05 October 1997, 18:51:26 UTC
5344d4f Add -N0 to dvips flags to generate page structure comments. 05 October 1997, 18:51:02 UTC
42cefd0 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 The directory containing config.h has changed. 05 October 1997, 03:01:28 UTC
6af6d35 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 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 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 New version of PyErr_NewException() that is compatible with -X option. 03 October 1997, 19:50:55 UTC
999e5e9 Initialize Py_UseClassExceptionsFlag to 1. 03 October 1997, 19:46:02 UTC
a7f2e81 Remove unreachable "return 1" at end of ensure_fromlist(). 03 October 1997, 15:33:32 UTC
aa9606f 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 Argh; do the same for the "Release" version of the config. 02 October 1997, 20:36:45 UTC
e40afcf Fix up include directories for compiling the resources. 02 October 1997, 20:23:52 UTC
f1b0009 Fix path search for test data file so it works under more circumstances. 01 October 1997, 22:10:32 UTC
88d8bee Oops, forgot one. 01 October 1997, 04:43:39 UTC
ae631f7 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 Fixed test for socket.error to work when it's a class exception. 01 October 1997, 04:39:05 UTC
0cb96de 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 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 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 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 Fixed up formatting. 30 September 1997, 21:59:27 UTC
1b914b3 Fixed up formatting, added descriptions for previously undocumented functions. 30 September 1997, 20:14:50 UTC
fd9ef4a 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 PyExc_NumberError -> PyExc_ArithmeticError 30 September 1997, 19:12:33 UTC
ac8a9f3 Handy utility to guess MIME type from extension. 30 September 1997, 19:05:50 UTC
3a74993 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 Added PyExc_Exception and PyErr_NewException. 29 September 1997, 23:40:07 UTC
271f977 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 DLL version is now loaded from a string resource. 29 September 1997, 23:37:12 UTC
f57c170 Remove #ifdef __cplusplus. 29 September 1997, 23:36:42 UTC
ff8c9da Bump version and store DLL version in a string variable (for branding). 29 September 1997, 23:36:17 UTC
6c1e5f2 Get DLL version from a variable. 29 September 1997, 23:34:23 UTC
4f3bf1e Don't intern the key string for getitem and delitem. 29 September 1997, 23:31:11 UTC
b4cfdfa Removed special Windows defines, at Mark Hammond's request. 29 September 1997, 23:29:08 UTC
83bd9a9 Move Widget.config() c.s. to Misc class, so the Tk class also inherits them. 29 September 1997, 23:24:52 UTC
332e144 Use sys.exc_info() where needed. Use "re" module, making it threadsafe. 29 September 1997, 23:23:46 UTC
f15d159 Use sys.exc_info() where needed. 29 September 1997, 23:22:12 UTC
c90ad21 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 Removing emacs.py, which is obsolete. 29 September 1997, 13:19:53 UTC
da28666 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 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
back to top