]>
granicus.if.org Git - python/log
Jack Jansen [Wed, 7 May 1997 15:42:50 +0000 (15:42 +0000)]
Updated for (optional) use of MSL libraries
Jack Jansen [Wed, 7 May 1997 15:41:31 +0000 (15:41 +0000)]
Updated to use MSL libraries
Guido van Rossum [Wed, 7 May 1997 15:00:56 +0000 (15:00 +0000)]
Avoid the fancy handler for error 401 (request authentication).
Guido van Rossum [Tue, 6 May 1997 21:44:44 +0000 (21:44 +0000)]
Updated vc40.mak for Roger. Includes CRLF!
Guido van Rossum [Tue, 6 May 1997 16:36:57 +0000 (16:36 +0000)]
New dir() function --
- uses abstract interface where possible
- uses __members__ and __methods__
- returns [] when an object has no info available
Jack Jansen [Tue, 6 May 1997 16:15:32 +0000 (16:15 +0000)]
- Use cfmfile to (finally) implement building fat Pythons
- Turned the 10 or so yes/no questions into a single dialog
Jack Jansen [Tue, 6 May 1997 16:14:34 +0000 (16:14 +0000)]
Module to merge 'cfrg' resources (to create fat ppc/cfm68k programs
and shared libraries).
Guido van Rossum [Tue, 6 May 1997 16:00:32 +0000 (16:00 +0000)]
Use spaces exclusively.
Guido van Rossum [Tue, 6 May 1997 15:59:14 +0000 (15:59 +0000)]
Added cStringIO and cPickle to the supported modules.
Guido van Rossum [Tue, 6 May 1997 15:58:18 +0000 (15:58 +0000)]
Added HAVE_ macros for getpeername, getpid, setvbuf.
Guido van Rossum [Tue, 6 May 1997 15:24:59 +0000 (15:24 +0000)]
Keep MS compiler happy: use (int)strlen() when comparing; make sure
not to use kill().
Guido van Rossum [Tue, 6 May 1997 15:23:24 +0000 (15:23 +0000)]
Fix by Mark Hammond to enable truncate() on Windows.
Guido van Rossum [Tue, 6 May 1997 15:06:49 +0000 (15:06 +0000)]
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.
Guido van Rossum [Mon, 5 May 1997 22:18:50 +0000 (22:18 +0000)]
Use Python.h, not allobjects.h.
Don't call initall() (Experimental incompatible change!!!!!!)
Guido van Rossum [Mon, 5 May 1997 22:17:45 +0000 (22:17 +0000)]
CloseHandle should be RegCloseKey.
Add extern decl for Py_GetProgramName().
Guido van Rossum [Mon, 5 May 1997 22:15:02 +0000 (22:15 +0000)]
Checkin of Jack's buffer mods.
Not really checked, but didn't fail any tests either...
Guido van Rossum [Mon, 5 May 1997 22:14:19 +0000 (22:14 +0000)]
Removed misc outdated stuff for 1.5
Guido van Rossum [Mon, 5 May 1997 21:57:29 +0000 (21:57 +0000)]
Fix old typo PyArgs_VaParse -> PyArg_VaParse.
(Redoing the checking without merging in Jack's buffer mods.)
Guido van Rossum [Mon, 5 May 1997 21:53:03 +0000 (21:53 +0000)]
Fix old typo PyArgs_VaParse -> PyArg_VaParse.
Guido van Rossum [Mon, 5 May 1997 21:45:44 +0000 (21:45 +0000)]
Include Python.h, not allobjects.h (which no longer exists).
Guido van Rossum [Mon, 5 May 1997 20:56:21 +0000 (20:56 +0000)]
Massive changes for separate thread state management.
All per-thread globals are moved into a struct which is manipulated
separately.
Guido van Rossum [Mon, 5 May 1997 20:53:25 +0000 (20:53 +0000)]
Only use PyCode_Addr2Line to get tb_lineno when Py_OptimizeFlag is set.
Guido van Rossum [Mon, 5 May 1997 20:48:00 +0000 (20:48 +0000)]
Add -lgl and -lm for imgfile. Better way to configure zlib.
Guido van Rossum [Mon, 5 May 1997 20:46:18 +0000 (20:46 +0000)]
Remove sys_* defines that are internal only and about to disappear
Guido van Rossum [Mon, 5 May 1997 15:03:26 +0000 (15:03 +0000)]
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>.
Fred Drake [Sat, 3 May 1997 04:16:23 +0000 (04:16 +0000)]
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.
Guido van Rossum [Fri, 2 May 1997 04:01:08 +0000 (04:01 +0000)]
Finally deleted this obsolete crud.
Guido van Rossum [Fri, 2 May 1997 04:00:11 +0000 (04:00 +0000)]
Several oopsies -- Py_ALLOBJECTS_H -> Py_PYTHON_H, temporarily removed
pystate.h (to be restored later when that code is debugged), removed
accessobject.h.
Guido van Rossum [Fri, 2 May 1997 03:55:52 +0000 (03:55 +0000)]
Moved allobjects.h to Python.h (without rename2.h).
allobjects.h disappears -- old-style extensions must include Python.h
and rename2.h.
Guido van Rossum [Fri, 2 May 1997 03:12:38 +0000 (03:12 +0000)]
Quickly renamed the last directory.
Guido van Rossum [Wed, 30 Apr 1997 19:59:22 +0000 (19:59 +0000)]
Add detach call so threads are GC'ed.
Guido van Rossum [Wed, 30 Apr 1997 19:48:59 +0000 (19:48 +0000)]
Add PYTHONHOME to the usage message.
Guido van Rossum [Wed, 30 Apr 1997 19:43:15 +0000 (19:43 +0000)]
One copy is enough; we already had resource.c.
Guido van Rossum [Wed, 30 Apr 1997 19:41:48 +0000 (19:41 +0000)]
Some updates (AMK at work, added resource.c).
Guido van Rossum [Wed, 30 Apr 1997 19:40:10 +0000 (19:40 +0000)]
Add zlib
Guido van Rossum [Wed, 30 Apr 1997 19:39:21 +0000 (19:39 +0000)]
Updated web ref and version#. Folded some long lines.
Guido van Rossum [Wed, 30 Apr 1997 19:07:54 +0000 (19:07 +0000)]
Avoid some potential (though unlikely) sprintf buffer overflows.
Guido van Rossum [Wed, 30 Apr 1997 19:00:27 +0000 (19:00 +0000)]
Avoid sprintf buffer overflow if more than 9999 arguments.
Guido van Rossum [Wed, 30 Apr 1997 18:12:27 +0000 (18:12 +0000)]
zlib by AMK
Guido van Rossum [Wed, 30 Apr 1997 16:04:57 +0000 (16:04 +0000)]
Adding Jeremy Hylton's gzip module.
This requires Andrew Kuchling's zlib extension module.
It still needs some doc strings.
Guido van Rossum [Tue, 29 Apr 1997 22:15:33 +0000 (22:15 +0000)]
The usual.
Guido van Rossum [Tue, 29 Apr 1997 22:14:56 +0000 (22:14 +0000)]
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).
Guido van Rossum [Tue, 29 Apr 1997 21:49:50 +0000 (21:49 +0000)]
The usual.
Guido van Rossum [Tue, 29 Apr 1997 21:48:51 +0000 (21:48 +0000)]
Added test for pthread.h.
Guido van Rossum [Tue, 29 Apr 1997 21:48:34 +0000 (21:48 +0000)]
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.
Guido van Rossum [Tue, 29 Apr 1997 21:34:16 +0000 (21:34 +0000)]
Keep gcc -Wall happy.
Guido van Rossum [Tue, 29 Apr 1997 21:03:06 +0000 (21:03 +0000)]
Another directory quickly renamed.
Guido van Rossum [Tue, 29 Apr 1997 20:46:45 +0000 (20:46 +0000)]
One more inittab.
Guido van Rossum [Tue, 29 Apr 1997 20:42:30 +0000 (20:42 +0000)]
Oops, forgot one: inittab.
Guido van Rossum [Tue, 29 Apr 1997 20:31:59 +0000 (20:31 +0000)]
Renamed inittab.
Guido van Rossum [Tue, 29 Apr 1997 20:24:10 +0000 (20:24 +0000)]
Oops, forgot one: inittab.
Guido van Rossum [Tue, 29 Apr 1997 20:22:47 +0000 (20:22 +0000)]
Added inittab.
Guido van Rossum [Tue, 29 Apr 1997 20:08:16 +0000 (20:08 +0000)]
Quickly renamed the remaining files -- this directory is done.
Guido van Rossum [Tue, 29 Apr 1997 18:33:38 +0000 (18:33 +0000)]
Quickly renamed.
Guido van Rossum [Tue, 29 Apr 1997 18:25:32 +0000 (18:25 +0000)]
Remove err_input from rename list -- it is a static inside errors.c.
Guido van Rossum [Tue, 29 Apr 1997 18:22:47 +0000 (18:22 +0000)]
Quickly renamed. Also removed the long comment explaining why this is
better than the old error API.
Guido van Rossum [Tue, 29 Apr 1997 18:19:10 +0000 (18:19 +0000)]
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 *.)
Guido van Rossum [Tue, 29 Apr 1997 18:18:01 +0000 (18:18 +0000)]
Quickly renamed.
Guido van Rossum [Tue, 29 Apr 1997 16:27:09 +0000 (16:27 +0000)]
Track updates in rename2.h.
Guido van Rossum [Tue, 29 Apr 1997 16:23:44 +0000 (16:23 +0000)]
Added new name for inittab!
Guido van Rossum [Tue, 29 Apr 1997 16:21:39 +0000 (16:21 +0000)]
Remove macros that are only used for cgensupport.[ch].
Fixed typo in PyArg_VaParse (not PyArgs_*).
Guido van Rossum [Tue, 29 Apr 1997 16:08:53 +0000 (16:08 +0000)]
Moved cgensupport.h to Modules (awaiting oblivion).
Guido van Rossum [Tue, 29 Apr 1997 16:07:45 +0000 (16:07 +0000)]
Added -I$(srcdir) to line for glmodule so we can move cgensupport.h here.
Guido van Rossum [Tue, 29 Apr 1997 15:50:32 +0000 (15:50 +0000)]
Moved to ../Modules.
Guido van Rossum [Tue, 29 Apr 1997 15:49:54 +0000 (15:49 +0000)]
Change the exception objects to have the string value "os.error"
instead "posix.error" or "nt.error".
Guido van Rossum [Tue, 29 Apr 1997 15:49:04 +0000 (15:49 +0000)]
Adapt Mac specific code to new universal headers (I think -- this is
Jack's code).
Guido van Rossum [Tue, 29 Apr 1997 15:46:43 +0000 (15:46 +0000)]
Hm. What was previously checked in was the edited *output* of the old
cgen.py. Now that cgen.py and cstubs have been quickly renamed, check
in the actual output. This has some "old-style" names left in
(getilongarg etc.) but these are now take care of by macros in
cgensupport.h (which is now specific to glmodule.c).
Guido van Rossum [Tue, 29 Apr 1997 15:43:55 +0000 (15:43 +0000)]
Moved here from ../Python and quickly renamed.
Guido van Rossum [Tue, 29 Apr 1997 15:42:53 +0000 (15:42 +0000)]
Removed cgensupport.[co] (to ../Modules).
Guido van Rossum [Tue, 29 Apr 1997 15:41:53 +0000 (15:41 +0000)]
Added cgensupport.o.
Guido van Rossum [Tue, 29 Apr 1997 15:41:26 +0000 (15:41 +0000)]
Added cgensupport.c to Setup line for gl module.
Addeed Andrew Kuchling's zlib module.
Guido van Rossum [Tue, 29 Apr 1997 15:39:45 +0000 (15:39 +0000)]
Added Jeremy's resource module.
Guido van Rossum [Tue, 29 Apr 1997 15:39:28 +0000 (15:39 +0000)]
Quickly renamed.
Guido van Rossum [Tue, 29 Apr 1997 15:38:09 +0000 (15:38 +0000)]
Added Andrew Kuchling's zlib module.
Guido van Rossum [Tue, 29 Apr 1997 15:35:28 +0000 (15:35 +0000)]
Moved rename2's macros relevant to this module here and added comment
about the file's obsolescence.
Guido van Rossum [Tue, 29 Apr 1997 14:49:28 +0000 (14:49 +0000)]
Quickly renamed.
Guido van Rossum [Tue, 29 Apr 1997 14:45:19 +0000 (14:45 +0000)]
Transformed comments to doc strings.
Added symlinks option to copytree.
Guido van Rossum [Tue, 29 Apr 1997 14:06:46 +0000 (14:06 +0000)]
Reindented at 4 spaces.
Guido van Rossum [Tue, 29 Apr 1997 14:06:05 +0000 (14:06 +0000)]
Add feature to copy(), copy2(): dst may be a directory.
Remove unneeded check for '.' / '..' from copytree().
Add some comments.
Guido van Rossum [Tue, 29 Apr 1997 13:08:15 +0000 (13:08 +0000)]
Improvements to copyfile(): open the files in binary mode, and close
them in a finally clause.
Guido van Rossum [Sun, 27 Apr 1997 21:29:51 +0000 (21:29 +0000)]
Note that passing a filename to uu.{en,de}code() is deprecated.
Guido van Rossum [Sun, 27 Apr 1997 21:25:52 +0000 (21:25 +0000)]
Added fnmatch, base64 and quopri, received from Andrew Kuchling.
Guido van Rossum [Fri, 25 Apr 1997 19:52:29 +0000 (19:52 +0000)]
Restore two features of the original 1.4 pickle:
- which_module() search __main__ last;
- load_inst() no longer checks that the classname really refers to a class.
Guido van Rossum [Fri, 25 Apr 1997 19:10:15 +0000 (19:10 +0000)]
Alas, I have to restore 'marshal', since it is needed by the new
cPickle-compatible pickle, and pickle must be importable in restricted
mode. I guess I'll have to make marshal safe.
Guido van Rossum [Fri, 25 Apr 1997 17:32:00 +0000 (17:32 +0000)]
Now that the string-sig has settled on r"obin" strings, restrict the
<letter><string> notation to 'r' and 'R'.
Guido van Rossum [Fri, 25 Apr 1997 15:38:31 +0000 (15:38 +0000)]
Expand one level of symbolic link in sys.argv[0] before inserting its
dirname in sys.path. This means that you can create a symbolic link
foo in /usr/local/bin pointing to /usr/yourname/src/foo/foo.py, and
then invoking foo will insert /usr/yourname/src/foo in sys.path, not
/usr/local/bin. This makes it easier to have multifile programs
(before, the program would have to do an os.readlink(sys.argv[0])
itself and insert the resulting directory in sys.path -- Grail does
this).
Note that the expansion is only used for sys.path; sys.argv[0] is
still the original, unadorned filename (/usr/local/bin/foo in the
example).
Guido van Rossum [Wed, 23 Apr 1997 15:14:24 +0000 (15:14 +0000)]
Unroll the for loop used for building python, so the first three
subdirectories can be made in parallel (unfortunately, Modules has to
depend on all three).
Guido van Rossum [Mon, 21 Apr 1997 14:15:55 +0000 (14:15 +0000)]
Change inspired by Tommy Burnette to add an interface to get stderr, too.
Fred Drake [Fri, 18 Apr 1997 13:54:13 +0000 (13:54 +0000)]
Fix a couple of glitches identified by Greg Stein.
Fred Drake [Wed, 16 Apr 1997 18:55:58 +0000 (18:55 +0000)]
_safe_repr(): Make the context parameter required; ok since it's only for
internal use. Make sure the maxlevels and level parameters get
passed to recursive invocations.
Fred Drake [Wed, 16 Apr 1997 16:59:30 +0000 (16:59 +0000)]
Muchly changed and improved pprint.py:
- handles recursive data structures
- formatting based on a PrettyPrinter object
- allows a maximum nesting depth to be specified
- provides safe repr()-like function which does not pretty-print
Guido van Rossum [Wed, 16 Apr 1997 15:17:06 +0000 (15:17 +0000)]
spliturl() should not throw away everything past first newline
Fred Drake [Wed, 16 Apr 1997 04:47:57 +0000 (04:47 +0000)]
Removed pprint.py.
Removed pprint.py from the README; it's now in the standard lib.
Guido van Rossum [Wed, 16 Apr 1997 02:47:12 +0000 (02:47 +0000)]
Reindented with 4 spaces.
Guido van Rossum [Wed, 16 Apr 1997 02:45:08 +0000 (02:45 +0000)]
Rewrite parsesequence() to emulate MH without invoking pick.
Test it extensively by using pick.
Guido van Rossum [Wed, 16 Apr 1997 00:49:59 +0000 (00:49 +0000)]
Checking in a copy of Fred Drake's data structure pretty-printer
(with some slight formatting changes).
Feature requests:
- Make it a class (everything should be a class);
- support recursive data structures (like pp.py on the ftp contrib site).
Guido van Rossum [Wed, 16 Apr 1997 00:34:46 +0000 (00:34 +0000)]
OK, ready to make 'assert' a keyword (instead of '__assert__').
Guido van Rossum [Wed, 16 Apr 1997 00:30:45 +0000 (00:30 +0000)]
Use uuencoded test images.
Guido van Rossum [Wed, 16 Apr 1997 00:29:59 +0000 (00:29 +0000)]
Soft failure for Win32 and Mac platforms. Less output unless verbose.
Guido van Rossum [Wed, 16 Apr 1997 00:29:15 +0000 (00:29 +0000)]
Soft failure for Win32 platform.