Steve Dower <steve.do...@python.org> added the comment:

> GetLastError() docs officially scare us

I believe this is a case where the docs were updated from intended/correct 
behavior to actual behavior, which happens from time to time and is never 
clearly marked.

As I say, they are _supposed_ to leave the error unchanged unless they return a 
value that indicates an error occurred, but some APIs behave incorrectly. The 
docs are simply documenting that fact. (It turns out reality is more useful 
than fantasy ;) though I do wish they were clearer about that)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33030>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to