config: ruby: Get rid of an "eval" and an "exec" operating on generated code.
Review Request #2527 - Created Nov. 23, 2014 and updated
| Information | |
|---|---|
| Gabe Black | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 10564:b90448378de5 --------------------------- config: ruby: Get rid of an "eval" and an "exec" operating on generated code. We can get the same result using importlib.
Ship It!
Posted (Nov. 23, 2014, 11:37 a.m.)
Looks like importlib is only available in 2.7 (https://docs.python.org/2/library/importlib.html), and according to http://gem5.org/Dependencies we still support 2.5 and 2.6 as well. Is that accurate? In isolation, this seems reasonable, but it doesn't seem like enough of an advantage to justify bumping our minimum supported version.
