Hi Matthias,

as requested I've uploaded python-numeric.
I took the opportunity to add some binNMU and policy fixes that I noticed during automatic checking, here is the NMU diff as uploaded.

Kind regards

T.
--
Thomas Viehmann, http://thomas.viehmann.net/
diff -u python-numeric-24.2/debian/control python-numeric-24.2/debian/control
--- python-numeric-24.2/debian/control
+++ python-numeric-24.2/debian/control
@@ -47,11 +47,11 @@
  maintaining all of the advantages of the general-purpose programming
  language Python.
  .
- This package contains the extension built for the python debug interpreter.
+ This package contains the extension built for the Python debug interpreter.
 
 Package: python-numeric-ext
 Architecture: any
-Depends: ${python:Depends}, python-numeric (= ${Source-Version}), 
${shlibs:Depends}
+Depends: ${python:Depends}, python-numeric (= ${binary:Version}), 
${shlibs:Depends}
 Conflicts: python2-numeric-ext, python2.3-numeric-ext, python2.4-numeric-ext
 Replaces: python2-numeric-ext, python2.3-numeric-ext, python2.4-numeric-ext
 Provides: ${python:Provides}
@@ -67,7 +67,7 @@
 Package: python-numeric-ext-dbg
 Priority: extra
 Architecture: any
-Depends: python-numeric-ext (= ${binary:Version}), python-numeric-dbg (= 
${binary:Version}), python-dbg, ${shlibs:Depends}
+Depends: python-numeric-ext (= ${binary:Version}), python-numeric-dbg (= 
${binary:Version}), python-numeric, python-dbg, ${shlibs:Depends}
 Description: Extension modules for Numeric Python
  Simple interfaces to existing numerical libraries:
    * Linear Algebra (LAPACK)
@@ -76,12 +76,12 @@
    * Independent Random Streams (RNG, ranf)
    * Masked Arrays (MA)
  .
- This package contains the extension built for the python debug interpreter.
+ This package contains the extension built for the Python debug interpreter.
 
 Package: python-numeric-tutorial
 Section: doc
 Architecture: all
-Depends: ${python:Depends}, python-numeric (= ${source:Version}), python-tk
+Depends: ${python:Depends}, python-numeric (>= ${source:Version}), 
python-numeric (<< ${source:Version}.1~), python-tk
 Recommends: python-imaging-tk (>= 1.1.5-11), python-egenix-mxdatetime, 
xpdf-reader | pdf-viewer
 Suggests: python-imaging-doc
 Conflicts: python2-numeric-tutorial
diff -u python-numeric-24.2/debian/changelog 
python-numeric-24.2/debian/changelog
--- python-numeric-24.2/debian/changelog
+++ python-numeric-24.2/debian/changelog
@@ -1,3 +1,12 @@
+python-numeric (24.2-8.2) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Fix python memory handling. Closes: #468994
+  * Make package binNMUable and add a dependency
+    python-numeric-ext-dbg -> python-numeric for policy.
+
+ -- Thomas Viehmann <[EMAIL PROTECTED]>  Wed, 05 Mar 2008 07:55:17 +0100
+
 python-numeric (24.2-8.1) unstable; urgency=low
 
   * Non-maintainer upload.
only in patch2:
unchanged:
--- python-numeric-24.2.orig/Packages/RNG/Src/RNGmodule.c
+++ python-numeric-24.2/Packages/RNG/Src/RNGmodule.c
@@ -79,7 +79,7 @@
 {
        distributionobject *self;
 
-       self = PyObject_NEW(distributionobject, &distributiontype);
+       self = PyObject_New(distributionobject, &distributiontype);
        if (self == NULL)
                return NULL;
        self->density = NULL;
@@ -92,7 +92,7 @@
 dist_dealloc(distributionobject *self)
 {
        Py_XDECREF(self->parameters);
-       PyMem_DEL(self);
+       PyObject_Del(self);
 }
 
 
@@ -494,7 +494,7 @@
 {
        rngobject *self;
 
-       self = PyObject_NEW(rngobject, &rngtype);
+       self = PyObject_New(rngobject, &rngtype);
        if (self == NULL)
                return NULL;
        self->distribution = distribution;
@@ -522,7 +522,7 @@
 rng_dealloc(rngobject *self)
 {
        Py_DECREF(self->distribution);
-       PyMem_DEL(self);
+       PyObject_Del(self);
 }
 
 

Reply via email to