It all depends on "which search engine", below which "TLD" and which settings you use..
For instance. If you use google.com, with "any website", then it's easiest for a .com to rank high.
But if you use google.de, as most germans do, and chose "only german sites", then you will see 99.9 % .DE, .AT and .CH in the serps.
For .IN names, you will have an advantage on Yahoo.in if you got a .IN extension.
And for Sweden, you will have a big advantage if your having a .SE domain, compared to anything else. Why? Cos it's almost the only extension that shows up if your searching for "swedish sites" on Google.se. (and this settings is what universities, and many individuals use).
Country codes are on the way up, and it will also be linked to local law more and more.
Hope this helps