[Biopython-dev] [Bug 2817] New: Meta-bug for cleanup once we drop Python 2.3 support

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Tue Apr 21 11:05:48 UTC 2009


http://bugzilla.open-bio.org/show_bug.cgi?id=2817

           Summary: Meta-bug for cleanup once we drop Python 2.3 support
           Product: Biopython
           Version: Not Applicable
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main Distribution
        AssignedTo: biopython-dev at biopython.org
        ReportedBy: biopython-bugzilla at maubp.freeserve.co.uk


We are going to drop support for Python 2.3, see:
http://lists.open-bio.org/pipermail/biopython-dev/2009-April/005812.html

This means we can remove a number of workarounds in the code:

Python 2.4+ includes the built in set, so we can remove numerous uses of the
following:

#TODO - Remove this work around once we drop python 2.3 support
try:
    set = set
except NameError:
    from sets import Set as set


Python 2.4+ includes the subprocess module, so we can use this unconditionally
in Bio.Application.generic_run() etc.

Python 2.4+ includes support for generator expressions.  We should update the
documentation examples as appropriate, and this may also allow some memory
optimizations in places.

Python 2.4+ will also allow us to update our property methods to use decorators
as suggested by Eric Talevich on Bug 2814.


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list