New submission from Serhiy Storchaka:

In function convert_integral_to_int() in file Objects/abstract.c integral 
double decrefed and dereferenced after decrefing if returned value of __int__() 
is not int. Python 3.3 only affected.

Here is a patch.

----------
components: Interpreter Core
files: float2int_dbl_decref.patch
keywords: patch
messages: 171371
nosy: benjamin.peterson, storchaka
priority: normal
severity: normal
status: open
title: Double decref and dereferencing after decref in int()
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file27316/float2int_dbl_decref.patch

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

Reply via email to