]>
granicus.if.org Git - python/log
Barry Warsaw [Fri, 22 Aug 1997 21:27:40 +0000 (21:27 +0000)]
generated output for new tests
Barry Warsaw [Fri, 22 Aug 1997 21:27:03 +0000 (21:27 +0000)]
Added tests of the new builtin functions issubclass() and isinstance()
Barry Warsaw [Fri, 22 Aug 1997 21:26:19 +0000 (21:26 +0000)]
cmp_exception gets promoted (essentially) to the C API function
PyErr_GivenExceptionMatches().
set_exc_info(): make sure to normalize exceptions.
do_raise(): Use PyErr_NormalizeException() if type is a class.
loop_subscript(): Use PyErr_ExceptionMatches() instead of raw pointer
compare for PyExc_IndexError.
Barry Warsaw [Fri, 22 Aug 1997 21:22:58 +0000 (21:22 +0000)]
Three new C API functions:
- int PyErr_GivenExceptionMatches(obj1, obj2)
Returns 1 if obj1 and obj2 are the same object, or if obj1 is an
instance of type obj2, or of a class derived from obj2
- int PyErr_ExceptionMatches(obj)
Higher level wrapper around PyErr_GivenExceptionMatches() which uses
PyErr_Occurred() as obj1. This will be the more commonly called
function.
- void PyErr_NormalizeException(typeptr, valptr, tbptr)
Normalizes exceptions, and places the normalized values in the
arguments. If type is not a class, this does nothing. If type is a
class, then it makes sure that value is an instance of the class by:
1. if instance is of the type, or a class derived from type, it does
nothing.
2. otherwise it instantiates the class, using the value as an
argument. If value is None, it uses an empty arg tuple, and if
the value is a tuple, it uses just that.
Barry Warsaw [Fri, 22 Aug 1997 21:14:38 +0000 (21:14 +0000)]
Two new built-in functions: issubclass() and isinstance(). Both take
classes as their second arguments. The former takes a class as the
first argument and returns true iff first is second, or is a subclass
of second.
The latter takes any object as the first argument and returns true iff
first is an instance of the second, or any subclass of second.
Also, change all occurances of pointer compares against
PyExc_IndexError with PyErr_ExceptionMatches() calls.
Guido van Rossum [Fri, 22 Aug 1997 20:56:07 +0000 (20:56 +0000)]
Correct off-by-two-pixels error.
Guido van Rossum [Fri, 22 Aug 1997 20:53:47 +0000 (20:53 +0000)]
Add unsupported variable EXE which can be set to .exe on systems where
the executable must have that suffix. Note that there is no
corresponding support in the top-level Makefile because I'm not sure
that the install targets there make sense under these circumstances.
Guido van Rossum [Fri, 22 Aug 1997 20:42:00 +0000 (20:42 +0000)]
Added configuration tests for presence of alarm(), pause(), and getpwent()
Fred Drake [Fri, 22 Aug 1997 18:20:33 +0000 (18:20 +0000)]
Oops, don't suppress echo of the rm command in l2hclean!
Fred Drake [Fri, 22 Aug 1997 18:18:54 +0000 (18:18 +0000)]
Simplify LaTeX2HTML targets && support re-use of output directories (which
saves re-generation of images).
Add l2hclean target.
Guido van Rossum [Fri, 22 Aug 1997 16:56:16 +0000 (16:56 +0000)]
Reverse the search order for the Don Beaudry hook so that the first
class wins. Makes more sense.
Fred Drake [Fri, 22 Aug 1997 13:51:31 +0000 (13:51 +0000)]
Changed description of SchedParams() in the following way:
\bar{Besocial} --> \var{besocial}
^--- note case ----^
The fixed version matches the signature. Changed "\bar{Besocial} gives ..."
to "The \var{besocial} flag gives ..." to keep from starting the sentence
with a lowercase token.
(The \bar{} --> \var{} change was required to keep LaTeX happy.)
Fred Drake [Fri, 22 Aug 1997 13:45:13 +0000 (13:45 +0000)]
Added missing "\end{funcdesc}" after FindFolder documentation.
Guido van Rossum [Fri, 22 Aug 1997 04:20:13 +0000 (04:20 +0000)]
Added new Py_IsInitalized() API function to test the 'initialized' flag.
Barry Warsaw [Thu, 21 Aug 1997 22:36:26 +0000 (22:36 +0000)]
Removed JF's dollar-Log-dollar RCS turd that caused compilation to
crash due to GvR's last check in message :-). Will try to convince JF
to remove all this evilness.
Guido van Rossum [Thu, 21 Aug 1997 17:26:04 +0000 (17:26 +0000)]
Remove redundant decl for PyOS_InputHook.
Guido van Rossum [Thu, 21 Aug 1997 16:13:37 +0000 (16:13 +0000)]
Completely disable the declarations for malloc() and friends. Use
#ifdef though, so if you still need these for a really backwards
compiler you know what to do.
Guido van Rossum [Thu, 21 Aug 1997 03:05:11 +0000 (03:05 +0000)]
Add warning about dumb SGI make.
Guido van Rossum [Thu, 21 Aug 1997 02:31:25 +0000 (02:31 +0000)]
Use lseek instead of ftell; compensate by adding BUFSIZE
Guido van Rossum [Thu, 21 Aug 1997 02:30:45 +0000 (02:30 +0000)]
Added /**/ around #end tags
Guido van Rossum [Thu, 21 Aug 1997 02:30:20 +0000 (02:30 +0000)]
Must remove conflicting files from archive
*before* adding signalmodule.o, because some ar programs
are too smart for us...
Guido van Rossum [Thu, 21 Aug 1997 02:29:19 +0000 (02:29 +0000)]
mention cPickle and cStringIO
Guido van Rossum [Thu, 21 Aug 1997 02:29:16 +0000 (02:29 +0000)]
the usual
Guido van Rossum [Thu, 21 Aug 1997 02:28:57 +0000 (02:28 +0000)]
Fix some badly botched prototypes for PyRun* c.s.
Guido van Rossum [Thu, 21 Aug 1997 02:28:40 +0000 (02:28 +0000)]
Added reop
Guido van Rossum [Thu, 21 Aug 1997 02:28:19 +0000 (02:28 +0000)]
Added missing newline to warning msg
Guido van Rossum [Thu, 21 Aug 1997 00:08:11 +0000 (00:08 +0000)]
Richard Jones: I think we can be confident in using 'CC="-Aa
-D_HPUX_SOURCE"' on HP 9.x and 10.x platforms.
Guido van Rossum [Wed, 20 Aug 1997 23:50:51 +0000 (23:50 +0000)]
Got rid of HP-UX comments (which seem to be out of date -- one should
use -Ae).
Added Cray T3E comments.
Guido van Rossum [Wed, 20 Aug 1997 23:48:16 +0000 (23:48 +0000)]
Globally renamed join() to joinpath() to avoid compilation error on Cray.
Guido van Rossum [Wed, 20 Aug 1997 23:38:57 +0000 (23:38 +0000)]
Renamed strndup to pystrndup, to avoid conflicting prototype
in GNU libc on some platforms.
Guido van Rossum [Wed, 20 Aug 1997 23:34:01 +0000 (23:34 +0000)]
Interpret three slashes in file: URL as local file (for Netscape on
Windows/Mac).
Guido van Rossum [Wed, 20 Aug 1997 22:45:52 +0000 (22:45 +0000)]
When we have signalmodule.o, remove intrcheck.o as well as sigcheck.o.
Guido van Rossum [Wed, 20 Aug 1997 22:40:18 +0000 (22:40 +0000)]
Use a counter instead of a Boolean to check for initialized; n calls
to Py_Initialize will be undone by n calls to Py_Uninitialize.
Guido van Rossum [Wed, 20 Aug 1997 22:26:19 +0000 (22:26 +0000)]
Make sure the objects returned by __getinitargs__() are kept alive (in
the memo) to avoid a certain kind of nasty crash. (Not easily
reproducable because it requires a later call to __getinitargs__() to
return a tuple that happens to be allocated at the same address.)
Guido van Rossum [Wed, 20 Aug 1997 22:13:15 +0000 (22:13 +0000)]
Use 'buildno1' instead of '@buildno' for temp file since DJGPP's bash
doesn't seem to grok @buildno.
Guido van Rossum [Tue, 19 Aug 1997 14:40:11 +0000 (14:40 +0000)]
Need to define AR since it is used, and not all Makes define it by default.
Jack Jansen [Tue, 19 Aug 1997 14:01:35 +0000 (14:01 +0000)]
Removed support_print docs.
Jack Jansen [Tue, 19 Aug 1997 14:01:16 +0000 (14:01 +0000)]
Docs on new tcl/tk, new build tree layout
Jack Jansen [Tue, 19 Aug 1997 14:00:56 +0000 (14:00 +0000)]
Very sketchy preliminary docs on new applescripting functionality.
Jack Jansen [Tue, 19 Aug 1997 13:59:59 +0000 (13:59 +0000)]
Added reop
Jack Jansen [Tue, 19 Aug 1997 13:58:57 +0000 (13:58 +0000)]
MkPluginAliases now knows about fat PythonCore (and all resource files
got binhexed again)
Jack Jansen [Tue, 19 Aug 1997 13:58:00 +0000 (13:58 +0000)]
PythonCore is now a fat shared library, the plugin modules aren't fat,
unfortunately, this turned out to be too difficult.
Plugins.prj now builds all plugin modules, and all the
interdependencies between the projects are correct. One exception:
plugins don't attempt to build PythonCore (PythonFAT and PythonApplet do).
Guido van Rossum [Tue, 19 Aug 1997 12:07:22 +0000 (12:07 +0000)]
Moved assert.h to ../Parser directory
Guido van Rossum [Tue, 19 Aug 1997 01:00:50 +0000 (01:00 +0000)]
Alas, the thread support for Tk didn't work. Withdraw it, until I
figure out how to do this right.
Guido van Rossum [Mon, 18 Aug 1997 21:52:47 +0000 (21:52 +0000)]
Made lookdict nearly twice as fast, resulting in a 5% overall
improvement of pystone. Vladimir Marangozov.
Guido van Rossum [Mon, 18 Aug 1997 21:17:32 +0000 (21:17 +0000)]
I'm tired -- checking in more news items. This isn't complete; I'm
about halfways.
Guido van Rossum [Mon, 18 Aug 1997 20:58:06 +0000 (20:58 +0000)]
Remove remark on python15.lib being in the Debug subdir only.
Guido van Rossum [Mon, 18 Aug 1997 20:57:13 +0000 (20:57 +0000)]
Changed the way python15.lib is included in the other projects.
Per Mark Hammond's suggestion, add it to the extra libs in Settings
instead of to the project's source files.
Guido van Rossum [Mon, 18 Aug 1997 20:56:10 +0000 (20:56 +0000)]
Use correct keyword parameter when calling copy with answer option!
Guido van Rossum [Mon, 18 Aug 1997 20:08:24 +0000 (20:08 +0000)]
Change default verbosity so that there are only three levels left: -q,
default and -v. In default mode, the name of each test is printed.
-v is the same as the old -vv. -q is more quiet than the old default
mode; that's fine I think.
Guido van Rossum [Mon, 18 Aug 1997 19:55:01 +0000 (19:55 +0000)]
Removed ancient FAQ from distribution
Guido van Rossum [Mon, 18 Aug 1997 16:00:04 +0000 (16:00 +0000)]
Moved inclusion of PURIFY in LINKCC to configure
Guido van Rossum [Mon, 18 Aug 1997 15:46:16 +0000 (15:46 +0000)]
No longer used.
Guido van Rossum [Mon, 18 Aug 1997 15:37:38 +0000 (15:37 +0000)]
Tweaks to cope with strftime returning 0 without error for %Z
Guido van Rossum [Mon, 18 Aug 1997 15:36:05 +0000 (15:36 +0000)]
Forgot to check in the fixed output for print
Guido van Rossum [Mon, 18 Aug 1997 15:31:24 +0000 (15:31 +0000)]
Casts by Jack to shut up the Mac compiler.
Guido van Rossum [Mon, 18 Aug 1997 15:28:52 +0000 (15:28 +0000)]
DeleteTimerHandler was accidentally #ifdef'ed out for macintosh with
Tk 8.0; this was a mistake.
Guido van Rossum [Mon, 18 Aug 1997 15:14:26 +0000 (15:14 +0000)]
Misc Mac mods by Jack. Added libmacic.tex, and these patches:
libmacfs.tex Document NewAliasMinimalFromFullPath
libmacos.tex Document SetEventHandler and SchedParams
libmacui.tex Document asynchronous event handling
libmailbox.tex Removed mime-turds that somehow got in here
Guido van Rossum [Mon, 18 Aug 1997 14:44:04 +0000 (14:44 +0000)]
Add missing comma to make a tuple of (tagOrId).
Guido van Rossum [Mon, 18 Aug 1997 14:23:13 +0000 (14:23 +0000)]
When making all, don't make sharedmods. That's now called separately
from the toplevel Makefile. (For AIX, but doesn't hurt elsewhere.)
Guido van Rossum [Mon, 18 Aug 1997 14:22:24 +0000 (14:22 +0000)]
Change the order in which things are built -- build the shared modules
after the main interpreter. Needed for AIX.
Guido van Rossum [Mon, 18 Aug 1997 14:12:12 +0000 (14:12 +0000)]
Fix LINKCC for AIX
Guido van Rossum [Mon, 18 Aug 1997 13:59:41 +0000 (13:59 +0000)]
Recognize https:// as URL as well.
Guido van Rossum [Mon, 18 Aug 1997 13:42:28 +0000 (13:42 +0000)]
Oops. Of course, print b should also be print `b`. :-(
Guido van Rossum [Sun, 17 Aug 1997 19:08:33 +0000 (19:08 +0000)]
Use a trick to make the test for GMP v2 to work when GMP v1 defines
__GNU_MP__ as empty: #if __GNU_MP__ + 0 == 2
(Untested.)
Guido van Rossum [Sun, 17 Aug 1997 18:02:23 +0000 (18:02 +0000)]
Consistently change Python-C API to Python/C API; added lots of new
introductory text for reference counts and error handling, with good
examples.
Guido van Rossum [Sun, 17 Aug 1997 16:25:45 +0000 (16:25 +0000)]
PyTuple_SetItem should require that the tuple's refcnt is one!
Guido van Rossum [Sun, 17 Aug 1997 16:24:30 +0000 (16:24 +0000)]
Different strategy regarding whether to declare getrusage() and
getpagesize() -- #ifdef doesn't work, Linux has conflicting decls in
its headers. Choice: only declare the return type, not the argument
prototype, and not on Linux.
Guido van Rossum [Sat, 16 Aug 1997 14:38:09 +0000 (14:38 +0000)]
set sharedlib extensions properly for NeXT (Ted Horst)
Guido van Rossum [Sat, 16 Aug 1997 14:35:52 +0000 (14:35 +0000)]
the usual
Guido van Rossum [Sat, 16 Aug 1997 14:35:26 +0000 (14:35 +0000)]
typo in next config
cvs2svn [Fri, 15 Aug 1997 20:18:44 +0000 (20:18 +0000)]
This commit was manufactured by cvs2svn to create tag 'r15a3'.
Guido van Rossum [Fri, 15 Aug 1997 20:18:44 +0000 (20:18 +0000)]
Another typo (importand).
Guido van Rossum [Fri, 15 Aug 1997 20:09:56 +0000 (20:09 +0000)]
Final touch...
Guido van Rossum [Fri, 15 Aug 1997 19:12:08 +0000 (19:12 +0000)]
Tweaked all l2h targets to remove the target directory before renaming
the intermediate target directory.
Guido van Rossum [Fri, 15 Aug 1997 18:57:32 +0000 (18:57 +0000)]
Fixes to make it pass latex without complaints.
Guido van Rossum [Fri, 15 Aug 1997 18:51:38 +0000 (18:51 +0000)]
Type ("thgis").
Guido van Rossum [Fri, 15 Aug 1997 18:30:14 +0000 (18:30 +0000)]
New, more complete list of what's new, pointing to Misc/NEWS for the
whole list. Also changed all references to the FAQ to point to the
FAQ wizard.
Guido van Rossum [Fri, 15 Aug 1997 16:23:32 +0000 (16:23 +0000)]
Use imp.find_module() as the most certain way to find the test data.
Jeremy Hylton [Fri, 15 Aug 1997 16:00:02 +0000 (16:00 +0000)]
generated by regrtest.py -g
Jeremy Hylton [Fri, 15 Aug 1997 15:59:43 +0000 (15:59 +0000)]
test the zlib module
only produce output if somethign goes wrong
Guido van Rossum [Fri, 15 Aug 1997 15:45:25 +0000 (15:45 +0000)]
Last minute changes for \B. AMK.
Guido van Rossum [Fri, 15 Aug 1997 15:44:58 +0000 (15:44 +0000)]
Added tests for \b, \B (AMK).
Guido van Rossum [Fri, 15 Aug 1997 15:44:23 +0000 (15:44 +0000)]
Last minut changes for \B, \S (?). AMK.
Jack Jansen [Fri, 15 Aug 1997 14:38:59 +0000 (14:38 +0000)]
Regenerated
Jack Jansen [Fri, 15 Aug 1997 14:38:05 +0000 (14:38 +0000)]
Added support for WCTabHandle, AuxWinHandle, PixPatHandle: no reason
for blacklisting them.
Jack Jansen [Fri, 15 Aug 1997 14:36:45 +0000 (14:36 +0000)]
Added #include <string.h> for memcpy()
Jack Jansen [Fri, 15 Aug 1997 14:35:54 +0000 (14:35 +0000)]
Added support for GDHandle, CTabHandle, ITabHandle and CCrsrHandle: no
reason they were blacklisted, we can handle them as generic Handles.
Jack Jansen [Fri, 15 Aug 1997 14:32:18 +0000 (14:32 +0000)]
Added GetAuxiliaryControlRecord and SetControlColor, there was no good
reason they were excluded.
Jack Jansen [Fri, 15 Aug 1997 14:31:13 +0000 (14:31 +0000)]
Made AEDesc_{New,Convert} global
Guido van Rossum [Fri, 15 Aug 1997 04:39:58 +0000 (04:39 +0000)]
Another checkpoint -- reorganized, in sections.
Guido van Rossum [Fri, 15 Aug 1997 02:52:46 +0000 (02:52 +0000)]
the usual
Guido van Rossum [Fri, 15 Aug 1997 02:52:35 +0000 (02:52 +0000)]
Date
Guido van Rossum [Fri, 15 Aug 1997 02:52:20 +0000 (02:52 +0000)]
.
Guido van Rossum [Fri, 15 Aug 1997 02:52:08 +0000 (02:52 +0000)]
Keep gcc -Wall happy
Guido van Rossum [Fri, 15 Aug 1997 02:50:47 +0000 (02:50 +0000)]
Checkpoint checkin of list of changes. Much more to follow, but it's
late...
Guido van Rossum [Fri, 15 Aug 1997 00:45:26 +0000 (00:45 +0000)]
The usual.
Guido van Rossum [Fri, 15 Aug 1997 00:04:24 +0000 (00:04 +0000)]
Added std copyright notice.
Guido van Rossum [Thu, 14 Aug 1997 23:25:20 +0000 (23:25 +0000)]
Oops, there was a bug in the output formatting - the last printed
values would overwrite the next value.
Guido van Rossum [Thu, 14 Aug 1997 23:12:18 +0000 (23:12 +0000)]
Added AMK's first cut at docs for re.py