]> granicus.if.org Git - python/log
python
28 years agoDon't die if an ok file method (e.g. fileno) doesn't exist.
Guido van Rossum [Mon, 30 Sep 1996 18:50:44 +0000 (18:50 +0000)]
Don't die if an ok file method (e.g. fileno) doesn't exist.

28 years agoAdded DebugStr method to drop into low-level debugger
Jack Jansen [Mon, 30 Sep 1996 14:43:22 +0000 (14:43 +0000)]
Added DebugStr method to drop into low-level debugger

28 years agoAdded VCHECK compile time option that fills allocated and freed blocks
Jack Jansen [Mon, 30 Sep 1996 14:42:28 +0000 (14:42 +0000)]
Added VCHECK compile time option that fills allocated and freed blocks
with garbage.

28 years agoProtect '&' signs with '\' in description of PyNumber_Coerce.
Guido van Rossum [Fri, 27 Sep 1996 17:28:03 +0000 (17:28 +0000)]
Protect '&' signs with '\' in description of PyNumber_Coerce.

28 years agoNits corrected by Fred
Guido van Rossum [Fri, 27 Sep 1996 17:11:24 +0000 (17:11 +0000)]
Nits corrected by Fred

28 years ago(Tkinter.py): Many revisions for Tk 4.X: Added clipboard support, updated
Fred Drake [Fri, 27 Sep 1996 14:06:54 +0000 (14:06 +0000)]
(Tkinter.py):  Many revisions for Tk 4.X:  Added clipboard support, updated
selection interface, handle the -displayof option intelligently in
many places.  Added "wm colormapwindows" and "winfo colormapfull"
support.  Removed "focus default" and "focus none" method: these are
not in Tk 4.X.

28 years ago(Canvas.py): Added definition of CanvasItem.cget() as suggested by
Fred Drake [Thu, 26 Sep 1996 20:21:26 +0000 (20:21 +0000)]
(Canvas.py):  Added definition of CanvasItem.cget() as suggested by
Nils Fischbeck.

28 years ago- Simplified inheritance structure (still not good enough)
Jack Jansen [Thu, 26 Sep 1996 16:26:05 +0000 (16:26 +0000)]
- Simplified inheritance structure (still not good enough)
- Added menubar in stead of buttons
- (optionally) switch menubar back and forth to facilitate debugging
  FrameWork applications
- Handle "Open Document" appleevent
- Fixed click in grow-box location
- Allow a new debug session after previous one has finished

28 years agoMenu callbacks can be strings, in which case they will be looked up in
Jack Jansen [Thu, 26 Sep 1996 16:17:08 +0000 (16:17 +0000)]
Menu callbacks can be strings, in which case they will be looked up in
the top window.
The menubar is redrawn in the event loop in stead of for every change.

28 years ago1. Correct typo in FileWrapper.close() (fix by AMK).
Guido van Rossum [Wed, 25 Sep 1996 18:47:39 +0000 (18:47 +0000)]
1. Correct typo in FileWrapper.close() (fix by AMK).
2. New trusted built-in modules cmath, errno, operator, parser.
3. Corrected bogus s_apply() -- the new one actually works (reported by AMK).

28 years agoFixed PM debugging
Jack Jansen [Wed, 25 Sep 1996 14:09:35 +0000 (14:09 +0000)]
Fixed PM debugging
Added different arrow-icons for running/calling/returning/exception

28 years agoDisabled splash screen, added ShowMessage
Jack Jansen [Wed, 25 Sep 1996 14:08:40 +0000 (14:08 +0000)]
Disabled splash screen, added ShowMessage

