imaplib.IMAP4: Bug in implementation

Oliver Kurz olku at web.de
Wed Mar 17 09:24:11 EST 2004


>  > I call the uid like this
>  >
>  > uid("STORE",uid,"+FLAGS(\SEEN)")
> 
> 
> Are you shure you don't mean::
> 
>      uid("STORE",uid,"+FLAGS(\\SEEN)")
> 
> You are trying to create a non-existent special character, escaping the 
> s in your example.
> 
> I am not quite shure how Python reacts to that.

Even if I use two \ it doesn't work, cause the IMAP-server doesn't like the quoting. 

BTW! Python makes two \ from this one. But as I said the problem is the quoting of the arguments.

-- 
--
Oliver Kurz





More information about the Python-list mailing list