Guido van Rossum
02c0467f67
Rather unsatisfactory temporary hack to get it to run
...
under WIN32 -- remove file handler interface, don't use Py_input_hook.
1997-08-07 00:12:22 +00:00
Guido van Rossum
fb84255e67
New version of Vladimir Marangozov's AIX hacks -- simpler etc.
1997-08-06 23:42:07 +00:00
Guido van Rossum
9b5dbedf43
Attempt to import readline at interactive startup.
1997-08-05 21:34:14 +00:00
Guido van Rossum
0969d36275
New mechanism for GNU readline interface, via module
1997-08-05 21:27:50 +00:00
Guido van Rossum
7f400be210
Add pointer to new BSDDB module.
1997-08-05 02:25:24 +00:00
Guido van Rossum
668e441a86
purported linux portability patch (Oliver Andrich)
1997-08-05 02:24:57 +00:00
Guido van Rossum
5d1770ee24
Py_Cleanup() is now Py_Finalize().
1997-08-05 02:23:48 +00:00
Guido van Rossum
5c159bd855
Plug memory leak (DECREF doc string properly after inserting in dict).
1997-08-04 23:55:25 +00:00
Guido van Rossum
b02158efa3
Oops, one more checkin. Use the new tstate/interp interface.
1997-08-02 03:13:11 +00:00
Guido van Rossum
08c166152e
Add finialization routines; fixed some memory leaks related to this.
...
Reset the SIGINT handler when the finalization is invoked.
1997-08-02 03:01:42 +00:00
Guido van Rossum
05f7c50bfd
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.
1997-08-02 03:00:42 +00:00
Guido van Rossum
d0924f4585
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.
1997-08-02 02:06:20 +00:00
Guido van Rossum
35d43377b4
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.)
1997-08-02 00:09:09 +00:00
Guido van Rossum
3e819a7aa8
Compatibility with Tcl/Tk 8.0b*.
1997-08-01 19:29:02 +00:00
Guido van Rossum
f4e32c729b
Add definitions for symbolic constants LOCK_{EX,NB,SH,UN}.
1997-07-31 19:39:54 +00:00
Guido van Rossum
5ec8e4b5ff
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.
1997-07-25 22:35:24 +00:00
Guido van Rossum
496f8f632b
Removed remaining support for Tk versions below 4.0.
1997-07-19 19:57:42 +00:00
Guido van Rossum
4c125700d1
Adapted to new build procedure (hopefully correct -- can't test it!).
1997-07-19 19:54:25 +00:00
Guido van Rossum
534ac094f9
Removed a bunch of extern declarations of functions that are now
...
properly declared in Python.h.
1997-07-19 19:51:43 +00:00
Guido van Rossum
f6ca6aa869
New build procedure.
1997-07-19 19:39:57 +00:00
Guido van Rossum
4c04be64b3
This is now the "real" main program -- it calls Py_Main(argc, argv)
...
which is in the library and does all the work.
1997-07-19 19:25:33 +00:00
Guido van Rossum
ed52aacb33
This is no longer the real main program; it now defines Py_Main(), so
...
it can be placed in the library.
Other, related changes:
- Moved the inspection of some environment variables to
Py_Initialize().
- Got rid of -s option.
- Moved Py_GetProgramName() and related logic to pythonrun.c; call
Py_SetProgramName() instead.
- Print the version header *after* successful initialization.
1997-07-19 19:20:32 +00:00
Guido van Rossum
75aa0d6abe
Use the new functions PyEval_AcquireThread() and
...
PyEval_ReleaseThread() (in ceval.c) to set/reset the current thread,
and at the same time acquire/release the interpreter lock.
Much saner.
1997-07-18 23:57:50 +00:00
Guido van Rossum
77eecfa94d
Patches by AMK to check that the db is still open.
1997-07-17 22:56:01 +00:00
Guido van Rossum
b8ad024a4e
Add 'return' keyword before error calls.
1997-07-17 22:55:06 +00:00
Guido van Rossum
74fb303997
Jeffrey's latests
1997-07-17 22:41:38 +00:00
Guido van Rossum
04a1d74229
Jeffrey's newest
1997-07-15 14:38:13 +00:00
Guido van Rossum
faf490898d
Reformatted.
...
Fixed some problem with uninitialized syntax tables.
Jeffrey.
1997-07-15 01:47:08 +00:00
Guido van Rossum
007c80e5b7
Added reop (moved reop and regex to non-shared section).
...
Added -I$(DBPORT) for bsddb compilation line.
1997-07-11 18:40:46 +00:00
Guido van Rossum
1243ae7f07
Allow '@' character as end of line padding in uuencode format.
...
Not sure why this is generated, but this fixes a problem with a
particular file that was received with the following final line:
F-WE<-*A5]AY]%7>8'&!!(_Y<F*55_"*%46"<OFG=>_5(F/\'``!@
1997-07-11 18:36:28 +00:00
Guido van Rossum
63e18195b8
New version from Jeffrey after I complained about some glaring bugs.
1997-07-11 11:08:38 +00:00
Guido van Rossum
db25f32849
New versions straight from Jeffrey Ollie's web site
1997-07-10 14:31:32 +00:00
Barry Warsaw
3b1c89e244
MACDEPPATH: Remove `sharedmodules' from default value of this variable
...
since calculate_path() in getpath.c will automatically add this.
Including this here will put the sharedmodules directory on sys.path
twice.
1997-06-13 22:03:23 +00:00
Guido van Rossum
295b8e5608
Add sys/types.h include for pid_t when threading.
1997-06-06 21:16:41 +00:00
Roger E. Masse
0318fd6050
Moved the definition of posix_times__doc__ to outside of #ifdef HAVE_TIMES
...
so that MSVC 4.2 doesn't complain under NT.
1997-06-05 22:07:58 +00:00
Guido van Rossum
97b5457467
Small changes (casts etc.) by Jack, for Mac compilation.
1997-06-03 22:21:47 +00:00
Guido van Rossum
3c540307af
Doc strings (AMK).
1997-06-03 22:21:03 +00:00
Guido van Rossum
ec4f4ac8c0
Added doc strings (Neil Schemenauer).
1997-06-02 22:20:51 +00:00
Guido van Rossum
21f8497a46
Use string.h, not strings.h
1997-06-02 22:18:31 +00:00
Guido van Rossum
91ba64ddd9
socket_type -> SocketType
1997-06-02 22:18:09 +00:00
Guido van Rossum
24995b99e1
array_type -> ArrayType
1997-06-02 22:17:49 +00:00
Guido van Rossum
290283bb39
Mac hack to make select() work again...
1997-06-02 22:16:43 +00:00
Fred Drake
69b9ae4e0b
Add doc string to type object.
1997-05-23 04:04:17 +00:00
Guido van Rossum
c8b6df9004
PyObject_Compare can raise an exception now.
1997-05-23 00:06:51 +00:00
Guido van Rossum
0b82fe773f
Partial(?) 64bit patch (AMK).
1997-05-22 20:24:07 +00:00
Guido van Rossum
b9f866cb7c
Enable putenv and waitpid (== wait4) for NeXT.
1997-05-22 15:12:39 +00:00
Guido van Rossum
b6190d35fc
Defined array.array_type, the type object.
1997-05-22 14:56:36 +00:00
Guido van Rossum
3b4b6fc602
Add socket.socket_type, as discussed on c.l.p.
1997-05-21 14:37:37 +00:00
Guido van Rossum
49bff65deb
Include config.h so it can define const away for K&R.
1997-05-20 22:40:26 +00:00
Guido van Rossum
7929c6fe95
Make delimiter and separator static for K&R C.
1997-05-20 22:38:21 +00:00