]> granicus.if.org Git - python/commitdiff
Noted change in ftplib 1.68 closing SF patch 553277.
authorRaymond Hettinger <python@rcn.com>
Sun, 12 May 2002 06:07:21 +0000 (06:07 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 12 May 2002 06:07:21 +0000 (06:07 +0000)
Misc/NEWS

index 5608af98a8bd885d990abca3bfab75d9a848112b..5998d0d5fb5694513d4b60e14e9a1f59ba73a2fc 100644 (file)
--- 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