[Python-checkins] r63366 - in python/trunk: Misc/NEWS Modules/cmathmodule.c
christian.heimes
python-checkins at python.org
Fri May 16 12:23:32 CEST 2008
Author: christian.heimes
Date: Fri May 16 12:23:31 2008
New Revision: 63366
Log:
Fixed #2870: cmathmodule.c compile error
Modified:
python/trunk/Misc/NEWS
python/trunk/Modules/cmathmodule.c
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Fri May 16 12:23:31 2008
@@ -34,6 +34,8 @@
- bsddb module updated to version 4.6.4.
+- Fixed #2870: cmathmodule.c compile error
+
Library
-------
Modified: python/trunk/Modules/cmathmodule.c
==============================================================================
--- python/trunk/Modules/cmathmodule.c (original)
+++ python/trunk/Modules/cmathmodule.c Fri May 16 12:23:31 2008
@@ -920,7 +920,7 @@
errno = 0;
PyFPE_START_PROTECT("arg function", return 0)
phi = c_atan2(z);
- PyFPE_END_PROTECT(r)
+ PyFPE_END_PROTECT(z)
if (errno != 0)
return math_error();
else
More information about the Python-checkins
mailing list