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 DSblizzard
Recipients DSblizzard
Date 2013-10-28.17:16:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1382980618.03.0.867834998977.issue19423@psf.upfronthosting.co.za>
In-reply-to
Content
Code:
n = 2
perms = permutations(range(n), n)
if list(perms) == [(0, 1), (1, 0)]:
	print("==")
	print("len(list(perms)):", len(list(perms)))

Result:
==
len(list(perms)): 0 # SHOULD BE 2
History
Date User Action Args
2013-10-28 17:16:58DSblizzardsetrecipients: + DSblizzard
2013-10-28 17:16:58DSblizzardsetmessageid: <1382980618.03.0.867834998977.issue19423@psf.upfronthosting.co.za>
2013-10-28 17:16:57DSblizzardlinkissue19423 messages
2013-10-28 17:16:57DSblizzardcreate