[issue20615] Replace PyDict_GetItem() with PyDict_GetItemWithError()

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: Sorry, I lost track of this issue, so I just close it. -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker _

[issue20615] Replace PyDict_GetItem() with PyDict_GetItemWithError()

2014-02-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: Please, no more big red warnings. Keep the docs factual and straight-forward. In the docs for PyDict_GetItem(), note that errors will get suppressed. To get error reporting use PyDict_GetItemWithError() instead. -- nosy: +rhettinger _

[issue20615] Replace PyDict_GetItem() with PyDict_GetItemWithError()

2014-02-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue20615] Replace PyDict_GetItem() with PyDict_GetItemWithError()

2014-02-13 Thread STINNER Victor
New submission from STINNER Victor: See this huge warning in the definition of PyDict_GetItem: /* Note that, for historical reasons, PyDict_GetItem() suppresses all errors * that may occur (originally dicts supported only string keys, and exceptions * weren't possible). So, while the original