[Twisted-Python] twisted/conch/_common violates standard. also annoying.

Moshe Zadka twisted at moshez.org
Mon Dec 2 06:44:56 EST 2002


On 2 Dec 2002, Moshe Zadka <twisted at moshez.org> wrote:

> to be moved to a different project for Python/gmp bindings (upstream Python,
> gmpy.sf.net or a new sf-based or tm.com-based project).

z3p complained about gmpy not compiling out of the box. The following
patch makes it compile:

moshez at pyramid:~/sources/gmpy$ diff -u gmpy.c gmpy.c.fixed
--- gmpy.c      Fri Jan 26 06:32:51 2001
+++ gmpy.c.fixed        Mon Dec  2 05:35:27 2002
@@ -5050,7 +5050,7 @@
         } else {
             PympzObject *resob = Pympz_new();
             if(resob) {
-                mpz_set(resob->z, randstate->seed);
+                mpz_set(resob->z, randstate->_mp_seed);
                 result = (PyObject*)resob;
             }
         }





More information about the Twisted-Python mailing list