Edit: _iotools.py