]> granicus.if.org Git - python/log
python
28 years agoCleanup:
Guido van Rossum [Tue, 21 Jan 1997 05:34:20 +0000 (05:34 +0000)]
Cleanup:
- fix bug in Py_MakePendingCalls() with threading
- fix return type of do_raise
- remove build_slice (same as PySlice_New)
- remove code inside #if 0
- remove code inside #ifdef CHECK_STACK
- remove code inside #ifdef SUPPORT_OBSOLETE_ACCESS
- comment about newimp.py should refer to ni.py

28 years agoget build info from elsewhere
Guido van Rossum [Mon, 20 Jan 1997 18:34:55 +0000 (18:34 +0000)]
get build info from elsewhere

28 years agowork build# into version string
Guido van Rossum [Mon, 20 Jan 1997 18:34:26 +0000 (18:34 +0000)]
work build# into version string

28 years agoBugfix: remove ref to fast before it's defined.
Guido van Rossum [Mon, 20 Jan 1997 04:29:16 +0000 (04:29 +0000)]
Bugfix: remove ref to fast before it's defined.

28 years agoChanges for frame object speedup:
Guido van Rossum [Mon, 20 Jan 1997 04:26:20 +0000 (04:26 +0000)]
Changes for frame object speedup:

- get fastlocals differently
- call newframeobject() with fewer arguments
- toss getowner(), which was unused anyway

28 years agoChanges that appear to give another 12% speedup.
Guido van Rossum [Mon, 20 Jan 1997 04:20:52 +0000 (04:20 +0000)]
Changes that appear to give another 12% speedup.

Rather than allocating a list object for the fast locals and another
(extensible one) for the value stack and allocating the block stack
dynamically, allocate the block stack with a fixed size (CO_MAXBLOCKS
from compile.h), and stick the locals and value stack at the end of
the object (this is now possible since the stack size is known
beforehand).  Get rid of the owner field and the nvalues argument --
it is available in the code object, like nlocals.

This requires small changes in ceval.c only.

28 years agoNew lay-out of frame object, for fewer mallocs.
Guido van Rossum [Mon, 20 Jan 1997 04:16:40 +0000 (04:16 +0000)]
New lay-out of frame object, for fewer mallocs.
See frameobject.c checkin message.

28 years agoRemove unused variable.
Guido van Rossum [Sat, 18 Jan 1997 20:04:05 +0000 (20:04 +0000)]
Remove unused variable.

28 years agoIntern the string "__complex__".
Guido van Rossum [Sat, 18 Jan 1997 08:04:16 +0000 (08:04 +0000)]
Intern the string "__complex__".

28 years agoIntern all names and varnames in newcodeobject(), plus those string
Guido van Rossum [Sat, 18 Jan 1997 08:02:57 +0000 (08:02 +0000)]
Intern all names and varnames in newcodeobject(), plus those string
literals that look like identifiers.  Also intern all strings used as
names during the compilation.

28 years agoIntern the various string objects created to speed up lookups.
Guido van Rossum [Sat, 18 Jan 1997 07:59:12 +0000 (07:59 +0000)]
Intern the various string objects created to speed up lookups.

28 years agoIntern the strings "__builtins__".
Guido van Rossum [Sat, 18 Jan 1997 07:58:41 +0000 (07:58 +0000)]
Intern the strings "__builtins__".

28 years agoIntern the strings created in getattr() and setattr().
Guido van Rossum [Sat, 18 Jan 1997 07:57:16 +0000 (07:57 +0000)]
Intern the strings created in getattr() and setattr().

28 years agoString interning.
Guido van Rossum [Sat, 18 Jan 1997 07:55:05 +0000 (07:55 +0000)]
String interning.

28 years agoBump API version due to the various speedup hacks.
Guido van Rossum [Sat, 18 Jan 1997 07:54:03 +0000 (07:54 +0000)]
Bump API version due to the various speedup hacks.

