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 mark.dickinson
Recipients mark.dickinson, weightwatchers-carlanderson
Date 2021-03-16.18:50:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1615920629.69.0.967129102416.issue43520@roundup.psfhosted.org>
In-reply-to
Content
There's a bigger issue here about what characters should be accepted in numeric literals. The Unicode minus sign (U+2212) "−" is also not currently accepted for Fractions or any other built-in numeric type.

> but there are other similar slashes such as (0x2044) in which it throws an error

Do you have a proposal for the set of slashes that should be accepted, or a non-arbitrary rule for determining that set?  U+2044 (FRACTION SLASH), U+2215 (DIVISION SLASH) and U+FF0F (FULLWIDTH SOLIDUS) all seem like potential candidates. Are there others?
History
Date User Action Args
2021-03-16 18:50:29mark.dickinsonsetrecipients: + mark.dickinson, weightwatchers-carlanderson
2021-03-16 18:50:29mark.dickinsonsetmessageid: <1615920629.69.0.967129102416.issue43520@roundup.psfhosted.org>
2021-03-16 18:50:29mark.dickinsonlinkissue43520 messages
2021-03-16 18:50:29mark.dickinsoncreate