flask/flask
cclauss 47bdf9f26f
_compat.py: Use feature detection instead of version detection
When run on Python 3, linters such as Pylint and Flake8 will correctly flag __unicode__ and __long__ as _undefined names_ because _compat.py does not currently follow the Python porting best practice [___use feature detection instead of version detection___](https://docs.python.org/3/howto/pyporting.html#use-feature-detection-instead-of-version-detection).  This PR allows this project to pass those tests without adding any linter directives.
2019-01-25 09:44:29 +01:00
..
json Fix index example for TaggedJSONSerializer.register() 2018-04-19 14:16:11 +01:00
__init__.py 🔥 Remove code supposed to be removed at v1.0 2018-06-27 08:23:44 -03:00
__main__.py revert copyright year to project start 2018-02-08 12:43:30 -08:00
_compat.py _compat.py: Use feature detection instead of version detection 2019-01-25 09:44:29 +01:00
app.py Merge remote-tracking branch 'origin/1.0-maintenance' 2019-01-07 10:00:10 -08:00
blueprints.py add more merge cases 2018-05-01 13:29:48 -07:00
cli.py Merge branch '1.0-maintenance' 2019-01-06 16:33:17 -08:00
config.py document that Config.from_object uses object as-is 2019-01-06 14:34:05 -08:00
ctx.py Handle errors during create_url_adapter 2018-11-12 16:59:09 -05:00
debughelpers.py revert copyright year to project start 2018-02-08 12:43:30 -08:00
globals.py rework context docs 2018-04-09 00:02:38 -07:00
helpers.py Merge remote-tracking branch 'origin/1.0-maintenance' 2019-01-07 10:00:10 -08:00
logging.py revert copyright year to project start 2018-02-08 12:43:30 -08:00
sessions.py Fix DeprecationWarning on collections import 2019-01-06 10:04:00 -08:00
signals.py revert copyright year to project start 2018-02-08 12:43:30 -08:00
templating.py revert copyright year to project start 2018-02-08 12:43:30 -08:00
testing.py rework context docs 2018-04-09 00:02:38 -07:00
views.py revert copyright year to project start 2018-02-08 12:43:30 -08:00
wrappers.py add Response.max_cookie_size config 2018-04-10 11:17:18 -07:00