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

SourceForge.net noreply at sourceforge.net
Wed Apr 12 12:33:56 CEST 2006


Patches item #1234057, was opened at 2005-07-07 19:34
Message generated for change (Comment added) made by ncoghlan
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: Closed
>Resolution: Out of Date
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: Nick Coghlan (ncoghlan)
Date: 2006-04-12 20:33

Message:
Logged In: YES 
user_id=1038590

PEP 343 has been implemented, and the docs updated
appropriately.

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

Comment By: Raymond Hettinger (rhettinger)
Date: 2005-07-12 13: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-09 11: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-09 00: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