summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Two changes:Guido van Rossum1997-08-111-14/+13
| | | | | | | | | (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)
* Renamed Py_input_hook to PyOS_InputHook.Guido van Rossum1997-08-114-9/+9
| | | | Also cleaned out some CR's left by the VC++ editor.
* Rewrite using class, to make waiting for processes possible;Guido van Rossum1997-08-111-31/+79
| | | | by default children are waited for automatically.
* Changed indents to 4 *spaces*; added Emacs variables to avoidGuido van Rossum1997-08-101-241/+245
| | | | | inserting tabs. All this (and the previous patch) in preparation for porting to NT.
* Support using -p/-P to point to the source/build directory instead ofGuido van Rossum1997-08-101-12/+32
| | | | | the install directory. Added -h option to print the full usage message; by default, only two lines are now printed for errors.
* #Fixed two byte-compiler errorsBarry Warsaw1997-08-091-2/+2
|
* #Checkpointing X/Emacs 20'fication of this mode.Barry Warsaw1997-08-091-210/+231
|
* Added O_BINARY and O_TEXT (for Windows).Guido van Rossum1997-08-081-0/+6
|
* More emphasis on os.environ's calling of putenv; and added hint aboutGuido van Rossum1997-08-082-8/+28
| | | | flags for open().
* #Bumping to version 3.0Barry Warsaw1997-08-081-2/+1
|
* mkalias() now has an optional third parameter to create relativeJack Jansen1997-08-081-2/+7
| | | | aliases (Just)
* - Added classes to support class/property generation by gensuitemoduleJack Jansen1997-08-083-17/+111
| | | | - Fixed Property class: selector is a 'type', not an 'enum'
* Added (dummy) PyOS_FiniInterruptsJack Jansen1997-08-081-0/+5
|
* Adapted for 1.5a3: Py_SupressPrintingFlag is gone, andJack Jansen1997-08-081-21/+9
| | | | Py_SetProgramName replaces Py_GetProgramName
* New version number, new tk resources, new error numbers, new GUSIJack Jansen1997-08-087-4316/+4819
|
* Don't define ENOENT when compiling with MSLJack Jansen1997-08-081-2/+0
|
* CW11 projects replaced by CW Pro 1 projects, and all cfm68k/ppcJack Jansen1997-08-0875-16936/+9494
| | | | projects unified (as much as possible: PythonCore is still separate).
* Modified for CW Pro 1 projects. Convention used: .mu files are oldJack Jansen1997-08-083-56/+70
| | | | | | | 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).
* Generate class, property and comparison code (finally!). The resultingJack Jansen1997-08-081-41/+201
| | | | | | 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.
* Remove unised variableGuido van Rossum1997-08-071-1/+0
|
* Rather unsatisfactory temporary hack to get it to runGuido van Rossum1997-08-071-0/+10
| | | | under WIN32 -- remove file handler interface, don't use Py_input_hook.
* Got the new structure working with MSVC 4.2.Guido van Rossum1997-08-075-3283/+155
| | | | | | main_nt.c is gone -- we can use Modules/python.c now. Added Mark Hammond's module msvcrt.c (untested). Added several new symbols.
* New version of Vladimir Marangozov's AIX hacks -- simpler etc.Guido van Rossum1997-08-067-561/+30
|
* --with-readline is obsolete (and some editorial stuff in README)Guido van Rossum1997-08-054-327/+241
|
* Got rid of --with-readline, at last.Guido van Rossum1997-08-051-59/+4
|
* Attempt to import readline at interactive startup.Guido van Rossum1997-08-051-0/+8
|
* Move GNU readline interface to ../Modules/readline.c.Guido van Rossum1997-08-051-78/+3
| | | | Add Py_input_hook (used by _tkinter and perhaps Gist).
* New mechanism for GNU readline interface, via moduleGuido van Rossum1997-08-053-9/+135
|
* Add test for function comparisonsGuido van Rossum1997-08-052-0/+36
|
* Fix bug in comparing function objects detected by Sjoerd:Guido van Rossum1997-08-051-3/+9
| | | | | | SystemError: bad argument to internal function caused by comparing NULL pointer default args.
* Get READABLE c.s. from _tkinter instead of conditional definition.Guido van Rossum1997-08-052-24/+12
| | | | in Tk.destroy(), reset _default_root to None when it is us.
* Add a cast to the call to _Py_Dealloc in the expanded version ofGuido van Rossum1997-08-051-2/+2
| | | | | | 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.)
* Add pointer to new BSDDB module.Guido van Rossum1997-08-051-0/+3
|
* purported linux portability patch (Oliver Andrich)Guido van Rossum1997-08-051-0/+4
|
* Py_Cleanup() is now Py_Finalize().Guido van Rossum1997-08-051-1/+1
|
* Merge Py_Cleanup() into Py_Finalize(). Call the various small Fini()Guido van Rossum1997-08-051-36/+43
| | | | functions.
* New rules for deleting modules. Rather than having an elaborateGuido van Rossum1997-08-051-1/+29
| | | | | | | | | | | | 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). */
* Renamed a local label that was accidentally grandly renamed toGuido van Rossum1997-08-051-3/+3
| | | | 'Py_Cleanup' back to 'cleanup'.
* Added _Fini() routines to free up some memoryGuido van Rossum1997-08-053-1/+47
|
* Change the Fini function to only remove otherwise unreferenced stringsGuido van Rossum1997-08-051-6/+16
| | | | | | | | | | 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.
* Added separate free list for cfunction (builtin method) objects, for aGuido van Rossum1997-08-051-7/+30
| | | | few percent speed up. Also add PyCFunction_Fini() to discard it.
* Provide a dummy empty directory as f_builtins instead of failing, whenGuido van Rossum1997-08-051-7/+22
| | | | | | | 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.
* Added separate free list for instance method objects, for a fewGuido van Rossum1997-08-051-4/+28
| | | | percent speed up. Also add PyMethod_Fini() to discard it.
* Added _Py_ResetReferences(), if tracing references.Guido van Rossum1997-08-051-3/+84
| | | | | | | In _Py_PrintReferences(), no longer suppress once-referenced string. Add Py_Malloc and friends and PyMem_Malloc and friends (malloc wrappers for third parties).
* Added Py_Malloc and friends as well as PyMem_Malloc and friends.Guido van Rossum1997-08-051-2/+19
|
* Plug memory leak (DECREF doc string properly after inserting in dict).Guido van Rossum1997-08-041-0/+1
|
* The reload(sys) test no longer works due to changes in the importGuido van Rossum1997-08-021-4/+4
| | | | semantics.
* Oops, one more checkin. Use the new tstate/interp interface.Guido van Rossum1997-08-021-1/+2
|
* The last of the mass checkins for separate (sub)interpreters.Guido van Rossum1997-08-027-218/+542
| | | | | | | Everything should now work again. See the comments for the .h files mass checkin (e.g. pystate.h) for more detail.
* Removed fatal errors from Py_Initmodule4() (and thus fromGuido van Rossum1997-08-021-12/+12
| | | | | | | | | | | | 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.