]>
granicus.if.org Git - python/log
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.
Guido van Rossum [Wed, 16 Apr 1997 00:27:45 +0000 (00:27 +0000)]
No need to define assert, it's built in.
Fred Drake [Tue, 15 Apr 1997 14:15:23 +0000 (14:15 +0000)]
Always use spaces for indentation.
Added pformat() function: formats object to a string representation with
no trailing newline; returns the string.
Guido van Rossum [Mon, 14 Apr 1997 13:30:24 +0000 (13:30 +0000)]
Patch by Craig McPheeters to clean up the back-references to widgets
contained in commands created by those same widgets.
Guido van Rossum [Fri, 11 Apr 1997 22:31:56 +0000 (22:31 +0000)]
Remove Digital Creations copyright (Jim sez it's okay).
Guido van Rossum [Fri, 11 Apr 1997 22:26:42 +0000 (22:26 +0000)]
Catch and report ValueError raised by strftime.
Guido van Rossum [Fri, 11 Apr 1997 22:19:12 +0000 (22:19 +0000)]
OK, I lied. On Windows, _IOLBF seems to be the same as full
buffering, so to get the normal behavior back, I set it to
unbuffered.
Guido van Rossum [Fri, 11 Apr 1997 21:57:53 +0000 (21:57 +0000)]
Change in when and how stdin and stdout are set to line-buffering.
This used to be done whenever stdin was interactive. Now we only do
it when the -i flag is given. Also (and this is the real reason for
this fix) we explicitly allocate a buffer -- this seems to be
necessary on Windows.
Guido van Rossum [Fri, 11 Apr 1997 20:44:04 +0000 (20:44 +0000)]
Keep Microsoft VC happy.
Guido van Rossum [Fri, 11 Apr 1997 20:37:35 +0000 (20:37 +0000)]
Keep gcc -Wall and Microsoft VC happy.
Barry Warsaw [Fri, 11 Apr 1997 20:27:03 +0000 (20:27 +0000)]
Removed two unused static function: string_addsep() and
string_append(). These must be artifacts of GvR's rewrite.
Fixed some typos in the leading comment (and re-filled the
paragraphs).
Hope you don't mind, Guido.
Guido van Rossum [Fri, 11 Apr 1997 19:56:06 +0000 (19:56 +0000)]
My own patch: support writable 'softspace' attribute.
Guido van Rossum [Fri, 11 Apr 1997 19:22:06 +0000 (19:22 +0000)]
(Jack:) On the Mac, don't automatically enable dynamic loading.
Guido van Rossum [Fri, 11 Apr 1997 19:19:46 +0000 (19:19 +0000)]
(Jack:) Don't define TRUE and FALSE if already defined.
Guido van Rossum [Fri, 11 Apr 1997 19:18:23 +0000 (19:18 +0000)]
(Jack:) On the Mac, use standard strerror() if using MSL C-library.
Guido van Rossum [Fri, 11 Apr 1997 19:16:25 +0000 (19:16 +0000)]
(Jack:) On the Mac, give syntax error on \r.
Guido van Rossum [Fri, 11 Apr 1997 19:14:07 +0000 (19:14 +0000)]
(Jack:) Align mapping entries to 4-words if USE_CACHE_ALIGNED is defined.
Guido van Rossum [Fri, 11 Apr 1997 19:12:20 +0000 (19:12 +0000)]
(Jack:) fopen arg typo (?) "rw" changed to "rb".
Guido van Rossum [Fri, 11 Apr 1997 19:11:25 +0000 (19:11 +0000)]
(Jack:) Mac only: get GUSI errno.h values too.
Guido van Rossum [Fri, 11 Apr 1997 19:09:51 +0000 (19:09 +0000)]
(Jack+Guido:) interpret ../ in basejoin() according to RFC1808.
Guido van Rossum [Fri, 11 Apr 1997 19:01:48 +0000 (19:01 +0000)]
Open files in binary mode.
Guido van Rossum [Fri, 11 Apr 1997 19:00:53 +0000 (19:00 +0000)]
(Jack:) Better MacOS support.
Guido van Rossum [Fri, 11 Apr 1997 18:59:38 +0000 (18:59 +0000)]
(Jack:) Recognize PNG files.
Guido van Rossum [Fri, 11 Apr 1997 18:42:45 +0000 (18:42 +0000)]
Remove the Emacs shell-script line. It's not a shell script.