]> granicus.if.org Git - python/log
python
28 years agoAdd fpectl and fpetest modules.
Guido van Rossum [Fri, 14 Feb 1997 23:03:31 +0000 (23:03 +0000)]
Add fpectl and fpetest modules.

28 years agoChanges for Lee Busby's SIGFPE patch set.
Guido van Rossum [Fri, 14 Feb 1997 23:00:34 +0000 (23:00 +0000)]
Changes for Lee Busby's SIGFPE patch set.
New symbol WANT_SIGFPE_HANDLER.

28 years agoChanges for Lee Busby's SIGFPE patch set.
Guido van Rossum [Fri, 14 Feb 1997 22:59:58 +0000 (22:59 +0000)]
Changes for Lee Busby's SIGFPE patch set.
Two new modules fpectl and fpetest.
Surround various and sundry f.p. operations with PyFPE_*_PROTECT macros.

28 years agoChanges for Lee Busby's SIGFPE patch set.
Guido van Rossum [Fri, 14 Feb 1997 22:58:07 +0000 (22:58 +0000)]
Changes for Lee Busby's SIGFPE patch set.
New file pyfpe.c and exception FloatingPointError.
Surround some f.p. operations with PyFPE macro brackets.

28 years agoChanges for Lee Busby's SIGFPE patch set.
Guido van Rossum [Fri, 14 Feb 1997 22:54:21 +0000 (22:54 +0000)]
Changes for Lee Busby's SIGFPE patch set.
Surround various f.p. operations with  PyFPE_{START,END}_PROTECT macros.

28 years agoChanges for Lee Busby's SIGFPE patch set.
Guido van Rossum [Fri, 14 Feb 1997 22:53:12 +0000 (22:53 +0000)]
Changes for Lee Busby's SIGFPE patch set.
New file pyfpe.h, new exception FloatingPointError.

28 years agoFix the comments for bitwise and/or.
Guido van Rossum [Fri, 14 Feb 1997 22:51:40 +0000 (22:51 +0000)]
Fix the comments for bitwise and/or.

28 years agoKeep gcc -Wall happy.
Guido van Rossum [Fri, 14 Feb 1997 21:12:56 +0000 (21:12 +0000)]
Keep gcc -Wall happy.

28 years agoAdded decl for Py_AddPendingCall and include mymalloc.h, all to keep
Guido van Rossum [Fri, 14 Feb 1997 21:12:24 +0000 (21:12 +0000)]
Added decl for Py_AddPendingCall and include mymalloc.h, all to keep
lint happy.

28 years agoAdd parentheses around && within || as gcc -Wall advises.
Guido van Rossum [Fri, 14 Feb 1997 21:00:50 +0000 (21:00 +0000)]
Add parentheses around && within || as gcc -Wall advises.

28 years agoOops, remove an unused variable from PyErr_Format().
Guido van Rossum [Fri, 14 Feb 1997 20:57:31 +0000 (20:57 +0000)]
Oops, remove an unused variable from PyErr_Format().

28 years agoAdded decl for Py_FdIsInteractive.
Guido van Rossum [Fri, 14 Feb 1997 19:51:34 +0000 (19:51 +0000)]
Added decl for Py_FdIsInteractive.

28 years agoAdded decl for Py_InteractiveFlag.
Guido van Rossum [Fri, 14 Feb 1997 19:51:09 +0000 (19:51 +0000)]
Added decl for Py_InteractiveFlag.

28 years agoMy version of Lee Busby's patches to make '-i' pretend stdin is a tty
Guido van Rossum [Fri, 14 Feb 1997 19:50:32 +0000 (19:50 +0000)]
My version of Lee Busby's patches to make '-i' pretend stdin is a tty
even if it isn't.  Changes:

- set the global flag Py_InteractiveFlag when -i is given
- call Py_FdIsInteractive() instead of isatty()
- make stdin unbuffered, too, when using -u
- make stdin and stdout line buffered, when stdin is interactive and not -u

Note that setting the environment variable PYTHONINSPECT does not have
these extra effects of -i.  (Should it?)

Unlike Lee's changes, I don't set change the prompt to go to stderr
when -i is given.

