Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 6439782653624320: Issue 2434 - Fixed: Custom filters and global functions can not be instance methods (Closed)

Created:
April 29, 2015, 12:02 p.m. by Sebastian Noack
Modified:
April 30, 2015, 8:56 p.m.
Reviewers:
Wladimir Palant
Visibility:
Public.

Description

Issue 2434 - Fixed: Custom filters and global functions can not be instance methods

Patch Set 1 : #

Patch Set 2 : Record module unconditonally #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -5 lines) Patch
M cms/converters.py View 1 2 chunks +3 lines, -5 lines 0 comments Download

Messages

Total messages: 6
Sebastian Noack
April 29, 2015, 12:03 p.m. (2015-04-29 12:03:29 UTC) #1
Wladimir Palant
LGTM
April 29, 2015, 5:37 p.m. (2015-04-29 17:37:25 UTC) #2
Sebastian Noack
I've uploaded a new patch. I think we have to record the module regardless whether ...
April 30, 2015, 12:36 p.m. (2015-04-30 12:36:31 UTC) #3
Sebastian Noack
I meant: my_global = {"bar": lambda : foo.bar()}
April 30, 2015, 12:48 p.m. (2015-04-30 12:48:52 UTC) #4
Wladimir Palant
On 2015/04/30 12:36:31, Sebastian Noack wrote: > I've uploaded a new patch. I think we ...
April 30, 2015, 3:52 p.m. (2015-04-30 15:52:02 UTC) #5
Sebastian Noack
April 30, 2015, 5:55 p.m. (2015-04-30 17:55:59 UTC) #6
On 2015/04/30 15:52:02, Wladimir Palant wrote:
> This call will happen while the module loads, no issue here. I guess you
meant:
> 
>    my_global = {"bar": lambda x: foo.bar(x)}

I did, see my follow-up comment above.

Powered by Google App Engine
This is Rietveld