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

sort by:
Revision Author Date Message Commit Date
15974ad Bump MS_DLL_ID to 1.5.0. 12 August 1997, 14:48:03 UTC
d510b72 Allow paths without drive specifier (Jack). 12 August 1997, 14:47:24 UTC
e2ad88c Rewrite normcase() using string.translate... 12 August 1997, 14:46:58 UTC
efa6837 Treat all HTTP/1.* versions the same. 12 August 1997, 14:46:13 UTC
2567dd6 Two changes: (1) No longer close self.sock; close it on close(). (Guido) (2) Don't use regular expressions for what can be done simply with string.split() -- regex is thread unsafe. (Jeremy) (3) Delete unused imports. (Jeremy) 11 August 1997, 21:52:17 UTC
4462064 Renamed Py_input_hook to PyOS_InputHook. Also cleaned out some CR's left by the VC++ editor. 11 August 1997, 18:57:29 UTC
0357d02 Rewrite using class, to make waiting for processes possible; by default children are waited for automatically. 11 August 1997, 03:27:24 UTC
0b4b8a2 Changed indents to 4 *spaces*; added Emacs variables to avoid inserting tabs. All this (and the previous patch) in preparation for porting to NT. 10 August 1997, 16:56:48 UTC
9a6e855 Support using -p/-P to point to the source/build directory instead of the install directory. Added -h option to print the full usage message; by default, only two lines are now printed for errors. 10 August 1997, 16:47:17 UTC
516b620 #Fixed two byte-compiler errors 09 August 1997, 06:43:20 UTC
c72c11c #Checkpointing X/Emacs 20'fication of this mode. 09 August 1997, 06:42:08 UTC
98d9d09 Added O_BINARY and O_TEXT (for Windows). 08 August 1997, 21:48:51 UTC
9c43c59 More emphasis on os.environ's calling of putenv; and added hint about flags for open(). 08 August 1997, 21:05:09 UTC
7d6b7d3 #Bumping to version 3.0 08 August 1997, 16:19:03 UTC
48f662d mkalias() now has an optional third parameter to create relative aliases (Just) 08 August 1997, 15:00:59 UTC
756a69f - Added classes to support class/property generation by gensuitemodule - Fixed Property class: selector is a 'type', not an 'enum' 08 August 1997, 15:00:03 UTC
a8441de Added (dummy) PyOS_FiniInterrupts 08 August 1997, 14:57:37 UTC
7330b39 Adapted for 1.5a3: Py_SupressPrintingFlag is gone, and Py_SetProgramName replaces Py_GetProgramName 08 August 1997, 14:56:41 UTC
4be0ce3 New version number, new tk resources, new error numbers, new GUSI 08 August 1997, 14:55:03 UTC
12f318a Don't define ENOENT when compiling with MSL 08 August 1997, 14:53:16 UTC
04df97c CW11 projects replaced by CW Pro 1 projects, and all cfm68k/ppc projects unified (as much as possible: PythonCore is still separate). 08 August 1997, 14:51:57 UTC
e3fa874 Modified for CW Pro 1 projects. Convention used: .mu files are old project files, which have to be cleaned up before checking in, .prj files are CW Pro 1 projects (which are always clean). Prj files are still binhexed, even though they only have a data fork (and, hence, could be checked in in binary mode). 08 August 1997, 14:51:54 UTC
6654422 Generate class, property and comparison code (finally!). The resulting code isn't ideal yet: xxx.Window(1).Paragraph(3).font will only work if all the classes and properties are declared in the same suite, but at least font(Paragraph(3, Window(1))) always works. 08 August 1997, 14:49:02 UTC
622f73f Remove unised variable 07 August 1997, 19:22:48 UTC
02c0467 Rather unsatisfactory temporary hack to get it to run under WIN32 -- remove file handler interface, don't use Py_input_hook. 07 August 1997, 00:12:22 UTC
29c1ea5 Got the new structure working with MSVC 4.2. main_nt.c is gone -- we can use Modules/python.c now. Added Mark Hammond's module msvcrt.c (untested). Added several new symbols. 07 August 1997, 00:11:34 UTC
fb84255 New version of Vladimir Marangozov's AIX hacks -- simpler etc. 06 August 1997, 23:42:07 UTC
b06df27 --with-readline is obsolete (and some editorial stuff in README) 05 August 1997, 21:50:20 UTC
3c7c678 Got rid of --with-readline, at last. 05 August 1997, 21:47:42 UTC
9b5dbed Attempt to import readline at interactive startup. 05 August 1997, 21:34:14 UTC
717c6f9 Move GNU readline interface to ../Modules/readline.c. Add Py_input_hook (used by _tkinter and perhaps Gist). 05 August 1997, 21:28:12 UTC
0969d36 New mechanism for GNU readline interface, via module 05 August 1997, 21:27:50 UTC
570278b Add test for function comparisons 05 August 1997, 16:52:50 UTC
83f9ad8 Fix bug in comparing function objects detected by Sjoerd: SystemError: bad argument to internal function caused by comparing NULL pointer default args. 05 August 1997, 16:51:05 UTC
d6615ab Get READABLE c.s. from _tkinter instead of conditional definition. in Tk.destroy(), reset _default_root to None when it is us. 05 August 1997, 02:35:01 UTC
1d529d1 Add a cast to the call to _Py_Dealloc in the expanded version of Py_DECREF, to reduce the warnings when compiling with reference count debugging on. (There are still warnings for each call to _Py_NewReference -- too bad.) 05 August 1997, 02:30:44 UTC
7f400be Add pointer to new BSDDB module. 05 August 1997, 02:25:24 UTC
668e441 purported linux portability patch (Oliver Andrich) 05 August 1997, 02:24:57 UTC
5d1770e Py_Cleanup() is now Py_Finalize(). 05 August 1997, 02:23:48 UTC
cc283f5 Merge Py_Cleanup() into Py_Finalize(). Call the various small Fini() functions. 05 August 1997, 02:22:03 UTC
085d269 New rules for deleting modules. Rather than having an elaborate scheme based on object's types, have a simple two-phase scheme based on object's *names*: /* To make the execution order of destructors for global objects a bit more predictable, we first zap all objects whose name starts with a single underscore, before we clear the entire dictionary. We zap them by replacing them with None, rather than deleting them from the dictionary, to avoid rehashing the dictionary (to some extent). */ 05 August 1997, 02:20:51 UTC
f9c90c5 Renamed a local label that was accidentally grandly renamed to 'Py_Cleanup' back to 'cleanup'. 05 August 1997, 02:18:01 UTC
fbbd57e Added _Fini() routines to free up some memory 05 August 1997, 02:16:08 UTC
971a7aa Change the Fini function to only remove otherwise unreferenced strings from the interned table. There are references in hard-to-find static variables all over the interpreter, and it's not worth trying to get rid of all those; but "uninterning" isn't fair either and may cause subtle failures later -- so we have to keep them in the interned table. Also get rid of no-longer-needed insert of None in interned dict. 05 August 1997, 02:15:12 UTC
1f39c5c Added separate free list for cfunction (builtin method) objects, for a few percent speed up. Also add PyCFunction_Fini() to discard it. 05 August 1997, 02:11:41 UTC
404b95d Provide a dummy empty directory as f_builtins instead of failing, when no valid directory is passed in. This prevents __del__ to fail when invoked after __builtins__ has already been discarded. Also add PyFrame_Fini() to discard the cache of frames. 05 August 1997, 02:09:46 UTC
a0d349f Added separate free list for instance method objects, for a few percent speed up. Also add PyMethod_Fini() to discard it. 05 August 1997, 02:06:53 UTC
e09fb55 Added _Py_ResetReferences(), if tracing references. In _Py_PrintReferences(), no longer suppress once-referenced string. Add Py_Malloc and friends and PyMem_Malloc and friends (malloc wrappers for third parties). 05 August 1997, 02:04:34 UTC
d085e88 Added Py_Malloc and friends as well as PyMem_Malloc and friends. 05 August 1997, 01:59:22 UTC
5c159bd Plug memory leak (DECREF doc string properly after inserting in dict). 04 August 1997, 23:55:25 UTC
7995ed2 The reload(sys) test no longer works due to changes in the import semantics. 02 August 1997, 03:19:26 UTC
b02158e Oops, one more checkin. Use the new tstate/interp interface. 02 August 1997, 03:13:11 UTC
25ce566 The last of the mass checkins for separate (sub)interpreters. Everything should now work again. See the comments for the .h files mass checkin (e.g. pystate.h) for more detail. 02 August 1997, 03:10:38 UTC
40b33c6 Removed fatal errors from Py_Initmodule4() (and thus from Py_Initmodule(), which is a macro wrapper around it). The return value is now a NULL pointer if the initialization failed. This may make old modules fail with a SEGFAULT, since they don't expect this kind of failure. That's OK, since (a) it "never" happens, and (b) they would fail with a fatal error otherwise, anyway. Tons of extension modules should now check the return value of Py_Initmodule*() -- that's on my TODO list. 02 August 1997, 03:07:46 UTC
aee094c Added finalization routines. 02 August 1997, 03:02:27 UTC
08c1661 Add finialization routines; fixed some memory leaks related to this. Reset the SIGINT handler when the finalization is invoked. 02 August 1997, 03:01:42 UTC
05f7c50 Free the malloc'ed buffer that holds the command once we're done with it. Instead of calling Py_Exit(sts), call Py_Cleanup() and return sts. 02 August 1997, 03:00:42 UTC
eb46d67 Avoid function calls to access the current thread state and builtins -- the thread state is passed in as an argument and the builtins are a member thereof. 02 August 1997, 02:59:08 UTC
8cf0476 Added internal routine PyString_Fini() which deletes all interned strings. For use in Py_Finalize() only. 02 August 1997, 02:57:45 UTC
29e46a9 Mass checkin (more to follow for other directories). Introduce truly separate (sub)interpreter objects. For now, these must be used by separate threads, created from C. See Demo/pysvr for an example of how to use this. This also rationalizes Python's initialization and finalization behavior: Py_Initialize() -- initialize the whole interpreter Py_Finalize() -- finalize the whole interpreter tstate = Py_NewInterpreter() -- create a new (sub)interpreter Py_EndInterpreter(tstate) -- delete a new (sub)interpreter There are also new interfaces relating to threads and the interpreter lock, which can be used to create new threads, and sometimes have to be used to manipulate the interpreter lock when creating or deleting sub-interpreters. These are only defined when WITH_THREAD is defined: PyEval_AcquireLock() -- acquire the interpreter lock PyEval_ReleaseLock() -- release the interpreter lock PyEval_AcquireThread(tstate) -- acquire the lock and make the thread current PyEval_ReleaseThread(tstate) -- release the lock and make NULL current Other administrative changes: - The header file bltinmodule.h is deleted. - The init functions for Import, Sys and Builtin are now internal and declared in pythonrun.h. - Py_Setup() and Py_Cleanup() are no longer declared. - The interpreter state and thread state structures are now linked together in a chain (the chain of interpreters is a static variable in pythonrun.c). - Some members of the interpreter and thread structures have new, shorter, more consistent, names. - Added declarations for _PyImport_{Find,Fixup}Extension() to import.h. 02 August 1997, 02:56:48 UTC
7a2d611 Add cast to PyInt_AS_LONG macro, as suggested by Marc Lemburg. 02 August 1997, 02:41:13 UTC
2981bc7 Add cast to PyFloat_AS_DOUBLE macro, as suggested by Marc Lemburg. 02 August 1997, 02:40:58 UTC
d0924f4 Add a simple way to enable purify; now you can set the Make variable PURIFY (e.g. in the Setup file or on the make command line) to point to the purify command, to run purify. 02 August 1997, 02:06:20 UTC
c46d22e Print ps (process status) for us when starting a new thread. Even less shuffling of stdout (only at start of new interpreter). Interact properly with new interpreter initialization conventions (must use Py_Initialize/Py_Finalize *and* Py_NewInterpreter/Py_EndInterpreter). Probably more minor changes. 02 August 1997, 02:02:22 UTC
35d4337 Functionality enhancement: allow other threads to use Tk commands while one thread is blocked in mainloop(). Also, handle signals (not just interrupts) as soon as they happen. Cleanup: remove support for Tcl/Tk versions 7.4/4.0. (I've confirmed that it works for 7.5/4.1 and 7.6/4.2, as well as 8.0b2.) Coding style change: instead of ``func (args)'', write ``func(args)'' everywhere. Minor functionality change: use PyArg_ParseTuple everywhere. This should only affect the errors reported for bad argument lists; in particular, deletefilehandler() is much clearer about what's going on. (XXX Still to do: Mac and Win ports to 8.0b2.) 02 August 1997, 00:09:09 UTC
3e819a7 Compatibility with Tcl/Tk 8.0b*. 01 August 1997, 19:29:02 UTC
f4e32c7 Add definitions for symbolic constants LOCK_{EX,NB,SH,UN}. 31 July 1997, 19:39:54 UTC
55b9ab5 Extend the "Don Beaudry hack" with "Guido's corollary" -- if the base class has a __class__ attribute, call that to create the new class. This allows us to write metaclasses purely in C! 31 July 1997, 03:54:02 UTC
fd16ca4 Added mimify docs (Sjoerd). 30 July 1997, 22:05:07 UTC
74d25e7 Mention decode_base64 in example. 30 July 1997, 22:02:28 UTC
bc0cd37 l2h target: l2htut was listed twice and l2hapi was skipped. Fixed. 30 July 1997, 15:59:25 UTC
5e06257 Final set of CW11 projects, before switch to CW Pro 1. 28 July 1997, 13:04:22 UTC
ff0ec52 Finally plug the memory leak caused by syntax error (including interactive EOF, which leaked *one* byte). 27 July 1997, 01:52:50 UTC
6fc06e7 Plugged a leak. (The same as the one plugged in compile.c -- forgot to free lnotab). 26 July 1997, 23:30:18 UTC
5ec8e4b Moved the special compile of getbuildno.o to ../Makefile.in. A dummy getbuildno.o (with a number of 0) still gets built here, to make the library complete. 25 July 1997, 22:35:24 UTC
1eec528 Build getbuildno.o here, to adequately update it every time a new python executable is built. (It still won't reflect builds of the library only, but since the default make target builds the python executable, that's alright.) 25 July 1997, 22:34:08 UTC
630924f Use Py_NewInterpreter() and friends. Remove saving/restoring of std files. 25 July 1997, 20:59:55 UTC
275558c Plug a leak in code_dealloc() (and reordered the deallocs to match the order of the variables in the declarations). Also removed an entry in the TODO list that's done. 25 July 1997, 20:13:49 UTC
9a876a4 Tweaks by Lars Wirzenius to parse some more forms of illegal dates: the comma after the day name is optional if it is a recognized day name; and the date and month may be swapped. Thus, the following two test dates will now be parsed correctly: Thu, Feb 13 12:16:57 1992 Thu Feb 13 12:16:57 1992 25 July 1997, 15:20:52 UTC
4e5cbcf Added createmessage() -- Lars Wirzenius. 25 July 1997, 14:59:10 UTC
2e2525f Patch by Lars Wirzenius to allow f.readline(length). 25 July 1997, 14:56:01 UTC
b065452 Bump up the version number. The date still needs to be set (Guido will have to do that one!), but at least the version will match the release version. (1.5a2 got skipped for this.) 25 July 1997, 13:14:35 UTC
12d9eac A couple of grammatical nits. Re-sequenced the function descriptions so that the formatting is described before the assumption is made that the reader has a clue about the formatting. Moved examples to be closer to the functions being demonstrated. Added example of saferepr() result. 24 July 1997, 15:39:16 UTC
ed57d76 Regenerated; __assert__ becomes assert. 23 July 1997, 18:10:52 UTC
ef3d02e Removed some variables that are used to exchange data between import.c and importdl.c: the MAXSUFFIXSIZE macro is now defined in importdl.h, and the modules dictionary is now passed using PyImport_GetModuleDict(). Also undefine USE_SHLIB for AIX -- in AIX 4.2 and up, dlfcn.h exists but we don't want to use it. 21 July 1997, 14:54:36 UTC
7661185 Changed the patch level to 1.5a3, to avoid confusion with a2 (I'm not ready for a release yet). 19 July 1997, 23:46:59 UTC
661aebc New test for generic Makefile.pre.in 19 July 1997, 23:14:13 UTC
a955967 Added description of the extend subdirectory. 19 July 1997, 23:13:10 UTC
895e105 For use with Misc/Makefile.pre.in, the libainstall target must install Modules/python.o. 19 July 1997, 22:53:39 UTC
bef03ae Adapted to the new build system. 19 July 1997, 22:52:43 UTC
ded2e20 Change libainstall again: need to install fewer files for "freeze"; add Setup.local to list of installed files. 19 July 1997, 22:00:45 UTC
a941451 frozenmain.c is now also in the library, with entry point Py_FrozenMain(). 19 July 1997, 21:59:47 UTC
b3afce5 Updated for new style build/install; much simpler! 19 July 1997, 21:58:30 UTC
019db5d Oops -- this contains frozen bytecode, but it was Python 1.4 bytecode! 19 July 1997, 21:54:24 UTC
a88446a Some improvements, e.g. -L/depot/... is not needed. 19 July 1997, 21:34:11 UTC
e0c6901 Added leading comment and security check. 19 July 1997, 21:33:10 UTC
42ded89 Reformulate security check using getsockname(). 19 July 1997, 21:29:28 UTC
eca991d Change security policy -- only accept requests from current host. 19 July 1997, 21:13:53 UTC
d1bef00 Removed old signature. 19 July 1997, 21:02:32 UTC
14b0e70 Updated description for embed; added pysvr. 19 July 1997, 21:02:08 UTC
back to top