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
Changes by shiva prasanth kesavarapu.s...@gmail.com:
--
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
Changes by shiva prasanth kesavarapu.s...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24877
___
___
Python
Changes by shiva prasanth kesavarapu.s...@gmail.com:
--
status: closed - open
type: compile error -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24877
Changes by shiva prasanth kesavarapu.s...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24877
___
___
Python
Changes by shiva prasanth kesavarapu.s...@gmail.com:
--
type: - compile error
versions: +Python 3.5 -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24877
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
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 stdin