]>
granicus.if.org Git - python/log
Johannes Gijsbers [Mon, 6 Dec 2004 21:25:26 +0000 (21:25 +0000)]
Patch #
1075928 : AUTH PLAIN in smtplib.
smtplib can not log in to some server using command AUTH PLAIN, it sends
``user\0user\0pass'' to the server, but ``\0user\0pass'' has better
compatibility.
Johannes Gijsbers [Mon, 6 Dec 2004 20:50:15 +0000 (20:50 +0000)]
SF bug #
1076467 : don't run test_on_error as root, as the permission
errors don't get provoked that way. Also add a bunch of cross-references
to bugs.
Raymond Hettinger [Mon, 6 Dec 2004 12:29:56 +0000 (12:29 +0000)]
Remove deprecated xmllib from inclusion in the docs.
Walter Dörwald [Mon, 6 Dec 2004 07:58:14 +0000 (07:58 +0000)]
Fix for SF bug #947894: calendar.weekheader() undocumented
Brett Cannon [Mon, 6 Dec 2004 06:08:59 +0000 (06:08 +0000)]
Have test_mkalias_relative check that sys.prefix already exists; otherwise test
is pointless.
Also add a note to the docs for the 'test' package that test cases should check
first that any conditions needed in the operating system are met before having
a test run.
Closes bug #
1077302 . THanks, Ian Holsman.
Brett Cannon [Mon, 6 Dec 2004 06:01:13 +0000 (06:01 +0000)]
Very minor grammatical fix and removal of a tab.
Peter Astrand [Sun, 5 Dec 2004 20:15:36 +0000 (20:15 +0000)]
Changed signature of call function to avoid confusion: this 'args' is not the same as the one to the Popen constructor
Raymond Hettinger [Sun, 5 Dec 2004 11:38:18 +0000 (11:38 +0000)]
Removed deprecated tzparse module.
Raymond Hettinger [Sun, 5 Dec 2004 09:25:51 +0000 (09:25 +0000)]
Added optional None arguments to itertools.islice().
Fred Drake [Sun, 5 Dec 2004 07:00:30 +0000 (07:00 +0000)]
remove dependencies that are no longer used for the library reference
Raymond Hettinger [Sun, 5 Dec 2004 05:29:51 +0000 (05:29 +0000)]
Remove the deprecated statcache module.
Raymond Hettinger [Sun, 5 Dec 2004 05:20:42 +0000 (05:20 +0000)]
Removed the deprecated bin parameter from the pickle module.
Raymond Hettinger [Sun, 5 Dec 2004 04:55:14 +0000 (04:55 +0000)]
Remove the deprecated statcache module.
Raymond Hettinger [Sun, 5 Dec 2004 03:58:17 +0000 (03:58 +0000)]
Removed deprecated method arguments from the shelve module.
Barry Warsaw [Sun, 5 Dec 2004 03:45:42 +0000 (03:45 +0000)]
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.
Raymond Hettinger [Sun, 5 Dec 2004 03:28:00 +0000 (03:28 +0000)]
Removed deprecated method from pstats.
Raymond Hettinger [Sun, 5 Dec 2004 01:58:09 +0000 (01:58 +0000)]
Removed deprecated use_statcache argument.
Raymond Hettinger [Sat, 4 Dec 2004 21:21:53 +0000 (21:21 +0000)]
SF bug #
1078905 : Docs for unittest run() methods are misleading
Raymond Hettinger [Sat, 4 Dec 2004 20:07:30 +0000 (20:07 +0000)]
For the benefit of historians . . .
Raymond Hettinger [Sat, 4 Dec 2004 10:50:51 +0000 (10:50 +0000)]
Remove the deprecated whrandom module.
Andrew M. Kuchling [Fri, 3 Dec 2004 15:16:40 +0000 (15:16 +0000)]
Add item
Andrew M. Kuchling [Fri, 3 Dec 2004 14:59:09 +0000 (14:59 +0000)]
Hyphenate 'one-argument'
Andrew M. Kuchling [Fri, 3 Dec 2004 14:57:21 +0000 (14:57 +0000)]
AAdd item. (And so it beegins again.)
Andrew M. Kuchling [Fri, 3 Dec 2004 13:54:09 +0000 (13:54 +0000)]
Fill in various bits of the template
Raymond Hettinger [Fri, 3 Dec 2004 11:45:13 +0000 (11:45 +0000)]
Remove PyRange_New().
Raymond Hettinger [Fri, 3 Dec 2004 08:33:32 +0000 (08:33 +0000)]
Acknowledge contribution of a thorough tutorial review.
Raymond Hettinger [Fri, 3 Dec 2004 08:30:39 +0000 (08:30 +0000)]
SF patch #
1077353 : add key= argument to min and max
(First draft of patch contributed by Steven Bethard.)
Vinay Sajip [Thu, 2 Dec 2004 21:27:42 +0000 (21:27 +0000)]
Fixed errors reported in SF bug #
1074693
Marc-André Lemburg [Thu, 2 Dec 2004 20:14:16 +0000 (20:14 +0000)]
Restore Python 2.1 compatibility (os.extsep was introduced in Python 2.2).
Gustavo Niemeyer [Thu, 2 Dec 2004 16:15:39 +0000 (16:15 +0000)]
Fixing bug #
1072259 in SRE.
Raymond Hettinger [Thu, 2 Dec 2004 08:59:14 +0000 (08:59 +0000)]
Add key= argument to heapq.nsmallest() and heapq.nlargest().
Raymond Hettinger [Thu, 2 Dec 2004 08:53:14 +0000 (08:53 +0000)]
Update the MSC6 pythoncore projects to compile for Py2.5
Raymond Hettinger [Thu, 2 Dec 2004 08:31:41 +0000 (08:31 +0000)]
Fix typo.
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.