Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Two changes: | Guido van Rossum | 1997-08-11 | 1 | -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 Rossum | 1997-08-11 | 4 | -9/+9 |
| | | | | Also cleaned out some CR's left by the VC++ editor. | ||||
* | Rewrite using class, to make waiting for processes possible; | Guido van Rossum | 1997-08-11 | 1 | -31/+79 |
| | | | | by default children are waited for automatically. | ||||
* | Changed indents to 4 *spaces*; added Emacs variables to avoid | Guido van Rossum | 1997-08-10 | 1 | -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 of | Guido van Rossum | 1997-08-10 | 1 | -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 errors | Barry Warsaw | 1997-08-09 | 1 | -2/+2 |
| | |||||
* | #Checkpointing X/Emacs 20'fication of this mode. | Barry Warsaw | 1997-08-09 | 1 | -210/+231 |
| | |||||
* | Added O_BINARY and O_TEXT (for Windows). | Guido van Rossum | 1997-08-08 | 1 | -0/+6 |
| | |||||
* | More emphasis on os.environ's calling of putenv; and added hint about | Guido van Rossum | 1997-08-08 | 2 | -8/+28 |
| | | | | flags for open(). | ||||
* | #Bumping to version 3.0 | Barry Warsaw | 1997-08-08 | 1 | -2/+1 |
| | |||||
* | mkalias() now has an optional third parameter to create relative | Jack Jansen | 1997-08-08 | 1 | -2/+7 |
| | | | | aliases (Just) | ||||
* | - Added classes to support class/property generation by gensuitemodule | Jack Jansen | 1997-08-08 | 3 | -17/+111 |
| | | | | - Fixed Property class: selector is a 'type', not an 'enum' | ||||
* | Added (dummy) PyOS_FiniInterrupts | Jack Jansen | 1997-08-08 | 1 | -0/+5 |
| | |||||
* | Adapted for 1.5a3: Py_SupressPrintingFlag is gone, and | Jack Jansen | 1997-08-08 | 1 | -21/+9 |
| | | | | Py_SetProgramName replaces Py_GetProgramName | ||||
* | New version number, new tk resources, new error numbers, new GUSI | Jack Jansen | 1997-08-08 | 7 | -4316/+4819 |
| | |||||
* | Don't define ENOENT when compiling with MSL | Jack Jansen | 1997-08-08 | 1 | -2/+0 |
| | |||||
* | CW11 projects replaced by CW Pro 1 projects, and all cfm68k/ppc | Jack Jansen | 1997-08-08 | 75 | -16936/+9494 |
| | | | | projects unified (as much as possible: PythonCore is still separate). | ||||
* | Modified for CW Pro 1 projects. Convention used: .mu files are old | Jack Jansen | 1997-08-08 | 3 | -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 resulting | Jack Jansen | 1997-08-08 | 1 | -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 variable | Guido van Rossum | 1997-08-07 | 1 | -1/+0 |
| | |||||
* | Rather unsatisfactory temporary hack to get it to run | Guido van Rossum | 1997-08-07 | 1 | -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 Rossum | 1997-08-07 | 5 | -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 Rossum | 1997-08-06 | 7 | -561/+30 |
| | |||||
* | --with-readline is obsolete (and some editorial stuff in README) | Guido van Rossum | 1997-08-05 | 4 | -327/+241 |
| | |||||
* | Got rid of --with-readline, at last. | Guido van Rossum | 1997-08-05 | 1 | -59/+4 |
| | |||||
* | Attempt to import readline at interactive startup. | Guido van Rossum | 1997-08-05 | 1 | -0/+8 |
| | |||||
* | Move GNU readline interface to ../Modules/readline.c. | Guido van Rossum | 1997-08-05 | 1 | -78/+3 |
| | | | | Add Py_input_hook (used by _tkinter and perhaps Gist). | ||||
* | New mechanism for GNU readline interface, via module | Guido van Rossum | 1997-08-05 | 3 | -9/+135 |
| | |||||
* | Add test for function comparisons | Guido van Rossum | 1997-08-05 | 2 | -0/+36 |
| | |||||
* | Fix bug in comparing function objects detected by Sjoerd: | Guido van Rossum | 1997-08-05 | 1 | -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 Rossum | 1997-08-05 | 2 | -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 of | Guido van Rossum | 1997-08-05 | 1 | -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 Rossum | 1997-08-05 | 1 | -0/+3 |
| | |||||
* | purported linux portability patch (Oliver Andrich) | Guido van Rossum | 1997-08-05 | 1 | -0/+4 |
| | |||||
* | Py_Cleanup() is now Py_Finalize(). | Guido van Rossum | 1997-08-05 | 1 | -1/+1 |
| | |||||
* | Merge Py_Cleanup() into Py_Finalize(). Call the various small Fini() | Guido van Rossum | 1997-08-05 | 1 | -36/+43 |
| | | | | functions. | ||||
* | New rules for deleting modules. Rather than having an elaborate | Guido van Rossum | 1997-08-05 | 1 | -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 to | Guido van Rossum | 1997-08-05 | 1 | -3/+3 |
| | | | | 'Py_Cleanup' back to 'cleanup'. | ||||
* | Added _Fini() routines to free up some memory | Guido van Rossum | 1997-08-05 | 3 | -1/+47 |
| | |||||
* | Change the Fini function to only remove otherwise unreferenced strings | Guido van Rossum | 1997-08-05 | 1 | -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 a | Guido van Rossum | 1997-08-05 | 1 | -7/+30 |
| | | | | few percent speed up. Also add PyCFunction_Fini() to discard it. | ||||
* | Provide a dummy empty directory as f_builtins instead of failing, when | Guido van Rossum | 1997-08-05 | 1 | -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 few | Guido van Rossum | 1997-08-05 | 1 | -4/+28 |
| | | | | percent speed up. Also add PyMethod_Fini() to discard it. | ||||
* | Added _Py_ResetReferences(), if tracing references. | Guido van Rossum | 1997-08-05 | 1 | -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 Rossum | 1997-08-05 | 1 | -2/+19 |
| | |||||
* | Plug memory leak (DECREF doc string properly after inserting in dict). | Guido van Rossum | 1997-08-04 | 1 | -0/+1 |
| | |||||
* | The reload(sys) test no longer works due to changes in the import | Guido van Rossum | 1997-08-02 | 1 | -4/+4 |
| | | | | semantics. | ||||
* | Oops, one more checkin. Use the new tstate/interp interface. | Guido van Rossum | 1997-08-02 | 1 | -1/+2 |
| | |||||
* | The last of the mass checkins for separate (sub)interpreters. | Guido van Rossum | 1997-08-02 | 7 | -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 from | Guido van Rossum | 1997-08-02 | 1 | -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. |