Commit Graph

4994 Commits

Author SHA1 Message Date
Nick Coghlan f40dab2cec Record rejection of PEP 437 2013-05-18 17:30:25 +10:00
Antoine Pitrou c41f2a4db4 Mention the new bit in the GC header 2013-05-17 23:30:10 +02:00
Antoine Pitrou fa3df1063c The date isn't right 2013-05-17 23:24:50 +02:00
Antoine Pitrou 124ed7b788 New PEP: Safe object finalization 2013-05-17 23:17:31 +02:00
Georg Brandl 1bd94e9d1c 3.2 & 3.3 schedule update 2013-05-15 19:02:42 +02:00
Benjamin Peterson 2bbeb9b3d2 tentative future 2.7 release dates 2013-05-11 22:39:48 -05:00
Benjamin Peterson 8c16a5485b add 2.7.5 date 2013-05-11 22:37:32 -05:00
Brett Cannon 08741c3b40 Grammatical fixes 2013-05-11 18:28:29 -04:00
Eli Bendersky 2bd6510b87 Some clarifications about pickling of Enums 2013-05-11 10:19:02 -07:00
Guido van Rossum 1c38ea5dc3 Move wrap_future() out of EventLoop. Document local_addr. 2013-05-10 16:09:48 -07:00
Barry Warsaw 4e2a6cfe0a trunk merge 2013-05-10 12:28:27 -04:00
Barry Warsaw bb5e5fc565 Guido explicitly rejects PEP 3142. 2013-05-10 12:27:55 -04:00
Eli Bendersky 3b6c636655 Updated PEP 435 with some in-line motivations, and some general cleanup.
Marked PEP 354 as superseded by PEP 435.
2013-05-10 05:45:20 -07:00
Barry Warsaw 29e05c9729 PEP 435 is accepted by Guido. 2013-05-09 19:59:04 -04:00
Barry Warsaw b10b0848b2 - The functional API gets a keyword-only `module` argument.
- Spell it 'mix-in'
- Clarify "behavior only"
2013-05-09 18:39:44 -04:00
Eli Bendersky 74f93fcf95 update todo items 2013-05-08 20:36:39 -07:00
Eli Bendersky 3ab1885dc7 Describe __members__ instead of __aliases__. +a few additional touch-ups 2013-05-08 20:32:27 -07:00
Barry Warsaw cc7de05c80 A few PEP 435 clarifications. 2013-05-06 16:15:38 -04:00
Eli Bendersky 939f5b14ff Fix typo 2013-05-04 17:45:15 -07:00
Eli Bendersky 286c812369 reword complicated sentence 2013-05-04 14:37:56 -07:00
Brett Cannon 143f7cf398 Add a warning to PEP 302 that it should not longer be used as a
reference.
2013-05-04 14:04:46 -04:00
Eli Bendersky 440ad4c854 Update PEP 435 with latest decisions and add some clarifications:
1. getitem syntax come-back
2. Define iteration in presence of aliases
3. __aliases__
4. s/Convenience/Functional/ API
5. Don't say enums created with the functional API can't be pickled, but
   provide the usual precaution from the doc of pickle
2013-05-04 06:28:32 -07:00
Guido van Rossum fa6769dc34 Small corrections. 2013-05-02 16:35:23 -07:00
Guido van Rossum 26e00e21ac Add time(), call_at(). Remove call_repeatedly(). Get rid of add_*_handler() return value. 2013-05-02 14:11:08 -07:00
Eli Bendersky d223705ffc Overhaul PEP 435 to describe the current state of decisions, which deviates
from flufl.enum:

1. type(Color.red) == Color
2. All attrs of an enum that are not dunders and are not descriptors become
   enumeration values
3. Given class Color(Enum), it's only valid to subclass Color if Color
   defines no enumeration values
4. As a corollary to (3), class IntEnum(int, Enum) is also part of the
   stdlib (and serves as an example for others)

Other issues that were contended recently but seem to have gotten resolved:

A. __call__ for by-value access, explicit getattr() for by-name access.
   __getitem__ is removed from Enum
B. __int__ is removed from Enum. It's present by definition in IntEnum

NOTE: this is still an early draft that is in the process of being reviewed,
so please treat it accordingly.
2013-05-02 05:51:33 -07:00
Guido van Rossum 801e07188f Clarify weasel-words for getaddrinfo(). 2013-04-30 10:38:12 -07:00
Guido van Rossum 40dc92be19 Some more clarifications and edits. Describe datagram protocol. 2013-04-29 21:24:46 -07:00
Guido van Rossum f07821f801 Retract most of public Handle API. Fix server-side ssl. Clean up open issues. 2013-04-29 11:49:58 -07:00
Antoine Pitrou e1ba742ebc Add some comments and acknowledgements 2013-04-27 13:24:45 +02:00
Guido van Rossum 455dd3f556 Update docs for Handle, add Timer. 2013-04-26 20:33:04 -07:00
Antoine Pitrou a1fb8fd657 We could overlap or cross boundaries, but let's straddle them instead.
(dedicated to Larry)
2013-04-26 23:18:25 +02:00
Guido van Rossum 67b8359461 Major update of the event loop spec. 2013-04-26 14:16:59 -07:00
Antoine Pitrou 82071751b4 Presentation nits 2013-04-26 23:13:23 +02:00
Antoine Pitrou 1258ea5228 Protocol 4 has number four in its header 2013-04-26 23:10:52 +02:00
Antoine Pitrou 643a33de69 Small touches on framing 2013-04-26 23:10:16 +02:00
Antoine Pitrou b26857967d Pickle 4 changes:
- add framing
- change BINGLOBAL to Alexandre Vassalotti's GLOBAL_STACK
2013-04-26 22:57:06 +02:00
Eric V. Smith 2d013833a9 Added missing right paren. 2013-04-26 06:31:02 -04:00
Guido van Rossum 79817b9890 Rename run() -> run_forever(), and explain why. 2013-04-24 16:59:39 -07:00
Barry Warsaw f1d4e5f985 As per BDFL pronouncement (via private email), be explicit that both styles of
closing brace/bracket/paren indentation shall be allowed.
2013-04-18 20:31:05 -04:00
Eli Bendersky 617d74e66e Remove unnecessary duplication 2013-04-13 05:44:51 -07:00
Eli Bendersky d3c26c354d Describe in detail access to enum values with [] and getattr 2013-04-12 19:54:37 -07:00
Barry Warsaw 455e1fcc45 The original motiviation is unnecessary to describe the API. 2013-04-12 15:01:05 -04:00
Barry Warsaw 8ea4fd96b4 Make it clear that iteration order is undefined for Enums but defined for
IntEnums.
2013-04-12 10:53:42 -04:00
Barry Warsaw 50fe21c75b Fix small typo. 2013-04-12 10:24:13 -04:00
Brett Cannon bca02a6e41 wording tweak 2013-04-12 09:22:43 -04:00
Guido van Rossum 8c159aab40 Fix typo (an mix -> a mix). 2013-04-11 15:42:57 -07:00
Georg Brandl 9ce9ab923a PEP 440/441: reformat according to template 2013-04-10 09:30:46 +02:00
Eli Bendersky 5ab4abbe28 merge 2013-04-09 21:19:14 -07:00
Eli Bendersky dd1600e927 Changes following discussion with Nick and Barry 2013-04-09 21:18:55 -07:00
Richard Jones a9b7d760c5 bring PEP into line with existing executable naming convention 2013-04-10 14:14:23 +10:00