Your message dated Fri, 4 May 2007 08:45:00 +0200
with message-id <[EMAIL PROTECTED]>
and subject line python2.5: mailbox.Maildir.get_folder() loses factory 
information
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: python2.5
Version: 2.5~c1-1
Severity: normal
Tags: upstream

everything as in the subject.
the factory defines what class the mails have that are returned.

So for two nested folders a and a.b, the following code will return
messages with two different classes:

# factory = None to get mailbox.MaildirMessage objects
md = mailbox.Maildir("a", factory=None)
print md["somemessage"].__class__
# will print mailbox.MaildirMessage
md2 = md.get_folder("b")
print md2["someothermessage"].__class__
# will print rfc822.Message

i.e. the factory= parameter passed to the outer Maildir class upon
creation is not passed on to the subfolder creation in get_folder()

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17.7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8)

Versions of packages python2.5 depends on:
ii  libbz2-1.0                   1.0.3-4     high-quality block-sorting file co
ii  libc6                        2.3.6.ds1-3 GNU C Library: Shared libraries
ii  libdb4.4                     4.4.20-8    Berkeley v4.4 Database Libraries [
ii  libncursesw5                 5.5-2       Shared libraries for terminal hand
ii  libreadline5                 5.1-7       GNU readline and history libraries
ii  libsqlite3-0                 3.3.7-1     SQLite 3 shared library
ii  libssl0.9.8                  0.9.8b-2    SSL shared libraries
ii  mime-support                 3.37-1      MIME files 'mime.types' & 'mailcap
ii  python2.5                    2.5~c1-1    An interactive high-level object-o
ii  python2.5-minimal            2.5~c1-1    A minimal subset of the Python lan

python2.5 recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
forwarded 384512 http://python.org/sf/1569790
thanks

Version: 2.5.1-1

Fixed in 2.5.1-1

--- End Message ---

Reply via email to