[pylucene-dev] Re[4]: CORBA multithread issue

Andi Vajda vajda at osafoundation.org
Mon Feb 7 11:15:04 PST 2005


Look inside PyLucene.i and you can see that Document.fields() actually returns 
a FieldEnumeration instance. __iter__() is only called on it if you iterate 
it with python. It implements the Java Enumeration interface and you can call 
those methods too.

Andi..

On Mon, 7 Feb 2005, Yura Smolsky wrote:

> Hello, Andi.
>
> Can you provide me with another way getting Document.fields()
> values without using __iter__()?..
>
>
>>> iterates on doc.fields(). So results from the server's function is
>>> never returns b/c iteration is "buzz".
>
> AV> What does this sentence mean ? 'buzz' ?
>
>>> I cannot debug this method started from WorkerThread b/c WingIDE does not
>>> catch breakpoint.
>
> AV> I've heard this before, Wing may not be able to debug a PyLucene thread.
> AV> I don't use an IDE, just GNU emacs and a command line, so I don't know what
> AV> the issue actually is.
>
> AV> Andi..
>
>
>
> AV>
>
>
>
> Yura Smolsky,
>
>
>


More information about the pylucene-dev mailing list