[New-bugs-announce] [issue44346] Fraction constructor may accept spaces around '/'

Sergey B Kirpichev report at bugs.python.org
Tue Jun 8 04:29:36 EDT 2021


New submission from Sergey B Kirpichev <skirpichev at gmail.com>:

Per https://bugs.python.org/msg394731 suggestion.

For instance, mpq_set_str() does support this.  Also, gmpy2.mpq().

Tentative patch attached.

----------
components: Library (Lib)
files: fraction-spaces.diff
keywords: patch
messages: 395314
nosy: Sergey.Kirpichev
priority: normal
severity: normal
status: open
title: Fraction constructor may accept spaces around '/'
versions: Python 3.11
Added file: https://bugs.python.org/file50097/fraction-spaces.diff

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44346>
_______________________________________


More information about the New-bugs-announce mailing list