flask/flask
Martijn Pieters ec0d208bc1 Switch away from using None as default value for the exception when tearing down a context.
When an exception has been handled when using the request / app context in a with statement, `sys.exc_info()` will still contain the exception information even though it has been handled already. The `__exit__` methods pass in `None` for the exception value in that case, which needs to be distinguisable from the default value for the `exc` parameter. Use a dedicated singleton sentinel value instead.
2015-03-23 15:17:19 +00:00
..
ext Happy New Year 2015 2015-01-02 11:35:00 +09:00
__init__.py Merge pull request #1341 from ThiefMaster/pep-440-dev-version 2015-02-06 18:03:41 +01:00
__main__.py Happy New Year 2015 2015-01-02 11:35:00 +09:00
_compat.py Happy New Year 2015 2015-01-02 11:35:00 +09:00
app.py Switch away from using None as default value for the exception when tearing down a context. 2015-03-23 15:17:19 +00:00
blueprints.py Happy New Year 2015 2015-01-02 11:35:00 +09:00
cli.py Happy New Year 2015 2015-01-02 11:35:00 +09:00
config.py Happy New Year 2015 2015-01-02 11:35:00 +09:00
ctx.py Switch away from using None as default value for the exception when tearing down a context. 2015-03-23 15:17:19 +00:00
debughelpers.py Happy New Year 2015 2015-01-02 11:35:00 +09:00
exthook.py Happy New Year 2015 2015-01-02 11:35:00 +09:00
globals.py Happy New Year 2015 2015-01-02 11:35:00 +09:00
helpers.py Untangle logic a bit 2015-03-05 22:00:27 +01:00
json.py Add datetime.date support to JSONEncoder 2015-01-23 07:44:17 -06:00
logging.py Happy New Year 2015 2015-01-02 11:35:00 +09:00
sessions.py Happy New Year 2015 2015-01-02 11:35:00 +09:00
signals.py Happy New Year 2015 2015-01-02 11:35:00 +09:00
templating.py Happy New Year 2015 2015-01-02 11:35:00 +09:00
testing.py Happy New Year 2015 2015-01-02 11:35:00 +09:00
views.py Happy New Year 2015 2015-01-02 11:35:00 +09:00
wrappers.py Remove unused import and clean control flow 2015-03-05 13:26:59 -05:00