]> granicus.if.org Git - python/log
python
27 years agoLots of minor markup nits, all consistency related.
Fred Drake [Mon, 12 Jan 1998 19:16:24 +0000 (19:16 +0000)]
Lots of minor markup nits, all consistency related.

Consistently use trailing "()" on function / method names.

Wrapped some long lines.

27 years agoDocument maxsplit arg for split(), with incompatibility note about 1.5
Guido van Rossum [Mon, 12 Jan 1998 18:58:53 +0000 (18:58 +0000)]
Document maxsplit arg for split(), with incompatibility note about 1.5
release bug.

Document groups() changed behaviour (now always returns tuple).

27 years agoFix two bugs:
Guido van Rossum [Mon, 12 Jan 1998 18:57:53 +0000 (18:57 +0000)]
Fix two bugs:

(1) maxsplit was ignored in split().

(2) groups() would return a string instead of a singleton tuple when
there was only one group.

27 years agoWrapped some long lines.
Fred Drake [Mon, 12 Jan 1998 18:28:20 +0000 (18:28 +0000)]
Wrapped some long lines.

Added trailing "()" for function and method names.

Added index entries for referenced modules.

27 years agoModify command descriptions to use \optional{} instead of ad-hoc markup.
Fred Drake [Mon, 12 Jan 1998 15:38:30 +0000 (15:38 +0000)]
Modify command descriptions to use \optional{} instead of ad-hoc markup.
There are still weirdnesses, but less of them.

27 years ago\optional{}: Removed leading word space, allowing more flexibility.
Fred Drake [Mon, 12 Jan 1998 14:44:33 +0000 (14:44 +0000)]
\optional{}:  Removed leading word space, allowing more flexibility.

{seealso} environment:  Always start a new paragraph after the "See Also:"
line; this ensures that formatting is consistent for each subsequent
\see*{} item.

27 years agoSigh. Apply a similar patch to the *other* occurrence of [^...].
Guido van Rossum [Mon, 12 Jan 1998 05:49:05 +0000 (05:49 +0000)]
Sigh.  Apply a similar patch to the *other* occurrence of [^...].

27 years agoFollow current recommended practice in an example: Use isinstance() to
Fred Drake [Sun, 11 Jan 1998 21:15:23 +0000 (21:15 +0000)]
Follow current recommended practice in an example:  Use isinstance() to
perform a type test instead of type(x) == types.FoobarType.  In example
for type().

27 years ago"Unix" --> "\UNIX{}"
Fred Drake [Sun, 11 Jan 1998 19:06:37 +0000 (19:06 +0000)]
"Unix" --> "\UNIX{}"

Added index references to referred-to modules.

Added seealso section pointing to the glob module.

Removed description of translate().

27 years agoAs Jeff painfully found out, malloc(0) returns NULL on OS/2.
Guido van Rossum [Sun, 11 Jan 1998 18:02:19 +0000 (18:02 +0000)]
As Jeff painfully found out, malloc(0) returns NULL on OS/2.

27 years agoGrammatical nit.
Fred Drake [Fri, 9 Jan 1998 22:37:52 +0000 (22:37 +0000)]
Grammatical nit.

27 years agoAdd module reference for cPickle to index.
Fred Drake [Fri, 9 Jan 1998 22:36:51 +0000 (22:36 +0000)]
Add module reference for cPickle to index.

Consistency:  Always use trailing "()" for function and method names in text.

Consistency:  Always mark parameter names with \var{} in text.

Change questionable text about CORBA to definate text about XDR; "CORBA" isn't
enough to specify an external representation, and I'm not sure the comment is
right if we say "IIOP".  I know its right about XDR if we only mention shared
object references and not recursive structures.

27 years agoUse \file{} instead of \code{} or ``\code{}'' to mark file & directory names
Fred Drake [Fri, 9 Jan 1998 22:30:32 +0000 (22:30 +0000)]
Use \file{} instead of \code{} or ``\code{}'' to mark file & directory names
& name parts.

27 years agoSimplify markup.
Fred Drake [Fri, 9 Jan 1998 22:27:55 +0000 (22:27 +0000)]
Simplify markup.

27 years agoThe resource module has been documented; remove from list.
Fred Drake [Fri, 9 Jan 1998 22:25:10 +0000 (22:25 +0000)]
The resource module has been documented; remove from list.

27 years agoAdded \label{} to allow module references.
Fred Drake [Fri, 9 Jan 1998 22:24:14 +0000 (22:24 +0000)]
Added \label{} to allow module references.

Added some seealso sections.

27 years agoAdd index entry for reference to the math module.
Fred Drake [Fri, 9 Jan 1998 21:30:03 +0000 (21:30 +0000)]
Add index entry for reference to the math module.

27 years agoTypographical nits: Always set parameter names in \var{} in the running text.
Fred Drake [Fri, 9 Jan 1998 21:26:51 +0000 (21:26 +0000)]
Typographical nits:  Always set parameter names in \var{} in the running text.

27 years agoMarkup consistency in the mapping object interface description.
Fred Drake [Fri, 9 Jan 1998 20:36:44 +0000 (20:36 +0000)]
Markup consistency in the mapping object interface description.

27 years agoFix previous nit to really do the right thing.
Fred Drake [Fri, 9 Jan 1998 16:26:54 +0000 (16:26 +0000)]
Fix previous nit to really do the right thing.

27 years agoConsistency: Always use lower-case markup; one tag was still given in
Fred Drake [Fri, 9 Jan 1998 14:39:41 +0000 (14:39 +0000)]
Consistency:  Always use lower-case markup; one tag was still given in
uppercase.  (Makes it easier to see what markup is generated by the
Python manual support and what is generated by standard latex2html.)