28 years agoTwo speedup hacks. Caching the hash saves recalculation of a string's
Guido van Rossum [Sat, 18 Jan 1997 07:53:23 +0000 (07:53 +0000)]
Two speedup hacks.  Caching the hash saves recalculation of a string's
hash value.  Interning strings (which requires hash caching) tries to
ensure that only one string object with a given value exists, so
equality tests are one pointer comparison.  Together, these can speed
the interpreter up by as much as 20%.  Each costs the size of a long
or pointer per string object.  In addition, interned strings live
until the end of times.  If you are concerned about memory footprint,
simply comment the #define out here (and rebuild everything!).

28 years agoAdd "if (x != NULL) continue;" (or similar for err==0) before the
Guido van Rossum [Sat, 18 Jan 1997 02:46:13 +0000 (02:46 +0000)]
Add "if (x != NULL) continue;" (or similar for err==0) before the
break to most cases, as suggested by Tim Peters.  This gives another
8-10% speedup.

28 years agoVersion 1.1. Fix memory leak and expensive comparison with None.
Guido van Rossum [Sat, 18 Jan 1997 02:20:37 +0000 (02:20 +0000)]
Version 1.1.  Fix memory leak and expensive comparison with None.

28 years agoFix the _setmode() patch for MS_WINDOWS: include <fcntl.h> and use
Guido van Rossum [Fri, 17 Jan 1997 22:05:38 +0000 (22:05 +0000)]
Fix the _setmode() patch for MS_WINDOWS: include <fcntl.h> and use
fileno(std*).

28 years agoRemove obsolete PyFrame_ExtendStack.
Guido van Rossum [Fri, 17 Jan 1997 22:03:32 +0000 (22:03 +0000)]
Remove obsolete PyFrame_ExtendStack.

28 years agoRemoved accessobject.c from file list.
Guido van Rossum [Fri, 17 Jan 1997 21:56:08 +0000 (21:56 +0000)]
Removed accessobject.c from file list.

28 years agoAdd stacksize argument to new.code().
Guido van Rossum [Fri, 17 Jan 1997 21:12:06 +0000 (21:12 +0000)]
Add stacksize argument to new.code().

28 years agoComment out extend_stack() -- it is no longer needed.
Guido van Rossum [Fri, 17 Jan 1997 21:07:57 +0000 (21:07 +0000)]
Comment out extend_stack() -- it is no longer needed.

28 years agoMarshal the new stacksize item in code objects.
Guido van Rossum [Fri, 17 Jan 1997 21:07:08 +0000 (21:07 +0000)]
Marshal the new stacksize item in code objects.

28 years agoWorking semaphore implementation by Sjoerd.
Guido van Rossum [Fri, 17 Jan 1997 21:06:41 +0000 (21:06 +0000)]
Working semaphore implementation by Sjoerd.

28 years agoNew MAGIC number (code objects have one more item when marshalled).
Guido van Rossum [Fri, 17 Jan 1997 21:06:11 +0000 (21:06 +0000)]
New MAGIC number (code objects have one more item when marshalled).

28 years agoUse the stack size from the code object and the CO_MAXBLOCKS constant
Guido van Rossum [Fri, 17 Jan 1997 21:05:28 +0000 (21:05 +0000)]
Use the stack size from the code object and the CO_MAXBLOCKS constant
from compile.h.  Remove all eval stack overflow checks.

28 years agoAdd co_stacksize field to codeobject structure, and stacksize argument
Guido van Rossum [Fri, 17 Jan 1997 21:04:03 +0000 (21:04 +0000)]
Add co_stacksize field to codeobject structure, and stacksize argument
to PyCode_New() argument list.  Move MAXBLOCKS constant to conpile.h.

Added accurate calculation of the actual stack size needed by the
generated code.

