[New-bugs-announce] [issue16761] Fix int(base=X)

Serhiy Storchaka report at bugs.python.org
Mon Dec 24 11:16:19 CET 2012


New submission from Serhiy Storchaka:

Currently int() ignores base keyword argument if first string argument omitted. Such usage is no other than bug. The proposed patch raises TypeError in such case.

See also discussion at Python-Dev: http://comments.gmane.org/gmane.comp.python.cvs/92290 .

----------
components: Interpreter Core
files: int_without_x.patch
keywords: patch
messages: 178043
nosy: serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Fix int(base=X)
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file28414/int_without_x.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16761>
_______________________________________


More information about the New-bugs-announce mailing list