https://bugs.freedesktop.org/show_bug.cgi?id=107564
Bug ID: 107564
Summary: AttributeError: 'module' object has no attribute
'combinations_with_replacement'
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: All
Status: NEW
Keywords: bisected, regression
Severity: normal
Priority: medium
Component: Mesa core
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
Build error with Python 2.6.
GEN nir/nir_opt_algebraic.c
Traceback (most recent call last):
File "./nir/nir_opt_algebraic.py", line 726, in <module>
for left, right in itertools.combinations_with_replacement(invert.keys(),
2):
AttributeError: 'module' object has no attribute
'combinations_with_replacement'
commit d9ca4a172e8e8a42217588ca1b83a7ceb5bf3f76
Author: Mathieu Bridon <[email protected]>
Date: Thu Aug 9 10:27:19 2018 +0200
python: Use the right function for the job
The code was just reimplementing itertools.combinations_with_replacement
in a less efficient way.
This does change the order of the results slightly, but it should be ok.
Signed-off-by: Mathieu Bridon <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug._______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev