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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to