def write(self, location, text, encoding):
        location = os.path.expanduser(location)

        with gzip.open(location, 'wb') as f:
            f.write(text.encode(encoding))
Stop consuming data from a producer, without disconnecting.
dataset/ETHPy150Open jonathanslenders/pyvim/pyvim/io/backends.py/GZipFileIO.write--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/internet/abstract.py/_ConsumerMixin.unregisterProducer