[Twisted-Python] Flags with MaildirMailbox

G'day everybody, I'm playing a little bit with twisted.mail.maildir.Mailbox which seems to work nice, but it doesn't seem to manage flags (cf http://cr.yp.to/proto/maildir.html "What can I put in info"). Is there an easy/elegant way to do this ? Is it planed to implement this feature ? Thanks for any answer Regards Goffi

On 15 Jan, 07:08 pm, goffi@goffi.org wrote:
G'day everybody,
I'm playing a little bit with twisted.mail.maildir.Mailbox which seems to work nice, but it doesn't seem to manage flags (cf http://cr.yp.to/proto/maildir.html "What can I put in info"). Is there an easy/elegant way to do this ? Is it planed to implement this feature ? Thanks for any answer
Not planned ("planned" in Twisted usually means "there is a ticket for it"). You're welcome to contribute that functionality, though! Do you have an idea about how it might fit into the existing code and API? Jean-Paul

On 16/01/2011 01:44, exarkun@twistedmatrix.com wrote:
Not planned ("planned" in Twisted usually means "there is a ticket for it"). You're welcome to contribute that functionality, though! Do you have an idea about how it might fit into the existing code and API?
Jean-Paul
Well not really, but it's a good way to learn :). I'm really (really really) busy at the moment, so I probably can't in the next days, but I will try to have a look (and maybe turn on IRC/the documentation if I need help and review on the coding convention of Twisted). thanks for the reply :)

On 16/01/2011 17:27, goffi wrote:
[snip] Well not really, but it's a good way to learn :). I'm really (really really) busy at the moment, so I probably can't in the next days, but I will try to have a look (and maybe turn on IRC/the documentation if I need help and review on the coding convention of Twisted).
thanks for the reply :) An other issue: when we use appendMessage, MaildirMailbox doesn't update its list. As a result, listMessages() return an outdated list (the list of all files except the new one). It sounds like a bug.

On 16/01/2011 22:33, goffi wrote:
An other issue: when we use appendMessage, MaildirMailbox doesn't update its list. As a result, listMessages() return an outdated list (the list of all files except the new one). It sounds like a bug. Sorry, forget this mail, the list is well updated in the AppendFactory (_MaildirMailboxAppendMessageTask), will check twice before sending a mail to the list next time :p
Sorry for the noise.

On Sun, Jan 16, 2011 at 10:27 AM, goffi <goffi@goffi.org> wrote:
On 16/01/2011 01:44, exarkun@twistedmatrix.com wrote:
Not planned ("planned" in Twisted usually means "there is a ticket for it"). You're welcome to contribute that functionality, though! Do you have an idea about how it might fit into the existing code and API?
Jean-Paul
Well not really, but it's a good way to learn :). I'm really (really really) busy at the moment, so I probably can't in the next days, but I will try to have a look (and maybe turn on IRC/the documentation if I need help and review on the coding convention of Twisted).
thanks for the reply :)
When you get some time to look at it, I'd encourage you to at least file a ticket, so this issue doesn't get lost. Kevin Horn
participants (3)
-
exarkun@twistedmatrix.com
-
goffi
-
Kevin Horn