Also commented out all fprintf statements (except for a new one to
diagnose stack underflow, and one in #ifdef'ed out code), and added
some new TO DO suggestions (now that the stacksize is taken of the TO
DO list).

28 years agoAdd co_stacksize field to codeobject structure, and stacksize argument
Guido van Rossum [Fri, 17 Jan 1997 20:59:26 +0000 (20:59 +0000)]
Add co_stacksize field to codeobject structure, and stacksize argument
to PyCode_New() argument list.  Also add CO_MAXBLOCKS constant
indicating the maximum static nesting supported by the compiler.

28 years agoOf course, when the type of the argument to dis() is unsupported, it
Guido van Rossum [Fri, 17 Jan 1997 20:08:18 +0000 (20:08 +0000)]
Of course, when the type of the argument to dis() is unsupported, it
should raise TypeError, not ValueError...

28 years agoMore user friedly interface:
Guido van Rossum [Fri, 17 Jan 1997 20:05:04 +0000 (20:05 +0000)]
More user friedly interface:

dis() still disassembles the last frame of the lats stack trace.

dis(x) disassembles x, which may be a code object, function, or method.

disassemble(co, [lasti]) disassembles a code object; the lasti
argument is now optional.

disco(...) is an alias for disassemble(...), for backward compatibility.

28 years agoAdded Sjoerd's submitted 'ratecv' method. Made corrections for new names.
Roger E. Masse [Fri, 17 Jan 1997 18:12:04 +0000 (18:12 +0000)]
Added Sjoerd's submitted 'ratecv' method.  Made corrections for new names.
Reindented.

28 years agoMake as sure as we can that the forked child does not return and
Guido van Rossum [Fri, 17 Jan 1997 16:13:15 +0000 (16:13 +0000)]
Make as sure as we can that the forked child does not return and
continue the tests.

28 years agoRenamed, but not tested. Guido will you try your test script on this?
Roger E. Masse [Fri, 17 Jan 1997 16:08:55 +0000 (16:08 +0000)]
Renamed, but not tested.  Guido will you try your test script on this?

28 years agoRenamed.
Roger E. Masse [Fri, 17 Jan 1997 16:00:02 +0000 (16:00 +0000)]
Renamed.

28 years agoTest output for the SGI cl C module test script.
Roger E. Masse [Fri, 17 Jan 1997 15:59:16 +0000 (15:59 +0000)]
Test output for the SGI cl C module test script.

28 years agoLame test script for the SGI cl C module.
Roger E. Masse [Fri, 17 Jan 1997 15:58:35 +0000 (15:58 +0000)]
Lame test script for the SGI cl C module.

28 years ago(puremodule.c): New module which exports the Purify and Quantify C API
Barry Warsaw [Fri, 17 Jan 1997 00:01:33 +0000 (00:01 +0000)]
(puremodule.c): New module which exports the Purify and Quantify C API
to Python.  Minimal documentation is included in comments at the top
of the file, and in the Misc/PURIFY.README file.  Note that this
module must be statically linked since Pure doesn't provide shared
stubs libraries.

(Setup.in): Added commented template for pure module

(syslogmodule.c): ins() function wasn't declared static.

28 years agoREADME file for hints on Purify'ing or Quantify'ing the Python
Barry Warsaw [Thu, 16 Jan 1997 23:55:38 +0000 (23:55 +0000)]
README file for hints on Purify'ing or Quantify'ing the Python
interpreter.  It also mentions the soon to be checked in pure module.

28 years agoAlready renamed. Indented.
Roger E. Masse [Thu, 16 Jan 1997 22:05:33 +0000 (22:05 +0000)]
Already renamed.  Indented.

28 years agoOutput from test script for the bsddb C extension module.
Roger E. Masse [Thu, 16 Jan 1997 22:04:35 +0000 (22:04 +0000)]
Output from test script for the bsddb C extension module.

28 years agoTest script for the bsddb C extension module.
Roger E. Masse [Thu, 16 Jan 1997 22:04:10 +0000 (22:04 +0000)]
Test script for the bsddb C extension module.

28 years agoRewrote lookmapping() according to suggestions by Jyrki Alakuijala.
Guido van Rossum [Thu, 16 Jan 1997 21:06:45 +0000 (21:06 +0000)]
Rewrote lookmapping() according to suggestions by Jyrki Alakuijala.

28 years agoMinor output message change
Roger E. Masse [Thu, 16 Jan 1997 18:53:01 +0000 (18:53 +0000)]
Minor output message change

28 years agoMerge several mods:
Guido van Rossum [Thu, 16 Jan 1997 18:52:24 +0000 (18:52 +0000)]
Merge several mods:

- add opcodes BINARY_LSHIFT ... BINARY_OR

- remove RESERVE_FAST

- Skip M's suggestion for displaying which comparison operator is meant

28 years agoRenamed.
Roger E. Masse [Thu, 16 Jan 1997 17:10:22 +0000 (17:10 +0000)]
Renamed.

28 years agoAs per GvR recomendations, remove the restriction that binhex only run on
Roger E. Masse [Thu, 16 Jan 1997 16:51:57 +0000 (16:51 +0000)]
As per GvR recomendations, remove the restriction that binhex only run on
big-endian machines.  This is done by directing the struct module's pack
and unpack methods to treat the data always in bin endian format.
This has been tested on irix (big endian) and solaris x86 (little endian)
but not yet on the mac.

28 years agoset_key(): Use Py_CHARMASK macro to get the character from the array
Barry Warsaw [Thu, 16 Jan 1997 16:49:44 +0000 (16:49 +0000)]
set_key(): Use Py_CHARMASK macro to get the character from the array
unsigned.  This fixes the 8bit-char-in-key platform incompatibility.

I also removed the old backwards compatibility code, and the commented
lisp rotor code.  I retained the lisp docstrings as comments preceding
each function.

28 years agotest output for the binascii C module test script.
Roger E. Masse [Thu, 16 Jan 1997 16:44:40 +0000 (16:44 +0000)]
test output for the binascii C module test script.

28 years agotest script for the binascii C module.
Roger E. Masse [Thu, 16 Jan 1997 16:44:09 +0000 (16:44 +0000)]
test script for the binascii C module.

28 years agoreformatted
Barry Warsaw [Thu, 16 Jan 1997 00:15:11 +0000 (00:15 +0000)]
reformatted

memory leak in Tkapp_(Create|Delete)FileHandler plugged.

standard eyeballing

28 years agotest is no longer needed
Barry Warsaw [Thu, 16 Jan 1997 00:13:11 +0000 (00:13 +0000)]
test is no longer needed

28 years agoOpps. Added tests for the last two methods that were missing from
Roger E. Masse [Wed, 15 Jan 1997 20:58:55 +0000 (20:58 +0000)]
Opps.  Added tests for the last two methods that were missing from
 the test program: 'grey2rgb' and 'rgb2grey'

28 years agoModified to use 'rgbimg' instead of the SGI specific 'imgfile' for reading
Roger E. Masse [Wed, 15 Jan 1997 20:07:07 +0000 (20:07 +0000)]
Modified to use 'rgbimg' instead of the SGI specific 'imgfile' for reading
the imagefiles and converting tham to a format suitable for imageop.  Also
added two more tests 'rgb2rgb8' and 'rgb82rgb' which remove the dependence
on the file 'greytest.rgb'.

Note: test_imgfile.py still uses 'greytest.rgb'

28 years agoIrix 6 specific files -- thanks Sjoerd!
Guido van Rossum [Wed, 15 Jan 1997 19:19:19 +0000 (19:19 +0000)]
Irix 6 specific files -- thanks Sjoerd!

28 years ago"ported" Guido's embedding demo to the mac, and wrote some minimal
Jack Jansen [Wed, 15 Jan 1997 16:53:37 +0000 (16:53 +0000)]
"ported" Guido's embedding demo to the mac, and wrote some minimal
notes on embedding on the mac.

28 years agoAdded PyMac_Initialize() routine, to be used by embedding programs (in
Jack Jansen [Wed, 15 Jan 1997 15:49:08 +0000 (15:49 +0000)]
Added PyMac_Initialize() routine, to be used by embedding programs (in
stead of standard Py_Initialize(), which it calls).

28 years agoDescribe new ("unsigned") behavior of hex() and oct().
Guido van Rossum [Tue, 14 Jan 1997 18:44:23 +0000 (18:44 +0000)]
Describe new ("unsigned") behavior of hex() and oct().

28 years agoRemoved _xdr module
Barry Warsaw [Tue, 14 Jan 1997 18:20:26 +0000 (18:20 +0000)]
Removed _xdr module

28 years agotest(): close the pipe, just to shut up Purify.
Barry Warsaw [Tue, 14 Jan 1997 17:49:15 +0000 (17:49 +0000)]
test(): close the pipe, just to shut up Purify.

28 years agoEliminated gcc -Wall complaints:
Barry Warsaw [Tue, 14 Jan 1997 17:45:08 +0000 (17:45 +0000)]
Eliminated gcc -Wall complaints:

    - Quieted gcc -Wall by removing unused local variables.

    - Added some choice parentheses around assignments in conditional
      tests.

    - Removed an unused (and seemingly unreachable) err label in
      load_short_binstring().

    - in Unpickler_load(), removed \. in string format.

    - init_stuff() was declared to return an int, but had these
      problems:

- it was returning NULL instead of 0 or 1 in some cases
- it was falling of the end of the routine without returning
  anything
- the call of init_stuff() in initcPickle() was never checking
  the return value anyway.

      I changed all this by returning 1 in the case of errors, 0 when
      no error occurred.  Then in initcPickle(), if init_stuff()
      returns non-zero, I call Py_FatalError().

Suppressing my urge to reformat according to Python coding standards!
:-)

28 years agoQuieted gcc -Wall by removing unused local variables.
Barry Warsaw [Tue, 14 Jan 1997 17:38:28 +0000 (17:38 +0000)]
Quieted gcc -Wall by removing unused local variables.

Suppressing my urge to reformat according to Python coding standards!
:-)

