> I know there are certain cases where __file__ does not work, but I dont > know the details. The only cases I know of are for builtin modules and when __file__ is deliberately deleted. In immediate speculation, I bet that custom import hooks also might leave out __file__. Other than those cases, it should always be present AFAIK, which makes this especially odd.
Devin Jeanpierre --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cocos-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
