Stefan Behnel <stefan...@behnel.de> added the comment:

I just remembered that it's usually helpful to return the previous state, so 
that callers know whether they need to re-enable or disable the GC when they're 
done. I'll add that.

Also, returning an "int" may allow us to add a "-1" error code at some point, 
if it turns out to become necessary.

----------

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

Reply via email to