Andreas Sandberg has uploaded a new patch set (#4). ( https://gem5-review.googlesource.com/c/public/gem5/+/15992 )

Change subject: python: Make iterator handling Python 3 compatible
......................................................................

python: Make iterator handling Python 3 compatible

Many functions that used to return lists (e.g., dict.items()) now
return iterators and their iterator counterparts (e.g.,
dict.iteritems()) have been removed. Switch calls to the Python 2.7
iterator methods to use the Python 3 equivalent and add explicit list
conversions where necessary.

Change-Id: I0c18114955af8f4932d81fb689a0adb939dafaba
Signed-off-by: Andreas Sandberg <[email protected]>
---
M src/SConscript
M src/cpu/BaseCPU.py
M src/cpu/minor/MinorCPU.py
M src/mem/ruby/network/simple/SimpleNetwork.py
M src/mem/slicc/symbols/Type.py
M src/python/m5/SimObject.py
M src/python/m5/main.py
M src/python/m5/objects/__init__.py
M src/python/m5/options.py
M src/python/m5/params.py
M src/python/m5/util/code_formatter.py
M src/python/m5/util/dot_writer.py
M src/python/m5/util/jobfile.py
M src/python/m5/util/multidict.py
M src/python/m5/util/smartdict.py
M src/python/m5/util/sorteddict.py
M src/python/m5/util/terminal.py
M src/systemc/tests/tlm/endian_conv/testall.py
18 files changed, 74 insertions(+), 97 deletions(-)


--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/15992
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I0c18114955af8f4932d81fb689a0adb939dafaba
Gerrit-Change-Number: 15992
Gerrit-PatchSet: 4
Gerrit-Owner: Andreas Sandberg <[email protected]>
Gerrit-MessageType: newpatchset
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to