Sublime Forum

ST3 __name__ changed?

#1

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?

0 Likes