python/dscho.git
17 years agoThis commit was manufactured by cvs2svn to create tag 'r241c1'.svn/tags/r241c1r241c1
(no author) [Thu, 10 Mar 2005 04:59:14 +0000 (10 04:59 +0000)]
This commit was manufactured by cvs2svn to create tag 'r241c1'.

git-svn-id: http://svn.python.org/projects/python/tags/r241c1@38615 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoFix argument order in pure python version of nsmallest() and nlargest().
rhettinger [Mon, 29 Nov 2004 05:54:48 +0000 (29 05:54 +0000)]
Fix argument order in pure python version of nsmallest() and nlargest().

git-svn-id: http://svn.python.org/projects/python/trunk@37900 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoRFC 2822 describes the characters allowed in a header field name. Conform to
bwarsaw [Mon, 29 Nov 2004 03:46:54 +0000 (29 03:46 +0000)]
RFC 2822 describes the characters allowed in a header field name.  Conform to
this, and add test cases.

git-svn-id: http://svn.python.org/projects/python/trunk@37899 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agopreparing for 2.4 final (wooooooo!)
anthonybaxter [Mon, 29 Nov 2004 01:40:31 +0000 (29 01:40 +0000)]
preparing for 2.4 final (wooooooo!)

git-svn-id: http://svn.python.org/projects/python/trunk@37898 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoThere's likely nothing more to do to the email package before Python 2.4 is
bwarsaw [Mon, 29 Nov 2004 01:10:14 +0000 (29 01:10 +0000)]
There's likely nothing more to do to the email package before Python 2.4 is
final, so I'm marking email's version number as "3.0" (e.g. final).

git-svn-id: http://svn.python.org/projects/python/trunk@37897 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoWhitespace normalization.
tim_one [Sun, 28 Nov 2004 01:10:01 +0000 (28 01:10 +0000)]
Whitespace normalization.

git-svn-id: http://svn.python.org/projects/python/trunk@37896 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoFix for SF bug #1072623. When the last line of the input string does not end
bwarsaw [Sun, 28 Nov 2004 00:21:42 +0000 (28 00:21 +0000)]
Fix for SF bug #1072623.  When the last line of the input string does not end
in a newline, and it's an end boundary, the FeedParser wasn't recognizing it
as such.  Tweak the regexp to make the ending linesep optional.

For grins, clear self._partial when closing the BufferedSubFile.

Added a test case.

git-svn-id: http://svn.python.org/projects/python/trunk@37895 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoFix typo in comment.
doerwalter [Thu, 25 Nov 2004 12:23:23 +0000 (25 12:23 +0000)]
Fix typo in comment.

git-svn-id: http://svn.python.org/projects/python/trunk@37894 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoFix typo.
rhettinger [Thu, 25 Nov 2004 05:35:32 +0000 (25 05:35 +0000)]
Fix typo.

git-svn-id: http://svn.python.org/projects/python/trunk@37893 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoClarify the ordering of dictionary keys.
rhettinger [Thu, 25 Nov 2004 05:16:19 +0000 (25 05:16 +0000)]
Clarify the ordering of dictionary keys.

git-svn-id: http://svn.python.org/projects/python/trunk@37892 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoMake sure the money formatting recipe can doesn't run out of digits
rhettinger [Thu, 25 Nov 2004 04:47:09 +0000 (25 04:47 +0000)]
Make sure the money formatting recipe can doesn't run out of digits
to the right of the decimal point.

git-svn-id: http://svn.python.org/projects/python/trunk@37891 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoRename a static variable "history_length" to "_history_length".
perky [Thu, 25 Nov 2004 04:04:20 +0000 (25 04:04 +0000)]
Rename a static variable "history_length" to "_history_length".
GNU readline exports a global variable that has such a name already
and the collision makes gcc4 doesn't compile the source.

git-svn-id: http://svn.python.org/projects/python/trunk@37890 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoFollowing a LtU thread, change introductory paragraph of decimal section
akuchling [Thu, 25 Nov 2004 01:15:25 +0000 (25 01:15 +0000)]
Following a LtU thread, change introductory paragraph of decimal section

git-svn-id: http://svn.python.org/projects/python/trunk@37889 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoSF patch #1071739 (by Christos Georgiou)
effbot [Wed, 24 Nov 2004 22:31:11 +0000 (24 22:31 +0000)]
SF patch #1071739 (by Christos Georgiou)

