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

Some modules use the warnings API. #750

Merged
merged 1 commit into from
Jan 5, 2015
Merged

Conversation

athoune
Copy link
Contributor

@athoune athoune commented Oct 16, 2014

I struggle with pymongo, this module use the warnings API:
https://docs.python.org/2.7/library/warnings.html?highlight=warnings#module-warnings

The multi threaded Diamond architecture doesn't allow to use STDOUT or STDERR.

The logging API can capture warnings messages:
https://docs.python.org/2.7/library/logging.html#logging.captureWarnings

kormoc added a commit that referenced this pull request Jan 5, 2015
Some modules use the warnings API.
@kormoc kormoc merged commit 2aa0a2b into BrightcoveOS:master Jan 5, 2015
@kormoc
Copy link
Contributor

kormoc commented Jan 5, 2015

Thanks!

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