]> granicus.if.org Git - python/log
python
28 years agoChange PyFPE_END_PROTECT to PyFPE_END_PROTECT(v). v should be the
Guido van Rossum [Fri, 14 Mar 1997 04:23:42 +0000 (04:23 +0000)]
Change PyFPE_END_PROTECT to PyFPE_END_PROTECT(v).  v should be the
last variable to which a floating point expression is assigned.  The
macro passes its address to a dummy function so that the optimizer
can't delay calculating its value until after the macro.

28 years agoImplement find_class() without exec statement.
Guido van Rossum [Fri, 14 Mar 1997 04:21:10 +0000 (04:21 +0000)]
Implement find_class() without exec statement.

28 years agoChange the list() function to match the documentation in the comment
Guido van Rossum [Fri, 14 Mar 1997 04:18:20 +0000 (04:18 +0000)]
Change the list() function to match the documentation in the comment
(it should return a list of tuples, not a list of lists).

28 years agoAdded Fred Drake's netrc parser class.
Guido van Rossum [Fri, 14 Mar 1997 04:16:54 +0000 (04:16 +0000)]
Added Fred Drake's netrc parser class.

28 years agoSupport disassembly of a variety of objects through dis.dis().
Guido van Rossum [Fri, 14 Mar 1997 04:15:43 +0000 (04:15 +0000)]
Support disassembly of a variety of objects through dis.dis().

28 years agoAdd optional 4th argument to [r]find and [r]index (end of slice).
Guido van Rossum [Fri, 14 Mar 1997 04:13:56 +0000 (04:13 +0000)]
Add optional 4th argument to [r]find and [r]index (end of slice).

28 years agoAdd a rough list of undocumented stuff at the end.
Guido van Rossum [Fri, 14 Mar 1997 04:12:52 +0000 (04:12 +0000)]
Add a rough list of undocumented stuff at the end.

28 years agoHint about [\] trick to avoid quad backslashes.
Guido van Rossum [Fri, 14 Mar 1997 04:10:13 +0000 (04:10 +0000)]
Hint about [\] trick to avoid quad backslashes.

28 years agotarget libinstall:
Fred Drake [Thu, 13 Mar 1997 14:14:29 +0000 (14:14 +0000)]
target libinstall:
Create the .pyo files corresponding to the .py and .pyc files as
well.

28 years agocompile(): Use the __debug__ flag to determine the proper filename extension
Fred Drake [Thu, 13 Mar 1997 14:13:16 +0000 (14:13 +0000)]
compile():  Use the __debug__ flag to determine the proper filename extension
to use for the cached module code object.

28 years agoFix dumb bug calling parsestrplus with wrong node as argument.
Guido van Rossum [Tue, 11 Mar 1997 21:25:55 +0000 (21:25 +0000)]
Fix dumb bug calling parsestrplus with wrong node as argument.

Add prototypes for parsestr() and parsestrplus() (unrelated, but
seemed to make sense.)

28 years agoDefine __debug__ as 0 if -O is given, 1 otherwise. Also test for
Guido van Rossum [Tue, 11 Mar 1997 18:43:26 +0000 (18:43 +0000)]
Define __debug__ as 0 if -O is given, 1 otherwise.  Also test for
errors in initializing the dictionary.

28 years agoAdded support for ``if __debug__:'' -- if -O is given, this form is
Guido van Rossum [Tue, 11 Mar 1997 18:42:21 +0000 (18:42 +0000)]
Added support for ``if __debug__:'' -- if -O is given, this form is
recognized by the code generator and code generation for the test and
the subsequent suite is suppressed.

One must write *exactly* ``if __debug__:'' or ``elif __debug__:'' --
no parentheses or operators must be present, or the optimization is
not carried through.  Whitespace doesn't matter.  Other uses of
__debug__ will find __debug__ defined as 0 or 1 in the __builtin__
module.

28 years agoWhen -O is given, use ".pyo" instead of ".pyc".
Guido van Rossum [Tue, 11 Mar 1997 18:37:35 +0000 (18:37 +0000)]
When -O is given, use ".pyo" instead of ".pyc".

28 years agoZap all env vars beginning with PYTHON to prevent an obvious form of attack.
Guido van Rossum [Tue, 11 Mar 1997 18:24:21 +0000 (18:24 +0000)]
Zap all env vars beginning with PYTHON to prevent an obvious form of attack.

28 years agoAdded support for imaginary constants (e.g. 0j, 1j, 1.0j).
Guido van Rossum [Mon, 10 Mar 1997 23:17:01 +0000 (23:17 +0000)]
Added support for imaginary constants (e.g. 0j, 1j, 1.0j).

28 years agoClarify error message for unexpected keyword parameter.
Guido van Rossum [Mon, 10 Mar 1997 22:58:23 +0000 (22:58 +0000)]
Clarify error message for unexpected keyword parameter.

28 years agoRestore old behavior of autotest and testall, using regrtest.
Guido van Rossum [Fri, 7 Mar 1997 21:05:43 +0000 (21:05 +0000)]
Restore old behavior of autotest and testall, using regrtest.
This is done for backward compatibility with Python 1.4.

28 years agoAdd "extra-verbose" mode, triggered by specifying two -v flags. In
Guido van Rossum [Fri, 7 Mar 1997 21:04:33 +0000 (21:04 +0000)]
Add "extra-verbose" mode, triggered by specifying two -v flags.  In
this mode, all tests are run in verbose mode with their output to
stdout.  No comparing of output is done.

28 years agoMuch more rigorous testing -- we now try many times, varying in time
Guido van Rossum [Fri, 7 Mar 1997 20:30:03 +0000 (20:30 +0000)]
Much more rigorous testing -- we now try many times, varying in time
of day, day of week, and season.

Fix the weekday predictions -- these seemed to be all bogus.  The new
predictions seem to correspond with strftime() on Solaris and IRIX, so
I believe they are correct.

Get rid of the test for non-standard format %C returning "the same as
date(1)".  This is hard to do reliably without opening a pipe to date,
and moreover, on IRIX 6.2, %C yields the Century.  So we use that
instead.  (We don't complain about this in non-verbose mode anyway.)

28 years agoFixed doc string, added __version__, fixed 1 bug.
Guido van Rossum [Fri, 7 Mar 1997 00:21:55 +0000 (00:21 +0000)]
Fixed doc string, added __version__, fixed 1 bug.

28 years agoKa-Ping's version.
Guido van Rossum [Fri, 7 Mar 1997 00:21:12 +0000 (00:21 +0000)]
Ka-Ping's version.

28 years agoAdd casts to CMPERROR macro to silence SunPro compiler warnings about
Guido van Rossum [Wed, 5 Mar 1997 00:45:43 +0000 (00:45 +0000)]
Add casts to CMPERROR macro to silence SunPro compiler warnings about
integer overflow in << operator.

28 years agoGreatly renamed. Not a very thorough job -- I'm going to restructure
Guido van Rossum [Wed, 5 Mar 1997 00:20:32 +0000 (00:20 +0000)]
Greatly renamed.  Not a very thorough job -- I'm going to restructure
it anyway.

28 years agoAdd Emacs shell-script directive, SunPro version#, and fix typo
Guido van Rossum [Tue, 4 Mar 1997 23:44:15 +0000 (23:44 +0000)]
Add Emacs shell-script directive, SunPro version#, and fix typo

28 years agoSolaris and IRIX specific instructions for fpectl.
Guido van Rossum [Tue, 4 Mar 1997 23:36:04 +0000 (23:36 +0000)]
Solaris and IRIX specific instructions for fpectl.

28 years agoA few comment alignment and clarifications.
Guido van Rossum [Tue, 4 Mar 1997 18:31:47 +0000 (18:31 +0000)]
A few comment alignment and clarifications.

28 years agoAdd -O option which sets Py_OptimizeFlag to avoid emitting SET_LINENO.
Guido van Rossum [Mon, 3 Mar 1997 19:14:45 +0000 (19:14 +0000)]
Add -O option which sets Py_OptimizeFlag to avoid emitting SET_LINENO.

Fred: sorry, I hadn't checked these changes in.  This should fix your
tracebacks!

28 years agoAdd global Py_OptimizeFlag.
Guido van Rossum [Mon, 3 Mar 1997 19:13:54 +0000 (19:13 +0000)]
Add global Py_OptimizeFlag.

28 years agoAdd global Py_OptimizeFlag. SET_LINENO is omitted again unless this is
Guido van Rossum [Mon, 3 Mar 1997 19:13:14 +0000 (19:13 +0000)]
Add global Py_OptimizeFlag. SET_LINENO is omitted again unless this is
nonzero.

28 years agoAdded intern()
Guido van Rossum [Mon, 3 Mar 1997 16:03:27 +0000 (16:03 +0000)]
Added intern()

28 years agoAdded ref to StringIO docs.
Guido van Rossum [Mon, 3 Mar 1997 16:03:05 +0000 (16:03 +0000)]
Added ref to StringIO docs.

28 years agoCorrect two typos
Guido van Rossum [Mon, 3 Mar 1997 16:02:32 +0000 (16:02 +0000)]
Correct two typos

28 years agoFix name of PyObject_GetAttrString
Guido van Rossum [Mon, 3 Mar 1997 16:02:10 +0000 (16:02 +0000)]
Fix name of PyObject_GetAttrString

28 years agoAdded (minimal) StringIO docs.
Guido van Rossum [Mon, 3 Mar 1997 16:01:21 +0000 (16:01 +0000)]
Added (minimal) StringIO docs.

28 years agoFix up indentation of examples to use 4 spaces instead of tabs.
Guido van Rossum [Fri, 28 Feb 1997 16:37:49 +0000 (16:37 +0000)]
Fix up indentation of examples to use 4 spaces instead of tabs.

28 years agoRemove the list of Python users, replace it with a pointer to the
Guido van Rossum [Wed, 26 Feb 1997 16:11:55 +0000 (16:11 +0000)]
Remove the list of Python users, replace it with a pointer to the
on-line list of same.

28 years agoAdded new ftp mirror site ftp://ftp.cdrom.com/pub/python/ (Walnut Creek CDROM).
Guido van Rossum [Tue, 25 Feb 1997 23:08:03 +0000 (23:08 +0000)]
Added new ftp mirror site ftp://ftp.cdrom.com/pub/python/ (Walnut Creek CDROM).

28 years agoConverted to CW11.
Jack Jansen [Mon, 24 Feb 1997 14:03:45 +0000 (14:03 +0000)]
Converted to CW11.

28 years agoMake cache-alignment work always (in stead of 50% of the time:-)
Jack Jansen [Mon, 24 Feb 1997 14:00:52 +0000 (14:00 +0000)]
Make cache-alignment work always (in stead of 50% of the time:-)

28 years ago- Changed GestaltEqu.h to Gestalt.h
Jack Jansen [Mon, 24 Feb 1997 13:59:38 +0000 (13:59 +0000)]
- Changed GestaltEqu.h to Gestalt.h
- Changed FragLoader.h to CodeFragments.h
- Removed Desk.h

28 years ago- Changed GestaltEqu.h to Gestalt.h
Jack Jansen [Mon, 24 Feb 1997 13:56:59 +0000 (13:56 +0000)]
- Changed GestaltEqu.h to Gestalt.h
- Changed FragLoader.h to CodeFragments.h
- Removed Desk.h
- Regenerated bgen modules from new universal headers
- Changed some of the s# in PyArg_ParseTuple to m# (unfortunately:
  this should have been a different commit)

28 years agoRe-generated from new (CW11) universal headers
Jack Jansen [Mon, 24 Feb 1997 13:52:56 +0000 (13:52 +0000)]
Re-generated from new (CW11) universal headers

28 years ago(python-font-lock-keywords): Use new convention for installing in mode
Barry Warsaw [Mon, 24 Feb 1997 03:37:22 +0000 (03:37 +0000)]
(python-font-lock-keywords): Use new convention for installing in mode

