[pylucene-dev] status of pylucene & mod_python
Andraž Tori
andraz.tori1 at guest.arnes.si
Mon Mar 26 13:03:42 PST 2007
On Mon, 2007-03-26 at 22:52 +0200, Andraž Tori wrote:
> On Mon, 2007-03-26 at 02:46 -0700, Ofer Nave wrote:
> > > I just finished coding up a module I named ipc.py. It
> > > provides a function called call_in_seperate_process that
> > > takes a module name, a function name, and wildcard args. It
> > > then uses popen2.Popen3 to invoke the ipc module as an
> > > executable, and yaml to serialize the request and the args.
> > > The ipc module-as-executable deserializes the request,
> > > executes it, uses yaml to serialize the output of the
> > > function, and prints it to STDOUT, where it is then
> > > deserialized by the parent process and returned.
> >
> > I promise I won't innundate this list with bug fixes and improvements to my
> > ipc.py module - after this one. :)
>
> Please do tell us about any improvements you make!!!
>
> This tool is WONDERFUL. i am now able to actually run my searches inside
> apache. do you allow it's use... there's no licence specified...?
>
> ... but one bug really took some time for me to figure it out... it is
> spelled "sepArate" not "sepErate" ... i needed some time to figure that
> one out:)
Oh one more thing.. how come you used YAML and not Pickle - it would
probably be faster?
bye
andraz
More information about the pylucene-dev
mailing list