28 years agoThe Window Independent Tracer (which will probably move elsewhere once
Jack Jansen [Tue, 24 Sep 1996 15:35:50 +0000 (15:35 +0000)]
The Window Independent Tracer (which will probably move elsewhere once
it is truly window-independent:-)

28 years agoChanged about box to come up invisibly (so we can move it to the right
Jack Jansen [Mon, 23 Sep 1996 15:52:48 +0000 (15:52 +0000)]
Changed about box to come up invisibly (so we can move it to the right
location without flashing).

28 years agoAbout boxes should be at 20% of screen height, not halfway
Jack Jansen [Mon, 23 Sep 1996 15:51:06 +0000 (15:51 +0000)]
About boxes should be at 20% of screen height, not halfway

28 years agoAdded dialog-centering code to splash()
Jack Jansen [Mon, 23 Sep 1996 15:49:43 +0000 (15:49 +0000)]
Added dialog-centering code to splash()

28 years agoAdded support for GetDialogWindow and other accessor functions
Jack Jansen [Mon, 23 Sep 1996 15:48:46 +0000 (15:48 +0000)]
Added support for GetDialogWindow and other accessor functions

28 years agoFinally *tested* effect of fg and bg yield values (and changed them:-)
Jack Jansen [Sun, 22 Sep 1996 22:15:20 +0000 (22:15 +0000)]
Finally *tested* effect of fg and bg yield values (and changed them:-)

28 years agoChanged default background yield time to 1 tick
Jack Jansen [Sun, 22 Sep 1996 22:14:30 +0000 (22:14 +0000)]
Changed default background yield time to 1 tick

28 years agoUse auto-start functionality of aetools.TalkTo and aetools.Error for
Jack Jansen [Fri, 20 Sep 1996 15:30:52 +0000 (15:30 +0000)]
Use auto-start functionality of aetools.TalkTo and aetools.Error for
server-generated errors.

28 years agoraise aetools.Error in stead of MacOS.Error on server-generated errors
Jack Jansen [Fri, 20 Sep 1996 15:29:59 +0000 (15:29 +0000)]
raise aetools.Error in stead of MacOS.Error on server-generated errors

28 years agoRegenerated to use aetools.Error in stead of MacOS.Error.
Jack Jansen [Fri, 20 Sep 1996 15:29:08 +0000 (15:29 +0000)]
Regenerated to use aetools.Error in stead of MacOS.Error.

28 years ago- Added optional "start" argument to TalkTo initialializer, which
Jack Jansen [Fri, 20 Sep 1996 15:28:28 +0000 (15:28 +0000)]
- Added optional "start" argument to TalkTo initialializer, which
  starts the app (if needed).
- Added aetools.Error, which is returned in case of server-generated
  errors (better than MacOS.Error, which was raised previously)

28 years agoConvenience routines: wrappers around some of the scriptable finder
Jack Jansen [Fri, 20 Sep 1996 15:26:20 +0000 (15:26 +0000)]
Convenience routines: wrappers around some of the scriptable finder
functionality.

28 years agoAdded macfs.FindApplication() to find application FSSpec given signature.
Jack Jansen [Fri, 20 Sep 1996 15:25:16 +0000 (15:25 +0000)]
Added macfs.FindApplication() to find application FSSpec given signature.

28 years ago- Regenerated suites
Jack Jansen [Fri, 20 Sep 1996 15:22:47 +0000 (15:22 +0000)]
- Regenerated suites
- Use (and document) "start" argument to TalkTo initializer

28 years agoCreated Finder 7.0 AE interface and a test program that uses the
Jack Jansen [Thu, 19 Sep 1996 10:49:53 +0000 (10:49 +0000)]
Created Finder 7.0 AE interface and a test program that uses the
finder to launch an application.

28 years agoRevamped test case and updated doc string.
Guido van Rossum [Tue, 17 Sep 1996 21:33:15 +0000 (21:33 +0000)]
Revamped test case and updated doc string.

28 years agoAdded line number to most compile-time error messages.
Guido van Rossum [Tue, 17 Sep 1996 14:32:04 +0000 (14:32 +0000)]
Added line number to most compile-time error messages.

28 years agoCalling Application._quit() is now preferred over raising self.
Jack Jansen [Tue, 17 Sep 1996 12:39:12 +0000 (12:39 +0000)]
Calling Application._quit() is now preferred over raising self.

28 years agoAdded _quit() method similar to FrameWork in stead of setting
Jack Jansen [Tue, 17 Sep 1996 12:36:35 +0000 (12:36 +0000)]
Added _quit() method similar to FrameWork in stead of setting
self.quitting by hand.

28 years ago- Use a flag (self.quitting) as preferred method of exiting mainloop
Jack Jansen [Tue, 17 Sep 1996 12:35:43 +0000 (12:35 +0000)]
- Use a flag (self.quitting) as preferred method of exiting mainloop
- Added optional "nomenubar" argument to Application.__init__

28 years agoAdded macostools.touch() calls to inform the finder of our changes.
Jack Jansen [Sun, 15 Sep 1996 22:13:59 +0000 (22:13 +0000)]
Added macostools.touch() calls to inform the finder of our changes.

28 years ago- Optionally copy file times for copy/copytree (default on)
Jack Jansen [Sun, 15 Sep 1996 22:13:26 +0000 (22:13 +0000)]
- Optionally copy file times for copy/copytree (default on)
- Added touch(file) routine to tell the finder a files icon or
  something has changed (*finally* found out how to do this)

28 years agoFixed macos.splash to actually *draw* the splash box:-)
Jack Jansen [Sun, 15 Sep 1996 22:12:00 +0000 (22:12 +0000)]
Fixed macos.splash to actually *draw* the splash box:-)

