If you select rename of a python file that is the projects main module, the rename is not reflected in the project
properties thus exception thrown if you try and run it without the extra step of changing the main module manually in
Create a new python project.
Rename the python module by selecting rename from the context menu and give it a new name.
Run the project...of course exception because the projects property->run->main module is still the original name
Select browse and choose the renamed file.
If the file is renamed and you try to run the project, you will see a popup to select the new main file. I think this is enough due to our limiting resources. Feel free to make a patch to improve that. Closing this.
Thanks for your evaluation Julien. Reporter, if you think your issue is still valid and needs to be addressed, don't hesitate to reopen it with additional information. Closing for now.