[issue24901] (2, )!=(2) and (2, 3)==(2, 3, ) why ??? tested in each version
Changes by shiva prasanth : -- nosy: -shivaprasanth title: single element tuple 's ending comma is different that without comma -> (2,)!=(2) and (2,3)==(2,3,) why ??? tested in each version type: -> behavior versions: +Python 3.4 ___ Python tracker <http://bugs.python.org/issue24901> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24901] single element tuple 's ending comma is different that without comma
New submission from shiva prasanth: Python 2.7.9 (default, Apr 2 2015, 15:33:21) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> (2,)==(2) False >>> (2,3,)==(2,3) True >>> (2,3)==(2,3,) True >>> s=(2,) >>> s2=(2) >>> s==s2 False >>> -- messages: 248880 nosy: shivaprasanth priority: normal severity: normal status: open title: single element tuple 's ending comma is different that without comma versions: Python 2.7, Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue24901> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24877] Bad Password for file using zipfile module
Changes by shiva prasanth : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue24877> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24877] Bad Password for file using zipfile module
Changes by shiva prasanth : -- status: closed -> open type: compile error -> ___ Python tracker <http://bugs.python.org/issue24877> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24877] Bad Password for file using zipfile module
Changes by shiva prasanth : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue24877> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24877] Bad Password for file using zipfile module
Changes by shiva prasanth : -- type: -> compile error versions: +Python 3.5 -Python 2.7 ___ Python tracker <http://bugs.python.org/issue24877> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24877] Bad Password for file using zipfile module
shiva prasanth added the comment: Python 2.7.9 (default, Apr 2 2015, 15:33:21) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import zipfile >>> s=zipfile.ZipFile('random.zip') >>> s.extractall(pwd='getlost') Traceback (most recent call last): File "", line 1, in File "/usr/lib/python2.7/zipfile.py", line 1040, in extractall self.extract(zipinfo, path, pwd) File "/usr/lib/python2.7/zipfile.py", line 1028, in extract return self._extract_member(member, path, pwd) File "/usr/lib/python2.7/zipfile.py", line 1082, in _extract_member with self.open(member, pwd=pwd) as source, \ File "/usr/lib/python2.7/zipfile.py", line 1007, in open raise RuntimeError("Bad password for file", name) RuntimeError: ('Bad password for file', ) -- ___ Python tracker <http://bugs.python.org/issue24877> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24877] Bad Password for file using zipfile module
New submission from shiva prasanth: i created a zip file with password as getlost using Archive Manager which comes with ubuntu. and when i try to extract the same file using zipfile module which comes with python2.7 with same password it is showing error as "Bad Password for file" which is absurd. it should either give response of cant decrypt zipfile or some other. when i try to do it with terminal command $zip --encrypt file.zip file and upon entering the password it is working my main point is it should not show Bad Password for file and and it should extractall -- components: Extension Modules files: raj messages: 248698 nosy: shiva prasanth priority: normal severity: normal status: open title: Bad Password for file using zipfile module versions: Python 2.7 Added file: http://bugs.python.org/file40192/raj ___ Python tracker <http://bugs.python.org/issue24877> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com