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 NetAlien
Recipients NetAlien, Stefan Pochmann, steven.daprano
Date 2022-01-08.12:14:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1641644066.34.0.660490781248.issue46302@roundup.psfhosted.org>
In-reply-to
Content
[Thanks for the replies! I was trying to post this before seeing them.]

Major egg on face...
The more complex the code becomes, the more likely you will be burned by a rookie mistake...
var = ''
var[0]  WILL give IndexError  -- Duh!
It was buried in the each.split('=') returning an empty string -- that's what you get for making things easier for the user. 
The easier code is to use, the more complex it must be...

Sorry for the noise.
History
Date User Action Args
2022-01-08 12:14:26NetAliensetrecipients: + NetAlien, steven.daprano, Stefan Pochmann
2022-01-08 12:14:26NetAliensetmessageid: <1641644066.34.0.660490781248.issue46302@roundup.psfhosted.org>
2022-01-08 12:14:26NetAlienlinkissue46302 messages
2022-01-08 12:14:26NetAliencreate