This patch offers a better explanation in case the MS VC++ (free)
toolkit is installed but the .NET Framework SDK is not.

git-svn-id: http://svn.python.org/projects/python/trunk@37888 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoadd missing dependency
fdrake [Wed, 24 Nov 2004 14:57:04 +0000 (24 14:57 +0000)]
add missing dependency

git-svn-id: http://svn.python.org/projects/python/trunk@37887 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoSF bug #1071588 coercing decimal to int doesn't work between -1 and 1
rhettinger [Wed, 24 Nov 2004 07:28:48 +0000 (24 07:28 +0000)]
SF bug #1071588 coercing decimal to int doesn't work between -1 and 1

git-svn-id: http://svn.python.org/projects/python/trunk@37886 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoSF bug #1071566: moneyfmt recipe in decimal documentation has error
rhettinger [Wed, 24 Nov 2004 05:53:26 +0000 (24 05:53 +0000)]
SF bug #1071566:  moneyfmt recipe in decimal documentation has error

git-svn-id: http://svn.python.org/projects/python/trunk@37885 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoHave testLoadTkFailure() skip on cygwin since Tcl/Tk on cygwin renders to the
bcannon [Wed, 24 Nov 2004 03:01:36 +0000 (24 03:01 +0000)]
Have testLoadTkFailure() skip on cygwin since Tcl/Tk on cygwin renders to the
Windows GDI directly and thus does not need a DISPLAY environment variable.

Thanks Jason Tishler.

git-svn-id: http://svn.python.org/projects/python/trunk@37884 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoHye-Shik Chang's fix for Bug 875692.
kbk [Tue, 23 Nov 2004 18:06:08 +0000 (23 18:06 +0000)]
Hye-Shik Chang's fix for Bug 875692.

Improve signal handling, especially when using threads, by forcing an early
re-execution of PyEval_EvalFrame() "periodic" code when things_to_do is not
cleared by Py_MakePendingCalls().

M Misc/NEWS
M Python/ceval.c

