python2.6-bugs

Bug #946377 reported by Marten de Vries
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenTeacher
Status tracked in 3.x
3.x
Fix Released
Medium
Marten de Vries

Bug Description

These methods aren't available in Python 2.6 while we'd like to support that version:

- subprocess.check_output
- datetime.timedelta.total_seconds
- argparse
- others?

Please use this thread to report other python 2.6-related bugs, and use it to discuss solutions.

Revision history for this message
Marten de Vries (marten-de-vries) wrote :

subprocess.check_output is probably simulatable with subprocess.Popen
datetime.timedelta.total_seconds is a very simple function: Equivalent to (td.microseconds + (td.seconds + td.days * 24 * 3600) * 10**6) / 10**6 computed with true division enabled.
argparse is available as a separate project for 2.6; in ubuntu lucid it's e.g. in the python-argparse package.

Revision history for this message
Marten de Vries (marten-de-vries) wrote :

Subprocess and datetime bugs are fixed now. So it should now run on 2.6 by just installing argparse (next to the normal depencdencies).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.