[pypy-commit] pypy statistics-maps: log the module

cfbolz pypy.commits at gmail.com
Tue Feb 16 12:45:23 EST 2016


Author: Carl Friedrich Bolz <cfbolz at gmx.de>
Branch: statistics-maps
Changeset: r82293:5d1a96a22de4
Date: 2016-02-13 21:40 +0100
http://bitbucket.org/pypy/pypy/changeset/5d1a96a22de4/

Log:	log the module

diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py
--- a/pypy/objspace/std/mapdict.py
+++ b/pypy/objspace/std/mapdict.py
@@ -108,6 +108,7 @@
         elif isinstance(self, Terminator):
             if self.w_cls is not None:
                 lines.append(_print_line('w_cls', self.w_cls.name, 1))
+                lines.append(_print_line('w_cls_module', self.space.bytes_w(self.w_cls.get_module()), 1))
         if self._number_reads:
             lines.append('    "reads": {')
             for key, value in self._number_reads.items():


More information about the pypy-commit mailing list