mirror of
https://github.com/python/cpython.git
synced 2026-05-28 15:16:53 -04:00
8fa45677c1
just by doing type(f) where f is any file object. This left a hole in restricted execution mode that rexec.py can't plug by itself (although it can plug part of it; the rest is plugged in fileobject.c now).