New submission from Zackery Spytz <zsp...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue38643>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to