28 years agoAdded [GS]etDates methods to get and set creation, modification and
Jack Jansen [Sun, 15 Sep 1996 22:11:25 +0000 (22:11 +0000)]
Added [GS]etDates methods to get and set creation, modification and
backup times.

28 years ago(texi2html.py): Use "if __name__ == '__main__':" test. Adjust indentation
Fred Drake [Fri, 13 Sep 1996 14:44:34 +0000 (14:44 +0000)]
(texi2html.py):  Use "if __name__ == '__main__':" test.  Adjust indentation
to 4 spaces per level (no longer 8).

(Makefile):  Use .pyc versions of partparse.py and texi2html.py to generate
converted documentation formats.  This reduces the startup costs;
probably doesn't affect anyone but me in reality, but helps when
working on the docs.

28 years agoExplicitly call rl_initialize().
Guido van Rossum [Fri, 13 Sep 1996 04:09:26 +0000 (04:09 +0000)]
Explicitly call rl_initialize().
Set rl_readline_name to python.
Move extern decls to more logical point.

28 years agoOops... Need to clear c_error before calling c_quot().
Guido van Rossum [Thu, 12 Sep 1996 21:02:02 +0000 (21:02 +0000)]
Oops...  Need to clear c_error before calling c_quot().

28 years agoProperly(?) implemented remainder and divmod (Tim Hochberg)
Guido van Rossum [Thu, 12 Sep 1996 20:56:18 +0000 (20:56 +0000)]
Properly(?) implemented remainder and divmod (Tim Hochberg)

28 years agoShow names of locals in disco (Ka-Ping Yee)
Guido van Rossum [Thu, 12 Sep 1996 17:39:36 +0000 (17:39 +0000)]
Show names of locals in disco (Ka-Ping Yee)

28 years agoAdded editline fix
Guido van Rossum [Thu, 12 Sep 1996 17:29:33 +0000 (17:29 +0000)]
Added editline fix

