[issue40517] Syntax highlighting for ASDL

2020-05-07 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Thank you all for your reviews for styling, also I have to thank https://github.com/CyberSaxosTiGER for his external reviews on the color scheme. -- ___ Python tracker ___

[issue40517] Syntax highlighting for ASDL

2020-05-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the contribution. It looks much nicer than what we had before. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 ___ Python tracker

[issue40517] Syntax highlighting for ASDL

2020-05-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset b7a78ca74ab539943ab11b5c4c9cfab7f5b7ff5a by Batuhan Taskaya in branch 'master': bpo-40517: Implement syntax highlighting support for ASDL (GH-19967) https://github.com/python/cpython/commit/b7a78ca74ab539943ab11b5c4c9cfab7f5b7ff5a -

[issue40517] Syntax highlighting for ASDL

2020-05-07 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: I've updated the PR with bold_dark_blue.png changes. -- ___ Python tracker ___ ___ Python-bugs-l

[issue40517] Syntax highlighting for ASDL

2020-05-07 Thread Zachary Ware
Zachary Ware added the comment: I say merge it :) -- nosy: +zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue40517] Syntax highlighting for ASDL

2020-05-07 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: I've found a bold dark blue, which I guess suits both your and @terry.reedy recommendations. How does bold_dark_blue.png looks? -- Added file: https://bugs.python.org/file49138/bold_dark_blue.png ___ Python tracke

[issue40517] Syntax highlighting for ASDL

2020-05-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for producing the comparison panel. In side-by-side views, python_bold.png looks best to me with asdl2.png as a close second. -- ___ Python tracker _

[issue40517] Syntax highlighting for ASDL

2020-05-06 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > I tried both a laptop and desktop and slightly prefer unbolded. How about a > darker blue? Sorry but I have no control over styles. They are pre-defined, I only change the token type and pygments handles the rest of it. I dont know if such a color exist

[issue40517] Syntax highlighting for ASDL

2020-05-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I tried both a laptop and desktop and slightly prefer unbolded. How about a darker blue? -- ___ Python tracker ___

[issue40517] Syntax highlighting for ASDL

2020-05-06 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Attaching 2 different styles python_bold.png (module is bold) and asdl_no_style.png (module has no style) -- Added file: https://bugs.python.org/file49135/python_bold.png ___ Python tracker

[issue40517] Syntax highlighting for ASDL

2020-05-06 Thread Batuhan Taskaya
Change by Batuhan Taskaya : Added file: https://bugs.python.org/file49136/asdl_no_style.png ___ Python tracker ___ ___ Python-bugs-list mail

[issue40517] Syntax highlighting for ASDL

2020-05-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I don't like the red Python in asdl2. Just black, perhaps bold, would be better. Also I like the darker blue in asdl.py, bold or not. Better contrast to me from the greens. But I agree that grape is too clashy. -- nosy: +terry.reedy

[issue40517] Syntax highlighting for ASDL

2020-05-06 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: (by the way, I did not push this change. I'll push it when you think it is ready) -- ___ Python tracker ___ ___

[issue40517] Syntax highlighting for ASDL

2020-05-06 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Unfortunately there aren't many `bold` type tokens I can use, so I had to change color of module . If you wish I can make both class names and `Python` bold, or keep it in this way. -- Added file: https://bugs.python.org/file49134/asdl2.png ___

[issue40517] Syntax highlighting for ASDL

2020-05-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: The new screenshot looks nice. The colors are much better. Can you post another run with the class names in bold. -- ___ Python tracker ___

[issue40517] Syntax highlighting for ASDL

2020-05-06 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- pull_requests: +19282 pull_request: https://github.com/python/cpython/pull/19967 ___ Python tracker ___ _

[issue40517] Syntax highlighting for ASDL

2020-05-06 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Hey Raymond, can you give me your feedback on asdl.png (the screenshot of new theme)? -- Added file: https://bugs.python.org/file49133/asdl.png ___ Python tracker

[issue40517] Syntax highlighting for ASDL

2020-05-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: Sorry about the commit/revert. I fat fingered a comment. Please do resubmit the PR. In general, this is a nice idea. The look just needs to be tweaked a bit. -- ___ Python tracker

[issue40517] Syntax highlighting for ASDL

2020-05-06 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Oh, sorry for that bad look :/ I just want it to look consistent, let me see what I can do further (I'll probably consult a friend of mine who understand this things). By the way, I could've just adjust the values over the existing code if you didn't revert

[issue40517] Syntax highlighting for ASDL

2020-05-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: I really like this idea but it needs different styling. Attaching a screen shot will significant readability and beauty issues. Suggest: * Boldfacethe class names (Module, Interactive, etc) * Unboldface the fields names (body, types_ignores, argtypes, etc

[issue40517] Syntax highlighting for ASDL

2020-05-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset eff870b618ca6f6b7a60a271f15af7e54b8a1b97 by Raymond Hettinger in branch 'master': Revert "bpo-40517: Implement syntax highlighting support for ASDL (#19928)" (#19950) https://github.com/python/cpython/commit/eff870b618ca6f6b7a60a271f15af7e54

[issue40517] Syntax highlighting for ASDL

2020-05-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset d60040ba226bd2e3b6f58d074015aa2499dc1cb8 by Batuhan Taskaya in branch 'master': bpo-40517: Implement syntax highlighting support for ASDL (#19928) https://github.com/python/cpython/commit/d60040ba226bd2e3b6f58d074015aa2499dc1cb8 --

[issue40517] Syntax highlighting for ASDL

2020-05-05 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +19265 pull_request: https://github.com/python/cpython/pull/19950 ___ Python tracker ___ ___

[issue40517] Syntax highlighting for ASDL

2020-05-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: +1 -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40517] Syntax highlighting for ASDL

2020-05-05 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +19243 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19928 ___ Python tracker ___

[issue40517] Syntax highlighting for ASDL

2020-05-05 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : ASDL is around here for a long time, and it was showed as raw text on documentation (under library/ast), IMHO it would be great to highlight it. -- assignee: docs@python components: Documentation messages: 368148 nosy: BTaskaya, docs@python, eric.a