New submission from Éric Araujo <mer...@netwok.org>: The docs contain numerous examples that would trigger resource warnings under 3.2 (for example “open(...).read()”). They should be changed to use (and thus promote) the with statement.
Not adding the “easy” keyword, since grepping for those things is not easy. Not sure we’ll backport that to 3.1 and 2.7. ---------- assignee: d...@python components: Documentation messages: 121545 nosy: d...@python, eric.araujo priority: normal severity: normal stage: needs patch status: open title: Use with statement throughout the docs versions: Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10461> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com