27 years agoRevise prologue and frontmatter to use latex2e (not in 2.09 compatibility
Fred Drake [Fri, 9 Jan 1998 05:39:38 +0000 (05:39 +0000)]
Revise prologue and frontmatter to use latex2e (not in 2.09 compatibility
mode) and take advantage of changes in myformat.sty.

Change "C" to "\C{}" and "\code{NULL}" to "\NULL{}" everywhere for consistency
and control.

Started a description of PyArg_ParseTupleAndKeywords().

27 years agoRevise prologue and frontmatter to use latex2e (not in 2.09 compatibility
Fred Drake [Fri, 9 Jan 1998 05:36:43 +0000 (05:36 +0000)]
Revise prologue and frontmatter to use latex2e (not in 2.09 compatibility
mode) and take advantage of changes in myformat.sty.

27 years ago\mytableofcontents New macro. Wrapper around \tableofcontents that
Fred Drake [Fri, 9 Jan 1998 05:34:23 +0000 (05:34 +0000)]
\mytableofcontents New macro.  Wrapper around \tableofcontents that
does the right thing if the openright option is given.  Allows a
lot of crud to be removed from the document files' frontmatter
sections.

\endabstract Extend standard macro.  (Called as \end{abstract}.)
Does the right thing if the openright option is given.

\optional Adjust to get the brackets right under latex2e.

27 years agoNit.
Fred Drake [Fri, 9 Jan 1998 05:22:44 +0000 (05:22 +0000)]
Nit.

27 years agoFor consistency, always use a trailing "()" on function names in the running
Fred Drake [Thu, 8 Jan 1998 04:00:30 +0000 (04:00 +0000)]
For consistency, always use a trailing "()" on function names in the running
text.

Add one index entry.

27 years agoFix a typo (the word "a" was spelled "c"!).
Fred Drake [Wed, 7 Jan 1998 22:05:25 +0000 (22:05 +0000)]
Fix a typo (the word "a" was spelled "c"!).

Added index entries & \label{} constructs.

27 years agoNormalize some markup.
Fred Drake [Wed, 7 Jan 1998 18:57:01 +0000 (18:57 +0000)]
Normalize some markup.

Use \file{} instead of \code{} for a directory name (Tools/freeze).

Consistently use "()" at the end of a function name in running text.

27 years agoFixed up index entries.
Fred Drake [Wed, 7 Jan 1998 13:23:32 +0000 (13:23 +0000)]
Fixed up index entries.

Adjusted one formatting problem (long \code{} in running text).

27 years agoAdded index entry for the protocol.
Fred Drake [Wed, 7 Jan 1998 13:17:20 +0000 (13:17 +0000)]
Added index entry for the protocol.

Fixed typo (extra char in the word "character").

Minor nits.

27 years agoAdded index items for the RFC and the protocol itself.
Fred Drake [Wed, 7 Jan 1998 13:13:42 +0000 (13:13 +0000)]
Added index items for the RFC and the protocol itself.

27 years agoFixed index entries to be more consistent.
Fred Drake [Wed, 7 Jan 1998 03:47:10 +0000 (03:47 +0000)]
Fixed index entries to be more consistent.

27 years agoUpdated embed demo, and put a note in the html file that you need a
Jack Jansen [Tue, 6 Jan 1998 16:50:44 +0000 (16:50 +0000)]
Updated embed demo, and put a note in the html file that you need a
source or development distribution to try it.

27 years agoI give in. Now Tk is also using resources just above 128, so Python
Jack Jansen [Tue, 6 Jan 1998 16:48:49 +0000 (16:48 +0000)]
I give in. Now Tk is also using resources just above 128, so Python
now uses only 228-256, leaving 128-228 free for others. This mod
affects prefs files, libraries and almost everything else, so I've
upped my local Python to 1.5b4 to remain sane.

27 years agoIn description of \D, revise markup so that the caret shows up in the HTML
Fred Drake [Tue, 6 Jan 1998 15:46:21 +0000 (15:46 +0000)]
In description of \D, revise markup so that the caret shows up in the HTML
version as well as the dvi form.  Without the fix, it showed up as an extra
zero character.

Bug reported by Hugh Sasse <hgs@dmu.ac.uk>.

27 years agoRelease notes and readme for 1.5b3
Jack Jansen [Tue, 6 Jan 1998 12:13:16 +0000 (12:13 +0000)]
Release notes and readme for 1.5b3

27 years agoLoading defaults for gusi/sys.path didn't work for applets. Fixed.
Jack Jansen [Tue, 6 Jan 1998 12:11:48 +0000 (12:11 +0000)]
Loading defaults for gusi/sys.path didn't work for applets. Fixed.

27 years agoBalloon help definitions
Jack Jansen [Tue, 6 Jan 1998 12:09:53 +0000 (12:09 +0000)]
Balloon help definitions

27 years agoAdded cPickle and cStringIO
Jack Jansen [Tue, 6 Jan 1998 12:08:49 +0000 (12:08 +0000)]
Added cPickle and cStringIO

27 years ago- Tk 8.0p2 script resources
Jack Jansen [Tue, 6 Jan 1998 12:08:20 +0000 (12:08 +0000)]
- Tk 8.0p2 script resources
- New folder names in sys.path initialisation
- Version number, preffilename upped

27 years agoProjects for 1.5b3
Jack Jansen [Tue, 6 Jan 1998 12:03:51 +0000 (12:03 +0000)]
Projects for 1.5b3

27 years agoDangerous feature added: when removing local files (i.e., only when -r
Guido van Rossum [Sun, 4 Jan 1998 02:03:12 +0000 (02:03 +0000)]
Dangerous feature added: when removing local files (i.e., only when -r
is used), do a recursive delete.  Use -r with even more caution!
Also changed usage message into a doc string, added a comment or two,
and rearranged a long line.

27 years agoDescriptions for PyRun_String(), PyRun_File(), and PyRun_CompileString() all
Fred Drake [Fri, 2 Jan 1998 03:24:19 +0000 (03:24 +0000)]
Descriptions for PyRun_String(), PyRun_File(), and PyRun_CompileString() all
gave the return type as part of the function field and used an empty return
type field.  Fixed.

Function name field for PyLong_FromString() included an asterisk at the
beginning of the function name field; removed.

27 years agolib.dvi target: Added commands to generate the modules index.
Fred Drake [Fri, 2 Jan 1998 03:01:47 +0000 (03:01 +0000)]
lib.dvi target:  Added commands to generate the modules index.

27 years agoScript to convert module index data to module index.
Fred Drake [Fri, 2 Jan 1998 03:00:27 +0000 (03:00 +0000)]
Script to convert module index data to module index.

27 years agoAdd module index before the general index.
Fred Drake [Fri, 2 Jan 1998 02:59:09 +0000 (02:59 +0000)]
Add module index before the general index.

27 years agoAdded support for storing information to build a module index.
Fred Drake [Fri, 2 Jan 1998 02:57:41 +0000 (02:57 +0000)]
Added support for storing information to build a module index.

Enhance the "theindex" environment to add an entry to the table of contents.

27 years agoIn description of the group() method, fix markup of "\(" and "\)" literals;
Fred Drake [Fri, 2 Jan 1998 02:50:13 +0000 (02:50 +0000)]
In description of the group() method, fix markup of "\(" and "\)" literals;
"\code{\\(}" produces "(" in the .dvi file and "<BR> (" in the latex2html
output (the font was right).  Changed to "\code{{\e}(}" variation, which
fixes both.  Breaks the .texi file generation again.  Oh well.

27 years agoFix bug detected by AMK: need to import string.
Guido van Rossum [Wed, 31 Dec 1997 15:46:56 +0000 (15:46 +0000)]
Fix bug detected by AMK: need to import string.

27 years agoFix bug detected by AMK: Types should be types.
Guido van Rossum [Wed, 31 Dec 1997 15:46:20 +0000 (15:46 +0000)]
Fix bug detected by AMK: Types should be types.

27 years agoThis commit was manufactured by cvs2svn to create tag 'release15'. v1.5
cvs2svn [Wed, 31 Dec 1997 05:53:15 +0000 (05:53 +0000)]
This commit was manufactured by cvs2svn to create tag 'release15'.

27 years agoLast-minute fix for Jim H: don't die after del sys.stdout
Guido van Rossum [Wed, 31 Dec 1997 05:53:15 +0000 (05:53 +0000)]
Last-minute fix for Jim H: don't die after del sys.stdout

27 years agoAdd zlib and bsddb, and remove beta designation.
Guido van Rossum [Wed, 31 Dec 1997 04:51:23 +0000 (04:51 +0000)]
Add zlib and bsddb, and remove beta designation.

27 years agoNew module added.
Guido van Rossum [Wed, 31 Dec 1997 00:11:03 +0000 (00:11 +0000)]
New module added.

27 years agoReady for release of 1.5.
Guido van Rossum [Wed, 31 Dec 1997 00:04:54 +0000 (00:04 +0000)]
Ready for release of 1.5.

27 years agoAdded from 1.5b2 to 1.5.
Guido van Rossum [Wed, 31 Dec 1997 00:04:35 +0000 (00:04 +0000)]
Added from 1.5b2 to 1.5.

27 years agoApply fixps.py to allow A4 paper printing.
Guido van Rossum [Tue, 30 Dec 1997 23:49:49 +0000 (23:49 +0000)]
Apply fixps.py to allow A4 paper printing.

27 years agoAdded BaseHTTPServer to table of contents for chapter.
Guido van Rossum [Tue, 30 Dec 1997 23:42:27 +0000 (23:42 +0000)]
Added BaseHTTPServer to table of contents for chapter.

27 years agoCorrect small nits reported by Rob Hooft.
Guido van Rossum [Tue, 30 Dec 1997 20:38:16 +0000 (20:38 +0000)]
Correct small nits reported by Rob Hooft.

27 years agoWhen there's no filename, don't make one up.
Guido van Rossum [Tue, 30 Dec 1997 20:09:08 +0000 (20:09 +0000)]
When there's no filename, don't make one up.
Added _test() that behaves (a bit) like gzip.
Fix a comment (*sequential* access is okay -- *random* access it out!)

27 years agoFinal version for 1.5; two tiny corrections.
Guido van Rossum [Tue, 30 Dec 1997 18:35:35 +0000 (18:35 +0000)]
Final version for 1.5; two tiny corrections.

27 years agoClarify that __getinitargs__ is called at pickle time!
Guido van Rossum [Tue, 30 Dec 1997 17:44:48 +0000 (17:44 +0000)]
Clarify that __getinitargs__ is called at pickle time!

27 years agoAdded "docs" for Pareto and Weibull distributions.
Guido van Rossum [Tue, 30 Dec 1997 17:38:05 +0000 (17:38 +0000)]
Added "docs" for Pareto and Weibull distributions.

27 years agoAdd tests for re.L(OCALE).
Guido van Rossum [Tue, 30 Dec 1997 17:32:33 +0000 (17:32 +0000)]
Add tests for re.L(OCALE).

27 years agoOops, big glitch. Charles had put a 1 in the column for argument list
Guido van Rossum [Tue, 30 Dec 1997 05:44:10 +0000 (05:44 +0000)]
Oops, big glitch.  Charles had put a 1 in the column for argument list
type for all functions.  However many function call PyArg_Parse() and
need a 0.  This is so that when they didn't change anything, the can
do Py_INCREF(args); return args.  Reverted this back.  For atof(),
there's no reason not to use PyArg_ParseTuple(), so I changed the code
(atoi and atol already used that).

27 years agoOops, the last checkin left a blank line in a string literal.
Guido van Rossum [Tue, 30 Dec 1997 05:10:14 +0000 (05:10 +0000)]
Oops, the last checkin left a blank line in a string literal.

27 years agoSince DSA.py never made it to the release, neither should dos-8x3/dsa.py.
Guido van Rossum [Tue, 30 Dec 1997 05:03:39 +0000 (05:03 +0000)]
Since DSA.py never made it to the release, neither should dos-8x3/dsa.py.

27 years agoClean out *.texi and *.info* as well for "make clean".
Fred Drake [Tue, 30 Dec 1997 04:57:58 +0000 (04:57 +0000)]
Clean out *.texi and *.info* as well for "make clean".

27 years agoAdd obsolescence note.
Guido van Rossum [Tue, 30 Dec 1997 04:54:47 +0000 (04:54 +0000)]
Add obsolescence note.

27 years agoAdd URL of Andrew Kuchling's nifty re conversion page...
Guido van Rossum [Tue, 30 Dec 1997 04:53:49 +0000 (04:53 +0000)]
Add URL of Andrew Kuchling's nifty re conversion page...

27 years agoAdd a note that up to 1.4, translate() produced Emacs style syntax; in
Guido van Rossum [Tue, 30 Dec 1997 04:43:36 +0000 (04:43 +0000)]
Add a note that up to 1.4, translate() produced Emacs style syntax; in
1.5, it produces Perl style syntax.  Also change "Python's regular
expressions" into plain "regular expression" in the intro.

27 years agoUpdated release date to match boilerplate.tex.
Fred Drake [Tue, 30 Dec 1997 04:42:49 +0000 (04:42 +0000)]
Updated release date to match boilerplate.tex.

Removed implied future availability of an info/texi version of the other
manuals (the word "yet").

Guido, you might want to check this file to see if any other changes are
required.

27 years agoAdded ConfigParser.py to list of undocumented miscellaneous useful utilities.
Guido van Rossum [Tue, 30 Dec 1997 04:41:56 +0000 (04:41 +0000)]
Added ConfigParser.py to list of undocumented miscellaneous useful utilities.

27 years agoTook out some disclaiming text (even from the title!). Rewritten
Guido van Rossum [Tue, 30 Dec 1997 04:40:25 +0000 (04:40 +0000)]
Took out some disclaiming text (even from the title!).  Rewritten
abstract.  Alas, I didn't get to do anything else before the release
:-(

27 years agoA whole bunch of typos fixed by Andrew Kuchling.
Guido van Rossum [Tue, 30 Dec 1997 04:38:44 +0000 (04:38 +0000)]
A whole bunch of typos fixed by Andrew Kuchling.
Added a warning about the incompleteness to the front.
Added a reminder about CObject to the back.

27 years agoRefine note about strftime test failure (it's fixed in Linux glibc 6).
Guido van Rossum [Tue, 30 Dec 1997 04:32:30 +0000 (04:32 +0000)]
Refine note about strftime test failure (it's fixed in Linux glibc 6).

27 years agoNew blood.
Guido van Rossum [Tue, 30 Dec 1997 04:31:04 +0000 (04:31 +0000)]
New blood.

27 years agoSet the patch level to 1.5.
Guido van Rossum [Tue, 30 Dec 1997 04:29:49 +0000 (04:29 +0000)]
Set the patch level to 1.5.

27 years agoSet the release date for 1.5 (final).
Guido van Rossum [Tue, 30 Dec 1997 04:29:30 +0000 (04:29 +0000)]
Set the release date for 1.5 (final).

27 years agothe usual
Guido van Rossum [Tue, 30 Dec 1997 04:20:58 +0000 (04:20 +0000)]
the usual

27 years agoTwo critical fixes to the changes that I made for Greg McFarlane --
Guido van Rossum [Tue, 30 Dec 1997 04:07:19 +0000 (04:07 +0000)]
Two critical fixes to the changes that I made for Greg McFarlane --
patches provided by Greg (am I glad I sent him my latest version!).

27 years agoAdded .PHONY annotation for lib.info target; the real target is
Fred Drake [Mon, 29 Dec 1997 22:04:44 +0000 (22:04 +0000)]
Added .PHONY annotation for lib.info target; the real target is
python-lib.info.  The annotation is needed to prevent at least GNU make from
building a second set of info files with the lib.info base name.

27 years agoRemove more commented-out text that is no longer needed.
Guido van Rossum [Mon, 29 Dec 1997 21:43:04 +0000 (21:43 +0000)]
Remove more commented-out text that is no longer needed.

27 years agoRemove the commented-out warning at the top. It shouldn't be there
Guido van Rossum [Mon, 29 Dec 1997 21:42:03 +0000 (21:42 +0000)]
Remove the commented-out warning at the top.  It shouldn't be there
for the 1.5 release version of the file.

27 years agoGetting uglier. But it doesn't completely bomb except for some table stuff.
Fred Drake [Mon, 29 Dec 1997 21:40:35 +0000 (21:40 +0000)]
Getting uglier.  But it doesn't completely bomb except for some table stuff.
I'll get to it when I can.

27 years agoLots of minor nits that allow this file to get processed without failures by
Fred Drake [Mon, 29 Dec 1997 21:39:39 +0000 (21:39 +0000)]
Lots of minor nits that allow this file to get processed without failures by
the info generation phases.  Most of the errors had occurred in the makeinfo
step.

Commented out the warning at the top; this should still really be removed
before 1.5, but that's not my call.  It generated problems for the info
conversion as well.

27 years agoIgnore generated info files.
Fred Drake [Mon, 29 Dec 1997 21:37:21 +0000 (21:37 +0000)]
Ignore generated info files.

27 years agoReduce warning count from partparse.py.
Fred Drake [Mon, 29 Dec 1997 21:32:26 +0000 (21:32 +0000)]
Reduce warning count from partparse.py.

Removed BaseHTTPServer.py from list of undocumented modules.

27 years agoRevised lib1.texi target to deal with some conversion nastiness. See comment.
Fred Drake [Mon, 29 Dec 1997 21:31:23 +0000 (21:31 +0000)]
Revised lib1.texi target to deal with some conversion nastiness.  See comment.

27 years agoReduce warning count from partparse.py.
Fred Drake [Mon, 29 Dec 1997 20:28:33 +0000 (20:28 +0000)]
Reduce warning count from partparse.py.

27 years agoMoved things around a bit in interact(), so outout is processed before
Guido van Rossum [Mon, 29 Dec 1997 20:05:45 +0000 (20:05 +0000)]
Moved things around a bit in interact(), so outout is processed before
input.  When an EOF is read, break out of the loop instead of (by
default) writing an empty line (which doesn't do much good).  Don't
close self when falling through the loop.

27 years agoIgnore another intermediate file from the info generation.
Fred Drake [Mon, 29 Dec 1997 20:03:46 +0000 (20:03 +0000)]
Ignore another intermediate file from the info generation.

27 years agoAt Jeff Rush' request, add Py_BEGIN/END_ALLOW_THREADS around call to
Guido van Rossum [Mon, 29 Dec 1997 20:03:10 +0000 (20:03 +0000)]
At Jeff Rush' request, add Py_BEGIN/END_ALLOW_THREADS around call to
DosSleep().

27 years agoReduce warning count from partparse.py.
Fred Drake [Mon, 29 Dec 1997 20:02:55 +0000 (20:02 +0000)]
Reduce warning count from partparse.py.

27 years agoMoved some #ifdefs around that got put in the wrong place by the
Guido van Rossum [Mon, 29 Dec 1997 20:02:27 +0000 (20:02 +0000)]
Moved some #ifdefs around that got put in the wrong place by the
latest OS/2 patch set.

27 years agoAdded Greg Stein's docs for BaseHTTPServer.py.
Guido van Rossum [Mon, 29 Dec 1997 20:01:55 +0000 (20:01 +0000)]
Added Greg Stein's docs for BaseHTTPServer.py.
Moved docs for "re" to before docs for "regex".

27 years agoMake "{" and "}" in code sample visible instead of a group (it's supposed to
Fred Drake [Mon, 29 Dec 1997 19:59:38 +0000 (19:59 +0000)]
Make "{" and "}" in code sample visible instead of a group (it's supposed to
be a dictionary...).

27 years agoFixed several bugs reported by Greg McFarmane:
Guido van Rossum [Mon, 29 Dec 1997 19:59:33 +0000 (19:59 +0000)]
Fixed several bugs reported by Greg McFarmane:

 *  The invoke methods of the three Tkinter widgets Button,
    Checkbutton and Radiobutton should return the value returned by
    the callback, (like the Menu widget does):

def invoke(self):
    return self.tk.call(self._w, 'invoke')

 *  The select_from method of the Canvas widget should use 'from', not
    'set':

def select_from(self, tagOrId, index):
    self.tk.call(self._w, 'select', 'from', tagOrId, index)

    Currently, if you use select_from, you get the error message:
 'TclError: bad select option "set": must be adjust, clear, from, item, or to'

 *  The 'entrycget' and 'type' methods of the Tk menu widget are
    missing from Tkinter.

 *  There is a bug in grid_columnconfigure and grid_rowconfigure.  For
    example, this should return the current value of the 'minsize'
    option for column 0:

f.grid_columnconfigure(0, 'minsize')

    Instead it returns the same as:

f.grid_columnconfigure(0)

    I suggest that the hint given in the comment in the
    Tkinter.Misc.configure method should be followed - "ought to
    generalize this so tag_config etc.  can use it".  Repeating the
    same configure code several times in Tkinter is inviting errors.
    [I did not follow this advice --G]

 *  The grid_slaves method should handle options.  Currently, to pass
    options to the grid_slaves method, you have to do something like:

grid_slaves('-row', 1)

27 years agoMinor editing corrections.
Guido van Rossum [Mon, 29 Dec 1997 19:57:36 +0000 (19:57 +0000)]
Minor editing corrections.

27 years agoAdded doc string, provided by Charles Waldman (with some reformatting
Guido van Rossum [Mon, 29 Dec 1997 19:52:29 +0000 (19:52 +0000)]
Added doc string, provided by Charles Waldman (with some reformatting
and a little editing my me).