From: Raymond Hettinger Date: Sun, 12 May 2002 06:07:21 +0000 (+0000) Subject: Noted change in ftplib 1.68 closing SF patch 553277. X-Git-Tag: v2.3c1~5689 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9b1df1db684e5f7f0ab22e423d9858ee5cd340d9;p=thirdparty%2FPython%2Fcpython.git Noted change in ftplib 1.68 closing SF patch 553277. --- diff --git a/Misc/NEWS b/Misc/NEWS index 5608af98a8bd..5998d0d5fb56 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -102,6 +102,13 @@ Extension modules Library +- ftplib.retrlines() now tests for callback is None rather than testing + for False. Was causing an error when given a callback object which + was callable but also returned len() as zero. The change may + create new breakage if the caller relied on the undocumented behavior + and called with callback set to [] or some other False value not + identical to None. + - random.gauss() uses a piece of hidden state used by nothing else, and the .seed() and .whseed() methods failed to reset it. In other words, setting the seed didn't completely determine the sequence of