-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backlog #81
Backlog #81
Conversation
src/hunter/__init__.py
Outdated
return self | ||
|
||
|
||
_Backlog.filter = _backlog_filter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can't use tricks like this as it would prevent a certain class of optimizations in the future Cython implementation. Everything needs to be implemented in the predicate class (a filter method that just copies itself + the filter args - it only needs to import Q locally).
I've added an integration tests that expects two backlog set of outputs (it fails because of the use fo the However this reveals a problem with how the indentation is or could be managed. While on the first output the indentation will be fine ... on the second output from the backlog the indentation will be all wrong since there aren't any matching return events from the first backlog output. It would looks like this:
So given this problem that is not easy to solve perhaps it's not even worth trying to address consistent identation. Without any indentation sharing or action instance sharing:
|
Codecov Report
@@ Coverage Diff @@
## master #81 +/- ##
==========================================
- Coverage 82.09% 78.39% -3.71%
==========================================
Files 13 13
Lines 1960 2064 +104
Branches 255 274 +19
==========================================
+ Hits 1609 1618 +9
- Misses 319 402 +83
- Partials 32 44 +12
Continue to review full report at Codecov.
|
Need to figure out the uncovered corner-cases and the we can proceed with the Cython implementation. |
…sues. Not anymore...
…in C-to-C calls).
…ting problems like frames and other things missing on the copied events.
Rebased. |
#78