git-svn-id: http://svn.python.org/projects/python/trunk@37883 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoBug #1071513: don't test on Cygwin, as chmod doesn't work reliably there
jlgijsbers [Tue, 23 Nov 2004 09:27:27 +0000 (23 09:27 +0000)]
Bug #1071513: don't test on Cygwin, as chmod doesn't work reliably there
(http://www.cygwin.com/faq/faq_3.html#SEC41).

Also check whether onerror has actually been called so this test will
fail on assertion instead of on trying to chmod a non-existent file.

git-svn-id: http://svn.python.org/projects/python/trunk@37882 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoos.walk(): Changed the "sum of bytes consumed by files" example to use
tim_one [Mon, 22 Nov 2004 16:53:46 +0000 (22 16:53 +0000)]
os.walk():  Changed the "sum of bytes consumed by files" example to use
a generator expression instead of a listcomp.

Not a backport candidate (genexps are new in 2.4).

git-svn-id: http://svn.python.org/projects/python/trunk@37881 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoSF bug 1071087: os.walk example for deleting a full tree is sometime wrong.
tim_one [Mon, 22 Nov 2004 16:49:02 +0000 (22 16:49 +0000)]
SF bug 1071087: os.walk example for deleting a full tree is sometime wrong.

Clarify that the example assumes no links are present; the point of the
example is to illustrate a need for topdown=False, not to wrestle with
platform-dependent link convolutions.

Also spell os.path.join() out in full, instead of using a shortcut import.
The bug reporter was confused by that too, and it's clearer this way.

Bugfix candidate; but I don't intend to backport it.

git-svn-id: http://svn.python.org/projects/python/trunk@37880 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoCorrect the handling of 0-termination of PyUnicode_AsWideChar()
lemburg [Mon, 22 Nov 2004 13:02:31 +0000 (22 13:02 +0000)]
Correct the handling of 0-termination of PyUnicode_AsWideChar()
and its usage in PyLocale_strcoll().

Clarify the documentation on this.

Thanks to Andreas Degert for pointing this out.

git-svn-id: http://svn.python.org/projects/python/trunk@37879 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoInclude site-packages directory.
loewis [Sun, 21 Nov 2004 10:16:26 +0000 (21 10:16 +0000)]
Include site-packages directory.

git-svn-id: http://svn.python.org/projects/python/trunk@37878 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoAdd 'linux2' as one of the platforms that does not use the echo service as one
bcannon [Sat, 20 Nov 2004 21:10:07 +0000 (20 21:10 +0000)]
Add 'linux2' as one of the platforms that does not use the echo service as one
of the test possiblities for testGetServBy().

git-svn-id: http://svn.python.org/projects/python/trunk@37877 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoFixed quantize syntax.
facundobatista [Sat, 20 Nov 2004 00:33:51 +0000 (20 00:33 +0000)]
Fixed quantize syntax.

git-svn-id: http://svn.python.org/projects/python/trunk@37876 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoOn OpenBSD, terminating IDLE with ctrl-c from the command line caused a
kbk [Fri, 19 Nov 2004 15:46:49 +0000 (19 15:46 +0000)]
On OpenBSD, terminating IDLE with ctrl-c from the command line caused a
stuck subprocess MainThread because only the SocketThread was exiting.

M NEWS.txt
M idlever.py
M run.py

git-svn-id: http://svn.python.org/projects/python/trunk@37875 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoFill in the benchmark figures, bogus or not; add a disclaimer
akuchling [Fri, 19 Nov 2004 14:55:28 +0000 (19 14:55 +0000)]
Fill in the benchmark figures, bogus or not; add a disclaimer

git-svn-id: http://svn.python.org/projects/python/trunk@37874 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoLast pass to fill in contributor names; remove stray 'contributed by' from the incomp...
akuchling [Fri, 19 Nov 2004 14:43:36 +0000 (19 14:43 +0000)]
Last pass to fill in contributor names; remove stray 'contributed by' from the incompatible changes section; remove some XXX comments

git-svn-id: http://svn.python.org/projects/python/trunk@37873 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoIt's GTK+, apparently; remove XXX comment
akuchling [Fri, 19 Nov 2004 14:27:54 +0000 (19 14:27 +0000)]
It's GTK+, apparently; remove XXX comment

git-svn-id: http://svn.python.org/projects/python/trunk@37872 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoBump version number; update patch/bug counts; bet that the final release will be...
akuchling [Fri, 19 Nov 2004 14:26:23 +0000 (19 14:26 +0000)]
Bump version number; update patch/bug counts; bet that the final release will be in December

git-svn-id: http://svn.python.org/projects/python/trunk@37871 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years ago2.4rc1
anthonybaxter [Thu, 18 Nov 2004 12:32:27 +0000 (18 12:32 +0000)]
2.4rc1

git-svn-id: http://svn.python.org/projects/python/trunk@37869 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoMark PyRange_New() as deprecated.
rhettinger [Thu, 18 Nov 2004 09:41:45 +0000 (18 09:41 +0000)]
Mark PyRange_New() as deprecated.

git-svn-id: http://svn.python.org/projects/python/trunk@37868 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoSF patch #1068456: small update for pdb docs
rhettinger [Thu, 18 Nov 2004 08:39:33 +0000 (18 08:39 +0000)]
SF patch #1068456:  small update for pdb docs

git-svn-id: http://svn.python.org/projects/python/trunk@37867 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoAdd missing have_tcl conditions
loewis [Thu, 18 Nov 2004 08:00:33 +0000 (18 08:00 +0000)]
Add missing have_tcl conditions

git-svn-id: http://svn.python.org/projects/python/trunk@37866 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoSF bug #1066036: Typo about PyErr_WriteUnraisable()
rhettinger [Thu, 18 Nov 2004 06:50:19 +0000 (18 06:50 +0000)]
SF bug #1066036:  Typo about PyErr_WriteUnraisable()

git-svn-id: http://svn.python.org/projects/python/trunk@37865 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoSF bug #1067018: Obsolete info in Tutorial 9.1
rhettinger [Thu, 18 Nov 2004 06:20:30 +0000 (18 06:20 +0000)]
SF bug #1067018: Obsolete info in Tutorial 9.1

Removed a section that is out of date after type/class unification.
While there was still some validity, the paragraph offered more
confusion that insight.

git-svn-id: http://svn.python.org/projects/python/trunk@37864 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoSF bug #1067023: A small typo
rhettinger [Thu, 18 Nov 2004 06:14:27 +0000 (18 06:14 +0000)]
SF bug #1067023:  A small typo

Make a minor clarification between "written" and "displayed".

git-svn-id: http://svn.python.org/projects/python/trunk@37863 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoComment for performance measurement.
rhettinger [Thu, 18 Nov 2004 05:51:53 +0000 (18 05:51 +0000)]
Comment for performance measurement.

git-svn-id: http://svn.python.org/projects/python/trunk@37862 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoRemove tempfile after use in test_call_string.
astrand [Wed, 17 Nov 2004 20:06:35 +0000 (17 20:06 +0000)]
Remove tempfile after use in test_call_string.
In test_args_string, remove the tempfile before assertEqual.

git-svn-id: http://svn.python.org/projects/python/trunk@37861 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agosplit functionality into pystack and pystackv commands. The former will
montanaro [Wed, 17 Nov 2004 16:04:15 +0000 (17 16:04 +0000)]
split functionality into pystack and pystackv commands.  The former will
work with core dumps because it avoids calling any Python API routines.  The
latter prints all the local variable values as well as the stack frames but
won't work with core dumps because it relies on _PyObject_Dump to print
variables.

git-svn-id: http://svn.python.org/projects/python/trunk@37860 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoSaving a Keyset w/o making changes (by using the "Save as New Custom Key Set"
kbk [Tue, 16 Nov 2004 21:31:08 +0000 (16 21:31 +0000)]
Saving a Keyset w/o making changes (by using the "Save as New Custom Key Set"
button) caused IDLE to fail on restart (no new keyset was created in
config-keys.cfg).  Also true for Theme/highlights.  Python Bug 1064535.

git-svn-id: http://svn.python.org/projects/python/trunk@37859 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoSaving a Keyset w/o making changes (by using the "Save as New Custom Key Set"
kbk [Tue, 16 Nov 2004 21:28:36 +0000 (16 21:28 +0000)]
Saving a Keyset w/o making changes (by using the "Save as New Custom Key Set"
button) caused IDLE to fail on restart (no new keyset was created in
config-keys.cfg).  Also true for Theme/highlights.  Python Bug 1064535.

M configDialog.py

git-svn-id: http://svn.python.org/projects/python/trunk@37858 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agopreparing for rc1
anthonybaxter [Mon, 15 Nov 2004 15:03:25 +0000 (15 15:03 +0000)]
preparing for rc1

git-svn-id: http://svn.python.org/projects/python/trunk@37857 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoFix pprint to be able to handle objects that don't have a __repr__
doerwalter [Mon, 15 Nov 2004 13:51:41 +0000 (15 13:51 +0000)]
Fix pprint to be able to handle objects that don't have a __repr__
attribute. Fixes SF bug #1065456.

git-svn-id: http://svn.python.org/projects/python/trunk@37856 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoSF bug 1066438: datetime.replace method description error
tim_one [Mon, 15 Nov 2004 03:50:16 +0000 (15 03:50 +0000)]
SF bug 1066438:  datetime.replace method description error

Repair typo in example.

git-svn-id: http://svn.python.org/projects/python/trunk@37855 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoBack out rev 1.96; see #1009389.
loewis [Sun, 14 Nov 2004 10:21:04 +0000 (14 10:21 +0000)]
Back out rev 1.96; see #1009389.

git-svn-id: http://svn.python.org/projects/python/trunk@37854 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoavoid applying :active to anchors that are only link targets
fdrake [Sat, 13 Nov 2004 21:58:01 +0000 (13 21:58 +0000)]
avoid applying :active to anchors that are only link targets
(no href attribute)

git-svn-id: http://svn.python.org/projects/python/trunk@37853 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoThe change in the linecache.checkcache() signature at rev 1.13 caused IDLE to exit
kbk [Sat, 13 Nov 2004 21:05:58 +0000 (13 21:05 +0000)]
The change in the linecache.checkcache() signature at rev 1.13 caused IDLE to exit
when an exception was raised while running w/o the subprocess.  Python Bug 1063840

M NEWS.txt
M PyShell.py

git-svn-id: http://svn.python.org/projects/python/trunk@37852 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoadd another way to specify an alternate name for the documentation set,
fdrake [Sat, 13 Nov 2004 17:45:39 +0000 (13 17:45 +0000)]
add another way to specify an alternate name for the documentation set,
so that this is harder to forget to do for development of new styles

git-svn-id: http://svn.python.org/projects/python/trunk@37851 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoSF bug 1065388: calendar day/month name lookup too slow
tim_one [Sat, 13 Nov 2004 16:18:32 +0000 (13 16:18 +0000)]
SF bug 1065388:  calendar day/month name lookup too slow

__getitem__() methods:  compute only the new spellings needed to satisfy
the given indexing object.  This is purely an optimization (it should
have no effect on visible semantics).

git-svn-id: http://svn.python.org/projects/python/trunk@37850 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoPatch #1050475: Fix various x86_64 build issues
loewis [Sat, 13 Nov 2004 11:13:35 +0000 (13 11:13 +0000)]
Patch #1050475: Fix various x86_64 build issues
regrtest.py: skip rgbimg and imageop as they are not built on 64-bit systems.
_tkinter.c: replace %.8x with %p for printing pointers.
setup.py: add lib64 into the library directories.

git-svn-id: http://svn.python.org/projects/python/trunk@37849 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoif we treat \LaTeX specially, we need to do the same for \TeX
fdrake [Sat, 13 Nov 2004 05:46:18 +0000 (13 05:46 +0000)]
if we treat \LaTeX specially, we need to do the same for \TeX

git-svn-id: http://svn.python.org/projects/python/trunk@37848 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years ago- wrap a long line
fdrake [Sat, 13 Nov 2004 04:41:01 +0000 (13 04:41 +0000)]
- wrap a long line
- add directory information for the "What's New" document

git-svn-id: http://svn.python.org/projects/python/trunk@37847 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoavoid the inane markup generated by LaTeX2HTML for \LaTeX; that simply
fdrake [Sat, 13 Nov 2004 01:20:24 +0000 (13 01:20 +0000)]
avoid the inane markup generated by LaTeX2HTML for \LaTeX; that simply
doesn't look right in HTML

git-svn-id: http://svn.python.org/projects/python/trunk@37846 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoAdd options to regrtest.py to make it possible to specify where to put
doerwalter [Fri, 12 Nov 2004 18:51:27 +0000 (12 18:51 +0000)]
Add options to regrtest.py to make it possible to specify where to put
the coverage files when -T is used.

git-svn-id: http://svn.python.org/projects/python/trunk@37845 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoSF bug 1054821: difflib HtmlDiff() extra space on inserted 1 character lines
tim_one [Fri, 12 Nov 2004 16:12:15 +0000 (12 16:12 +0000)]
SF bug 1054821:  difflib HtmlDiff() extra space on inserted 1 character lines

Simple correction from the code's author (Dan Gass).

git-svn-id: http://svn.python.org/projects/python/trunk@37844 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoUse os.chdir/os.getcwd instead of os.path.realpath, to support Tru64
astrand [Fri, 12 Nov 2004 15:51:48 +0000 (12 15:51 +0000)]
Use os.chdir/os.getcwd instead of os.path.realpath, to support Tru64
TEMP dirs with {memb} strings. Fixes #1063571.

git-svn-id: http://svn.python.org/projects/python/trunk@37843 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoOn second thought: "Errors should never pass silently", so barf when a
jvr [Fri, 12 Nov 2004 09:36:12 +0000 (12 09:36 +0000)]
On second thought: "Errors should never pass silently", so barf when a
string contains control chars that are illegal for XML

git-svn-id: http://svn.python.org/projects/python/trunk@37842 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agotesting control chars and non-dict root objects
jvr [Fri, 12 Nov 2004 08:34:32 +0000 (12 08:34 +0000)]
testing control chars and non-dict root objects

git-svn-id: http://svn.python.org/projects/python/trunk@37841 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years ago- \f is not a valid XML character
jvr [Fri, 12 Nov 2004 08:14:49 +0000 (12 08:14 +0000)]
- \f is not a valid XML character
- reformatted regex pattern, use r"" consistently

git-svn-id: http://svn.python.org/projects/python/trunk@37840 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoreordered a couple of things
jvr [Fri, 12 Nov 2004 08:02:35 +0000 (12 08:02 +0000)]
reordered a couple of things

git-svn-id: http://svn.python.org/projects/python/trunk@37839 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoSF bug 1060644. Better explanation of min() and max() methods. Thanks Raymond Hetting...
facundobatista [Fri, 12 Nov 2004 02:03:36 +0000 (12 02:03 +0000)]
SF bug 1060644. Better explanation of min() and max() methods. Thanks Raymond Hettinger and Tim Peters.

git-svn-id: http://svn.python.org/projects/python/trunk@37838 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoSF #1063757: fix markup error (had LaTeX markup in the reST source,
gward [Fri, 12 Nov 2004 01:20:17 +0000 (12 01:20 +0000)]
SF #1063757: fix markup error (had LaTeX markup in the reST source,
oops!).

git-svn-id: http://svn.python.org/projects/python/trunk@37837 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoMinor grammatical errors fixed
vsajip [Thu, 11 Nov 2004 13:54:48 +0000 (11 13:54 +0000)]
Minor grammatical errors fixed

git-svn-id: http://svn.python.org/projects/python/trunk@37836 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoremove some generated cruft now that we avoid the removal of elements
fdrake [Thu, 11 Nov 2004 08:05:34 +0000 (11 08:05 +0000)]
remove some generated cruft now that we avoid the removal of elements
with no content (due to the text_cleanup() override in l2hinit.perl)

git-svn-id: http://svn.python.org/projects/python/trunk@37835 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoFix SF bug #1061770: Manual typesets bit-shift operators as guillemet
fdrake [Thu, 11 Nov 2004 06:14:05 +0000 (11 06:14 +0000)]
Fix SF bug #1061770: Manual typesets bit-shift operators as guillemet

git-svn-id: http://svn.python.org/projects/python/trunk@37833 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoadd a comment explaining a particular text transformation
fdrake [Thu, 11 Nov 2004 05:42:13 +0000 (11 05:42 +0000)]
add a comment explaining a particular text transformation

git-svn-id: http://svn.python.org/projects/python/trunk@37832 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoReplace last two uses of the "list" environment with "description"
fdrake [Thu, 11 Nov 2004 05:04:55 +0000 (11 05:04 +0000)]
Replace last two uses of the "list" environment with "description"
environments.

