If I upload this file
https://pastebin.com/PMR4z599 right after reflashing the firmware and the file system, then it won't boot. This is a 853 byte file.
Can somebody please try to upload this file to an ESP8266EX and test if it boots up?
I still don't see how this file can cause the any problem. It is never executed by the interpreter...
And yet, this is what happening! Apparently, I can upload anything (including binary gzip files) and everything works. But if I upload this main.py file, then it won't boot.