shared-mime-info says that .py files are application/x-python. However, gnome-icon-theme and Python itself use text/x-python.
Don't want to change this so close to the GNOME release. I'll try to figure out what the right thing to do is later.
Created attachment 418 [details] A python mime type proposition Here is the definition of text/x-python and application/x-python I'm using. I think it may help you fix this bug.
I changed application/x-python to text/x-python in CVS.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.