This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author foxpython_2020
Recipients foxpython_2020
Date 2020-10-10.23:54:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1602374063.78.0.592326077925.issue42003@roundup.psfhosted.org>
In-reply-to
Content
c = dict(zip(['one', 'two', 'three'], [1, 2, 3]))
print("1:",c) # right: {'one': 1, 'two': 2, 'three': 3}

b= zip(['one', 'two', 'three'], [1, 2, 3])
a= list(b) #Because of this line of code, the result is different
print("2:",dict(b)) #wrong: {}

b= zip(['one', 'two', 'three'], [1, 2, 3])
a= tuple(b) #Because of this line of code, the result is different
print("2:",dict(b)) #wrong: {}
History
Date User Action Args
2020-10-10 23:54:23foxpython_2020setrecipients: + foxpython_2020
2020-10-10 23:54:23foxpython_2020setmessageid: <1602374063.78.0.592326077925.issue42003@roundup.psfhosted.org>
2020-10-10 23:54:23foxpython_2020linkissue42003 messages
2020-10-10 23:54:23foxpython_2020create