[Python-Dev] Make stacklevel=2 by default in warnings.warn() (original) (raw)
Serhiy Storchaka storchaka at gmail.com
Sun Sep 20 09:20:07 CEST 2015
- Previous message (by thread): [Python-Dev] Make stacklevel=2 by default in warnings.warn()
- Next message (by thread): [Python-Dev] Make stacklevel=2 by default in warnings.warn()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
субота, 19-вер-2015 23:55:44 Nathaniel Smith написано:
OTOH I guess if there is anyone out there who's intentionally using stacklevel=1 they might be reasonably surprised at this change.
That is why I ask on Python-Dev instead of just open an issue.
But I doubt that there is such case.
- Previous message (by thread): [Python-Dev] Make stacklevel=2 by default in warnings.warn()
- Next message (by thread): [Python-Dev] Make stacklevel=2 by default in warnings.warn()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]