[ pycrypto-Bugs-1041582 ] PublicKey isn't in Crypto.__all__

"SourceForge.net" <[email protected]> Wed, 20 Oct 2004 09:50:18 -0700
Newsgroups gmane.comp.python.cryptography.cvs
Message-ID <[email protected]>
Bugs item #1041582, was opened at 2004-10-06 12:21
Message generated for change (Comment added) made by akuchling
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=120937&aid=1041582&group_id=20937

Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Zooko O'Whielacronx (zooko)
Assigned to: Nobody/Anonymous (nobody)
Summary: PublicKey isn't in Crypto.__all__

Initial Comment:
PublicKey isn't in Crypto.__all__

----------------------------------------------------------------------

>Comment By: A.M. Kuchling (akuchling)
Date: 2004-10-20 12:50

Message:
Logged In: YES 
user_id=11375

Fixed in CVS; it was simply forgotten.


----------------------------------------------------------------------

Comment By: Zooko O'Whielacronx (zooko)
Date: 2004-10-06 12:25

Message:
Logged In: YES 
user_id=52562

This could just be operator error, but what am I doing wrong
here?  I'm trying to import DSA.


>>> dir(PublicKey)
['__all__', '__builtins__', '__doc__', '__file__',
'__name__', '__path__', '__revision__']
>>> PublicKey
<module 'Crypto.PublicKey' from
'/usr/lib/python2.3/site-packages/Crypto/PublicKey/__init__.pyc'>
>>> from PublicKey import DSA
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named PublicKey
>>> PublicKey.DSA
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute 'DSA'
>>> PublicKey.__all__
['RSA', 'DSA', 'ElGamal', 'qNEW']
>>> 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=120937&aid=1041582&group_id=20937


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl