Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Add floats to quark 2 #264

Merged
merged 13 commits into from
Dec 6, 2016
Merged

Add floats to quark 2 #264

merged 13 commits into from
Dec 6, 2016

Conversation

itamarst
Copy link
Contributor

@itamarst itamarst commented Dec 5, 2016

No description provided.

try:
self.symbols.define(node)
except:
self.errors.add("Error at " + node.location)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the catchall? Is this necessary anymore?

except QuarkError, e:
return e
except:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same question about the catchall here.

@@ -439,6 +439,12 @@ def __call__(self, *args, **kwargs):
return compiled.apply(self.object, *args, **kwargs)
except MatchError, e:
raise TypeError("%s.%s() %s" % (self.clazz.__name__, self.dispatcher.name, e))
except:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this catchall is also unnecessary.

@itamarst itamarst merged commit 3a15b9e into q2 Dec 6, 2016
@itamarst itamarst deleted the itamarst/q2-floats branch December 6, 2016 15:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants