[Patches] [ python-Patches-543865 ] bugfixes on complexobject.c

noreply@sourceforge.net noreply@sourceforge.net
Sun, 14 Apr 2002 15:03:04 -0700


Patches item #543865, was opened at 2002-04-15 00:03
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=543865&group_id=5470

Category: Core (C code)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Hernan Martinez Foffani (hfoffani)
Assigned to: Nobody/Anonymous (nobody)
Summary: bugfixes on complexobject.c

Initial Comment:
A patch that fixes bugs #543840 (complex() constructor
doesn't fail in certain cases) and #543387 (floor
division doen't raise exception as indicates PEP 238)
is included here.

For the first bug, I moved a block of C code that
checks the presence of '\0' outside the loop.

For the other one, I just cleared the nb_floor_divide
entry in the table. Also deleted the complex_int_div()
function.

I'm uploading also tests for this patch, but it goes on
a   different submit.



----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=543865&group_id=5470