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 <rep...@bugs.python.org>
<http://bugs.python.org/issue16761>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to