Tackle some low-hanging fruit in "test_grammar.py"
See original GitHub issueThe latest copy of the CPython grammar tests in test_grammar.py has several @skip
s and FIXME
s. Some of them seem easy to fix, e.g. some parser bugs or missing warnings that would be helpful, others are entire features. We should fix the easy ones and make sure there are tickets for the rest.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Low-hanging fruit Idiom Definition
The expression low-hanging fruit is used to describe an action that takes almost no effort. The idea comes from the very literal task...
Read more >Tackle the Low-Hanging Fruit: How I Used Marketing ...
Today, I want to walk you through how I ran some of my first conversion optimization tests – and got results well beyond...
Read more >What Is A Low Hanging Fruit Ep 263
The expression **low-hanging fruit** is used to describe achieving a result with little effort. This English phrase is something you might ...
Read more >Low Hanging Fruit: A Full Guide To Find & Profit From It
The concept of low-hanging fruit means a quick win. Literally speaking, low-hanging fruit is the fruit that is found on the lower branches...
Read more >What Is the Meaning of Low-Hanging Fruit in Business?
Some of the goals you set for your organization will be easier to achieve than others. For example, if you've completed a customer...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry, the “FIXME” in
use_old_parser()
is actually a FIXME from CPython (hopefully the only one), not from Cython. The test file is copied from the CPython test suite. Nothing to fix here.Note that you need to debug Cython itself here, not the test that it compiles.
For debugging, I suggest copying the failing code out of the module and running it through Cython manually, rather than always compiling the huge file completely and trying to end up in the right spot to debug it.
@zdutta Thinking about it more, I think that
test_grammar.py
is compiled in Cython rather than run as a regular Python module. I wouldn’t expect the debugger to work on it.I think there are some methods to debug Cython code but I’ve never really tried using them myself (and I especially don’t know how to do them with the test-suite). Sorry!