wistful/SublimeAutoPEP8 — pull request #12 by amr-strathcom (2013-02-01 21:13:27+00:00)
Title: Update sublautopep8.py

I was getting errors while using SublimeAutoPEP8:

"WindowsError: [Error 32] The process cannot access the file because it is being used by another process: "

A bit of research revealed similar problems with other Python projects:

http://stackoverflow.com/questions/1470350/why-is-the-windowserror-while-deleting-the-temporary-file

It seems the problem is removing the temp file which you still have an open handle to. I've applied these changes directly for my own Sublime Text install, and SublimeAutoPEP8 now works for me.