-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.gem5.org/r/1857/#review4373
-----------------------------------------------------------

Ship it!


Ship It!

- Andreas Hansson


On May 2, 2013, 6:59 a.m., Andreas Sandberg wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviews.gem5.org/r/1857/
> -----------------------------------------------------------
> 
> (Updated May 2, 2013, 6:59 a.m.)
> 
> 
> Review request for Default.
> 
> 
> Description
> -------
> 
> Changeset 9688:349fa0e3e253
> ---------------------------
> base: Make the Python module loader PEP302 compliant
> 
> The custom Python loader doesn't comply with PEP302 for two reasons:
> 
>  * Previously, we would overwrite old modules on name
>    conflicts. PEP302 explicitly states that: "If there is an existing
>    module object named 'fullname' in sys.modules, the loader must use
>    that existing module".
> 
>  * The "__package__" attribute wasn't set. PEP302: "The __package__
>    attribute must be set."
> 
> This changeset addresses both of these issues.
> 
> 
> Diffs
> -----
> 
>   src/python/importer.py 00dca8a9b560 
> 
> Diff: http://reviews.gem5.org/r/1857/diff/
> 
> 
> Testing
> -------
> 
> Quick regressions pass (with the exception of 02.insttest and 
> 40.m5threads-test-atomic where I can't find the binaries) for all supported 
> architectures.
> 
> 
> Thanks,
> 
> Andreas Sandberg
> 
>

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to