Mercurial > p > roundup > code
view roundup/anypy/README.txt @ 5636:528b902f98fc
Make pretty print mode the default. Turn off using pretty=false. This
makes use by humans (e.g. in browser) or printing when debugging
easier. With gzip and other compression the extra whitespace is not a
major issue.
Idea from:
https://www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api#pretty-print-gzip
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 07 Mar 2019 18:08:32 -0500 |
| parents | 868db43b302a |
| children |
line wrap: on
line source
roundup.anypy package - Python version compatibility layer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Roundup currently supports Python 2.3 to 2.6; however, some modules have been introduced, while others have been deprecated. The modules in this package provide the functionalities which are used by Roundup - adapting the most recent Python usage - using new built-in functionality - avoiding deprecation warnings Use the modules in this package to preserve Roundup's compatibility. # vim: si
