]> granicus.if.org Git - python/commit
Restructured get_line() for clarity and speed.
authorGuido van Rossum <guido@python.org>
Fri, 5 Jan 2001 14:43:05 +0000 (14:43 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 5 Jan 2001 14:43:05 +0000 (14:43 +0000)
commit1187aa4d33d672431d4cc6019ecaf635ca90bfc2
tree19004b912f5cbaccce7d7ed9a62fb2dfbc6e2d57
parent742bb6f9fda7043cc1ec0f1937b2dd1d0ecb6ab6
Restructured get_line() for clarity and speed.

- The raw_input() functionality is moved to a separate function.

- Drop GNU getline() in favor of getc_unlocked(), which exists on more
  platforms (and is even a tad faster on my system).
Objects/fileobject.c