]> granicus.if.org Git - python/commit
File modes in filedescr entries are also passed to Python, so we now put "U"
authorJack Jansen <jack.jansen@cwi.nl>
Tue, 28 May 2002 10:58:19 +0000 (10:58 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Tue, 28 May 2002 10:58:19 +0000 (10:58 +0000)
commitc88da1faa5bfa9b72b38822cb9745ad7be7606a3
treeaf153a2eb4a0f8dc127f24e03c8d34f011ab7085
parent313a7513b0c5771042d850d70782a2448d1cdcb7
File modes in filedescr entries are also passed to Python, so we now put "U"
in there, and convert it to "rb" (or "r" for non-universal-newline builds)
before passing it to fopen().

Fixes #561326.
Python/import.c