[Python-3000-checkins] r56480 - in python/branches/p3yk: Include/longintrepr.h Modules/mathmodule.c Objects/longobject.c

Georg Brandl g.brandl at gmx.net
Sat Jul 21 11:11:41 CEST 2007


martin.v.loewis schrieb:
> Author: martin.v.loewis
> Date: Sat Jul 21 10:47:18 2007
> New Revision: 56480
> 
> Modified:
>    python/branches/p3yk/Include/longintrepr.h
>    python/branches/p3yk/Modules/mathmodule.c
>    python/branches/p3yk/Objects/longobject.c
> Log:
> Qualify SHIFT, MASK, BASE.

Another patch I need with --with-pydebug:

Index: Objects/structseq.c
===================================================================
--- Objects/structseq.c (Revision 56480)
+++ Objects/structseq.c (Arbeitskopie)
@@ -355,7 +355,7 @@
  #ifdef Py_TRACE_REFS
         /* if the type object was chained, unchain it first
            before overwriting its storage */
-       if (type->_ob_next) {
+       if (((PyObject *)type)->_ob_next) {
                 _Py_ForgetReference((PyObject*)type);
         }
  #endif


Georg



More information about the Python-3000-checkins mailing list