28 years ago(Demo/parser/FILES, Demo/parser/Makefile, Demo/parser/parser.tex,
Fred Drake [Thu, 12 Sep 1996 12:59:25 +0000 (12:59 +0000)]
(Demo/parser/FILES, Demo/parser/Makefile, Demo/parser/parser.tex,
 Demo/parser/texipre.dat):
Clean up support files for stand-alone documentation formatting,
make sure copyright statement is consistent with the copyright.

28 years agoNote obsolescence
Guido van Rossum [Wed, 11 Sep 1996 23:34:32 +0000 (23:34 +0000)]
Note obsolescence

28 years agoRationalize MS #ifdefs
Guido van Rossum [Wed, 11 Sep 1996 23:31:42 +0000 (23:31 +0000)]
Rationalize MS #ifdefs

28 years agoCorrect typo: return -1 for error, not 0
Guido van Rossum [Wed, 11 Sep 1996 23:31:23 +0000 (23:31 +0000)]
Correct typo: return -1 for error, not 0

28 years agoCorrect typo: return -1 for error, not NULL
Guido van Rossum [Wed, 11 Sep 1996 23:31:07 +0000 (23:31 +0000)]
Correct typo: return -1 for error, not NULL

28 years agoAdd text of argument to errors for atoi(), atol(), atof().
Guido van Rossum [Wed, 11 Sep 1996 23:30:42 +0000 (23:30 +0000)]
Add text of argument to errors for atoi(), atol(), atof().

28 years agoForce O_BINARY in flags if defined, for e.g. Microsoft platforms.
Guido van Rossum [Wed, 11 Sep 1996 23:22:25 +0000 (23:22 +0000)]
Force O_BINARY in flags if defined, for e.g. Microsoft platforms.

28 years agoDynamically initialize ob_type field, for Windows DLL
Guido van Rossum [Wed, 11 Sep 1996 23:18:43 +0000 (23:18 +0000)]
Dynamically initialize ob_type field, for Windows DLL

28 years agoAdded lockf() call
Guido van Rossum [Wed, 11 Sep 1996 23:17:20 +0000 (23:17 +0000)]
Added lockf() call

28 years agoAdded Setup.local feature; make shared libs readonly
Guido van Rossum [Wed, 11 Sep 1996 23:13:07 +0000 (23:13 +0000)]
Added Setup.local feature; make shared libs readonly

28 years agoRationalized MS ifdefs
Guido van Rossum [Wed, 11 Sep 1996 23:12:24 +0000 (23:12 +0000)]
Rationalized MS ifdefs

28 years agoRaise exception instead of dropping imag part for conversion to int,
Guido van Rossum [Wed, 11 Sep 1996 22:54:37 +0000 (22:54 +0000)]
Raise exception instead of dropping imag part for conversion to int,
long, float.

Raise exception instead of dumping core for remainder and divmod.

28 years agoMore detailed error message about exception in __del__
Guido van Rossum [Wed, 11 Sep 1996 22:51:57 +0000 (22:51 +0000)]
More detailed error message about exception in __del__

28 years agoCorrect typo in setattr: return -1 for error, not NULL
Guido van Rossum [Wed, 11 Sep 1996 22:51:25 +0000 (22:51 +0000)]
Correct typo in setattr: return -1 for error, not NULL

28 years ago(parsermodule.c): Fixed sloppy typo: '==' -> '='
Fred Drake [Wed, 11 Sep 1996 21:58:26 +0000 (21:58 +0000)]
(parsermodule.c):  Fixed sloppy typo:  '==' -> '='

28 years ago(libparser.tex): Revised parser module documentation; improved logical
Fred Drake [Wed, 11 Sep 1996 21:57:40 +0000 (21:57 +0000)]
(libparser.tex):  Revised parser module documentation; improved logical
organization.

28 years agoMore performance and layout improvements by Fred
Guido van Rossum [Wed, 11 Sep 1996 21:30:40 +0000 (21:30 +0000)]
More performance and layout improvements by Fred

28 years agoAdded long getopt docs; by Fred
Guido van Rossum [Wed, 11 Sep 1996 21:26:29 +0000 (21:26 +0000)]
Added long getopt docs; by Fred

28 years agoMultiply by 1000003 instead of 3 in string hach
Guido van Rossum [Wed, 11 Sep 1996 20:22:48 +0000 (20:22 +0000)]
Multiply by 1000003 instead of 3 in string hach

28 years agoGet rid of bogus MSC_VER undef of CHECK()
Guido van Rossum [Wed, 11 Sep 1996 20:21:41 +0000 (20:21 +0000)]
Get rid of bogus MSC_VER undef of CHECK()

28 years agoRationalized PC compiler defines: require MS_WINDOWS or __BORLANDC__
Guido van Rossum [Wed, 11 Sep 1996 20:20:58 +0000 (20:20 +0000)]
Rationalized PC compiler defines: require MS_WINDOWS or __BORLANDC__
or __WATCOMC__.  Add ALTSEP for PC filesystems.

28 years agoLayout and cleanup by Fred
Guido van Rossum [Wed, 11 Sep 1996 19:43:52 +0000 (19:43 +0000)]
Layout and cleanup by Fred

28 years agoAnother batch...
Guido van Rossum [Wed, 11 Sep 1996 19:07:45 +0000 (19:07 +0000)]
Another batch...

28 years agoRewrite sections on GUI and DOS/Windows, various other small edits,
Guido van Rossum [Wed, 11 Sep 1996 15:43:13 +0000 (15:43 +0000)]
Rewrite sections on GUI and DOS/Windows, various other small edits,
added 1996 copyright, $Revision$.

28 years agoImplement lower by calling lower, not lift.
Guido van Rossum [Wed, 11 Sep 1996 14:25:41 +0000 (14:25 +0000)]
Implement lower by calling lower, not lift.

28 years agoBug fixes in index&icursor suggested by Nils Fischbeck.
Guido van Rossum [Wed, 11 Sep 1996 14:23:43 +0000 (14:23 +0000)]
Bug fixes in index&icursor suggested by Nils Fischbeck.

28 years agoDon't dump core on complex % or divmod -- raise a TypeError exception.
Guido van Rossum [Wed, 11 Sep 1996 13:55:55 +0000 (13:55 +0000)]
Don't dump core on complex % or divmod -- raise a TypeError exception.

28 years agoImprovement suggested by Sjoerd: use $(MAKE)
Guido van Rossum [Wed, 11 Sep 1996 12:15:07 +0000 (12:15 +0000)]
Improvement suggested by Sjoerd: use $(MAKE)
in boot target and use $(srcdir)/Makefile.pre.in

28 years agoReformatted with 4 spaces indent.
Guido van Rossum [Tue, 10 Sep 1996 22:34:20 +0000 (22:34 +0000)]
Reformatted with 4 spaces indent.
Got rid of most redundant \ continuation signs.

28 years ago20% speedup by Fred
Guido van Rossum [Tue, 10 Sep 1996 22:19:51 +0000 (22:19 +0000)]
20% speedup by Fred

28 years agoZapped obsolete opcode LOAD_GLOBALS.
Guido van Rossum [Tue, 10 Sep 1996 18:26:36 +0000 (18:26 +0000)]
Zapped obsolete opcode LOAD_GLOBALS.

28 years agoUse 574PATH, not $(PATH) -- it's a shell variable
Guido van Rossum [Tue, 10 Sep 1996 18:21:32 +0000 (18:21 +0000)]
Use 574PATH, not $(PATH) -- it's a shell variable

28 years agothe usual
Guido van Rossum [Tue, 10 Sep 1996 18:20:48 +0000 (18:20 +0000)]
the usual

28 years agoShortened some lines
Guido van Rossum [Tue, 10 Sep 1996 18:19:59 +0000 (18:19 +0000)]
Shortened some lines

28 years agoAdded Makefile.pre.in, my generic makefile
Guido van Rossum [Tue, 10 Sep 1996 18:19:23 +0000 (18:19 +0000)]
Added Makefile.pre.in, my generic makefile

28 years agoUpdate based on Python 1.4b3.
Guido van Rossum [Tue, 10 Sep 1996 18:09:44 +0000 (18:09 +0000)]
Update based on Python 1.4b3.

28 years agoRewritten by Ka-Ping Yee.
Guido van Rossum [Tue, 10 Sep 1996 17:59:15 +0000 (17:59 +0000)]
Rewritten by Ka-Ping Yee.

28 years agoAdded linux2 specific code :-(
Guido van Rossum [Tue, 10 Sep 1996 17:40:16 +0000 (17:40 +0000)]
Added linux2 specific code :-(

28 years agoFix bogus len() call
Guido van Rossum [Tue, 10 Sep 1996 17:39:56 +0000 (17:39 +0000)]
Fix bogus len() call

28 years agoCorrect sys.path[0] when used stand-alone
Guido van Rossum [Tue, 10 Sep 1996 17:39:34 +0000 (17:39 +0000)]
Correct sys.path[0] when used stand-alone

28 years agoFix type in loop stripping '__.' from name
Guido van Rossum [Tue, 10 Sep 1996 17:38:20 +0000 (17:38 +0000)]
Fix type in loop stripping '__.' from name

28 years agoclose module file after loading
Guido van Rossum [Tue, 10 Sep 1996 17:37:44 +0000 (17:37 +0000)]
close module file after loading

28 years agoAdded bastion and (dummy) rexec docs
Guido van Rossum [Tue, 10 Sep 1996 17:37:05 +0000 (17:37 +0000)]
Added bastion and (dummy) rexec docs

28 years agoFixed coerce docs
Guido van Rossum [Tue, 10 Sep 1996 17:36:17 +0000 (17:36 +0000)]
Fixed coerce docs

28 years agoOne fix by sjoerd and one suggested by him. Bumped __version__ to 1.5.
Guido van Rossum [Tue, 10 Sep 1996 17:02:56 +0000 (17:02 +0000)]
One fix by sjoerd and one suggested by him.  Bumped __version__ to 1.5.
Fix 1: add a method geturl() to the file-like object returned by urlopen().
Fix 2: treat http error 301 the same as error 302.

28 years agoChanges to setpythonpath():
Guido van Rossum [Tue, 10 Sep 1996 14:44:21 +0000 (14:44 +0000)]
Changes to setpythonpath():
Test for / as well as for SEP for MS filenames.
Drop trailing separator from sys.path[0] for MS and Unix filenames.

28 years agosimpler version of the previous fix
Guido van Rossum [Tue, 10 Sep 1996 12:39:26 +0000 (12:39 +0000)]
simpler version of the previous fix

28 years agocompatibility changes suggested by Jack,
Guido van Rossum [Tue, 10 Sep 1996 12:36:34 +0000 (12:36 +0000)]
compatibility changes suggested by Jack,
for tk_menuBar and tk_bindForTraversal
(i.e. don't call these for Tk >= 4.1)

28 years agoChanges for NeXT by Lele
Guido van Rossum [Mon, 9 Sep 1996 20:09:34 +0000 (20:09 +0000)]
Changes for NeXT by Lele

28 years agoFixed nextstep buglet; check for libreadline w/o libterm*
Guido van Rossum [Mon, 9 Sep 1996 16:21:03 +0000 (16:21 +0000)]
Fixed nextstep buglet; check for libreadline w/o libterm*

28 years agoRewritten by Lars Wizenius to add long options
Guido van Rossum [Mon, 9 Sep 1996 15:48:24 +0000 (15:48 +0000)]
Rewritten by Lars Wizenius to add long options

28 years agoRemoved some obsolete questions and references to version 1.2.
Guido van Rossum [Mon, 9 Sep 1996 15:16:39 +0000 (15:16 +0000)]
Removed some obsolete questions and references to version 1.2.
Added some cross refs about broken lambda and broken recursion of
nested functions.

28 years agoPy_GetProgramName turns out not to be obsolete (used by _tkinter).
Jack Jansen [Mon, 9 Sep 1996 14:48:05 +0000 (14:48 +0000)]
Py_GetProgramName turns out not to be obsolete (used by _tkinter).

28 years agoPPC companion to Python68KSmall.
Jack Jansen [Mon, 9 Sep 1996 14:47:04 +0000 (14:47 +0000)]
PPC companion to Python68KSmall.

28 years agoIt turns out that Py_GetProgramName is used after all...
Jack Jansen [Mon, 9 Sep 1996 14:45:55 +0000 (14:45 +0000)]
It turns out that Py_GetProgramName is used after all...

28 years agoFixed to use appletbundle in stead of bundle resource file
Jack Jansen [Mon, 9 Sep 1996 14:45:07 +0000 (14:45 +0000)]
Fixed to use appletbundle in stead of bundle resource file

28 years agoCode to add shlib resource fork was not enabled, also made project
Jack Jansen [Mon, 9 Sep 1996 14:44:26 +0000 (14:44 +0000)]
Code to add shlib resource fork was not enabled, also made project
layout more similar to ppc project layout

28 years agoDocumented preliminary CGI applet.
Jack Jansen [Mon, 9 Sep 1996 01:48:40 +0000 (01:48 +0000)]
Documented preliminary CGI applet.