New submission from Decorater: py_compile.compile() does not specify if it can accept a file like object or a bytes like object with the file's data.
Although I need something that can allow me to import byte like objects if the object contains valid python script data. (basically it would have to act as a import unless I have to exec the data in it which would be totally bad as it would not be able to retain all of the data. Long story short I need a way to import the data returned from the dec_script() function in this: https://bpaste.net/show/694c231c566c ---------- assignee: docs@python components: Documentation, Library (Lib) messages: 272590 nosy: Decorater, docs@python priority: normal severity: normal status: open title: py_compile.compile() does not specify if it can accept a file like object or a bytes like object with the file's data. versions: Python 3.5, Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27753> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com