]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Cover a few corners in the 'U' mode integration to make imp work.
authorJeremy Hylton <jeremy@alum.mit.edu>
Thu, 30 May 2002 17:15:25 +0000 (17:15 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Thu, 30 May 2002 17:15:25 +0000 (17:15 +0000)
commit4ae6faed9f618c53c42816e868c4cb7194cd045f
tree88aa59f90bd73551bc2cf22139817da4036bc029
parent40b7703f1c65f58f854f3e1b81203ba71ed45df4
Cover a few corners in the 'U' mode integration to make imp work.

get_file() must convert 'U' to "r" PY_STDIOTEXTMODE before calling
fopen().

imp_load_module() must accept 'r' or 'U' or something with '+'.

Also reflow some long lines.
Python/import.c