Home Download Buy Blog Forum Support

ST3 __name__ changed?

ST3 __name__ changed?

Postby adzenith on Sat Feb 16, 2013 5:18 pm

In ST2, __name__ would return the module name (e.g., "inc_dec_value" for inc_dec_value.py). In ST3, it seems to return the name of the plugin with the module name, like "Inc-Dec-Value.inc_dec_value". From brief testing of Python3 outside of ST3, this seems like strange behaviour. Is it intentional? Am I just confused?
adzenith
 
Posts: 1213
Joined: Mon Oct 19, 2009 9:12 pm

Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 28 guests