Syntax error running Test_pydes Python 301 Windows XP
Brought to you by:
twhiteman
Syntax Error in Pydes.py (see last line) running test_pydes after installation under Python 3.0.1 under Windows XP
Traceback (most recent call last):
File "E:\Data\Python\test_pydes.py", line 232, in <module>
_fulltest_()
File "E:\Data\Python\test_pydes.py", line 109, in _fulltest_
k = des("\0\0\0\0\0\0\0\0", CBC, "\0\0\0\0\0\0\0\0")
File "e:\python30\Lib\site-packages\pyDes.py", line 274, in __init__
self.setKey(key)
File "e:\python30\Lib\site-packages\pyDes.py", line 284, in setKey
self.__create_sub_keys()
File "e:\python30\Lib\site-packages\pyDes.py", line 363, in __create_sub_keys
self.L = key[:28]
TypeError: 'map' object is unsubscriptable