forked frompython/cpython
- Notifications
You must be signed in to change notification settings - Fork0
Commit097cf85
Moshe Zadka
Inspired by Tim Peters' 1.14->1.15 checkin to asynchat
Quoting orignal message:'''Fix from the Madusa mailing list:http://groups.yahoo.com/group/medusa/message/333It's clear that Medusa should not be checking for an empty buffervia "buf is ''". The patch merely changes "is" to "==". However,there's a mystery here all the same: Python attempts to store nullstrings uniquely, so it's unclear why "buf is ''" ever returnedfalse when buf actually was empty. *Some* string operations producenon-unique null strings, e.g.'''1 parentabbae5b commit097cf85
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
0 commit comments
Comments
(0)