Mercurial > cpython-lru_cache-weakref
comparison Python/pythonrun.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 | 708c8c5fc173 |
| children | 4417ab5b351e |
comparison
equal
deleted
inserted
replaced
| 42447:3fe57daaa608 | 42454:648577cc688a |
|---|
