Author: mattip <[email protected]>
Branch:
Changeset: r82861:31f9f0c39273
Date: 2016-03-07 20:02 +0200
http://bitbucket.org/pypy/pypy/changeset/31f9f0c39273/
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
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit