Nick Coghlan added the comment:

No, it wouldn't, as ExitStack() does far more than merely implement a null 
context.

It would be like adding "nulliterable = ()" as a builtin, rather than just 
telling people "If you need a null iterable, use an empty tuple".

----------

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

Reply via email to