Closes SF bug #692442: Konqueror can't render docs because of
malformed HTML.  While the generated HTML is still terrible, the cited
cases of <DL COMPACT> have been removed.  The general problem of XHTML
conformance has not been solved, but is endemic to LaTeX2HTML output.

git-svn-id: http://svn.python.org/projects/python/trunk@37831 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoremove unhelpful property setting that overrides the right setting for
fdrake [Thu, 11 Nov 2004 04:41:24 +0000 (11 04:41 +0000)]
remove unhelpful property setting that overrides the right setting for
text-align in .realtable cells; fix suggested by Richard Brodie

git-svn-id: http://svn.python.org/projects/python/trunk@37830 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years ago- remove use of a "list" environment (replace with a table)
fdrake [Thu, 11 Nov 2004 04:39:56 +0000 (11 04:39 +0000)]
- remove use of a "list" environment (replace with a table)
- fix minor markup nits

git-svn-id: http://svn.python.org/projects/python/trunk@37829 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoUpdate compatibility comments to 2.1, corresponding to PEP 291 1.13.
loewis [Wed, 10 Nov 2004 22:23:15 +0000 (10 22:23 +0000)]
Update compatibility comments to 2.1, corresponding to PEP 291 1.13.

git-svn-id: http://svn.python.org/projects/python/trunk@37828 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years ago- hack for MSIE5 to make (real) tables center
fdrake [Wed, 10 Nov 2004 19:22:05 +0000 (10 19:22 +0000)]
- hack for MSIE5 to make (real) tables center
- remove last <center> element (long deprecated in HTML)

