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 skip.montanaro
Recipients eric.smith, remi.lapeyre, serhiy.storchaka, sidhant, skip.montanaro, steven.daprano
Date 2020-05-27.10:14:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1590574490.93.0.286376002449.issue40762@roundup.psfhosted.org>
In-reply-to
Content
This likely worked in the past because bytes == str in Python 2.x. This is just a corner case people porting from 2 to 3 need to address in their code. Papering over it so people using Pandas don't have to do the right thing is no reason to make changes. Bytes aren't strings any longer. A huge effort was undertaken to clean up this aspect of Python's data model in the move to Python 3. Conflating bytes and strings at this point (no matter which way you try to accomplish that conflation) makes no sense to me. 

The current behavior should not be changed.
History
Date User Action Args
2020-05-27 10:14:50skip.montanarosetrecipients: + skip.montanaro, eric.smith, steven.daprano, serhiy.storchaka, remi.lapeyre, sidhant
2020-05-27 10:14:50skip.montanarosetmessageid: <1590574490.93.0.286376002449.issue40762@roundup.psfhosted.org>
2020-05-27 10:14:50skip.montanarolinkissue40762 messages
2020-05-27 10:14:50skip.montanarocreate