]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix several more paths from the SSL code.
authorJeremy Hylton <jeremy@alum.mit.edu>
Sat, 4 Aug 2007 03:25:17 +0000 (03:25 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Sat, 4 Aug 2007 03:25:17 +0000 (03:25 +0000)
commit0ee5eeb8ffb167d55a746c97c91558cf0e855c94
tree54fc06fa1b35b7a354219541e37dec90dd1354bf
parent6252083f5fb107a8de87398d36da5efb5e20144c
Fix several more paths from the SSL code.

In particular, watch out for comparing b"" to "".  They're not equal,
but you can start at the code asking whether buf == "" for a long time
before realizing that it will never be True.
Lib/httplib.py