git-svn-id: http://svn.python.org/projects/python/trunk@37827 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agomore HTML styling detail changes
fdrake [Wed, 10 Nov 2004 17:56:29 +0000 (10 17:56 +0000)]
more HTML styling detail changes

git-svn-id: http://svn.python.org/projects/python/trunk@37826 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agomove table formatting for grammar productions from HTML to CSS
fdrake [Wed, 10 Nov 2004 17:02:43 +0000 (10 17:02 +0000)]
move table formatting for grammar productions from HTML to CSS

git-svn-id: http://svn.python.org/projects/python/trunk@37825 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agominor markup nits; fix missing whitespace
fdrake [Wed, 10 Nov 2004 16:51:17 +0000 (10 16:51 +0000)]
minor markup nits; fix missing whitespace

git-svn-id: http://svn.python.org/projects/python/trunk@37824 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoremove unreachable cruft
fdrake [Wed, 10 Nov 2004 15:54:46 +0000 (10 15:54 +0000)]
remove unreachable cruft

git-svn-id: http://svn.python.org/projects/python/trunk@37823 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoadd a comment about one of the remaining warts in the table
fdrake [Wed, 10 Nov 2004 15:49:25 +0000 (10 15:49 +0000)]
add a comment about one of  the remaining warts in the table
formatting

