summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2002-05-12 06:07:21 (GMT)
committerRaymond Hettinger <python@rcn.com>2002-05-12 06:07:21 (GMT)
commit9b1df1db684e5f7f0ab22e423d9858ee5cd340d9 (patch)
treebdf41e9a675b045b9402960338291ab7252d65db
parente874fc304e0ea29fc9608023b3f153b566e0acef (diff)
downloadcpython-9b1df1db684e5f7f0ab22e423d9858ee5cd340d9.zip
cpython-9b1df1db684e5f7f0ab22e423d9858ee5cd340d9.tar.gz
cpython-9b1df1db684e5f7f0ab22e423d9858ee5cd340d9.tar.bz2
Noted change in ftplib 1.68 closing SF patch 553277.
-rw-r--r--Misc/NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 5608af9..5998d0d 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