Barry Warsaw
7cf9ce2440
Fixes for SF #1076485 , which I'll apply to the CVS head too. The problem was
...
caused by a self._input.readline() call that wasn't checking for the
NeedsMoreData marker.
msg_43.txt contains a message that illustrates the problem, when
email.message_from_*() is called. That interface uses the Parser API, which
splits reads into 8192 byte chunks. It so happens that for the test message,
the 8192 chunk falls inside a message/delivery-status, which is where in the
FeedParser the readline() call was that didn't check for NeedsMoreData.
I also added an assert to unreadline() so it'll be more evident if an attempt
to push back NeedsMoreData ever happens again.
Bump the email package version number.
2004-12-05 03:45:42 +00:00
Raymond Hettinger
6c92d76abc
Removed deprecated method from pstats.
2004-12-05 03:28:00 +00:00
Raymond Hettinger
f3fa9460de
Removed deprecated use_statcache argument.
2004-12-05 01:58:09 +00:00
Raymond Hettinger
664347be94
SF bug #1078905 : Docs for unittest run() methods are misleading
2004-12-04 21:21:53 +00:00
Raymond Hettinger
46ea4c810f
For the benefit of historians . . .
2004-12-04 20:07:30 +00:00
Raymond Hettinger
784ab76c87
Remove the deprecated whrandom module.
2004-12-04 10:50:51 +00:00
Andrew M. Kuchling
2238fc6b67
Add item
2004-12-03 15:16:40 +00:00
Andrew M. Kuchling
07b28b920e
Hyphenate 'one-argument'
2004-12-03 14:59:09 +00:00
Andrew M. Kuchling
1cae3f57e7
AAdd item. (And so it beegins again.)
2004-12-03 14:57:21 +00:00
Andrew M. Kuchling
92e2495af6
Fill in various bits of the template
2004-12-03 13:54:09 +00:00
Raymond Hettinger
665174834a
Remove PyRange_New().
2004-12-03 11:45:13 +00:00
Raymond Hettinger
f9245578c9
Acknowledge contribution of a thorough tutorial review.
2004-12-03 08:33:32 +00:00
Raymond Hettinger
3b0c7c20a1
SF patch #1077353 : add key= argument to min and max
...
(First draft of patch contributed by Steven Bethard.)
2004-12-03 08:30:39 +00:00
Vinay Sajip
e8fdc4502f
Fixed errors reported in SF bug #1074693
2004-12-02 21:27:42 +00:00
Marc-André Lemburg
58d89dba7d
Restore Python 2.1 compatibility (os.extsep was introduced in Python 2.2).
2004-12-02 20:14:16 +00:00
Gustavo Niemeyer
166878f544
Fixing bug #1072259 in SRE.
2004-12-02 16:15:39 +00:00
Raymond Hettinger
4901a1f267
Add key= argument to heapq.nsmallest() and heapq.nlargest().
2004-12-02 08:59:14 +00:00
Raymond Hettinger
de7b99045d
Update the MSC6 pythoncore projects to compile for Py2.5
2004-12-02 08:53:14 +00:00
Raymond Hettinger
5d6057f073
Fix typo.
2004-12-02 08:31:41 +00:00
Raymond Hettinger
65a350d733
SF bug #1076955 : Tutorial corrections Part II
2004-12-02 07:29:43 +00:00
Raymond Hettinger
aa2b2aa5a3
SF bug #1076955 : Tutorial corrections Part I
...
(Submitted by some anonymous person with an amazing eye for grammer nits.)
2004-12-02 06:08:42 +00:00
Martin v. Löwis
4d930beeb3
Add all readme files in Tools.
2004-12-01 21:46:35 +00:00
Thomas Heller
0e920a7244
Recompiled binaries after source changes.
2004-12-01 19:43:34 +00:00
Thomas Heller
8992b9bdf5
printf format code for integers is %d not %s.
...
Will backport.
2004-12-01 19:43:02 +00:00
Thomas Heller
fd77c6ce5a
Update the filenames in the MSVC project file for Python 2.5.
2004-12-01 19:40:45 +00:00
Thomas Heller
6ad6ee6411
Update import library name on windows.
2004-12-01 19:39:52 +00:00
Andrew M. Kuchling
ab807e8a0d
Make the example server code clearer; add the corresponding example client. [Bugfix candidate]
2004-12-01 18:34:11 +00:00
Thomas Heller
9cc5cb7c4b
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.
2004-12-01 18:18:08 +00:00
Fred Drake
cdd6e4d753
- 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
2004-12-01 06:30:31 +00:00
Fred Drake
cf05f47280
- 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
2004-12-01 05:55:47 +00:00
Fred Drake
2db7680771
Continue the post-release mechanics; we need a "What's New" document
...
so the docs can be built.
2004-12-01 05:05:47 +00:00
Raymond Hettinger
29eb40c365
Fix nit.
2004-12-01 04:22:38 +00:00
Andrew M. Kuchling
3805fe7768
Mention getservbyport(). There's no patch number in the CVS log, so I assume Barry wrote the code.
2004-12-01 00:57:12 +00:00
Andrew M. Kuchling
aafdc9cb92
Bump version number
2004-12-01 00:46:33 +00:00
Andrew M. Kuchling
e2a66bf6f8
Remove mention of Template being a subclass of unicode
2004-12-01 00:45:15 +00:00
Andrew M. Kuchling
b69c49c2f1
[Patch #1076365 ] Correction of name of Template class; add contributor
2004-12-01 00:42:41 +00:00
Martin v. Löwis
fd1c69e7ef
Bump version number to 2.5.
...
Fix term.h check so that HAVE_TERM_H is actually generated.
2004-11-30 22:09:37 +00:00
Peter Astrand
738131d391
Raise TypeError if bufsize argument is not an integer. Patch 1071755, slightly modified.
2004-11-30 21:04:45 +00:00
Peter Astrand
6fdf3cbb13
Corrected example for replacing shell pipeline. Fixes bug 1073790.
2004-11-30 18:06:42 +00:00
Andrew M. Kuchling
4871535cfe
Update release date.
2004-11-30 14:42:24 +00:00
Michael W. Hudson
02d74f68c6
Hear the #error: change the default value of the mutable_arg argument
...
to ioctl() and remove the warning when it is not supplied.
2004-11-30 14:31:54 +00:00
Anthony Baxter
a3bc546d2a
post 2.4 release machinations
2004-11-30 13:16:15 +00:00
Anthony Baxter
4277ed8d0a
whoops!
2004-11-30 11:53:10 +00:00
cvs2svn
3a833f748f
This commit was manufactured by cvs2svn to create tag 'r24'.
2004-11-30 01:49:18 +00:00
Anthony Baxter
e9d719b691
update gcc ref
2004-11-30 01:49:18 +00:00
Anthony Baxter
e2648eeb14
doodedoodedoo on the way to 2.4 final
2004-11-30 01:28:55 +00:00
Fred Drake
6e3fa2911d
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.
2004-11-29 13:12:44 +00:00
Martin v. Löwis
af1389a2fc
Bump buildno for 2.4 release
2004-11-29 09:57:14 +00:00
Raymond Hettinger
a98825ce48
Fix a nit.
2004-11-29 08:53:14 +00:00
Raymond Hettinger
e1defa4175
Fix argument order in pure python version of nsmallest() and nlargest().
2004-11-29 05:54:48 +00:00