Commit Graph

2158 Commits

Author SHA1 Message Date
Guido van Rossum 1b6c373966 Fix two examples that were broken by the new semantics. 2006-02-28 22:49:15 +00:00
Neal Norwitz a0a335673a Raymond pointed out {}.has_key was not slated for removal 2006-02-28 21:52:10 +00:00
Neal Norwitz afdd996d22 Minor detail about the warning 2006-02-28 21:13:18 +00:00
Guido van Rossum d8e895c878 Clarify the expanded code -- exc is just used as a flag. 2006-02-28 21:05:40 +00:00
Guido van Rossum f038797f00 Change the PEP to add that __exit__() must re-raise the exception
passed in, if any.  This appears to be a deviation from how the PEP
was originally seen; but I think it's essential to be able to make a
simple promise about generators decorated with @contextmanager.

Added the transition plan and the __future__ statement.

Also some miscellaneous cleanup.
2006-02-28 20:58:17 +00:00
Guido van Rossum 12bffcefbe Mention dropping aquire_lock as an alias for acquire, etc. 2006-02-28 20:56:18 +00:00
Neal Norwitz 690f5c7e75 Oops, Thomas finished the __future__ support. 2006-02-28 20:05:04 +00:00
Neal Norwitz 4271cdc07b Status update 2006-02-28 19:57:16 +00:00
Neal Norwitz 7abb173d4b Finally spell parens write (I think). 2006-02-28 17:18:37 +00:00
Neal Norwitz c2c6013283 Guido decided to remove slicing opcodes (from Jeremy's mail about slicing bugs
in the new AST).
Found some more MACROs to remove.
2006-02-28 16:57:49 +00:00
Guido van Rossum 53c1f1795e Change the translation slightly.
ctx.__exit__ is now bound before ctx.__enter__;
ctx.__enter__ is still called before the try-block
is entered, but VAR is assigned *inside* the try-block.
Clarify what happens to break, continue, return.
2006-02-27 21:08:43 +00:00
Neal Norwitz dc9835bebb Add note about cleaning up namespace 2006-02-27 18:29:14 +00:00
Neal Norwitz ee1191f906 Try to clarify parens a bit 2006-02-27 17:38:27 +00:00
Neal Norwitz baa6e3c955 MvL added _ast module 2006-02-27 17:19:00 +00:00
Neal Norwitz fb21dca761 Update status, Thomas did 308 2006-02-27 17:11:57 +00:00
Neal Norwitz 41ae421a05 Add note from 308 2006-02-27 17:11:04 +00:00
Guido van Rossum df7a33afb0 PEP 308 is final. A great many thanks go to Thomas Wouters! 2006-02-27 16:55:05 +00:00
Neal Norwitz 3e2085f82e Minor updates 2006-02-27 16:26:26 +00:00
Guido van Rossum 3eed115841 Clarify the new syntax and note a backwards incompatibility. 2006-02-26 19:47:55 +00:00
Neal Norwitz 78e4ec3a47 What the hell, speed up the schedule by a month.
Update status and add some more details.
2006-02-26 15:36:50 +00:00
David Goodger f7ec3048fd patch from Paul Moore 2006-02-24 22:47:18 +00:00
David Goodger f242f9b082 deferred PEP 315 at Raymond Hettinger's request 2006-02-24 22:43:04 +00:00
Neal Norwitz 617a80e2ac I posted a message on python-dev about removing support for Windows 9x
in Python 2.6.  2.5 will display a warning message on unsupported systems.
2006-02-24 17:47:22 +00:00
Georg Brandl 586cb2249c CVS -> SVN 2006-02-22 22:02:13 +00:00
Georg Brandl 662dbe7c31 CVS is now SVN 2006-02-22 22:01:02 +00:00
Neil Schemenauer 61b80831fe Reformat. 2006-02-22 20:49:37 +00:00
Neil Schemenauer 2da9d64f5e Add PEP 358 to index. 2006-02-22 20:43:33 +00:00
Neil Schemenauer cd7901e86e Add 'The "bytes" object' PEP. 2006-02-22 20:40:03 +00:00
Guido van Rossum b92889b332 Travis's changes. 2006-02-22 04:00:18 +00:00
Georg Brandl 04878ba988 Add ``multifile`` to PEP 4. 2006-02-21 19:22:02 +00:00
Neal Norwitz 80bb3418b1 Fix a few small issues. opening() is introduced later. 2006-02-20 22:24:44 +00:00
Brett Cannon aa6acdbce6 Add removal of dict.setdefault() 2006-02-19 07:10:16 +00:00
Neal Norwitz f42160765a Correct versions since this PEP was not implemented in 2.4 2006-02-19 03:29:42 +00:00
Neal Norwitz dcbb9e2182 Minor additions that are hopefully fixed sooner 2006-02-18 20:32:56 +00:00
Nick Coghlan 7e4f8246cd Reduce public API to just runpy.run_module 2006-02-17 15:17:21 +00:00
Georg Brandl 05deb96f48 Update PEP 4 with documentation changes. 2006-02-17 11:56:02 +00:00
Thomas Heller c84414c86c Mention ctypes. 2006-02-16 10:51:57 +00:00
Neal Norwitz b86948b7f6 Yay for Anthony 2006-02-16 06:54:37 +00:00
Neal Norwitz 7ecd8bd1d7 MvL merged PEP 353, Thomas is in the volunteering spirit. 2006-02-16 05:47:52 +00:00
Neal Norwitz cefee74ab7 Add some RM helpers 2006-02-16 05:42:56 +00:00
Neal Norwitz a7a9efd39c There is nothing to remove based on PEP 11 2006-02-16 05:26:50 +00:00
Neal Norwitz f0c3f46626 MAL says this option should go away in bug report 874534:
The reason for the removal is that the option causes
    semantical problems and makes Unicode work in non-standard
    ways on platforms that use locale-aware extensions to the
    wc-type functions.

Since it wasn't previously announced, we can keep the option until 2.6
unless someone feels strong enough to rip it out.
2006-02-16 05:25:37 +00:00
Guido van Rossum c0041fee26 Oops. I meant to accept 353 (ssize_t), not yet 357 (__index__). 2006-02-16 00:03:47 +00:00
Guido van Rossum c2c0269b9f Small patch by Travis, who write:
1) fixes typo

2) Adds link to name discussion

3) Suggests adding __index__ slot to integer and long built ins.  I
   neglected to do this for the patch, but it could really simplify
   much code to have it.
2006-02-15 23:26:08 +00:00
Guido van Rossum 94f3b53a67 Accept PEP 357 (ssize_t). 2006-02-15 23:23:49 +00:00
Guido van Rossum 60c126b3de Mention ElementTree. 2006-02-15 21:06:29 +00:00
Guido van Rossum 86b2dc19d2 Reject PEP 332. We'll have to start over with a new PEP. 2006-02-15 20:41:16 +00:00
Guido van Rossum 632baa0b9b Micro status updates (MvL volunteers as backup release mgr, PJE will do wsgiref) 2006-02-15 18:32:53 +00:00
Neal Norwitz ac000c5548 Remove most of Guido's comments.
Add some detail about planned features.
Move carryover sections to PEP 42.
2006-02-15 05:48:59 +00:00
Neal Norwitz 8cf3d31948 Move the carryover items from previous releases here 2006-02-15 05:47:29 +00:00