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 eric.smith
Recipients corona10, eric.smith, serhiy.storchaka
Date 2020-06-02.17:01:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1591117311.06.0.681811069022.issue40825@roundup.psfhosted.org>
In-reply-to
Content
I wouldn't have a problem with isinstance(obj, str) for a string check in strict mode. If you want to write something like a Path, convert it to a string yourself. That's exactly the behavior I'd like enforced by strict: only accept numbers and actual strings.
History
Date User Action Args
2020-06-02 17:01:51eric.smithsetrecipients: + eric.smith, serhiy.storchaka, corona10
2020-06-02 17:01:51eric.smithsetmessageid: <1591117311.06.0.681811069022.issue40825@roundup.psfhosted.org>
2020-06-02 17:01:51eric.smithlinkissue40825 messages
2020-06-02 17:01:50eric.smithcreate