Just van Rossum wrote: > zipimport.c todo: > - rework the zipimporter class as a subclass of str > - doco > - add a get_source(fullname) method (linecache.py could use that!) have you tested the following code with uncompressed PY files? buf[data_size] = 'Z'; /* saw this in zipfile.py */ data_size++; raw_data = PyString_FromStringAndSize(buf, data_size); PyMem_Free(buf); if (raw_data == NULL) return NULL; if (compress == 0) /* data is not compressed */ return raw_data; </F>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4