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?
Posts: 1403
Joined: Mon Oct 19, 2009 9:12 pm

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 31 guests