]> granicus.if.org Git - python/log
python
21 years agoreadline(): RFC 2046, section 5.1.2 (and partially 5.1) both state that the
Barry Warsaw [Thu, 13 May 2004 20:17:51 +0000 (20:17 +0000)]
readline(): RFC 2046, section 5.1.2 (and partially 5.1) both state that the
parser must recognize outer boundaries in inner parts.  So cruise through the
EOF stack backwards testing each predicate against the current line.

There's still some discussion about whether this is (always) the best thing to
do.  Anthony would rather parse these messages as if the outer boundaries were
ignored.  I think that's counter to the RFC, but might be practically more
useful.  Can you say behavior flag?  (ug).

21 years agotest_nested_inner_contains_outer_boundary(), test_nested_with_same_boundary():
Barry Warsaw [Thu, 13 May 2004 20:15:20 +0000 (20:15 +0000)]
test_nested_inner_contains_outer_boundary(), test_nested_with_same_boundary():
Two evil samples from Anthony's MIME torture tests.

21 years ago_structure(): Make sure all output goes the to fp object.
Barry Warsaw [Thu, 13 May 2004 20:14:20 +0000 (20:14 +0000)]
_structure(): Make sure all output goes the to fp object.

21 years agoAnother evil test from Anthony's suite. This one has an inner part with the
Barry Warsaw [Thu, 13 May 2004 20:13:48 +0000 (20:13 +0000)]
Another evil test from Anthony's suite.  This one has an inner part with the
same boundary as the outer part.

21 years agoA boiled down example from Anthony's MIME torture tests. This one has a
Barry Warsaw [Thu, 13 May 2004 20:12:32 +0000 (20:12 +0000)]
A boiled down example from Anthony's MIME torture tests.  This one has a
separating boundary for an outer part inside an inner part.

21 years agoforward-port 1.17.12.1
Anthony Baxter [Thu, 13 May 2004 11:54:19 +0000 (11:54 +0000)]
forward-port 1.17.12.1

21 years agoSF #847346: merge from release23-maint branch: remove misguided
Greg Ward [Thu, 13 May 2004 01:53:10 +0000 (01:53 +0000)]
SF #847346: merge from release23-maint branch: remove misguided
optimization for short input; beef up tests for fix_sentence_endings
feature.

21 years agoSF bug #952866: "can't multiply sequence *by* non-int"
Raymond Hettinger [Wed, 12 May 2004 21:35:06 +0000 (21:35 +0000)]
SF bug #952866:  "can't multiply sequence *by* non-int"

Minor wording fix.

21 years agoMake sure "del d[n]" is properly supported. Was necessary because the
Raymond Hettinger [Wed, 12 May 2004 20:55:56 +0000 (20:55 +0000)]
Make sure "del d[n]" is properly supported.  Was necessary because the
same method that implements __setitem__ also implements __delitem__.
Also, there were several good use cases (removing items from a queue
and implementing Forth style stack ops).

21 years agoWindows build number for 2.3.4c1 is 52.
Thomas Heller [Wed, 12 May 2004 20:12:10 +0000 (20:12 +0000)]
Windows build number for 2.3.4c1 is 52.

