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

Issue 30031558: Issue 7391 - Let rpy recursively parse filter options to dicts (Closed)

Created:
March 21, 2019, 11:12 p.m. by rhowell
Modified:
April 16, 2019, 1:34 a.m.
Reviewers:
Vasily Kuznetsov, sporz
Base URL:
https://hg.adblockplus.org/python-abp
Visibility:
Public.

Description

Issue 7391 - Let rpy recursively parse filter options to dicts Repository: https://hg.adblockplus.org/python-abp Base revision: 43e9e9e7ecdd

Patch Set 1 #

Total comments: 17

Patch Set 2 : Address comments on Patch Set 1 and bug fixes #

Total comments: 2

Patch Set 3 : Removed OrderedDict #

Patch Set 4 : Remove all OrderedDicts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -6 lines) Patch
M abp/filters/rpy.py View 1 2 3 chunks +24 lines, -2 lines 0 comments Download
M tests/test_rpy.py View 1 2 3 3 chunks +18 lines, -4 lines 0 comments Download

Messages

Total messages: 9
rhowell
March 21, 2019, 11:12 p.m. (2019-03-21 23:12:33 UTC) #1
Vasily Kuznetsov
Hi Rosie, The general direction looks good. I have some comments on the details (see ...
March 22, 2019, 12:17 p.m. (2019-03-22 12:17:05 UTC) #2
sporz
Feedback about tuple2dict. https://codereview.adblockplus.org/30031558/diff/30031559/abp/filters/rpy.py File abp/filters/rpy.py (right): https://codereview.adblockplus.org/30031558/diff/30031559/abp/filters/rpy.py#newcode45 abp/filters/rpy.py:45: result['domain'] = parse_options(result.get('domain')) Thank you Vasily ...
March 25, 2019, 5:30 p.m. (2019-03-25 17:30:03 UTC) #3
rhowell
Hi Vasily and Stephan! Thanks for the feedback! Hope this looks a bit better now. ...
March 27, 2019, 7:14 p.m. (2019-03-27 19:14:07 UTC) #4
Vasily Kuznetsov
Hi Rosie! I'm pretty happy with this implementation and just have a small readability nit. ...
April 2, 2019, 5:36 p.m. (2019-04-02 17:36:22 UTC) #5
rhowell
Hi Vasily! I believe Stephan is using Python 3, but I'm not sure about the ...
April 9, 2019, 12:47 a.m. (2019-04-09 00:47:39 UTC) #6
Vasily Kuznetsov
Hi Rosie! > Should the OrderedDict also be removed from the test? It seems we'd ...
April 9, 2019, 8:10 p.m. (2019-04-09 20:10:30 UTC) #7
rhowell
On 2019/04/09 20:10:30, Vasily Kuznetsov wrote: > Hi Rosie! > > > Should the OrderedDict ...
April 12, 2019, 6:30 p.m. (2019-04-12 18:30:39 UTC) #8
Vasily Kuznetsov
April 15, 2019, 4:38 p.m. (2019-04-15 16:38:18 UTC) #9
Hi Rosie!

LGTM.

Cheers,
Vasily

Powered by Google App Engine
This is Rietveld