Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(50)

Issue 9491043: EmeraldTree: test cases and files ported to python 3 with backward compatibility

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by chitrankdixit
Modified:
11 years, 6 months ago
Reviewers:
thomas.j.waldmann, Reimar Bauer
Visibility:
Public.

Description

EmeraldTree: test cases and files ported to python 3 with backward compatibility

Patch Set 1 #

Total comments: 9
Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -14 lines) Patch
M emeraldtree/html.py View 1 chunk +8 lines, -3 lines 4 comments Download
M emeraldtree/tests/test_html.py View 1 chunk +5 lines, -2 lines 2 comments Download
M emeraldtree/tests/test_tree.py View 1 chunk +4 lines, -1 line 1 comment Download
M emeraldtree/tree.py View 8 chunks +8 lines, -8 lines 2 comments Download

Messages

Total messages: 2
Thomas.J.Waldmann
https://codereview.appspot.com/9491043/diff/1/emeraldtree/html.py File emeraldtree/html.py (right): https://codereview.appspot.com/9491043/diff/1/emeraldtree/html.py#newcode39 emeraldtree/html.py:39: from html.parser import HTMLParser as HTMLParserBase six has tools ...
11 years, 6 months ago (2013-05-20 16:23:48 UTC) #1
chitrankdixit
11 years, 6 months ago (2013-05-21 01:57:29 UTC) #2
https://codereview.appspot.com/9491043/diff/1/emeraldtree/html.py
File emeraldtree/html.py (right):

https://codereview.appspot.com/9491043/diff/1/emeraldtree/html.py#newcode39
emeraldtree/html.py:39: from html.parser import HTMLParser as HTMLParserBase
I would use six but can not we make the code general and avoid using extra
module.

On 2013/05/20 16:23:48, Thomas.J.Waldmann wrote:
> six has tools for these cases.

https://codereview.appspot.com/9491043/diff/1/emeraldtree/html.py#newcode41
emeraldtree/html.py:41: 
Sorry for the tabs I'll fix it up

On 2013/05/20 16:23:48, Thomas.J.Waldmann wrote:
> you still use tabs. don't!

https://codereview.appspot.com/9491043/diff/1/emeraldtree/tests/test_html.py
File emeraldtree/tests/test_html.py (right):

https://codereview.appspot.com/9491043/diff/1/emeraldtree/tests/test_html.py#...
emeraldtree/tests/test_html.py:9: from io import StringIO
Probably using six is better choice sorry for my wrong understanding in porting.

On 2013/05/20 16:23:48, Thomas.J.Waldmann wrote:
> six has that, too
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b