[pypy-commit] pypy release-5.x: comment the reason for the change

mattip pypy.commits at gmail.com
Mon Mar 7 13:06:26 EST 2016


Author: mattip <matti.picus at gmail.com>
Branch: release-5.x
Changeset: r82859:ad5a4e55fa8e
Date: 2016-03-07 20:02 +0200
http://bitbucket.org/pypy/pypy/changeset/ad5a4e55fa8e/

Log:	comment the reason for the change

diff --git a/rpython/translator/c/genc.py b/rpython/translator/c/genc.py
--- a/rpython/translator/c/genc.py
+++ b/rpython/translator/c/genc.py
@@ -548,6 +548,9 @@
                         assert relpypath, ("%r should be relative to %r" %
                             (localpath, pypkgpath.dirname))
                         if len(relpypath.split(os.path.sep)) > 2:
+                            # pypy detail to agregate the c files by directory,
+                            # since the enormous number of files was causing
+                            # memory issues linking on win32
                             return os.path.split(relpypath)[0] + '.c'
                         return relpypath.replace('.py', '.c')
             return None


More information about the pypy-commit mailing list