28 years agoAdded new global flag variable Py_InteractiveFlag and new function
Guido van Rossum [Fri, 14 Feb 1997 19:45:36 +0000 (19:45 +0000)]
Added new global flag variable Py_InteractiveFlag and new function
Py_FdIsInteractive().  The flag is supposed to be set by the -i
command line option.  The function is supposed to be called instead of
isatty().  This is used for Lee Busby's wish #1, to have an option
that pretends stdin is interactive even when it really isn't.

28 years agoAdded PyArg_ParseTupleAndKeywords, PyErr_Format.
Guido van Rossum [Fri, 14 Feb 1997 17:11:33 +0000 (17:11 +0000)]
Added PyArg_ParseTupleAndKeywords, PyErr_Format.

28 years agoAdded prototype for PyErr_Format(exception, formatstring, ...) -> NULL.
Guido van Rossum [Fri, 14 Feb 1997 17:10:25 +0000 (17:10 +0000)]
Added prototype for PyErr_Format(exception, formatstring, ...) -> NULL.

28 years agoAdded convenience function PyErr_Format(exception, formatstring, ...) -> NULL.
Guido van Rossum [Fri, 14 Feb 1997 17:09:47 +0000 (17:09 +0000)]
Added convenience function PyErr_Format(exception, formatstring, ...) -> NULL.

28 years agoAdded .cxx and .cpp to extensions recognized as source files.
Guido van Rossum [Fri, 14 Feb 1997 16:44:04 +0000 (16:44 +0000)]
Added .cxx and .cpp to extensions recognized as source files.

28 years agoAdded PyArg_ParseTupleAndKeywords() prototype.
Guido van Rossum [Fri, 14 Feb 1997 16:36:35 +0000 (16:36 +0000)]
Added PyArg_ParseTupleAndKeywords() prototype.

28 years agodjgpp support.
Guido van Rossum [Fri, 14 Feb 1997 16:36:08 +0000 (16:36 +0000)]
djgpp support.

28 years agodjgpp fix (SIGMAX).
Guido van Rossum [Fri, 14 Feb 1997 16:35:36 +0000 (16:35 +0000)]
djgpp fix (SIGMAX).

28 years agoIssue a more meaningful error if strftime keeps returning a NULL pointer.
Guido van Rossum [Fri, 14 Feb 1997 16:35:10 +0000 (16:35 +0000)]
Issue a more meaningful error if strftime keeps returning a NULL pointer.
Run the loop up to and including 8k.

28 years ago*Don't* kill all local variables on function exit. This will be done
Guido van Rossum [Fri, 14 Feb 1997 16:32:14 +0000 (16:32 +0000)]
*Don't* kill all local variables on function exit.  This will be done
by the frameobject dealloc when it is time for the locals to go.  When
there's still a traceback object referencing this stack frame, we
don't want the local variables to disappear yet.

(Hmm...  Shouldn't they be copied to the f_locals dictionary?)

28 years agoSlight tweak: in string_hash(), if the hash hasn't been computed yet,
Guido van Rossum [Fri, 14 Feb 1997 16:29:22 +0000 (16:29 +0000)]
Slight tweak: in string_hash(), if the hash hasn't been computed yet,
and if there's a pointer to an interned version of the string, use its
hash and store its hash in this object, rather than recomputing it.

28 years agoKill all local variables when the frame is deallocated (moved here
Guido van Rossum [Fri, 14 Feb 1997 16:27:29 +0000 (16:27 +0000)]
Kill all local variables when the frame is deallocated (moved here
from ceval.c).

Wrapped a long line.

28 years agoGave the Listbox selection methods their correct (longer) names.
Guido van Rossum [Fri, 14 Feb 1997 16:21:16 +0000 (16:21 +0000)]
Gave the Listbox selection methods their correct (longer) names.
Removed select_adjust -- Tk no longer supports this.

28 years agoChanges by Sjoerd (reformatted).
Guido van Rossum [Fri, 14 Feb 1997 16:14:03 +0000 (16:14 +0000)]
Changes by Sjoerd (reformatted).

add(): better handling of overflow (substitute maxval instead of
throwing away higher order bits).

ratecv(): some bugfixes, Sjoerd says.

28 years agoAdded doco for ratecv.
Guido van Rossum [Fri, 14 Feb 1997 15:59:49 +0000 (15:59 +0000)]
Added doco for ratecv.

28 years agoAdded test for ratecv (from Sjoerd, reformatted).
Guido van Rossum [Fri, 14 Feb 1997 15:58:00 +0000 (15:58 +0000)]
Added test for ratecv (from Sjoerd, reformatted).

28 years agoAdded intern() function.
Guido van Rossum [Fri, 14 Feb 1997 15:48:05 +0000 (15:48 +0000)]
Added intern() function.

28 years agoPut support for a cnf dictionary back in, since it is still supported
Guido van Rossum [Wed, 12 Feb 1997 16:49:57 +0000 (16:49 +0000)]
Put support for a cnf dictionary back in, since it is still supported
by all true Tkinter widgets.  (Not that I *like* this module -- it
stinks, but until I have something better, I can't nuke it.)

28 years agoMerged in Jack's fixes. This brings some lines beyond 79 chars again;
Guido van Rossum [Tue, 11 Feb 1997 16:39:31 +0000 (16:39 +0000)]
Merged in Jack's fixes.  This brings some lines beyond 79 chars again;
I'll clean that up later.  Also corrected a mistake introduced by the
previous reformatting: an 'else' belonging to a 'for' was accidentally
reindented to belong to the 'if' inside the 'for'.  Note that the
module uses inconsistent indentation -- most code is indented with 8
spaces, but some of the reformatted code uses 4 spaces.  I'll fix this
later in the promised cleanup pass.

28 years agoPut a new, more useful, set of references in the leading comment.
Guido van Rossum [Mon, 10 Feb 1997 17:51:56 +0000 (17:51 +0000)]
Put a new, more useful, set of references in the leading comment.

28 years agoCorrect typo in PyArg_ParseTuple example.
Guido van Rossum [Mon, 10 Feb 1997 16:51:52 +0000 (16:51 +0000)]
Correct typo in PyArg_ParseTuple example.

Add reference to DLD 3.3 at http://www-swiss.ai.mit.edu/~jaffer/DLD.html.

28 years agoThe USE_CACHE_ALIGNING define now has a value: the number of *words*
Jack Jansen [Mon, 3 Feb 1997 15:06:45 +0000 (15:06 +0000)]
The USE_CACHE_ALIGNING define now has a value: the number of *words*
in a cacheline.

28 years agoRestructured Checker class to get rid of 'ext' table.
Guido van Rossum [Sun, 2 Feb 1997 23:30:32 +0000 (23:30 +0000)]
Restructured Checker class to get rid of 'ext' table.
Links are now either in 'todo' or 'done', and ext links
are hadled more like local links except that no further
links are gathered (and sometimes they aren't checked,
e.g. for mailto and news URLs).  The -x option reverses
its meaning: it disables checking of ext links (they are
moved to 'done' without checking).  A new 'errors' table
collects pages with bad links as we go -- redundant,
but useful for the GUI version which needs to report
this as we go.  Some new methods, including reset().
New checkpoint format.

Adapted the GUI to the changes in the Checker class.
Added Quit and "Start over" buttons, and a checkbox
to disable checking external links.  The details
window now also shows bad links emanating from the
selected page.  Miscellaneous small chages.

28 years agoOptionally (on USE_CACHE_ALIGN) extend overhead structure to align
Jack Jansen [Sat, 1 Feb 1997 23:44:50 +0000 (23:44 +0000)]
Optionally (on USE_CACHE_ALIGN) extend overhead structure to align
returned addresses on 16-byte cacheline boundary.

28 years agoAdd root URL entry box, separate start/stop/step buttons.
Guido van Rossum [Sat, 1 Feb 1997 05:17:29 +0000 (05:17 +0000)]
Add root URL entry box, separate start/stop/step buttons.
If the users selects an item in 'To check', start checking there.

28 years agoProcess <img> and <frame> tags. Don't bother skipping second href.
Guido van Rossum [Sat, 1 Feb 1997 05:16:08 +0000 (05:16 +0000)]
Process <img> and <frame> tags. Don't bother skipping second href.

28 years agoCheck in another copy of tktools.py...
Guido van Rossum [Fri, 31 Jan 1997 18:58:53 +0000 (18:58 +0000)]
Check in another copy of tktools.py...

28 years agoTk interface to webchecker. Not fully featured yet, but usable.
Guido van Rossum [Fri, 31 Jan 1997 18:58:12 +0000 (18:58 +0000)]
Tk interface to webchecker.  Not fully featured yet, but usable.

28 years agoSpin off checking of external page in a subroutine.
Guido van Rossum [Fri, 31 Jan 1997 18:57:23 +0000 (18:57 +0000)]
Spin off checking of external page in a subroutine.
Increase MAXPAGE to 150K.
Add back printing of __doc__ for usage message.

28 years agoAdded/updated copyright notices
Jack Jansen [Fri, 31 Jan 1997 16:15:11 +0000 (16:15 +0000)]
Added/updated copyright notices
(and the &*^$%@ resource files got binhexed again, sigh)

28 years agoAdded _tkinter modules in Image extension
Jack Jansen [Fri, 31 Jan 1997 16:13:26 +0000 (16:13 +0000)]
Added _tkinter modules in Image extension

28 years agoImage libraries moved and small things
Jack Jansen [Fri, 31 Jan 1997 16:11:43 +0000 (16:11 +0000)]
Image libraries moved and small things

28 years agoMany misc changes.
Guido van Rossum [Fri, 31 Jan 1997 14:43:15 +0000 (14:43 +0000)]
Many misc changes.

- Faster HTML parser derivede from SGMLparser (Fred Gansevles).

- All manipulations of todo, done, ext, bad are done via methods, so a
derived class can override.  Also moved the 'done' marking to
dopage(), so run() is much simpler.

- Added a method status() which returns a string containing the
summary counts; added a "total" count.

- Drop the guessing of the file type before opening the document -- we
still need to check those links for validity!

- Added a subroutine to close a connection which first slurps up the
remaining data when it's an ftp URL -- apparently closing an ftp
connection without reading till the end makes it hang.

- Added -n option to skip running (only useful with -R).

- The Checker object now has an instance variable which is set to 1
when it is changed.  This is not pickled.

28 years ago(py-mode-map): Comment Out Region / Uncomment Region should use
Barry Warsaw [Thu, 30 Jan 1997 20:16:18 +0000 (20:16 +0000)]
(py-mode-map): Comment Out Region / Uncomment Region should use
py-comment-region instead of comment-region.

28 years ago#Updated authorship line
Barry Warsaw [Thu, 30 Jan 1997 19:50:39 +0000 (19:50 +0000)]
#Updated authorship line

28 years ago(py-parse-partial-sexp-works-p): New variable to work around a bug in
Barry Warsaw [Thu, 30 Jan 1997 19:49:39 +0000 (19:49 +0000)]
(py-parse-partial-sexp-works-p): New variable to work around a bug in
parse-partial-sexp in some Emacsen.

(py-goto-beyond-final-line): use py-parse-partial-sexp-works-p.

28 years agoMove the 'import os' in URLopener.cleanup() to inside the block
Guido van Rossum [Thu, 30 Jan 1997 15:54:58 +0000 (15:54 +0000)]
Move the 'import os' in URLopener.cleanup() to inside the block
guarded by 'if self.tempcache', to reduce the likelihood of this
causing an exception when invoked during __del__...

28 years agoRenamed
Jack Jansen [Thu, 30 Jan 1997 15:48:07 +0000 (15:48 +0000)]
Renamed

28 years agoAdded imgpng
Jack Jansen [Thu, 30 Jan 1997 15:47:08 +0000 (15:47 +0000)]
Added imgpng

28 years agoSet proper User-agent header (Python-webchecker/<version>).
Guido van Rossum [Thu, 30 Jan 1997 06:04:00 +0000 (06:04 +0000)]
Set proper User-agent header (Python-webchecker/<version>).

When -x is combined with -q, still do the checking, but don't print
the error in this phase -- they are reported by report_errors().

28 years agoSome refinements of the external-link checking code: insert the errors
Guido van Rossum [Thu, 30 Jan 1997 04:26:57 +0000 (04:26 +0000)]
Some refinements of the external-link checking code: insert the errors
in the 'bad' dictionary (sanitize them so they are picklable; the
sanitation code is now a subroutine); don't check mailto: URLs; omit
colon in Error message.

28 years agoAdded -x option to check external links. Slooooow!
Guido van Rossum [Thu, 30 Jan 1997 03:58:21 +0000 (03:58 +0000)]
Added -x option to check external links.  Slooooow!

28 years agoCatch I/O errors when parsing robots.txt file.
Guido van Rossum [Thu, 30 Jan 1997 03:30:20 +0000 (03:30 +0000)]
Catch I/O errors when parsing robots.txt file.
Add version number, printed at startup in non-quited mode.

28 years agoBasic README file
Guido van Rossum [Thu, 30 Jan 1997 03:24:00 +0000 (03:24 +0000)]
Basic README file

28 years agoAdded robots.txt support, using Skip Montanaro's parser.
Guido van Rossum [Thu, 30 Jan 1997 03:19:41 +0000 (03:19 +0000)]
Added robots.txt support, using Skip Montanaro's parser.
Fixed occasional inclusion of unpicklable objects (Message in errors).
Changed indent of a few messages.

28 years agoSkip Montanaro's robots.txt parser.
Guido van Rossum [Thu, 30 Jan 1997 03:18:23 +0000 (03:18 +0000)]
Skip Montanaro's robots.txt parser.

28 years agoweb tree checker
Guido van Rossum [Thu, 30 Jan 1997 02:44:48 +0000 (02:44 +0000)]
web tree checker

28 years agomime types guesser
Guido van Rossum [Thu, 30 Jan 1997 02:44:20 +0000 (02:44 +0000)]
mime types guesser

28 years agoDid nobody ever notice that "make test" didn't print the summary line
Guido van Rossum [Wed, 29 Jan 1997 16:03:45 +0000 (16:03 +0000)]
Did nobody ever notice that "make test" didn't print the summary line
any more?  This was because the *parent* process in test_socket.py did
an os._exit(0)!  Getting rid of that now...

28 years agoSmall lookmapping nits:
Guido van Rossum [Wed, 29 Jan 1997 15:53:56 +0000 (15:53 +0000)]
Small lookmapping nits:
- remove bogus initialization using uninitialized i
- derive initial incr from hash
- copy mp->ma_table into a local variable

28 years agoposix_execve(): Accept any mapping protocol object for the env
Barry Warsaw [Wed, 29 Jan 1997 15:08:24 +0000 (15:08 +0000)]
posix_execve(): Accept any mapping protocol object for the env
argument, not hardwired to a dictionary.

28 years agoFix bug reported by Per Lindqvist: "%#06x" % 1 stuck the 0 padding
Guido van Rossum [Wed, 29 Jan 1997 06:00:24 +0000 (06:00 +0000)]
Fix bug reported by Per Lindqvist: "%#06x" % 1 stuck the 0 padding
in front of the 0x, like such: "0000x1".

28 years agoFinal three poly table entries corrected by Tim Peters.
Guido van Rossum [Wed, 29 Jan 1997 04:45:16 +0000 (04:45 +0000)]
Final three poly table entries corrected by Tim Peters.
Reindented the whole table.

28 years agoChange bsddbmodule.o -> bsddbmodule.c.
Guido van Rossum [Tue, 28 Jan 1997 02:21:56 +0000 (02:21 +0000)]
Change bsddbmodule.o -> bsddbmodule.c.

28 years agoAdded LDLAST variable, substituted by configure script, for the final
Guido van Rossum [Tue, 28 Jan 1997 02:21:24 +0000 (02:21 +0000)]
Added LDLAST variable, substituted by configure script, for the final
argument to the linker (required for DEC Alpha threads).

28 years agoChanged the lookup algorithm again, based on Reimer Behrends's post.
Guido van Rossum [Tue, 28 Jan 1997 00:00:11 +0000 (00:00 +0000)]
Changed the lookup algorithm again, based on Reimer Behrends's post.
The table size is now constrained to be a power of two, and we use a
variable increment based on GF(2^n)-{0} (not that I have the faintest
idea what that is :-) which helps avoid the expensive '%' operation.

Some of the entries in the table of polynomials have been modified
according to a post by Tim Peters.

28 years agoTwo small changes:
Guido van Rossum [Mon, 27 Jan 1997 23:42:36 +0000 (23:42 +0000)]
Two small changes:

- Use co->... instead of f->f_code->...; save an extra lookup of what
we already have in a local variable).

- Remove test for nlocals > 0 before setting fastlocals to
f->f_localsplus; 0 is a rare case and the assignment is safe even
then.

28 years agonew.code() has grown another foot, eh, another two arguments.
Guido van Rossum [Mon, 27 Jan 1997 23:25:37 +0000 (23:25 +0000)]
new.code() has grown another foot, eh, another two arguments.

28 years agoPlug a leak with calling something other than a function or method is
Guido van Rossum [Mon, 27 Jan 1997 21:30:09 +0000 (21:30 +0000)]
Plug a leak with calling something other than a function or method is
called with keyword arguments -- the keyword and value were leaked.
This affected for instance with a __call__() method.

Bug reported and fix supplied by Jim Fulton.

28 years agoPatches for (two forms of) optional dynamic execution profiling --
Guido van Rossum [Fri, 24 Jan 1997 13:49:28 +0000 (13:49 +0000)]
Patches for (two forms of) optional dynamic execution profiling --
i.e., counting opcode frequencies, or (with DXPAIRS defined) opcode
pair frequencies.  Define DYNAMIC_EXECUTION_PROFILE on the command
line (for this file and for sysmodule.c) to enable.

28 years agoChange the control flow for error handling in the function prelude to
Guido van Rossum [Fri, 24 Jan 1997 04:19:24 +0000 (04:19 +0000)]
Change the control flow for error handling in the function prelude to
jump to the "Kill locals" section at the end.  Add #ifdef macintosh
bandaid to make sure we call sigcheck() on the Mac.

28 years agoAdded optional interface for dynamic execution profile (to be gathered
Guido van Rossum [Fri, 24 Jan 1997 04:07:45 +0000 (04:07 +0000)]
Added optional interface for dynamic execution profile (to be gathered
in ceval.c).

28 years agoGet the line number from PyCode_Addr2Line instead of believing
Guido van Rossum [Fri, 24 Jan 1997 04:02:55 +0000 (04:02 +0000)]
Get the line number from PyCode_Addr2Line instead of believing
tb_lineno.  Store it in tb_lineno for the user.

28 years agoWhen a recycled frame has more local+stack slots than needed,
Guido van Rossum [Fri, 24 Jan 1997 04:00:21 +0000 (04:00 +0000)]
When a recycled frame has more local+stack slots than needed,
give the extra slots to the stack rather than than forgetting about
them (this reduces the number of reallocs done).

28 years agoTwo more arguments to newcodeobject -- first lineno and lineno table.
Guido van Rossum [Fri, 24 Jan 1997 03:58:52 +0000 (03:58 +0000)]
Two more arguments to newcodeobject -- first lineno and lineno table.

28 years agoNew magin number (because of linenumber table).
Guido van Rossum [Fri, 24 Jan 1997 03:44:53 +0000 (03:44 +0000)]
New magin number (because of linenumber table).

28 years agoMarshal the line number table of code objects.
Guido van Rossum [Fri, 24 Jan 1997 03:44:17 +0000 (03:44 +0000)]
Marshal the line number table of code objects.

28 years agoInstead of emitting SET_LINENO instructions, generate a line number
Guido van Rossum [Fri, 24 Jan 1997 03:43:35 +0000 (03:43 +0000)]
Instead of emitting SET_LINENO instructions, generate a line number
table which is incorporated in the code object.  This way, the runtime
overhead to keep track of line numbers is only incurred when an
exception has to be reported.

28 years agoAdd co_firstlineno and co_lnotab, for the line number table generated
Guido van Rossum [Fri, 24 Jan 1997 03:41:09 +0000 (03:41 +0000)]
Add co_firstlineno and co_lnotab, for the line number table generated
by the compiler (in lieu of SET_LINENO instructions).

28 years agoInitialize the ob_type field of PyAST_Type dynamically (in
Guido van Rossum [Thu, 23 Jan 1997 23:29:44 +0000 (23:29 +0000)]
Initialize the ob_type field of PyAST_Type dynamically (in
initparser()) instead of statically (in the initializer).  The static
initialization, using the address of an object in a different DLL, is
too much for the Microsoft VC++ compiler, and we want to be able to
build this module as a separate DLL (it's nice to have but we don't
want to increase the core DLL's size by 25K).  This same trick has
been applied to a number of modules, e.g. NumPy and _tkinter.

28 years agoForget keeping track of whether a dictionary contains all interned
Guido van Rossum [Thu, 23 Jan 1997 19:39:29 +0000 (19:39 +0000)]
Forget keeping track of whether a dictionary contains all interned
string keys.  Just doing a pointer compare before the string compare
(in fact before the hash compare!) is just as fast.

28 years agoVarious notes added:
Guido van Rossum [Wed, 22 Jan 1997 21:00:32 +0000 (21:00 +0000)]
Various notes added:

- -mt option for Solaris threads with Solaris compiler
- make clean when switching static link status for Linux
- DEC alpha --with-dec-threads option
- SunOS removed unnecessary warnings, mention -Xa for SunPro
- Setup.local file
- warn to try make clean after changing readline option
- mention --with-threads as alias for --with-thread

28 years agoThe usual
Guido van Rossum [Wed, 22 Jan 1997 20:54:01 +0000 (20:54 +0000)]
The usual

28 years agoA number of new symbols have appeared (courtesy autoconf 2.12?)
Guido van Rossum [Wed, 22 Jan 1997 20:53:30 +0000 (20:53 +0000)]
A number of new symbols have appeared (courtesy autoconf 2.12?)

28 years agoAdd --with-dec-threads, for DEL Alpha, which requires -threads as the
Guido van Rossum [Wed, 22 Jan 1997 20:51:58 +0000 (20:51 +0000)]
Add --with-dec-threads, for DEL Alpha, which requires -threads as the
*final* linker argument.  This implies --with-thread.

Reimplemented --with-threads as an alias for --with-thread.

28 years agoAdded PyCObject_Import.
Guido van Rossum [Wed, 22 Jan 1997 20:48:48 +0000 (20:48 +0000)]
Added PyCObject_Import.

28 years ago(libparser.tex): Fix typo found by Mark Hammond.
Fred Drake [Wed, 22 Jan 1997 14:25:21 +0000 (14:25 +0000)]
(libparser.tex):  Fix typo found by Mark Hammond.

28 years agoBump version to 1.5a1.
Guido van Rossum [Wed, 22 Jan 1997 03:46:13 +0000 (03:46 +0000)]
Bump version to 1.5a1.

28 years agoBump install version to 1.5.
Guido van Rossum [Wed, 22 Jan 1997 03:45:38 +0000 (03:45 +0000)]
Bump install version to 1.5.

28 years agoRemove GetOwner, add GetBuildInfo...
Guido van Rossum [Wed, 22 Jan 1997 01:41:30 +0000 (01:41 +0000)]
Remove GetOwner, add GetBuildInfo...

28 years agoAdded getbuildinfo.c to the project.
Guido van Rossum [Wed, 22 Jan 1997 01:40:35 +0000 (01:40 +0000)]
Added getbuildinfo.c to the project.

28 years agoFix splitext() to go up to the last dot, not the first.
Guido van Rossum [Wed, 22 Jan 1997 00:17:26 +0000 (00:17 +0000)]
Fix splitext() to go up to the last dot, not the first.

28 years agoAvoid traceback in selection_own_get() when no Tk widget owns the
Guido van Rossum [Tue, 21 Jan 1997 23:22:03 +0000 (23:22 +0000)]
Avoid traceback in selection_own_get() when no Tk widget owns the
selection; return None instead.

28 years agoDarn. Updated version number for configure.in.
Guido van Rossum [Tue, 21 Jan 1997 22:03:53 +0000 (22:03 +0000)]
Darn.  Updated version number for configure.in.

28 years agoLet --with-threads be an alias for --with-thread.
Guido van Rossum [Tue, 21 Jan 1997 22:02:36 +0000 (22:02 +0000)]
Let --with-threads be an alias for --with-thread.

28 years agoKill all local variables on function return. This closes a gigantic
Guido van Rossum [Tue, 21 Jan 1997 21:18:36 +0000 (21:18 +0000)]
Kill all local variables on function return.  This closes a gigantic
leak of memory and file descriptors (thanks for Roj for reporting
that!).  Alas, the speed goes down by 5%. :-(