21 years agofix various descriptions of "ctime"
Fred Drake [Wed, 12 May 2004 03:51:40 +0000 (03:51 +0000)]
fix various descriptions of "ctime"
(closes SF patch #870287)

21 years agominor wording cleanup
Fred Drake [Wed, 12 May 2004 03:20:37 +0000 (03:20 +0000)]
minor wording cleanup

21 years agofix error message; closes SF patch #932796
Fred Drake [Wed, 12 May 2004 03:15:07 +0000 (03:15 +0000)]
fix error message; closes SF patch #932796

21 years agofix various typos; thanks, George Yoshida!
Fred Drake [Wed, 12 May 2004 03:07:27 +0000 (03:07 +0000)]
fix various typos; thanks, George Yoshida!
(closes SF patch #952047)

21 years agoadd note about the __name__ read-only attribute
Fred Drake [Wed, 12 May 2004 02:48:29 +0000 (02:48 +0000)]
add note about the __name__ read-only attribute
(closes SF bug #952212)

21 years agoTests for message/external-body and for duplicate boundary lines.
Barry Warsaw [Tue, 11 May 2004 22:23:59 +0000 (22:23 +0000)]
Tests for message/external-body and for duplicate boundary lines.

21 years agoMore boiled down tests from Anthony's big torture suite.
Barry Warsaw [Tue, 11 May 2004 22:21:56 +0000 (22:21 +0000)]
More boiled down tests from Anthony's big torture suite.

21 years agoA boiled down message/external-body example from Anthony's torture test.
Barry Warsaw [Tue, 11 May 2004 22:20:59 +0000 (22:20 +0000)]
A boiled down message/external-body example from Anthony's torture test.

21 years agoAn example with multiple boundary lines.
Barry Warsaw [Tue, 11 May 2004 22:20:05 +0000 (22:20 +0000)]
An example with multiple boundary lines.

21 years ago_parsegen(): Move the message/rfc822 clause to after the
Barry Warsaw [Tue, 11 May 2004 20:19:09 +0000 (20:19 +0000)]
_parsegen(): Move the message/rfc822 clause to after the
message/delivery-status clause, and genericize it to handle all (other)
message/* content types.  This lets us correctly parse 2 more of Anthony's
MIME torture tests (specifically, the message/external-body examples).

21 years agoReverting local change checked in by mistake.
Tim Peters [Tue, 11 May 2004 18:18:35 +0000 (18:18 +0000)]
Reverting local change checked in by mistake.

21 years agoChanged company name to PSF. Added 2004 to copyright years.
Tim Peters [Tue, 11 May 2004 18:14:05 +0000 (18:14 +0000)]
Changed company name to PSF.  Added 2004 to copyright years.

21 years agoAdded 2.3.3 and 2.3.4 to the release table. Added 2004 to the list of
Tim Peters [Tue, 11 May 2004 18:13:10 +0000 (18:13 +0000)]
Added 2.3.3 and 2.3.4 to the release table.  Added 2004 to the list of
copyright years.

21 years ago_parsegen(): Watch out for empty epilogues.
Barry Warsaw [Tue, 11 May 2004 18:10:15 +0000 (18:10 +0000)]
_parsegen(): Watch out for empty epilogues.

21 years agoFix SF item #876278: Unbounded recursion in modulefinder.
Thomas Heller [Tue, 11 May 2004 15:10:59 +0000 (15:10 +0000)]
Fix SF item #876278: Unbounded recursion in modulefinder.

Already backported to release23-maint.

21 years agouse tools/getversioninfo to extract the version number from the Python
Fred Drake [Tue, 11 May 2004 14:37:55 +0000 (14:37 +0000)]
use tools/getversioninfo to extract the version number from the Python
sources

21 years agoremove assignment to unused variable
Fred Drake [Tue, 11 May 2004 14:25:56 +0000 (14:25 +0000)]
remove assignment to unused variable

21 years agoupdate to reflect the current location of the SF bugs search box
Fred Drake [Tue, 11 May 2004 14:14:24 +0000 (14:14 +0000)]
update to reflect the current location of the SF bugs search box

21 years agomarkup adjustment
Fred Drake [Tue, 11 May 2004 05:29:34 +0000 (05:29 +0000)]
markup adjustment

21 years agoIn order to fix SF bug # 824977, we replace calloc()/free() calls in
Barry Warsaw [Tue, 11 May 2004 02:05:11 +0000 (02:05 +0000)]
In order to fix SF bug # 824977, we replace calloc()/free() calls in
binascii_a2b_qp() and binascii_b2a_qp() with calls to PyMem_Malloc() and
PyMem_Free().  These won't return NULL unless the allocations actually fail,
so it won't trigger a bogus memory error on some platforms <cough>AIX</cough>
when passed a length of zero.

21 years agoSF #832236: merge from release23-maint branch: wrap a bunch of
Greg Ward [Tue, 11 May 2004 01:34:55 +0000 (01:34 +0000)]
SF #832236: merge from release23-maint branch: wrap a bunch of
_EXPORT_INT calls in #ifdef's, to avoid breaking the build on MkLinux
(Linux 2.0).

21 years agoAdded a note describing how fp should be opened in binary mode, especially on
Barry Warsaw [Mon, 10 May 2004 23:12:52 +0000 (23:12 +0000)]
Added a note describing how fp should be opened in binary mode, especially on
Windows.  Closes SF # 586899.

21 years agoPoint out that %p has no effect on the output hour in strptime unless %I is
Skip Montanaro [Mon, 10 May 2004 18:53:00 +0000 (18:53 +0000)]
Point out that %p has no effect on the output hour in strptime unless %I is
used to parse the hour.

21 years agodon't make assumptions about $PATH in Cygwin instructions
Fred Drake [Mon, 10 May 2004 18:39:32 +0000 (18:39 +0000)]
don't make assumptions about $PATH in Cygwin instructions

21 years ago_parse_headers(): Strip a trailing newline from the envelope header. Closes
Barry Warsaw [Mon, 10 May 2004 14:48:30 +0000 (14:48 +0000)]
_parse_headers(): Strip a trailing newline from the envelope header.  Closes
SF #951088.

21 years ago_split_ascii(): Small optimization by RH.
Barry Warsaw [Mon, 10 May 2004 14:44:04 +0000 (14:44 +0000)]
_split_ascii(): Small optimization by RH.

21 years agoTemporarily disable doctest until genexps are in CVS
Raymond Hettinger [Mon, 10 May 2004 14:08:42 +0000 (14:08 +0000)]
Temporarily disable doctest until genexps are in CVS

21 years agoFix [ 738973 ] urllib2 CacheFTPHandler doesn't work on multiple dirs, as
Mark Hammond [Mon, 10 May 2004 07:35:33 +0000 (07:35 +0000)]
Fix [ 738973 ] urllib2 CacheFTPHandler doesn't work on multiple dirs, as
implemented in patch [ 851736 ].

21 years agoSF patch # 884030 by Amit Aronovitch; fixes the _subpart argument to match
Barry Warsaw [Sun, 9 May 2004 18:04:24 +0000 (18:04 +0000)]
SF patch # 884030 by Amit Aronovitch; fixes the _subpart argument to match
documented semantics.

21 years agotest_mime_attachments_in_constructor(): New test to check for SF bug # 884030.
Barry Warsaw [Sun, 9 May 2004 18:03:36 +0000 (18:03 +0000)]
test_mime_attachments_in_constructor(): New test to check for SF bug # 884030.

21 years agoAdd this year to the copyright notices.
Barry Warsaw [Sun, 9 May 2004 17:11:59 +0000 (17:11 +0000)]
Add this year to the copyright notices.

21 years agowe dont support any Python's before 2.3 now.
Barry Warsaw [Sun, 9 May 2004 03:57:09 +0000 (03:57 +0000)]
we dont support any Python's before 2.3 now.

21 years agoUpdate to Python 2.3, getting rid of backward compatiblity crud.
Barry Warsaw [Sun, 9 May 2004 03:55:11 +0000 (03:55 +0000)]
Update to Python 2.3, getting rid of backward compatiblity crud.

21 years agoUpdate to Python 2.3, getting rid of backward compatiblity crud.
Barry Warsaw [Sun, 9 May 2004 03:46:42 +0000 (03:46 +0000)]
Update to Python 2.3, getting rid of backward compatiblity crud.

This Parser is now just a backward compatible front-end to the FeedParser.

21 years agoUpdate to Python 2.3, getting rid of backward compatiblity crud.
Barry Warsaw [Sun, 9 May 2004 03:44:55 +0000 (03:44 +0000)]
Update to Python 2.3, getting rid of backward compatiblity crud.

21 years agoUpdate to Python 2.3, getting rid of backward compatiblity crud. We don't
Barry Warsaw [Sun, 9 May 2004 03:42:37 +0000 (03:42 +0000)]
Update to Python 2.3, getting rid of backward compatiblity crud.  We don't
need the _compat21 or _compat22 modules either.

21 years agoUpdate to Python 2.3, getting rid of backward compatiblity crud. Get rid of a
Barry Warsaw [Sun, 9 May 2004 03:40:17 +0000 (03:40 +0000)]
Update to Python 2.3, getting rid of backward compatiblity crud.  Get rid of a
bunch of module globals that aren't used.

21 years agoUpdate to Python 2.3, getting rid of backward compatiblity crud. Get rid of a
Barry Warsaw [Sun, 9 May 2004 03:35:17 +0000 (03:35 +0000)]
Update to Python 2.3, getting rid of backward compatiblity crud.  Get rid of a
bunch of module globals that aren't used.

__maxheaderlen -> _maxheaderlen

_handle_multipart(): This should be more RFC compliant now, and does match the
updated/fixed semantics for preamble and epilogue.

21 years agoAn updated FeedParser that should be RFC complaint, passes all existing
Barry Warsaw [Sun, 9 May 2004 03:29:23 +0000 (03:29 +0000)]
An updated FeedParser that should be RFC complaint, passes all existing
(standard) tests, and doesn't throw parse errors.  I still need throw
Anthony's torture test at it, but I wanted to get this checked in and off my
disk.

21 years agoAdd MessageDefect and subclasses.
Barry Warsaw [Sun, 9 May 2004 03:26:07 +0000 (03:26 +0000)]
Add MessageDefect and subclasses.

21 years agoUpdate to Python 2.3, getting rid of backward compatiblity crud.
Barry Warsaw [Sun, 9 May 2004 03:24:43 +0000 (03:24 +0000)]
Update to Python 2.3, getting rid of backward compatiblity crud.

21 years agoLike msg_12.txt but with some extra vertical whitespace around the inner
Barry Warsaw [Sun, 9 May 2004 03:17:29 +0000 (03:17 +0000)]
Like msg_12.txt but with some extra vertical whitespace around the inner
message's end boundary.

21 years agoA bunch of new tests, and updated tests for the email 3.0 FeedParser.
Barry Warsaw [Sun, 9 May 2004 03:16:03 +0000 (03:16 +0000)]
A bunch of new tests, and updated tests for the email 3.0 FeedParser.

21 years agoAdd more examples.
Raymond Hettinger [Sun, 9 May 2004 01:15:01 +0000 (01:15 +0000)]
Add more examples.

21 years agoSF #950057: itertools.chain doesn't "process" exceptions as they occur
Raymond Hettinger [Sat, 8 May 2004 19:49:42 +0000 (19:49 +0000)]
SF #950057:  itertools.chain doesn't "process" exceptions as they occur

Both cycle() and chain() were handling exceptions only when switching
input sources.  The patch makes the handle more immediate.

Will backport.

21 years agoSmall fixes in freeze.py.
Gustavo Niemeyer [Sat, 8 May 2004 17:59:43 +0000 (17:59 +0000)]
Small fixes in freeze.py.

21 years agoRecord UnixWare 7.1.4 as broken. Fixes #929689.
Martin v. Löwis [Fri, 7 May 2004 19:14:14 +0000 (19:14 +0000)]
Record UnixWare 7.1.4 as broken. Fixes #929689.
Backported to 2.3.

21 years agoFix _sre.CODESIZE on 64-bit machines in UCS-4 mode. Fixes #931848.
Martin v. Löwis [Fri, 7 May 2004 07:18:13 +0000 (07:18 +0000)]
Fix _sre.CODESIZE on 64-bit machines in UCS-4 mode. Fixes #931848.
Backported to 2.3.

21 years agoRevert last change.
Raymond Hettinger [Fri, 7 May 2004 05:50:35 +0000 (05:50 +0000)]
Revert last change.

21 years agoUse sets instead of lists for membership testing
Raymond Hettinger [Thu, 6 May 2004 16:55:07 +0000 (16:55 +0000)]
Use sets instead of lists for membership testing

21 years ago[Bug #945063] Get file extension correct. (2.3 bugfix candidate)
Andrew M. Kuchling [Thu, 6 May 2004 13:13:44 +0000 (13:13 +0000)]
[Bug #945063] Get file extension correct.  (2.3 bugfix candidate)

21 years agonote that descriptor objects must be instances of new-style types
Fred Drake [Thu, 6 May 2004 12:44:29 +0000 (12:44 +0000)]
note that descriptor objects must be instances of new-style types
(closes SF bug #817742)

21 years agofix documentation for ContentHandler.ignorableWhitespace()
Fred Drake [Thu, 6 May 2004 03:47:48 +0000 (03:47 +0000)]
fix documentation for ContentHandler.ignorableWhitespace()
(closes SF bug #881707)

21 years agomarkup adjustments
Fred Drake [Thu, 6 May 2004 02:55:35 +0000 (02:55 +0000)]
markup adjustments

21 years agoConsider output encoding in XMLGenerator. Fixes #938076.
Martin v. Löwis [Thu, 6 May 2004 02:22:43 +0000 (02:22 +0000)]
Consider output encoding in XMLGenerator. Fixes #938076.
Backported to 2.3.

21 years agoProperly delegate startElementNS in saxutils.XMLFilterBase. Fixes #936637.
Martin v. Löwis [Thu, 6 May 2004 02:04:21 +0000 (02:04 +0000)]
Properly delegate startElementNS in saxutils.XMLFilterBase. Fixes #936637.
Backported to 2.3.

21 years agoSwap public and system ID in start_doctype_decl. Fixes #780300.
Martin v. Löwis [Thu, 6 May 2004 01:54:36 +0000 (01:54 +0000)]
Swap public and system ID in start_doctype_decl. Fixes #780300.

21 years agoPatch #944110: Properly process empty passwords. Fixes #944082.
Martin v. Löwis [Thu, 6 May 2004 01:41:26 +0000 (01:41 +0000)]
Patch #944110: Properly process empty passwords. Fixes #944082.
Backported to 2.3.

21 years agoPatch #940026: Explain "in" when it is first used.
Martin v. Löwis [Thu, 6 May 2004 01:35:45 +0000 (01:35 +0000)]
Patch #940026: Explain "in" when it is first used.
Backported to 2.3.

21 years ago[Bug #810879] Document that copyfile() can fail if you don't have permissions; also...
Andrew M. Kuchling [Wed, 5 May 2004 17:21:51 +0000 (17:21 +0000)]
[Bug #810879] Document that copyfile() can fail if you don't have permissions; also, fix a double negative.

21 years agoFix small grammatical mistake.
Brett Cannon [Wed, 5 May 2004 16:49:11 +0000 (16:49 +0000)]
Fix small grammatical mistake.

21 years agoNits:
Raymond Hettinger [Wed, 5 May 2004 06:28:16 +0000 (06:28 +0000)]
Nits:
- Neatened the braces in PyList_New().
- Made sure "indexerr" was initialized to NULL.
- Factored if blocks in PyList_Append().
- Made sure "allocated" is initialized in list_init().

21 years agoSF patch #947476: Apply freelist technique to lists
Raymond Hettinger [Wed, 5 May 2004 05:37:53 +0000 (05:37 +0000)]
SF patch #947476: Apply freelist technique to lists

Re-use list object bodies.  Saves calls to malloc() and free() for
faster list instantiation and deallocation.

21 years agoadd an index entry for __getnewargs__()
Fred Drake [Wed, 5 May 2004 04:56:06 +0000 (04:56 +0000)]
add an index entry for __getnewargs__()

21 years ago- note that __getinitargs__() is only for old-style classes
Fred Drake [Wed, 5 May 2004 04:54:37 +0000 (04:54 +0000)]
- note that __getinitargs__() is only for old-style classes
- describe __getnewargs__()
(closes SF bug #873246)

21 years agoRemove list of pickle protocol names used by the copy module; there
Fred Drake [Wed, 5 May 2004 04:24:30 +0000 (04:24 +0000)]
Remove list of pickle protocol names used by the copy module; there
are enough subtleties to pickling that we don't want misunderstanding
to spread because we don't provide all the information twice.  The
reference to the pickle module for information will have to suffice;
at least only one portion of the docs will be out of date.  ;-(

21 years agonote that the error code for socket.gaierror will be one of the EAI_*
Fred Drake [Wed, 5 May 2004 04:18:11 +0000 (04:18 +0000)]
note that the error code for socket.gaierror will be one of the EAI_*
constants
(closes SF bug #837929)

21 years agoSF #814606: merge from release23-maint branch: clarify/cleanup
Greg Ward [Wed, 5 May 2004 01:36:16 +0000 (01:36 +0000)]
SF #814606: merge from release23-maint branch: clarify/cleanup
mixer docs; trim \platform{}, add \versionadded{}.

21 years agoRemoved 'U' from the documentation for Py_BuildValue to bring it in line
Nicholas Bastin [Tue, 4 May 2004 19:25:56 +0000 (19:25 +0000)]
Removed 'U' from the documentation for Py_BuildValue to bring it in line
with the elimination of 'U' in modsupport.c on 2000/04/28 (replaced
with 'u' and 'u#' per fdrake's comments).

21 years agoDocument readline module functions added in Python 2.3. See:
Phillip J. Eby [Tue, 4 May 2004 19:20:22 +0000 (19:20 +0000)]
Document readline module functions added in Python 2.3.  See:

http://mail.python.org/pipermail/python-dev/2003-September/037922.html

for background.  It appears I forgot to ever submit a bug report or patch.

21 years agoUsing reversed() is not compatible with Python 1.5.2.
Guido van Rossum [Tue, 4 May 2004 18:18:59 +0000 (18:18 +0000)]
Using reversed() is not compatible with Python 1.5.2.

21 years agoReplace str.find()!=1 with the more readable "in" operator.
Raymond Hettinger [Tue, 4 May 2004 09:21:43 +0000 (09:21 +0000)]
Replace str.find()!=1 with the more readable "in" operator.

21 years agoTesting for None should be done with 'is'
Raymond Hettinger [Tue, 4 May 2004 08:34:56 +0000 (08:34 +0000)]
Testing for None should be done with 'is'

21 years agoStacks based on lists work better and read more clearly when they
Raymond Hettinger [Tue, 4 May 2004 08:21:52 +0000 (08:21 +0000)]
Stacks based on lists work better and read more clearly when they
grow and shrink on the right.

21 years agoFix [ 947405 ] os.utime() raises bad exception for unicode filenames
Mark Hammond [Tue, 4 May 2004 08:10:37 +0000 (08:10 +0000)]
Fix [ 947405 ] os.utime() raises bad exception for unicode filenames

21 years agoDo not use the default namespace for attributes.
Martin v. Löwis [Sun, 2 May 2004 20:37:13 +0000 (20:37 +0000)]
Do not use the default namespace for attributes.
Fixes http://bugs.debian.org/229885
Will backport to 2.3.

21 years agoMinor documentation nits.
Raymond Hettinger [Sat, 1 May 2004 08:31:36 +0000 (08:31 +0000)]
Minor documentation nits.

21 years agoAdd an example application to the docs.
Raymond Hettinger [Fri, 30 Apr 2004 22:52:50 +0000 (22:52 +0000)]
Add an example application to the docs.

21 years agothe headers in an HTTP request are HTTP headers, not MIME headers
Fred Drake [Thu, 29 Apr 2004 02:47:38 +0000 (02:47 +0000)]
the headers in an HTTP request are HTTP headers, not MIME headers

21 years agoAdd a test script for the colorsys module.
Walter Dörwald [Wed, 28 Apr 2004 17:07:50 +0000 (17:07 +0000)]
Add a test script for the colorsys module.

21 years agoremove out-of-date count of the functions in winsound
Fred Drake [Wed, 28 Apr 2004 03:57:47 +0000 (03:57 +0000)]
remove out-of-date count of the functions in winsound

21 years agofix typo reported in a long-buried email
Fred Drake [Wed, 28 Apr 2004 03:16:49 +0000 (03:16 +0000)]
fix typo reported in a long-buried email

21 years agoThe filename of this module changed again...
Thomas Heller [Tue, 27 Apr 2004 18:34:08 +0000 (18:34 +0000)]
The filename of this module changed again...

21 years agoComplete perky's name change patch.
Raymond Hettinger [Tue, 27 Apr 2004 04:52:47 +0000 (04:52 +0000)]
Complete perky's name change patch.

21 years agoFix a bug I introduced which causes all block openers at an indent level
Kurt B. Kaiser [Mon, 26 Apr 2004 22:26:04 +0000 (22:26 +0000)]
Fix a bug I introduced which causes all block openers at an  indent level
to be shown, instead of outdenting each level.

21 years agoCorrect the file name of _heapq module.
Hye-Shik Chang [Sun, 25 Apr 2004 17:51:47 +0000 (17:51 +0000)]
Correct the file name of _heapq module.

21 years ago1. Add an Options menu entry: Code Context
Kurt B. Kaiser [Sat, 24 Apr 2004 03:08:13 +0000 (03:08 +0000)]
1. Add an Options menu entry: Code Context
2. Add a <<toggle-code-context>> envent to the [CodeContext] section of
   config-extensions.def and also a default-on variable, set to 0.
3. Update the help file to include Code Context.

M CodeContext.py
M config-extensions.def
M help.txt

21 years ago1. Polish variables in EditorWindow extension loading and Tkinter variable code.
Kurt B. Kaiser [Sat, 24 Apr 2004 03:01:48 +0000 (03:01 +0000)]
1. Polish variables in EditorWindow extension loading and Tkinter variable code.
2. Add exception handling to EditorWindow Tkinter variable setvar() and getvar() fcns.
3. EditorWindow: remove some unneeded comments.
4. Add a separator to the Options menu
5. extend.txt: describe how to create a menu entry which has no keybinding.

M Bindings.py
M EditorWindow.py
M extend.txt

21 years agoSF bug #940579: section 5.10: 'not' returns boolean, not int
Raymond Hettinger [Fri, 23 Apr 2004 17:11:47 +0000 (17:11 +0000)]
SF bug #940579: section 5.10: 'not' returns boolean, not int

21 years agoRemove the Modules/heaqmodule.c, and add Modules/_heapmodule.c, so
Thomas Heller [Thu, 22 Apr 2004 18:30:17 +0000 (18:30 +0000)]
Remove the Modules/heaqmodule.c, and add Modules/_heapmodule.c, so
that the project compiles again with VC6.