Commit Graph

5418 Commits

Author SHA1 Message Date
Guido van Rossum 42c2e6ac49 Added cStringIO and cPickle to the supported modules. 1997-05-06 15:59:14 +00:00
Guido van Rossum c339753fb3 Added HAVE_ macros for getpeername, getpid, setvbuf. 1997-05-06 15:58:18 +00:00
Guido van Rossum 478e718aca Keep MS compiler happy: use (int)strlen() when comparing; make sure
not to use kill().
1997-05-06 15:24:59 +00:00
Guido van Rossum b819914263 Fix by Mark Hammond to enable truncate() on Windows. 1997-05-06 15:23:24 +00:00
Guido van Rossum fc49073cd0 Used operators from abstract.h where possible (arithmetic operators,
get/set/del item).  This removes a pile of duplication.  There's no
abstract operator for 'not' but I removed the function call for it
anyway -- it's a little faster in-line.
1997-05-06 15:06:49 +00:00
Guido van Rossum a1ebdbddb3 Use Python.h, not allobjects.h.
Don't call initall()  (Experimental incompatible change!!!!!!)
1997-05-05 22:18:50 +00:00
Guido van Rossum db9353e17d CloseHandle should be RegCloseKey.
Add extern decl for Py_GetProgramName().
1997-05-05 22:17:45 +00:00
Guido van Rossum fdf95dd525 Checkin of Jack's buffer mods.
Not really checked, but didn't fail any tests either...
1997-05-05 22:15:02 +00:00
Guido van Rossum 8290e07509 Removed misc outdated stuff for 1.5 1997-05-05 22:14:19 +00:00
Guido van Rossum 13454c3f9c Fix old typo PyArgs_VaParse -> PyArg_VaParse.
(Redoing the checking without merging in Jack's buffer mods.)
1997-05-05 21:57:29 +00:00
Guido van Rossum 45510aee8f Fix old typo PyArgs_VaParse -> PyArg_VaParse. 1997-05-05 21:53:03 +00:00
Guido van Rossum 7688bbad61 Include Python.h, not allobjects.h (which no longer exists). 1997-05-05 21:45:44 +00:00
Guido van Rossum a027efa5bf Massive changes for separate thread state management.
All per-thread globals are moved into a struct which is manipulated
separately.
1997-05-05 20:56:21 +00:00
Guido van Rossum 73237c54b4 Only use PyCode_Addr2Line to get tb_lineno when Py_OptimizeFlag is set. 1997-05-05 20:53:25 +00:00
Guido van Rossum d3d6f8ffad Add -lgl and -lm for imgfile. Better way to configure zlib. 1997-05-05 20:48:00 +00:00
Guido van Rossum 4a43cc67db Remove sys_* defines that are internal only and about to disappear 1997-05-05 20:46:18 +00:00
Guido van Rossum 9218b70bdc Remove 2 out of 3 __FreeBSD__ tests.
These are no longer needed as of FreeBSD 2.0.5, according to
Thomas Gellekum <tg@ihf.rwth-aachen.de>.
1997-05-05 15:03:26 +00:00
Fred Drake 526749b678 Misc.__init__(): Removed method, replaced with class attribute (which
was all that the method set anyway).  Removed calls to the
	constructor.  This reduces the number of Python function calls
	per widget construction by one, for every widget construction.
1997-05-03 04:16:23 +00:00
Guido van Rossum 84bf42531c Finally deleted this obsolete crud. 1997-05-02 04:01:08 +00:00
Guido van Rossum d27b4f2a3f Several oopsies -- Py_ALLOBJECTS_H -> Py_PYTHON_H, temporarily removed
pystate.h (to be restored later when that code is debugged), removed
accessobject.h.
1997-05-02 04:00:11 +00:00
Guido van Rossum 174f95adf7 Moved allobjects.h to Python.h (without rename2.h).
allobjects.h disappears -- old-style extensions must include Python.h
and rename2.h.
1997-05-02 03:55:52 +00:00
Guido van Rossum c0b618a2cc Quickly renamed the last directory. 1997-05-02 03:12:38 +00:00
Guido van Rossum f4806c2a85 Add detach call so threads are GC'ed. 1997-04-30 19:59:22 +00:00
Guido van Rossum 03ef647847 Add PYTHONHOME to the usage message. 1997-04-30 19:48:59 +00:00
Guido van Rossum ebde385fc0 One copy is enough; we already had resource.c. 1997-04-30 19:43:15 +00:00
Guido van Rossum 5bbf0f7c93 Some updates (AMK at work, added resource.c). 1997-04-30 19:41:48 +00:00
Guido van Rossum dfb4120ea1 Add zlib 1997-04-30 19:40:10 +00:00
Guido van Rossum 412154f3c7 Updated web ref and version#. Folded some long lines. 1997-04-30 19:39:21 +00:00
Guido van Rossum bc2472db8e Avoid some potential (though unlikely) sprintf buffer overflows. 1997-04-30 19:07:54 +00:00
Guido van Rossum 15e33a4c42 Avoid sprintf buffer overflow if more than 9999 arguments. 1997-04-30 19:00:27 +00:00
Guido van Rossum 04bc9d6e67 zlib by AMK 1997-04-30 18:12:27 +00:00
Guido van Rossum 1526219431 Adding Jeremy Hylton's gzip module.
This requires Andrew Kuchling's zlib extension module.
It still needs some doc strings.
1997-04-30 16:04:57 +00:00
Guido van Rossum 37e97bc36b The usual. 1997-04-29 22:15:33 +00:00
Guido van Rossum 9b7127370e Get rid of the "-n32" options for SGI IRIX 6.x. Instead, substitute
the value at configure time of the SGI_ABI environment variable.  See
abi(5).
1997-04-29 22:14:56 +00:00
Guido van Rossum 07397974da The usual. 1997-04-29 21:49:50 +00:00
Guido van Rossum 6100aaf768 Added test for pthread.h. 1997-04-29 21:48:51 +00:00
Guido van Rossum d11bfdd9f5 Ugly hack for SGI IRIX 6.2. Apparently _POSIX_THREADS is defined even
when the pthread package is not installed.  configure knows better, so
#undef _POSIX_THREADS when pthread.h does not exist.
1997-04-29 21:48:34 +00:00
Guido van Rossum 1ed5e57684 Keep gcc -Wall happy. 1997-04-29 21:34:16 +00:00
Guido van Rossum 86bea46b3d Another directory quickly renamed. 1997-04-29 21:03:06 +00:00
Guido van Rossum 2b713b2f67 One more inittab. 1997-04-29 20:46:45 +00:00
Guido van Rossum bb5c6f8529 Oops, forgot one: inittab. 1997-04-29 20:42:30 +00:00
Guido van Rossum 87490eb3b0 Renamed inittab. 1997-04-29 20:31:59 +00:00
Guido van Rossum 0bac33b420 Oops, forgot one: inittab. 1997-04-29 20:24:10 +00:00
Guido van Rossum 1a43ce848b Added inittab. 1997-04-29 20:22:47 +00:00
Guido van Rossum 79f25d9a7b Quickly renamed the remaining files -- this directory is done. 1997-04-29 20:08:16 +00:00
Guido van Rossum 65bf9f265e Quickly renamed. 1997-04-29 18:33:38 +00:00
Guido van Rossum 04e30c188a Remove err_input from rename list -- it is a static inside errors.c. 1997-04-29 18:25:32 +00:00
Guido van Rossum 373c869a6a Quickly renamed. Also removed the long comment explaining why this is
better than the old error API.
1997-04-29 18:22:47 +00:00
Guido van Rossum 58d8e3dd9e Remove renaming instructions for ANY -- this is not renamed in
mymalloc.h.  (Since it's a macro, I don't care much.  It is used
internally only; others can use void *.)
1997-04-29 18:19:10 +00:00
Guido van Rossum b209a116cf Quickly renamed. 1997-04-29 18:18:01 +00:00