28 years agoQuieted gcc -Wall by removing unused local variables.
Barry Warsaw [Tue, 14 Jan 1997 17:37:32 +0000 (17:37 +0000)]
Quieted gcc -Wall by removing unused local variables.

28 years agoFormatting.
Barry Warsaw [Tue, 14 Jan 1997 17:36:36 +0000 (17:36 +0000)]
Formatting.

28 years agoObsolete, now that xdrlib.py uses the new-and-improved struct module.
Barry Warsaw [Tue, 14 Jan 1997 17:34:06 +0000 (17:34 +0000)]
Obsolete, now that xdrlib.py uses the new-and-improved struct module.

28 years agoRaise ConversionError instances the new fangled way, e.g.:
Barry Warsaw [Tue, 14 Jan 1997 17:11:02 +0000 (17:11 +0000)]
Raise ConversionError instances the new fangled way, e.g.:

    raise ConversionError, msg

where `msg' is passed as the argument to the constructor.

28 years agoIncreased buffer sizes used by hex() and oct() -- on 64-bit or 128-bit
Guido van Rossum [Tue, 14 Jan 1997 15:43:41 +0000 (15:43 +0000)]
Increased buffer sizes used by hex() and oct() -- on 64-bit or 128-bit
machines, the string may get longer than 20 characters!

28 years agoOutput for test of the timing module
Barry Warsaw [Mon, 13 Jan 1997 23:03:54 +0000 (23:03 +0000)]
Output for test of the timing module

28 years agoTest of the timing module
Barry Warsaw [Mon, 13 Jan 1997 23:03:07 +0000 (23:03 +0000)]
Test of the timing module

28 years agoRenamed.
Barry Warsaw [Mon, 13 Jan 1997 22:57:42 +0000 (22:57 +0000)]
Renamed.

28 years agoUse the new regrtest harness
Barry Warsaw [Mon, 13 Jan 1997 22:54:27 +0000 (22:54 +0000)]
Use the new regrtest harness

28 years agoFormatting, and minor error detection
Barry Warsaw [Mon, 13 Jan 1997 22:44:55 +0000 (22:44 +0000)]
Formatting, and minor error detection

28 years agoupdated the hex(-16) test since hex() of a signed literal has changed.
Barry Warsaw [Mon, 13 Jan 1997 22:36:29 +0000 (22:36 +0000)]
updated the hex(-16) test since hex() of a signed literal has changed.

28 years agoupdated the oct(-100) test since oct() of a signed literal has changed.
Barry Warsaw [Mon, 13 Jan 1997 22:36:03 +0000 (22:36 +0000)]
updated the oct(-100) test since oct() of a signed literal has changed.

28 years agoinitthread(): Removed extraneous Py_INCREF(ThreadError)
Barry Warsaw [Mon, 13 Jan 1997 22:09:43 +0000 (22:09 +0000)]
initthread(): Removed extraneous Py_INCREF(ThreadError)

28 years agoCatch sunaudiodev.error on open() and re-raise TestFailed exception.
Barry Warsaw [Mon, 13 Jan 1997 20:53:46 +0000 (20:53 +0000)]
Catch sunaudiodev.error on open() and re-raise TestFailed exception.

28 years agoOops, remove debugging statements
Barry Warsaw [Mon, 13 Jan 1997 20:50:40 +0000 (20:50 +0000)]
Oops, remove debugging statements

28 years agoA slightly better test of sunaudiodev module. Include the audio data
Barry Warsaw [Mon, 13 Jan 1997 20:34:44 +0000 (20:34 +0000)]
A slightly better test of sunaudiodev module.  Include the audio data
in the distribution.

28 years agoRewrite the `hostname mismatch' test as per GvR suggestion.
Barry Warsaw [Mon, 13 Jan 1997 19:35:39 +0000 (19:35 +0000)]
Rewrite the `hostname mismatch' test as per GvR suggestion.

Don't assume gethostbyaddr()'s primary hostname is the same as
gethostname(), or even that gethostname() can be found in the list of
hosts returned by gethostbyaddr().  We do test for at least one FQDN
in gethostbyaddr().

28 years agoSkip empty paths read from the registry.
Guido van Rossum [Sun, 12 Jan 1997 20:14:01 +0000 (20:14 +0000)]
Skip empty paths read from the registry.

28 years agoFix leak involving BuildValue("...O...").
Guido van Rossum [Sun, 12 Jan 1997 20:02:04 +0000 (20:02 +0000)]
Fix leak involving BuildValue("...O...").

28 years agoChanged hex() and oct() again, to never emit a '-' sign.
Guido van Rossum [Sun, 12 Jan 1997 19:48:03 +0000 (19:48 +0000)]
Changed hex() and oct() again, to never emit a '-' sign.

28 years agoAdd the Lib/MACHDEP subdir to TESTPATH.
Guido van Rossum [Sat, 11 Jan 1997 19:59:17 +0000 (19:59 +0000)]
Add the Lib/MACHDEP subdir to TESTPATH.

28 years agoAdd entries for cStringIO and cPickle
Guido van Rossum [Sat, 11 Jan 1997 19:29:30 +0000 (19:29 +0000)]
Add entries for cStringIO and cPickle

28 years agoOn Windows, -u implies binary mode for stdin/stdout
Guido van Rossum [Sat, 11 Jan 1997 19:28:55 +0000 (19:28 +0000)]
On Windows, -u implies binary mode for stdin/stdout
(as well as unbuffered stdout/stderr).

28 years agoNew, better hash for floating point and complex
Guido van Rossum [Sat, 11 Jan 1997 19:26:21 +0000 (19:26 +0000)]
New, better hash for floating point and complex

28 years agoUse new struct which supports standardized sizes
Guido van Rossum [Sat, 11 Jan 1997 19:22:11 +0000 (19:22 +0000)]
Use new struct which supports standardized sizes

28 years agoAdd __len__ method
Guido van Rossum [Sat, 11 Jan 1997 19:21:33 +0000 (19:21 +0000)]
Add __len__ method

28 years agoUse newer struct, which handles unsigned long right
Guido van Rossum [Sat, 11 Jan 1997 19:21:09 +0000 (19:21 +0000)]
Use newer struct, which handles unsigned long right

28 years agoAdded warning that gethostname() doesn't always return fqdn, and show
Guido van Rossum [Sat, 11 Jan 1997 17:04:56 +0000 (17:04 +0000)]
Added warning that gethostname() doesn't always return fqdn, and show
how to find it using gethostbyaddr().

28 years agoThe usual return-value and memory management checks. I'm not planning
Barry Warsaw [Fri, 10 Jan 1997 18:42:18 +0000 (18:42 +0000)]
The usual return-value and memory management checks.  I'm not planning
a test for this module though (it does compile at least on Solaris
2.5)

28 years ago(ftplib.py): Added parse150() function and FTP.ntransfercmd(). This allows
Fred Drake [Fri, 10 Jan 1997 18:26:09 +0000 (18:26 +0000)]
(ftplib.py):  Added parse150() function and FTP.ntransfercmd().  This allows
access to the expected size of a transfer when available.

28 years agoSubtle change to hex/oct formatting so the largest negative number
Guido van Rossum [Fri, 10 Jan 1997 17:39:30 +0000 (17:39 +0000)]
Subtle change to hex/oct formatting so the largest negative number
does not receive a minus sign.

28 years agoReturn preferences of unknown type as opaque data
Jack Jansen [Fri, 10 Jan 1997 15:25:47 +0000 (15:25 +0000)]
Return preferences of unknown type as opaque data

28 years agoMinor fix to get non-gusi python to compile again
Jack Jansen [Fri, 10 Jan 1997 15:25:06 +0000 (15:25 +0000)]
Minor fix to get non-gusi python to compile again

28 years agoMac-specific version of getmtime (for non-GUSI Python, which needs
Jack Jansen [Fri, 10 Jan 1997 15:24:19 +0000 (15:24 +0000)]
Mac-specific version of getmtime (for non-GUSI Python, which needs
different include files)

28 years ago(Tkinter.py): Add support for Frame(w, class_="classname") as an alternative
Fred Drake [Fri, 10 Jan 1997 15:13:12 +0000 (15:13 +0000)]
(Tkinter.py):  Add support for Frame(w, class_="classname") as an alternative
to Frame(w, cnf={"class": "classname"}).  I think this is the only
widget other than Toplevel that needs to be concerned about setting
the widget's class (-class must be the first option on the Tcl
widget creation command).

28 years agoFormatting changes, plus memory management in initsyslog()
Barry Warsaw [Thu, 9 Jan 1997 23:51:21 +0000 (23:51 +0000)]
Formatting changes, plus memory management in initsyslog()

28 years agoinitsignal(): Py_DECREFs really should be Py_XDECREFs in case the
Barry Warsaw [Thu, 9 Jan 1997 23:50:28 +0000 (23:50 +0000)]
initsignal(): Py_DECREFs really should be Py_XDECREFs in case the
PyInt_FromLong's failed.

28 years agoPlugged a couple of potential return value problems, memory leaks, and
Barry Warsaw [Thu, 9 Jan 1997 22:29:57 +0000 (22:29 +0000)]
Plugged a couple of potential return value problems, memory leaks, and
descriptor leaks.