git-svn-id: http://svn.python.org/projects/python/trunk@37822 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoremove comment that seems to be wrong after all; browsers do implement
fdrake [Wed, 10 Nov 2004 15:39:50 +0000 (10 15:39 +0000)]
remove comment that seems to be wrong after all; browsers do implement
this, but I was misled by a LaTeX2HTML wart that I worked around
yesterday

git-svn-id: http://svn.python.org/projects/python/trunk@37821 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agomove much of the table styling out of the HTML and into the CSS;
fdrake [Wed, 10 Nov 2004 15:37:54 +0000 (10 15:37 +0000)]
move much of the table styling out of the HTML and into the CSS;
this also makes some constructs more XHTML friendly (including adding in
some missing </tr> tags)

git-svn-id: http://svn.python.org/projects/python/trunk@37820 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoSF patch 1062495: Modules/zipimport.c does not compile on solaris (Contributed by...
rhettinger [Wed, 10 Nov 2004 13:13:05 +0000 (10 13:13 +0000)]
SF patch 1062495: Modules/zipimport.c does not compile on solaris (Contributed by Niki W. Waibel.)

Simple renaming to avoid a conflict that prevented compilation on Solaris.

git-svn-id: http://svn.python.org/projects/python/trunk@37819 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoSF patch 1062495: Modules/zipimport.c does not compile on solaris
rhettinger [Wed, 10 Nov 2004 13:08:35 +0000 (10 13:08 +0000)]
SF patch 1062495: Modules/zipimport.c does not compile on solaris
(Contributed by Niki W. Waibel.)

Simple renaming to avoid a conflict that prevented compilation on Solaris.

git-svn-id: http://svn.python.org/projects/python/trunk@37818 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoAvoid a linker warning: MSVC 7 doesn't support /pdb:None, the debug
theller [Wed, 10 Nov 2004 09:01:41 +0000 (10 09:01 +0000)]
Avoid a linker warning: MSVC 7 doesn't support /pdb:None, the debug
info will always be in a .pdb file.

git-svn-id: http://svn.python.org/projects/python/trunk@37817 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agomore more styling to the CSS
fdrake [Wed, 10 Nov 2004 08:08:26 +0000 (10 08:08 +0000)]
more more styling to the CSS

git-svn-id: http://svn.python.org/projects/python/trunk@37816 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agomore XHTML friendliness: <dl compact> becomes well-formed
fdrake [Wed, 10 Nov 2004 08:07:00 +0000 (10 08:07 +0000)]
more XHTML friendliness: <dl compact> becomes well-formed

git-svn-id: http://svn.python.org/projects/python/trunk@37815 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agooverride a bit of LaTeX2HTML so empty table cells don't disappear from
fdrake [Wed, 10 Nov 2004 07:48:17 +0000 (10 07:48 +0000)]
override a bit of LaTeX2HTML so empty table cells don't disappear from
the output

git-svn-id: http://svn.python.org/projects/python/trunk@37814 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoSF patch #1062279: deque pickling problems
rhettinger [Tue, 9 Nov 2004 07:27:35 +0000 (9 07:27 +0000)]
SF patch #1062279:  deque pickling problems
(Contributed by Dima Dorfman.)

* Support pickling of dictionaries in instances of deque subclasses.
* Support pickling of recursive deques.

git-svn-id: http://svn.python.org/projects/python/trunk@37812 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoSF 1062353: set pickling problems
rhettinger [Tue, 9 Nov 2004 07:25:31 +0000 (9 07:25 +0000)]
SF 1062353:  set pickling problems

Support automatic pickling of dictionaries in instance of set subclasses.

git-svn-id: http://svn.python.org/projects/python/trunk@37811 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoBump version number
akuchling [Tue, 9 Nov 2004 02:58:02 +0000 (9 02:58 +0000)]
Bump version number
Add doctest section
Wordsmithing

git-svn-id: http://svn.python.org/projects/python/trunk@37810 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoAnd delete a useless comment.
tim_one [Mon, 8 Nov 2004 22:31:09 +0000 (8 22:31 +0000)]
And delete a useless comment.

