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 Ylem
Recipients Ylem
Date 2019-11-19.21:27:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574198861.64.0.9694268826.issue38853@roundup.psfhosted.org>
In-reply-to
Content
S = {19,8,-1,25,0,1,2,3,4,5,6,7}
print('Set S = {{19,8,-1,25,0,1,2,3,4,5,6,7}}')

The set is represented by a new string-ordered set:
print(f'Its repr is:\n{S}\n')
Output:
{0, 1, 2, 3, 4, 5, 6, 7, 8, 19, 25, -1}

This is a breach of the contract stated in the docstring: "Build an unordered collection of unique elements."
History
Date User Action Args
2019-11-19 21:27:41Ylemsetrecipients: + Ylem
2019-11-19 21:27:41Ylemsetmessageid: <1574198861.64.0.9694268826.issue38853@roundup.psfhosted.org>
2019-11-19 21:27:41Ylemlinkissue38853 messages
2019-11-19 21:27:41Ylemcreate