Women in Technology

Hear us Roar



Article:
  Processing Mailbox Files with mailbox.py
Subject:   python 2.5's mailbox.py incompatible under 2.3
Date:   2007-07-12 03:45:39
From:   amk1
Response to: python 2.5's mailbox.py incompatible under 2.3

Most modules in the Python standard library aren't written to be compatible with earlier versions of Python, so that bit of code is using a generator comprehension. To use the module with Python 2.3,
you'd have to rewrite that line to create and sort a list instead.