User Tools

Site Tools


programming:python:pyradix_search_all_patch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
programming:python:pyradix_search_all_patch [2008/07/05 20:55] crustymonkeyprogramming:python:pyradix_search_all_patch [2008/07/05 21:26] crustymonkey
Line 13: Line 13:
 Usage: Usage:
 <code> <code>
-Radix.search_all_containing(<network>) -> [ <node> , <node> , ...] or None+Radix.search_all_containing(<network>) -> [ <node> , <node> , ...]
 </code> </code>
 <code python> <code python>
Line 126: Line 126:
     {"__getstate__",(PyCFunction)Radix_getstate,    METH_VARARGS,           NULL            },     {"__getstate__",(PyCFunction)Radix_getstate,    METH_VARARGS,           NULL            },
 </code> </code>
 +
 The patch file: {{:programming:python:radix_python.c.patch.gz|}} The patch file: {{:programming:python:radix_python.c.patch.gz|}}
 +
 +===== Patching =====
 +Download the above patch file and do the following:
 +<code>
 +# cp radix_python.c.patch.gz /path/to/untarred/py-radix/source/directory
 +# cd /path/to/untarred/py-radix/source/directory
 +# gunzip radix_python.c.patch.gz
 +# patch -p0 radix_python.c < radix_python.c.patch
 +# python setup.py install
 +</code>
 +The last line there will install the patched module.
 +
programming/python/pyradix_search_all_patch.txt · Last modified: 2008/07/05 22:10 by crustymonkey