Skip to main content

Hack to set the BytesWarning flag in environments where you can't pass

Project description

arguments to the python interpreter, (like uwsgi)

Home-page: https://github.com/davidszotten/bytes-warning Author: David Szotten Author-email: davidszotten@gmail.com License: UNKNOWN Description: # Bytes-warning

Hack to set the BytesWarning flag in environments where you can’t pass arguments to the python interpreter, (like uwsgi)

## Installation

$ pip install bytes_warning

## Usage

import warnings, bytes_warning bytes_warning.set_flag(1) warnings.filterwarnings(‘default’, category=BytesWarning)

## License

MIT

Platform: UNKNOWN Classifier: Programming Language :: Python :: 3 Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Description-Content-Type: text/markdown

Project details


Release history Release notifications

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for bytes-warning, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size bytes-warning-0.1.tar.gz (1.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page