New submission from Serhiy Storchaka:

I'm not sure this is a bug. In 2.7 int() and long() with float number base 
raises TypeError. But in 3.x int() accepts float number base and truncate it to 
int.

----------
components: Interpreter Core
messages: 178095
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: int() accepts float number base
versions: Python 3.2, Python 3.3, Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16772>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to