Skip to content
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

Use callable() instead of try/except TypeError #319

Merged
merged 1 commit into from
Feb 19, 2020

Conversation

denizdogan
Copy link
Contributor

It seemed unnecessary to use try/except TypeError when checking if a value is callable, let me know what you think!

@denizdogan
Copy link
Contributor Author

As far as I can tell, the CI failures are unrelated to the changes I made.

@waltjones
Copy link
Contributor

@denizdogan Try rebasing master. #328 should have fixed the Travis issues.

@denizdogan denizdogan force-pushed the use-callable-not-exceptions branch from 7d84053 to 3f963ac Compare February 19, 2020 07:53
@denizdogan
Copy link
Contributor Author

@waltjones It seems to fail with the message: "Unable to download 3.3 archive. The archive may not exist. Please consider a different version."

Just out of curiosity, how long is Rollbar planning on supporting Python 3.3? It reached end-of-life more than two years ago and will no longer receive security updates.

@denizdogan
Copy link
Contributor Author

Oh, it seems to work now? Weird. :)

@waltjones
Copy link
Contributor

@denizdogan Rollbar will usually continue support for EOL versions if it's feasible to do so, if it's recently EOL, and if there are still people using it. I thought about whether to drop 3.3 yet, but the updates needed to keep it in travis weren't a big deal.

Thank you for the PR and the rebase.

@waltjones waltjones merged commit 6d24890 into rollbar:master Feb 19, 2020
@denizdogan denizdogan deleted the use-callable-not-exceptions branch February 20, 2020 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants