New submission from Emil Bode <bodee...@gmail.com>:
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 ---------- messages: 353585 nosy: EmilBode priority: normal severity: normal status: open title: Creating set with empty string returns empty set type: behavior versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38327> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com