Raymond Hettinger [Thu, 2 Dec 2004 07:29:43 +0000 (07:29 +0000)]
SF bug #
1076955: Tutorial corrections Part II
Raymond Hettinger [Thu, 2 Dec 2004 06:08:42 +0000 (06:08 +0000)]
SF bug #
1076955: Tutorial corrections Part I
(Submitted by some anonymous person with an amazing eye for grammer nits.)
Martin v. Löwis [Wed, 1 Dec 2004 21:46:35 +0000 (21:46 +0000)]
Add all readme files in Tools.
Thomas Heller [Wed, 1 Dec 2004 19:43:34 +0000 (19:43 +0000)]
Recompiled binaries after source changes.
Thomas Heller [Wed, 1 Dec 2004 19:43:02 +0000 (19:43 +0000)]
printf format code for integers is %d not %s.
Will backport.
Thomas Heller [Wed, 1 Dec 2004 19:40:45 +0000 (19:40 +0000)]
Update the filenames in the MSVC project file for Python 2.5.
Thomas Heller [Wed, 1 Dec 2004 19:39:52 +0000 (19:39 +0000)]
Update import library name on windows.
Andrew M. Kuchling [Wed, 1 Dec 2004 18:34:11 +0000 (18:34 +0000)]
Make the example server code clearer; add the corresponding example client. [Bugfix candidate]
Thomas Heller [Wed, 1 Dec 2004 18:18:08 +0000 (18:18 +0000)]
Running the pre-install or post-install script did not work when
Python was installed with the 'only for me' option. The registry key
had a hardcoded '2.3' in it where the python version chosen for
installation should be used instead.
Will backport myself.
Fred Drake [Wed, 1 Dec 2004 06:30:31 +0000 (06:30 +0000)]
- fix up internal hyperlink generation in PDF formatting so that links at
the beginning of a paragraph do not generate errors; this affected
things like \refmodule when it came first in a paragraph
- clean up the .sty file to separate out the treatment of the start
of a new paragraph
Fred Drake [Wed, 1 Dec 2004 05:55:47 +0000 (05:55 +0000)]
- bump version number for "What's New" document
- don't create .tgz version of doc source package, since we're not
generating that for the other formats either
Fred Drake [Wed, 1 Dec 2004 05:05:47 +0000 (05:05 +0000)]
Continue the post-release mechanics; we need a "What's New" document
so the docs can be built.
Raymond Hettinger [Wed, 1 Dec 2004 04:22:38 +0000 (04:22 +0000)]
Fix nit.
Andrew M. Kuchling [Wed, 1 Dec 2004 00:57:12 +0000 (00:57 +0000)]
Mention getservbyport(). There's no patch number in the CVS log, so I assume Barry wrote the code.
Andrew M. Kuchling [Wed, 1 Dec 2004 00:46:33 +0000 (00:46 +0000)]
Bump version number
Andrew M. Kuchling [Wed, 1 Dec 2004 00:45:15 +0000 (00:45 +0000)]
Remove mention of Template being a subclass of unicode
Andrew M. Kuchling [Wed, 1 Dec 2004 00:42:41 +0000 (00:42 +0000)]
[Patch #
1076365] Correction of name of Template class; add contributor
Martin v. Löwis [Tue, 30 Nov 2004 22:09:37 +0000 (22:09 +0000)]
Bump version number to 2.5.
Fix term.h check so that HAVE_TERM_H is actually generated.
Peter Astrand [Tue, 30 Nov 2004 21:04:45 +0000 (21:04 +0000)]
Raise TypeError if bufsize argument is not an integer. Patch
1071755, slightly modified.
Peter Astrand [Tue, 30 Nov 2004 18:06:42 +0000 (18:06 +0000)]
Corrected example for replacing shell pipeline. Fixes bug
1073790.
Andrew M. Kuchling [Tue, 30 Nov 2004 14:42:24 +0000 (14:42 +0000)]
Update release date.
Michael W. Hudson [Tue, 30 Nov 2004 14:31:54 +0000 (14:31 +0000)]
Hear the #error: change the default value of the mutable_arg argument
to ioctl() and remove the warning when it is not supplied.
Anthony Baxter [Tue, 30 Nov 2004 13:16:15 +0000 (13:16 +0000)]
post 2.4 release machinations
Anthony Baxter [Tue, 30 Nov 2004 11:53:10 +0000 (11:53 +0000)]
whoops!
cvs2svn [Tue, 30 Nov 2004 01:49:18 +0000 (01:49 +0000)]
This commit was manufactured by cvs2svn to create tag 'r24'.
Anthony Baxter [Tue, 30 Nov 2004 01:49:18 +0000 (01:49 +0000)]
update gcc ref
Anthony Baxter [Tue, 30 Nov 2004 01:28:55 +0000 (01:28 +0000)]
doodedoodedoo on the way to 2.4 final
Fred Drake [Mon, 29 Nov 2004 13:12:44 +0000 (13:12 +0000)]
REVERT revision 1.260; the trunk is FROZEN.
This change can be made on the trunk and release24-maint branch after
the trunk is unfrozen.
Martin v. Löwis [Mon, 29 Nov 2004 09:57:14 +0000 (09:57 +0000)]
Bump buildno for 2.4 release
Raymond Hettinger [Mon, 29 Nov 2004 08:53:14 +0000 (08:53 +0000)]
Fix a nit.
Raymond Hettinger [Mon, 29 Nov 2004 05:54:48 +0000 (05:54 +0000)]
Fix argument order in pure python version of nsmallest() and nlargest().
Barry Warsaw [Mon, 29 Nov 2004 03:46:54 +0000 (03:46 +0000)]
RFC 2822 describes the characters allowed in a header field name. Conform to
this, and add test cases.
Anthony Baxter [Mon, 29 Nov 2004 01:40:31 +0000 (01:40 +0000)]
preparing for 2.4 final (wooooooo!)
Barry Warsaw [Mon, 29 Nov 2004 01:10:14 +0000 (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).
Tim Peters [Sun, 28 Nov 2004 01:10:01 +0000 (01:10 +0000)]
Whitespace normalization.
Barry Warsaw [Sun, 28 Nov 2004 00:21:42 +0000 (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.
Walter Dörwald [Thu, 25 Nov 2004 12:23:23 +0000 (12:23 +0000)]
Fix typo in comment.
Raymond Hettinger [Thu, 25 Nov 2004 05:35:32 +0000 (05:35 +0000)]
Fix typo.
Raymond Hettinger [Thu, 25 Nov 2004 05:16:19 +0000 (05:16 +0000)]
Clarify the ordering of dictionary keys.
Raymond Hettinger [Thu, 25 Nov 2004 04:47:09 +0000 (04:47 +0000)]
Make sure the money formatting recipe can doesn't run out of digits
to the right of the decimal point.
Hye-Shik Chang [Thu, 25 Nov 2004 04:04:20 +0000 (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.
Andrew M. Kuchling [Thu, 25 Nov 2004 01:15:25 +0000 (01:15 +0000)]
Following a LtU thread, change introductory paragraph of decimal section
Fredrik Lundh [Wed, 24 Nov 2004 22:31:11 +0000 (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.
Fred Drake [Wed, 24 Nov 2004 14:57:04 +0000 (14:57 +0000)]
add missing dependency
Raymond Hettinger [Wed, 24 Nov 2004 07:28:48 +0000 (07:28 +0000)]
SF bug #
1071588 coercing decimal to int doesn't work between -1 and 1
Raymond Hettinger [Wed, 24 Nov 2004 05:53:26 +0000 (05:53 +0000)]
SF bug #
1071566: moneyfmt recipe in decimal documentation has error
Brett Cannon [Wed, 24 Nov 2004 03:01:36 +0000 (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.
Kurt B. Kaiser [Tue, 23 Nov 2004 18:06:08 +0000 (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
Johannes Gijsbers [Tue, 23 Nov 2004 09:27:27 +0000 (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.
Tim Peters [Mon, 22 Nov 2004 16:53:46 +0000 (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).
Tim Peters [Mon, 22 Nov 2004 16:49:02 +0000 (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.
Marc-André Lemburg [Mon, 22 Nov 2004 13:02:31 +0000 (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.
Martin v. Löwis [Sun, 21 Nov 2004 10:16:26 +0000 (10:16 +0000)]
Include site-packages directory.
Brett Cannon [Sat, 20 Nov 2004 21:10:07 +0000 (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().
Facundo Batista [Sat, 20 Nov 2004 00:33:51 +0000 (00:33 +0000)]
Fixed quantize syntax.
Kurt B. Kaiser [Fri, 19 Nov 2004 15:46:49 +0000 (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
Andrew M. Kuchling [Fri, 19 Nov 2004 14:55:28 +0000 (14:55 +0000)]
Fill in the benchmark figures, bogus or not; add a disclaimer
Andrew M. Kuchling [Fri, 19 Nov 2004 14:43:36 +0000 (14:43 +0000)]
Last pass to fill in contributor names; remove stray 'contributed by' from the incompatible changes section; remove some XXX comments
Andrew M. Kuchling [Fri, 19 Nov 2004 14:27:54 +0000 (14:27 +0000)]
It's GTK+, apparently; remove XXX comment
Andrew M. Kuchling [Fri, 19 Nov 2004 14:26:23 +0000 (14:26 +0000)]
Bump version number; update patch/bug counts; bet that the final release will be in December
cvs2svn [Thu, 18 Nov 2004 12:32:27 +0000 (12:32 +0000)]
This commit was manufactured by cvs2svn to create tag 'r24c1'.
Anthony Baxter [Thu, 18 Nov 2004 12:32:27 +0000 (12:32 +0000)]
2.4rc1
Raymond Hettinger [Thu, 18 Nov 2004 09:41:45 +0000 (09:41 +0000)]
Mark PyRange_New() as deprecated.
Raymond Hettinger [Thu, 18 Nov 2004 08:39:33 +0000 (08:39 +0000)]
SF patch #
1068456: small update for pdb docs
Martin v. Löwis [Thu, 18 Nov 2004 08:00:33 +0000 (08:00 +0000)]
Add missing have_tcl conditions
Raymond Hettinger [Thu, 18 Nov 2004 06:50:19 +0000 (06:50 +0000)]
SF bug #
1066036: Typo about PyErr_WriteUnraisable()
Raymond Hettinger [Thu, 18 Nov 2004 06:20:30 +0000 (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.
Raymond Hettinger [Thu, 18 Nov 2004 06:14:27 +0000 (06:14 +0000)]
SF bug #
1067023: A small typo
Make a minor clarification between "written" and "displayed".
Raymond Hettinger [Thu, 18 Nov 2004 05:51:53 +0000 (05:51 +0000)]
Comment for performance measurement.
Peter Astrand [Wed, 17 Nov 2004 20:06:35 +0000 (20:06 +0000)]
Remove tempfile after use in test_call_string.
In test_args_string, remove the tempfile before assertEqual.
Skip Montanaro [Wed, 17 Nov 2004 16:04:15 +0000 (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.
Kurt B. Kaiser [Tue, 16 Nov 2004 21:31:08 +0000 (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.
Kurt B. Kaiser [Tue, 16 Nov 2004 21:28:36 +0000 (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
Anthony Baxter [Mon, 15 Nov 2004 15:03:25 +0000 (15:03 +0000)]
preparing for rc1
Walter Dörwald [Mon, 15 Nov 2004 13:51:41 +0000 (13:51 +0000)]
Fix pprint to be able to handle objects that don't have a __repr__
attribute. Fixes SF bug #
1065456.
Tim Peters [Mon, 15 Nov 2004 03:50:16 +0000 (03:50 +0000)]
SF bug
1066438: datetime.replace method description error
Repair typo in example.
Martin v. Löwis [Sun, 14 Nov 2004 10:21:04 +0000 (10:21 +0000)]
Back out rev 1.96; see #
1009389.
Fred Drake [Sat, 13 Nov 2004 21:58:01 +0000 (21:58 +0000)]
avoid applying :active to anchors that are only link targets
(no href attribute)
Kurt B. Kaiser [Sat, 13 Nov 2004 21:05:58 +0000 (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
Fred Drake [Sat, 13 Nov 2004 17:45:39 +0000 (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
Tim Peters [Sat, 13 Nov 2004 16:18:32 +0000 (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).
Martin v. Löwis [Sat, 13 Nov 2004 11:13:35 +0000 (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.
Fred Drake [Sat, 13 Nov 2004 05:46:18 +0000 (05:46 +0000)]
if we treat \LaTeX specially, we need to do the same for \TeX
Fred Drake [Sat, 13 Nov 2004 04:41:01 +0000 (04:41 +0000)]
- wrap a long line
- add directory information for the "What's New" document
Fred Drake [Sat, 13 Nov 2004 01:20:24 +0000 (01:20 +0000)]
avoid the inane markup generated by LaTeX2HTML for \LaTeX; that simply
doesn't look right in HTML
Walter Dörwald [Fri, 12 Nov 2004 18:51:27 +0000 (18:51 +0000)]
Add options to regrtest.py to make it possible to specify where to put
the coverage files when -T is used.
Tim Peters [Fri, 12 Nov 2004 16:12:15 +0000 (16:12 +0000)]
SF bug
1054821: difflib HtmlDiff() extra space on inserted 1 character lines
Simple correction from the code's author (Dan Gass).
Peter Astrand [Fri, 12 Nov 2004 15:51:48 +0000 (15:51 +0000)]
Use os.chdir/os.getcwd instead of os.path.realpath, to support Tru64
TEMP dirs with {memb} strings. Fixes #
1063571.
Just van Rossum [Fri, 12 Nov 2004 09:36:12 +0000 (09:36 +0000)]
On second thought: "Errors should never pass silently", so barf when a
string contains control chars that are illegal for XML
Just van Rossum [Fri, 12 Nov 2004 08:34:32 +0000 (08:34 +0000)]
testing control chars and non-dict root objects
Just van Rossum [Fri, 12 Nov 2004 08:14:49 +0000 (08:14 +0000)]
- \f is not a valid XML character
- reformatted regex pattern, use r"" consistently
Just van Rossum [Fri, 12 Nov 2004 08:02:35 +0000 (08:02 +0000)]
reordered a couple of things
Facundo Batista [Fri, 12 Nov 2004 02:03:36 +0000 (02:03 +0000)]
SF bug
1060644. Better explanation of min() and max() methods. Thanks Raymond Hettinger and Tim Peters.
Greg Ward [Fri, 12 Nov 2004 01:20:17 +0000 (01:20 +0000)]
SF #
1063757: fix markup error (had LaTeX markup in the reST source,
oops!).
Vinay Sajip [Thu, 11 Nov 2004 13:54:48 +0000 (13:54 +0000)]
Minor grammatical errors fixed
Fred Drake [Thu, 11 Nov 2004 08:05:34 +0000 (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)
Fred Drake [Thu, 11 Nov 2004 06:14:05 +0000 (06:14 +0000)]
Fix SF bug #
1061770: Manual typesets bit-shift operators as guillemet
Fred Drake [Thu, 11 Nov 2004 05:42:13 +0000 (05:42 +0000)]
add a comment explaining a particular text transformation
Fred Drake [Thu, 11 Nov 2004 05:04:55 +0000 (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.
Fred Drake [Thu, 11 Nov 2004 04:41:24 +0000 (04:41 +0000)]
remove unhelpful property setting that overrides the right setting for
text-align in .realtable cells; fix suggested by Richard Brodie