[pypy-commit] pypy use-file-star-for-file: add comment

bdkearns noreply at buildbot.pypy.org
Sat Sep 13 17:19:24 CEST 2014


Author: Brian Kearns <bdkearns at gmail.com>
Branch: use-file-star-for-file
Changeset: r73523:05306b1932a1
Date: 2014-09-13 11:08 -0400
http://bitbucket.org/pypy/pypy/changeset/05306b1932a1/

Log:	add comment

diff --git a/rpython/rlib/rfile.py b/rpython/rlib/rfile.py
--- a/rpython/rlib/rfile.py
+++ b/rpython/rlib/rfile.py
@@ -508,6 +508,7 @@
         c = 0
         s = StringBuilder()
         while True:
+            # XXX release gil for all of this rather than each getc
             c_flockfile(ll_file)
             if self._univ_newline:
                 while size < 0 or s.getlength() < size:


More information about the pypy-commit mailing list