Mercurial > cpython-lru_cache-weakref
diff Python/Python-ast.c @ 42454:648577cc688a legacy-trunk
Handle errors when generating a warning.
The value is always written to the returned pointer if getting it was
successful, even if a warning causes an error. (This probably doesn't matter
as the caller will probably discard the value.)
Will backport.
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Sun, 05 Aug 2007 03:23:31 +0000 |
| parents | 0376f13a1af9 |
| children | 393822f2ef90 |
