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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file bytes-warning-0.1.tar.gz
.
File metadata
- Download URL: bytes-warning-0.1.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8313a7fd214f3f7418592b960bf2168ce5934b5e51acffda130ee68ad4eb309b |
|
MD5 | d1dc3926390aad286f52f54908d0936d |
|
BLAKE2b-256 | 521127a13b74856eb9e5e6a93a76882a20109f234c25a13ced53f79442b389d7 |