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
Eli Bendersky
abebe41b7b
Better error messages on duplicate enum values
2013-04-09 20:32:13 -07:00
Daniel Holth
cf59fc15f8
PEP-0441: format links
2013-04-07 21:57:47 -04:00
Daniel Holth
a572a5b3d9
add PEP-0441: Improving Python ZIP Application Support
2013-04-07 21:51:33 -04:00
Nick Coghlan
8122474fe8
PEP process changes triggered by the packaging PEPs
...
- allow a Discussion-To header to indicate the list for pronouncement
- allow version independent Standards track PEPs
2013-04-07 18:26:06 +10:00
Benjamin Peterson
693b5397ff
done with 2.7.4
2013-04-06 16:28:57 -04:00
Benjamin Peterson
608302a44a
change mac wiz to Ned
2013-04-06 15:52:19 -04:00
Eli Bendersky
5fb856ed65
Mention the convenience API in the creation section
2013-04-05 21:02:21 -07:00
Barry Warsaw
97ecde0859
wording
2013-04-05 14:25:16 -04:00
Barry Warsaw
af9a392e94
ValueError instead of TypeError
2013-04-05 14:23:18 -04:00
Barry Warsaw
ec85633fa4
A couple of corrections and additions.
2013-04-05 13:52:37 -04:00
Eli Bendersky
cbd95cbb7b
Trim trailing whitespace
2013-04-04 06:52:41 -07:00
Eli Bendersky
44b674e3a4
Updated PEP 435:
...
* split the main section to some subsections, to make it more readable
* described non-int values
* removed mentions of implicit int-ness of Enum, which is no longer
supported (unless in IntEnum)
* described the new convenience API
* misc. cleanups
2013-04-04 06:52:14 -07:00
Eli Bendersky
cb3c841bab
Updates based on recent enhancements in flufl.enum + some clarifications.
...
More TODOs remain: importantly, the improved convenience/functional API.
2013-04-02 07:09:55 -07:00
Richard Jones
e3654917be
move references for future discussions from catalog-sig to distutils-sig
2013-03-31 09:18:51 +11:00
Nick Coghlan
0451397e5a
Replace the right PEP
2013-03-30 21:39:06 +10:00
Nick Coghlan
84896d01e6
Split the versioning standard back out of PEP 426
2013-03-30 16:14:52 +10:00
Nick Coghlan
d21b0478f2
Accept PEP 434 and mark it as Active
2013-03-30 11:39:20 +10:00
Georg Brandl
ae8bc13577
PEP 434 update from Todd.
2013-03-29 09:10:34 +01:00
Brett Cannon
f6173d49ed
Minor grammar fix
2013-03-26 10:37:44 -04:00
Richard Jones
7dc0f6ca2d
updates based on discussion on distutils-sig:
...
- add handling of setuptools requirements in package installation
- add ref to the pip issue tracking PEP implementation
- re-work the structure of the PEP to make it clearer (hopefully)
2013-03-26 14:52:54 +11:00
Benjamin Peterson
59310051be
fix indentation
2013-03-25 17:51:06 -04:00