Message222109
md5sum.py uses at least 1 undefined object in Python 3.4.1. I only tried this on Windows. I have no idea if it is a problem on any other OS.
C:\>C:\Python27\python.exe --version
Python 2.7.6
C:\>C:\Python34\python.exe --version
Python 3.4.1
C:\>C:\Python34\python.exe C:\Python34\Tools\Scripts\md5sum.py C:\Python34\python.exe
Traceback (most recent call last):
File "C:\Python34\Tools\Scripts\md5sum.py", line 90, in <module>
sys.exit(main(sys.argv[1:], sys.stdout))
File "C:\Python34\Tools\Scripts\md5sum.py", line 87, in main
return sum(args, out)
File "C:\Python34\Tools\Scripts\md5sum.py", line 27, in sum
if files and isinstance(files[-1], file):
NameError: name 'file' is not defined
Here is why . . .
C:\>C:\Python27\python.exe -c "print(file)"
<type 'file'>
C:\>C:\Python34\python.exe -c "print(file)"
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'file' is not defined
So "file" is defined in 2.7.6 but not in 3.4.1. |
|
Date |
User |
Action |
Args |
2014-07-02 15:38:52 | torrin | set | recipients:
+ torrin |
2014-07-02 15:38:52 | torrin | set | messageid: <1404315532.22.0.153511853972.issue21906@psf.upfronthosting.co.za> |
2014-07-02 15:38:52 | torrin | link | issue21906 messages |
2014-07-02 15:38:51 | torrin | create | |
|