Issue1234057
Created on 2005-07-07 09:34 by ncoghlan, last changed 2006-04-12 10:33 by ncoghlan.
| File name |
Uploaded |
Description |
Edit |
Remove |
|
pep-343-documentation.txt
|
ncoghlan,
2005-07-09 01:02
|
Draft PEP 343 documentation v.3 |
|
|
|
msg48572 - (view) |
Author: Nick Coghlan (ncoghlan) |
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: Nick Coghlan (ncoghlan) |
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: Nick Coghlan (ncoghlan) |
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) |
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: Nick Coghlan (ncoghlan) |
Date: 2006-04-12 10:33 |
|
Logged In: YES
user_id=1038590
PEP 343 has been implemented, and the docs updated
appropriately.
|
|
| Date |
User |
Action |
Args |
| 2005-07-07 09:34:26 | ncoghlan | create | |
|