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 wyz23x2
Recipients lys.nikolaou, pablogsal, wyz23x2
Date 2021-06-05.18:50:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1622919044.14.0.587080633843.issue44317@roundup.psfhosted.org>
In-reply-to
Content
Another 2 problems:
1.
>>> 0b1112
  File "<stdin>", line 1
    0b1112
         ^
SyntaxError: invalid digit '2' in binary literal
>>> 0o5780
  File "<stdin>", line 1
    0o5780
        ^
SyntaxError: invalid digit '8' in octal literal
But:
>>> 0x2fag
  File "<stdin>", line 1
    0x2fag
    ^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
>>> 
Is this expected?

2.
>>> 0o91
  File "<stdin>", line 1
    0o91
     ^
SyntaxError: invalid digit '9' in octal literal
>>> 0b21
  File "<stdin>", line 1
    0b21
     ^
SyntaxError: invalid digit '2' in binary literal

The ^ is misplaced again, even though, say the 0b1112 example above works.
History
Date User Action Args
2021-06-05 18:50:44wyz23x2setrecipients: + wyz23x2, lys.nikolaou, pablogsal
2021-06-05 18:50:44wyz23x2setmessageid: <1622919044.14.0.587080633843.issue44317@roundup.psfhosted.org>
2021-06-05 18:50:44wyz23x2linkissue44317 messages
2021-06-05 18:50:44wyz23x2create