itertools.product is Python 2.6 or later only

Bug #685351 reported by Martin Packman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
testscenarios
Fix Released
Wishlist
Unassigned

Bug Description

README claims 2.4+ is supported, but the testscenarios.scenario module depends on itertools.product which requires 2.6 at least:
<http://docs.python.org/library/itertools.html#itertools.product>

The multiply_scenarios function doesn't actually benefit from iterating rather than listing all the results at once. Rewriting to not use the helper may be just as easy as including a compatibility implementation.

Revision history for this message
Robert Collins (lifeless) wrote :

care to put a patch together?

Changed in testscenarios:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Robert Collins (lifeless) wrote :

Changed the docs to say 2.6+.

Changed in testscenarios:
status: Triaged → Fix Released
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.