Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 171234 Details for
Bug 182392
Stable request for dev-python/numeric-24.2-r6
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Numeric-24.2-NMU.patch
Numeric-24.2-NMU.patch (text/plain), 1.01 KB, created by
Peter Volkov (RETIRED)
on 2008-11-09 21:27:14 UTC
(
hide
)
Description:
Numeric-24.2-NMU.patch
Filename:
MIME Type:
Creator:
Peter Volkov (RETIRED)
Created:
2008-11-09 21:27:14 UTC
Size:
1.01 KB
patch
obsolete
>Fixes python memory crashing. http://bugs.debian.org/468994 >test case: >$ python -c "import Numeric ; import RNG ; a = RNG.NormalDistribution(0,1) ; del a" > >=== modified file 'Packages/RNG/Src/RNGmodule.c' >--- Packages/RNG/Src/RNGmodule.c 2008-11-09 21:08:36 +0000 >+++ Packages/RNG/Src/RNGmodule.c 2008-11-09 21:08:39 +0000 >@@ -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); > } > > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 182392
:
134139
| 171234