git-svn-id: http://svn.python.org/projects/python/trunk@37809 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years ago_OutputRedirectingPdb.trace_dispatch(): Return the base class's
tim_one [Mon, 8 Nov 2004 22:30:28 +0000 (8 22:30 +0000)]
_OutputRedirectingPdb.trace_dispatch():  Return the base class's
trace_dispatch() result in a more obvious, and more robust way.

git-svn-id: http://svn.python.org/projects/python/trunk@37808 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agotest_doctest.py test_pdb_set_trace_nested(): A new test from Jim Fulton
tim_one [Mon, 8 Nov 2004 22:07:37 +0000 (8 22:07 +0000)]
test_doctest.py test_pdb_set_trace_nested():  A new test from Jim Fulton
showing that doctest's pdb.set_trace() support was dramatically broken.

doctest.py _OutputRedirectingPdb.trace_dispatch():  Return a local trace
function instead of (implicitly) None.  Else interaction with pdb was
bizarre, noticing only 'call' events.  Amazingly, the existing set_trace()
tests didn't care.

git-svn-id: http://svn.python.org/projects/python/trunk@37807 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agotest for fixedness of bug #1057835.
mwh [Mon, 8 Nov 2004 16:46:02 +0000 (8 16:46 +0000)]
test for fixedness of bug #1057835.
(thanks to Raymond for the prod).

git-svn-id: http://svn.python.org/projects/python/trunk@37806 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoFix bug
mwh [Mon, 8 Nov 2004 12:17:34 +0000 (8 12:17 +0000)]
Fix bug

1057835 ] compiler.transformer, "from module import *"

git-svn-id: http://svn.python.org/projects/python/trunk@37805 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoSF #1062190. Removed an assertion that rendered trace.py unnecessarily
rhettinger [Mon, 8 Nov 2004 06:36:42 +0000 (8 06:36 +0000)]
SF #1062190.  Removed an assertion that rendered trace.py unnecessarily
inflexibile.

git-svn-id: http://svn.python.org/projects/python/trunk@37804 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoSF bug 1061968: threads: segfault or Py_FatalError at exit
tim_one [Mon, 8 Nov 2004 04:30:21 +0000 (8 04:30 +0000)]
SF bug 1061968: threads: segfault or Py_FatalError at exit

PyGILState_Ensure():  The fix in 2.4a3 for bug 1010677 reintroduced thread
shutdown race bug 225673.  Repaired by (once again) ensuring the GIL is
held whenever deleting a thread state.

Alas, there's no useful test case for this shy bug.  Four years ago, only
Guido could provoke it, on his box, and today only Armin can provoke it
on his box.  I've never been able to provoke it (but not for lack of
trying!).

This is a critical fix for 2.3.5 too, since the fix for 1010677 got
backported there already and so also reintroduced 225673.  I don't intend to
backport this fix.  For whoever (if anyone) does, there are other thread
fixes in 2.4 that need backporting too, and I bet they need to happen first
for this patch to apply cleanly.

git-svn-id: http://svn.python.org/projects/python/trunk@37803 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoStop printing listdir bytestring output, as the precise list of strings
loewis [Sun, 7 Nov 2004 20:01:56 +0000 (7 20:01 +0000)]
Stop printing listdir bytestring output, as the precise list of strings
returned depends on the filesystem encoding.

git-svn-id: http://svn.python.org/projects/python/trunk@37802 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoTry a different filename if the Latin-1 file name cannot
loewis [Sun, 7 Nov 2004 19:57:35 +0000 (7 19:57 +0000)]
Try a different filename if the Latin-1 file name cannot
be represented in the file system. Fixes #989338.

git-svn-id: http://svn.python.org/projects/python/trunk@37801 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoPatch #1062033 / bug #1027771: clarify what happens when calling
jlgijsbers [Sun, 7 Nov 2004 19:55:18 +0000 (7 19:55 +0000)]
Patch #1062033 / bug #1027771: clarify what happens when calling
insertBefore() with refChild=None.

git-svn-id: http://svn.python.org/projects/python/trunk@37800 6015fed2-1504-0410-9fe1-9d1591cc4771

17 years agoPatch #1062018 / bug #1038693: comment out dead link in tkinter docs.
jlgijsbers [Sun, 7 Nov 2004 19:36:48 +0000 (7 19:36 +0000)]
Patch #1062018 / bug #1038693: comment out dead link in tkinter docs.

git-svn-id: http://svn.python.org/projects/python/trunk@37799 6015fed2-1504-0410-9fe1-9d1591cc4771