[ pycrypto-Bugs-765636 ] Using "not in" instead of "not x.has_key()"
"SourceForge.net" <[email protected]> Fri, 05 Mar 2004 11:08:43 -0800
| Newsgroups | gmane.comp.python.cryptography.cvs |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #765636, was opened at 2003-07-03 18:18 Message generated for change (Settings changed) made by akuchling You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=120937&aid=765636&group_id=20937 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Ian Bicking (ianbicking) >Assigned to: A.M. Kuchling (akuchling) >Summary: Using "not in" instead of "not x.has_key()" Initial Comment: In RSA.py (and this might be happening elsewhere too) there's a line "if 'd' not in state:", instead of "if not state.has_key('d'):" (and appears again a couple lines later). This makes it 2.1 and even 2.2 incompatible. This is from version 1.9a6 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=120937&aid=765636&group_id=20937 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click