]> granicus.if.org Git - python/commit
Fix incorrect stacklevel for DeprecationWarnings originating from the struct module.
authorMark Dickinson <dickinsm@gmail.com>
Fri, 5 Mar 2010 14:36:20 +0000 (14:36 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Fri, 5 Mar 2010 14:36:20 +0000 (14:36 +0000)
commit1c0c78c61f440de7187f62ecdd1cc828f0a2e95e
treeecd9c92d3e4533795ee8704e00cd4ffe8a9e9fdd
parent3bbb67273a8c146a38de91080a37e716e2699622
Fix incorrect stacklevel for DeprecationWarnings originating from the struct module.
Also clean up related tests in test_struct.
The stacklevel fix should be backported to 2.6 once that branch is unfrozen.
Lib/test/test_struct.py
Modules/_struct.c