Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove self from cheetah lookup #200

Closed
asottile opened this issue Jun 15, 2015 · 2 comments
Closed

Remove self from cheetah lookup #200

asottile opened this issue Jun 15, 2015 · 2 comments

Comments

@asottile
Copy link
Collaborator

Right now self is in the search list. Should change code to explicitly lookup from $self.bar() instead of $bar() potentially meaning ns['bar']() or self.bar()

@asottile
Copy link
Collaborator Author

asottile commented May 26, 2016

I think the way this will roll out is:

  1. Introduce new lookup functions which will be used when auto self is disabled
  2. Introduce an alllow_auto_self compiler setting which does the current behaviour (on by default)
  3. Default it to False add a hook for complain()ing when it happens
  4. Remove support for the "feature "

@asottile
Copy link
Collaborator Author

Via #247

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant