[Patches] [ python-Patches-750595 ] patch for bug #595837

SourceForge.net noreply@sourceforge.net
Sat, 07 Jun 2003 13:12:31 -0700


Patches item #750595, was opened at 2003-06-07 18:20
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=750595&group_id=5470

Category: Library (Lib)
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Armin Rigo (arigo)
Assigned to: Nobody/Anonymous (nobody)
Summary: patch for bug #595837

Initial Comment:
Compiling Python with #define WITHOUT_COMPLEX works
fine, but there is a (single) place in the standard
library that uses the complex number syntax :
copy_reg.py. This makes Python quite unusable, because
a lot of other modules rely on being able to import
this one successfully.

There are also a number of test files that use the
complex syntax. I don't think I could be bothered to
fix the relevant ones however.

The attached patch uses 'complex' as a synonym of
'type(1j)'.

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

>Comment By: Martin v. Löwis (loewis)
Date: 2003-06-07 22:12

Message:
Logged In: YES 
user_id=21627

Thanks for the patch. Committed as 1.25 and 1.9.6.2.

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

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