Imaplib and jpython

james.wynne james.wynne at xiam.com
Thu May 4 12:21:15 CEST 2000


Hi
    I'm  new to python, (so bear with me).
I wrote the following code in Python (cpython)

import imaplib, string

#def Move(server,name,pwd):
M=imaplib.IMAP4("walrus.xiam.com")
M.login("mojo","mojo")


dummy,N=M.select()

and it gives me the following response

['OK','10']

if i run it on jpython  I this response

['OK',[none]]

I have other examples as well of this sort of behaviour. Is there a reason
why my python
code wont run consistently on jpython?

J






More information about the Python-list mailing list