From: SourceForge.net <no...@so...> - 2012-11-04 22:38:12
|
Bugs item #3365617, was opened at 2011-07-12 21:49 Message generated for change (Comment added) made by nikosch You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=456910&aid=3365617&group_id=49630 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Wont Fix Priority: 5 Private: No Submitted By: apptaro (apptaro) Assigned to: Nikolaus Schulz (nikosch) Summary: test_archivemail fails on Python 2.3.4 Initial Comment: # python -V Python 2.3.4 # python test_archivemail Traceback (most recent call last): File "test_archivemail", line 1285, in ? class TestArchiveMailboxdir(TestCaseInTempdir): File "test_archivemail", line 1290, in TestArchiveMailboxdir remaining_msg = set() # Filenames of maildir messages that should be preserved NameError: name 'set' is not defined # Quick search with google reveals "set" is new in Python 2.4. test_archivemail also uses Python 2.4 functions such as sort(). ---------------------------------------------------------------------- >Comment By: Nikolaus Schulz (nikosch) Date: 2012-11-04 14:38 Message: I just committed a patch that makes the test suite explicitly require python >= 2.4. ---------------------------------------------------------------------- Comment By: Nikolaus Schulz (nikosch) Date: 2011-07-13 15:37 Message: Good catch. I am, however, not very tempted to do much porting work in order to support python 2.3. I have been pretty reluctant to use features which require newer python versions, and to be honest, the set() and sorted() stuff just slipped through. But these days, python 2.3 is really ancient. Even Debian dropped support for python 2.3 with Lenny. :) Bumping the version check looks like the right thing to do. ---------------------------------------------------------------------- Comment By: apptaro (apptaro) Date: 2011-07-12 23:02 Message: Even though test_archivemail fails, archivemail itself seems to work fine with Python 2.3.4. ---------------------------------------------------------------------- Comment By: apptaro (apptaro) Date: 2011-07-12 22:01 Message: Test with archivemail 0.9.0. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=456910&aid=3365617&group_id=49630 |