Fix crazy [Access is denied] error on TC run on Windows OS#145
Fix crazy [Access is denied] error on TC run on Windows OS#145rocky merged 2 commits intorocky:issue_138from
Conversation
Add unit tests for write_bytecode_file
|
Although a context manager is preferrable here, given we haven't figured out what the access violation on Windows is, I guess we have to go with this. |
|
@rocky thanks! there is one question left: do you know why do we have those temp files left in the Temp dir? (WIndows) |
|
If there is a failure in testing this is useful to keep around. However if there is no failure, then these should be removed. Probably if we used a context manager properly this would be handled more naturally. By the way, what is your motivation behind all of this recent activity for xdis? If you are using this in conjunction with doing some other project, what is that other project? Lastly, I'll mention that there was some cleanup to the the load.py and the last set of changes. You might want to pick those up. |
|
Well, the motivation is many-fold
Thank you very much, I'm very pleased to receive attention from the much more mature and experienced professional which you are indeed PS, yeah, just explored the last set of changes to the load.py module, looks great! |
Great!
Great!
That is good too. I notice however that you have starred neither xdis nor pycdc that you are requesting and receiving attention from. If you want to go further, there is also a sponsor button. |


this PR fixes the issue seen in #138 under Windows:
come into my head after reading some Python issues/conversations, eg:
https://bugs.python.org/issue46003