]> granicus.if.org Git - python/commit
Fix a bug in the handling of the stacklevel argument in warnings.warn() where
authorBrett Cannon <bcannon@gmail.com>
Tue, 6 May 2008 04:37:31 +0000 (04:37 +0000)
committerBrett Cannon <bcannon@gmail.com>
Tue, 6 May 2008 04:37:31 +0000 (04:37 +0000)
commite3dcb01bfc6bd14da865b0f28c3c9ad8181ab212
treea86b4bafd50bc3a309efa1b01451d64ec61c1be0
parent0b7f77847a878a84c2b928e72372b4d5b44b870c
Fix a bug in the handling of the stacklevel argument in warnings.warn() where
the stack was being unwound by two levels instead of one each time.
Lib/test/test_warnings.py
Python/_warnings.c