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 EmilBode
Recipients EmilBode
Date 2019-09-30.15:19:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1569856745.41.0.582082569134.issue38327@roundup.psfhosted.org>
In-reply-to
Content
Initializing/creating a new set with an empty string via the set-command returns an empty set instead of set with the empty string.

As in:
While set('somestring') gives me a set of size one, 
set('') gives me an empty set (of size zero), just as set() would do

It is possible to create a set with an empty string, as the command {''} and set(['']) work just as expected
History
Date User Action Args
2019-09-30 15:19:05EmilBodesetrecipients: + EmilBode
2019-09-30 15:19:05EmilBodesetmessageid: <1569856745.41.0.582082569134.issue38327@roundup.psfhosted.org>
2019-09-30 15:19:05EmilBodelinkissue38327 messages
2019-09-30 15:19:05EmilBodecreate