[New-bugs-announce] [issue38643] Assertion failures when calling PyNumber_ToBase() with an invalid base

Zackery Spytz report at bugs.python.org
Wed Oct 30 10:20:36 EDT 2019


New submission from Zackery Spytz <zspytz at gmail.com>:

If a base other than 2, 8, or 16 is passed to PyNumber_ToBase(), an assertion failure will occur. An exception should be raised instead.

This was mentioned in bpo-38249 (msg353039).

----------
components: Interpreter Core
messages: 355715
nosy: ZackerySpytz
priority: normal
severity: normal
status: open
title: Assertion failures when calling PyNumber_ToBase() with an invalid base
type: crash
versions: Python 2.7, Python 3.7, Python 3.8, Python 3.9

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


More information about the New-bugs-announce mailing list