mailbox.mbox.add() also seems to set file permissions

tinnews at tinnews at
Sat Apr 25 18:56:04 CEST 2009

mailbox.mbox.add() has *another* 'quirk'.  When it adds a message to
an mbox file it seems to set the permissions to 0755 which is quite
wrong for mbox files.  I get the feeling that the mbox versions of the
functions are just bodged maildir ones.  If one was creating a maildir
it *might* make some sense setting to 0755.

Where should one report bugs/errors in python library classes?

Chris Green

More information about the Python-list mailing list