Home Download Buy Blog Forum Support

ST3 Bug: Symbol indexing bug with python decorators

ST3 Bug: Symbol indexing bug with python decorators

Postby rob_cowie on Thu Feb 14, 2013 4:18 pm

Python decorators within classes are listed as a symbol with blank name. The decorated method itself is detected and listed correctly. For example,

Code: Select all
class Base(object):
    @classmethod
    def query(cls):
        return Session.query(cls)


results in

Screen Shot 2013-02-14 at 15.55.30.png
Screen Shot 2013-02-14 at 15.55.30.png (14.54 KiB) Viewed 265 times


There is no such issue with decorated functions (at module level).

Not sure if there is a more appropriate place to raise issues. If there is, let me know.
rob_cowie
 
Posts: 5
Joined: Fri Nov 04, 2011 3:12 pm

Return to Technical Support

Who is online

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