28 years agoRemoving this -- complex numbers are now builtin,
Guido van Rossum [Sun, 23 Feb 1997 05:37:36 +0000 (05:37 +0000)]
Removing this -- complex numbers are now builtin,
and there is already a similar demo in Demo/classes/Complex.py.

28 years agoChange all three fopen calls to use binary mode.
Guido van Rossum [Fri, 21 Feb 1997 15:19:03 +0000 (15:19 +0000)]
Change all three fopen calls to use binary mode.

28 years agoLee's next version. Careful: this now dumps core for me on SGI IRIX 5.3.
Guido van Rossum [Fri, 21 Feb 1997 01:22:47 +0000 (01:22 +0000)]
Lee's next version.  Careful: this now dumps core for me on SGI IRIX 5.3.
Lee is wondering whether to withdraw his patchs.  Sigh.

28 years agoRemoved nonstandard strftime formats (strftime is tested more
Guido van Rossum [Thu, 20 Feb 1997 16:23:01 +0000 (16:23 +0000)]
Removed nonstandard strftime formats (strftime is tested more
extensively in test_strftime.py anyway).

28 years agoRebuilt everything with Guido's new sources, added a few modules here
Jack Jansen [Thu, 20 Feb 1997 15:28:31 +0000 (15:28 +0000)]
Rebuilt everything with Guido's new sources, added a few modules here
and there, etc. These projects are still CW10.

28 years agoAdded calldll module
Jack Jansen [Thu, 20 Feb 1997 15:27:44 +0000 (15:27 +0000)]
Added calldll module

28 years ago- Put USE_MAC_DYNAMIC_LOADING beack here in stead of auto-enabling it
Jack Jansen [Thu, 20 Feb 1997 15:25:49 +0000 (15:25 +0000)]
- Put USE_MAC_DYNAMIC_LOADING beack here in stead of auto-enabling it
  in importdl.c (I had just one crash too many with a static python
  importing a dynamic module)
- On powerpc, enable USE_CACHE_ALIGNED with a linesize of 32 bytes.

28 years agoOnly go into eventloop/interrupt check 10 times per second
Jack Jansen [Thu, 20 Feb 1997 15:23:18 +0000 (15:23 +0000)]
Only go into eventloop/interrupt check 10 times per second

28 years agoComments around identifier after #endif
Jack Jansen [Thu, 20 Feb 1997 15:22:17 +0000 (15:22 +0000)]
Comments around identifier after #endif

28 years agoAdded operator, errno and soundex modules.
Jack Jansen [Thu, 20 Feb 1997 15:20:46 +0000 (15:20 +0000)]
Added operator, errno and soundex modules.

28 years agoRedid arg/return handling (still not as I would like it to be, though).
Jack Jansen [Thu, 20 Feb 1997 15:18:32 +0000 (15:18 +0000)]
Redid arg/return handling (still not as I would like it to be, though).

28 years agoRemove some bogus code that would cause a NameError if a -r option was passed.
Guido van Rossum [Wed, 19 Feb 1997 20:07:38 +0000 (20:07 +0000)]
Remove some bogus code that would cause a NameError if a -r option was passed.

28 years agoRemove %n and %t from the list of standard expectations.
Guido van Rossum [Wed, 19 Feb 1997 16:25:52 +0000 (16:25 +0000)]
Remove %n and %t from the list of standard expectations.

28 years agojoin(): Wax the incorrect leading comment
Barry Warsaw [Tue, 18 Feb 1997 22:06:21 +0000 (22:06 +0000)]
join(): Wax the incorrect leading comment

28 years agoDocument the new join() semantics.
Barry Warsaw [Tue, 18 Feb 1997 21:53:53 +0000 (21:53 +0000)]
Document the new join() semantics.

28 years agoRestructured quite a bit, hopefully Lee Busby will find this useful.
Guido van Rossum [Tue, 18 Feb 1997 21:53:32 +0000 (21:53 +0000)]
Restructured quite a bit, hopefully Lee Busby will find this useful.
Also grandly renamed.

Here's the new interface:

When WITH_READLINE is defined, two functions are defined:

  - PyOS_GnuReadline (what used to be my_readline() with WITH_READLINE)
  - PyOS_ReadlineInit (for Dave Ascher)

Always, these functions are defined:

  - PyOS_StdioReadline (what used to be my_readline() without WITH_READLINE)
  - PyOS_Readline (the interface used by tokenizer.c and [raw_]input().

There's a global function pointer PyOS_ReadlineFunctionPointer,
initialized to NULL.  When PyOS_Readline finds this to be NULL, it
sets it to either PyOS_GnuReadline or PyOS_StdioReadline depending on
which one makes more sense (i.e. it uses GNU only if it is defined
*and* stdin is indeed a tty device).

An embedding program that has its own wishes can set the function
pointer to a function of its own design.  It should take a char*
prompt argument (which may be NULL) and return a string *ending in a
\n character* -- or "" for EOF or NULL for a user interrupt.

--Guido van Rossum (home page: http://www.python.org/~guido/)

28 years agojoin(): join one or more path components
Barry Warsaw [Tue, 18 Feb 1997 21:53:25 +0000 (21:53 +0000)]
join(): join one or more path components

28 years agoAdded a paragraph to describe clear_cache(), and why it's necessary.
Barry Warsaw [Tue, 18 Feb 1997 18:59:37 +0000 (18:59 +0000)]
Added a paragraph to describe clear_cache(), and why it's necessary.

28 years agoDocument the new get_syntax() function.
Barry Warsaw [Tue, 18 Feb 1997 18:54:30 +0000 (18:54 +0000)]
Document the new get_syntax() function.

28 years agoStore the current regex syntax along with the regular expression
Barry Warsaw [Tue, 18 Feb 1997 18:52:55 +0000 (18:52 +0000)]
Store the current regex syntax along with the regular expression
string as the key to the cache.  This means that changing the syntax
will return the correct compiled pattern.

clear_cache(): New function.

28 years agoregex_get_syntax(): New module function exported to Python.
Barry Warsaw [Tue, 18 Feb 1997 18:48:50 +0000 (18:48 +0000)]
regex_get_syntax(): New module function exported to Python.

28 years agoPut back #! /usr/local/bin/python. For cgi scripts, /usr/bin/env is
Guido van Rossum [Tue, 18 Feb 1997 16:55:33 +0000 (16:55 +0000)]
Put back #! /usr/local/bin/python.  For cgi scripts, /usr/bin/env is
unlikely to find a python binary, as /usr/local/bin is usually not on
the default search path.

28 years agoChange the question about os.environ changes not working -- it now
Guido van Rossum [Mon, 17 Feb 1997 18:40:02 +0000 (18:40 +0000)]
Change the question about os.environ changes not working -- it now
works unless you don't have putenv.

28 years agoTwo changes:
Guido van Rossum [Mon, 17 Feb 1997 18:27:32 +0000 (18:27 +0000)]
Two changes:
- add awarning about reconfiguring after Slackware96 fix
- add reference to Jim F's ExtensionClass module

28 years agoAn initial stab at calling random C routines from Python
Jack Jansen [Mon, 17 Feb 1997 16:56:56 +0000 (16:56 +0000)]
An initial stab at calling random C routines from Python

28 years agoInitial stab at calling C routines from python dynamically
Jack Jansen [Mon, 17 Feb 1997 16:56:14 +0000 (16:56 +0000)]
Initial stab at calling C routines from python dynamically

28 years agoRequire _tkinter -- don't attempt to import tkinter when _tkinter does
Guido van Rossum [Sat, 15 Feb 1997 18:33:24 +0000 (18:33 +0000)]
Require _tkinter -- don't attempt to import tkinter when _tkinter does
not exist.  All 8 uses of tkinter are replaced with _tkinter.  Still
create a variable tkinter though, because that is used by other
modules importing Tkinter (e.g. tkinter.createfilehandler()).

Also added a comment to the 'import _tkinter' line saying that if this
fails, Python is not configured correctly.

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.