[issue14922] mailbox.Maildir.get_message() may fail when Maildir dirname is a unicode string

2012-09-03 Thread Petri Lehtinen
Petri Lehtinen added the comment: This would be considered a new feature, and is thus out of scope for 2.7. An easy workaround is to encode the unicode path to str using the file system encoding first (sys.getfilesystemencoding()). -- resolution: - rejected stage: needs patch -

[issue14922] mailbox.Maildir.get_message() may fail when Maildir dirname is a unicode string

2012-09-02 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- keywords: +easy nosy: +petri.lehtinen stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14922 ___

[issue14922] mailbox.Maildir.get_message() may fail when Maildir dirname is a unicode string

2012-05-29 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- components: +email -Library (Lib) nosy: +barry, r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14922 ___

[issue14922] mailbox.Maildir.get_message() may fail when Maildir dirname is a unicode string

2012-05-25 Thread Pablo Oliveira
New submission from Pablo Oliveira pa...@sifflez.org: I'm using Python 2.7.3rc2 from debian sid packages. If a mailbox.Maildir object is created with a unicode dirname, retrieving a message tagged with maildir flags with get() or get_message() fails with the following exception: Traceback