Issue 1234057: PEP 343 draft documentation (original) (raw)

Issue1234057

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/42168

classification

Title: PEP 343 draft documentation
Type: Stage:
Components: Documentation Versions: Python 2.5

process

Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: rhettinger Nosy List: ncoghlan, rhettinger
Priority: normal Keywords: patch

Created on 2005-07-07 09:34 by ncoghlan, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
pep-343-documentation.txt ncoghlan,2005-07-09 01:02 Draft PEP 343 documentation v.3
Messages (5)
msg48572 - (view) Author: Alyssa Coghlan (ncoghlan) * (Python committer) Date: 2005-07-07 09:34
Draft documentation for PEP 343's new 'with' statement, describing the operation in terms of contexts and context management. Uses __enter__/__exit__, as that is what currently has the BDFL's blessing via the approval of PEP 343. Requires addition of formatting codes before it can be included in the official documentation.
msg48573 - (view) Author: Alyssa Coghlan (ncoghlan) * (Python committer) Date: 2005-07-08 14:15
Logged In: YES user_id=1038590 New file attached - Update with PJE's HTML example - Show resource management example (synchronisation lock) - Show usage of closing() (including 'as' clause) - Fix a couple of typos
msg48574 - (view) Author: Alyssa Coghlan (ncoghlan) * (Python committer) Date: 2005-07-09 01:02
Logged In: YES user_id=1038590 v.3 - added decimal.getcontext() example - added non-generator version of closing() example - added generator version of tag() example
msg48575 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2005-07-12 03:11
Logged In: YES user_id=80475 I'm happy to review the docs but it will likely take a week for me to get to it.
msg48576 - (view) Author: Alyssa Coghlan (ncoghlan) * (Python committer) Date: 2006-04-12 10:33
Logged In: YES user_id=1038590 PEP 343 has been implemented, and the docs updated appropriately.
History
Date User Action Args
2022-04-11 14:56:12 admin set github: 42168
2005-07-07 09:34:26 ncoghlan create