[Patches] [ python-Patches-1234057 ] PEP 343 draft documentation

SourceForge.net noreply at sourceforge.net
Tue Jul 12 05:11:26 CEST 2005


Patches item #1234057, was opened at 2005-07-07 04:34
Message generated for change (Comment added) made by rhettinger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1234057&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Nick Coghlan (ncoghlan)
Assigned to: Raymond Hettinger (rhettinger)
Summary: PEP 343 draft documentation

Initial Comment:
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.

----------------------------------------------------------------------

>Comment By: Raymond Hettinger (rhettinger)
Date: 2005-07-11 22:11

Message:
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.

----------------------------------------------------------------------

Comment By: Nick Coghlan (ncoghlan)
Date: 2005-07-08 20:02

Message:
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

----------------------------------------------------------------------

Comment By: Nick Coghlan (ncoghlan)
Date: 2005-07-08 09:15

Message:
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

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1234057&group_id=5470


More information about the Patches mailing list