Commit Graph

1742 Commits

Author SHA1 Message Date
Raymond Hettinger 016561c4b8 Miscellaneous updates to PEP 42
* Builtin that determines an object's size in bytes.  This is much more
  intractable than it would seem.  Allocating a single object may result
  in a large block being requested from the O/S and never being returned
  until shutdown.

* Test suite.  This was a useless entry and more applicable before huge
  efforts were expended to improve testing coverage.

* Four-space tabs.  This was fixed-up a long time ago.  Since then,
  a whitespace czar routinely comes along correct subsequent transgressions.

* Generalized eval.  This was done for Py2.4.

* Generalizing builtins to accept UserDict, UserList, sequences etc.
  This is somewhat out-of-date with the introduction of subclassable
  builtin types and the iterator interface.
2005-06-19 07:37:03 +00:00
Raymond Hettinger 24b35925c9 Reject pep-0284.txt. 2005-06-18 20:36:28 +00:00
Skip Montanaro e01d3a7faa Minor tweakage. Been sitting in my sandbox for awhile. 2005-06-18 13:04:03 +00:00
Raymond Hettinger f673294b55 Pick-up responsibility for PEP 315 (per agreement with Isaac Carroll).
Correct the semantics for continue statements found in the do suite.
The previous semantics did not match that for do-while statements in
other languages.
2005-06-18 06:21:36 +00:00
Raymond Hettinger b8b57cff0e Mark PEP 312 as Deferred -- it needs a more Pythonic syntax) 2005-06-17 22:19:41 +00:00
Raymond Hettinger 461d444be3 Optional arguments for throw() to match raise syntax 2005-06-17 21:58:59 +00:00
Raymond Hettinger 22cb64a602 Fix quotation. 2005-06-17 21:39:18 +00:00
Raymond Hettinger d30cc3dc35 Mark PEPs 239 and 240 as rejected. 2005-06-17 21:38:02 +00:00
Raymond Hettinger 550eee19ee Reject PEP 303. 2005-06-17 20:19:25 +00:00
Raymond Hettinger a6cb759dc8 Record the rejection of PEP 281 2005-06-17 18:28:49 +00:00
Raymond Hettinger d608ffdc0f Record the rejection of PEP 276 2005-06-17 18:28:00 +00:00
Raymond Hettinger 3e01d782ae Record the rejection of PEP 336 2005-06-17 18:27:15 +00:00
Raymond Hettinger d88039828e Record the rejection of PEP 336 2005-06-17 17:43:00 +00:00
Raymond Hettinger d8b3960b43 Record the rejection for PEP 313. 2005-06-17 17:33:18 +00:00
Raymond Hettinger 85377029f7 Move a deferred PEP to the correct section. 2005-06-17 08:40:50 +00:00
Raymond Hettinger 27b331b421 Record the rejection of PEP 276. 2005-06-17 07:09:04 +00:00
Raymond Hettinger 15af1ad96b Record the rejection of PEP 281. 2005-06-17 04:57:07 +00:00
Raymond Hettinger b052f52afd Record the rejection of PEP 265.
The requested functionality was largely fulfilled by Py2.4's sorted()
function.  See Guido's 6/17/2005 note on python-dev.
2005-06-17 04:30:41 +00:00
Raymond Hettinger 873af4a927 With Barry's blessing, marking PEP 274 as withdrawn.
After genexps were introduced, it was no longer needed.
2005-06-17 02:13:11 +00:00
Raymond Hettinger df82c82ddc Withdraw 288 in favor of 343. 2005-06-15 16:34:03 +00:00
Guido van Rossum aa16af4b48 Fix/unify PEP 342's title. 2005-06-14 15:14:01 +00:00
David Goodger 66351626ac updated PEP 342 title 2005-06-14 02:21:33 +00:00
Guido van Rossum 4bfb4a6a1e Update: at this point I'm leaning towards preferring next() over
__next__() again, but I've no time to update the PEP right now.
    I've changed the title to Coroutines via Enhanced Generators at
    Timothy Delaney's suggestion.
2005-06-14 01:30:57 +00:00
Guido van Rossum a61abd2828 Restrict 'as VAR' to VAR being a single variable or a parenthesized
series of variables.  This keeps the door open for a future extension
with multiple as-clauses.
2005-06-11 05:14:20 +00:00
David Goodger d75a3b0145 updated links; thanks to Felix Wiemann 2005-06-07 13:17:37 +00:00
Guido van Rossum b69c21f1e7 Add Wiki link. 2005-06-06 17:15:17 +00:00
Michael W. Hudson 9893f796ea Incredibly minor clarification. 2005-06-03 09:32:57 +00:00
Guido van Rossum 235d1d29e2 Include suggestions from Nick Coghlan. 2005-06-02 15:13:55 +00:00
Guido van Rossum 787d7a1050 Raise RuntimeError in close(). Add list of open issues. 2005-06-02 14:56:36 +00:00
Guido van Rossum b71b1ff13d List PEPs that can be rejected once this is accepted. This turned up
a surprise: PEP 319.
2005-06-01 21:01:11 +00:00
Guido van Rossum c76b8b40fc Address most of Phillip Eby's comments. 2005-06-01 16:45:25 +00:00
Guido van Rossum 76de894c1a Updated PEP 343 title. 2005-06-01 15:16:33 +00:00
Guido van Rossum a942512355 Specify generator enhancements. Change keyword to 'with'. 2005-06-01 15:13:37 +00:00
Guido van Rossum 0c4151b242 Warn readers of coming attractions. 2005-05-31 20:27:15 +00:00
David Goodger d994875a12 added PEP 346, User Defined ("with") Statements, by Nick Coghlan; withdrawn by the author 2005-05-28 22:44:24 +00:00
Andrew M. Kuchling 7993632adb Fix title typo 2005-05-23 13:08:09 +00:00
David Goodger 3425a34f2f added PEP 345, Medatadata for Python Software Packages 1.2, by Richard Jones 2005-05-23 00:59:54 +00:00
Guido van Rossum a9a33511f4 More generic decimal example. 2005-05-18 14:24:27 +00:00
Raymond Hettinger ca313eced9 Fill-in missing word. 2005-05-18 06:07:07 +00:00
Guido van Rossum 324efa3d31 Outdent "return +s" and explain why. Thanks Raymond! 2005-05-18 03:58:29 +00:00
Guido van Rossum 2dcf31c84a Add a variant of the decimal example. 2005-05-18 02:53:26 +00:00
Guido van Rossum b99aa09cf2 Elaborate Decimal context example, thanks to Michael Chermside. 2005-05-17 22:15:50 +00:00
Ka-Ping Yee 2e09a4c99d Simplify implementation of print_chain. 2005-05-16 19:12:51 +00:00
Guido van Rossum 6d466b9e14 *Really* move the __enter__ call where it belongs. 2005-05-16 13:42:52 +00:00
Ka-Ping Yee 2b1d6dd3c8 Mention GetBaseException in C#. 2005-05-16 07:10:22 +00:00
Ka-Ping Yee 3d514b0e42 Add "raise ... from" statement.
Add reference to Perl 6 exception RFC.
2005-05-16 06:58:12 +00:00
Guido van Rossum 22bae2bbd0 Move the __enter__ call out of the try suite. I was nuts putting it
inside.
2005-05-16 00:36:01 +00:00
Guido van Rossum cc6ea270d6 Rejecting PEP 340 in favor of PEP 343. 2005-05-16 00:34:33 +00:00
Ka-Ping Yee 84ea75eb01 Update Rationale. 2005-05-15 23:53:56 +00:00
Ka-Ping Yee 43671683c9 Add __cause__ and language comparisons. 2005-05-15 23:29:56 +00:00