Commit Graph

6622 Commits

Author SHA1 Message Date
Nick Coghlan 3378b94274 PEP 532: Conditional result management protocol
First draft of a proposal that blends PEP 335's concept of allowing
overloading of the logical binary operators with PEP 531's notion
of improved native support for tolerating missing data values.
2016-11-03 15:26:51 +10:00
Ivan Levkivskyi ada7d3566e PEP 484: Allow annotating first argument of instance and class methods (#89) 2016-11-01 08:15:17 -07:00
Ivan Levkivskyi a1cd7fb7c8 Clarify per-argument type comments in PEP 484 (#126) 2016-11-01 08:12:17 -07:00
Ivan Levkivskyi bf827dc23d [WIP] Add Coroutine ABC to PEP 484 (#125)
* Simpler example for Coroutine
2016-11-01 08:07:53 -07:00
Ned Deily a978d2cbb0 Update pep-0494.txt 2016-11-01 01:02:33 -04:00
Mark E. Haase b968fe97b9 Clean up PEP-505. (#119)
* Replace emoji with C# spelling for operators.
* Remove some unnecessary alternative spellings.
* Add proper python code blocks.
* Other miscellany.

*Commit to a specific syntax*
I've removed all of the alternative syntax discussion and the
community poll. I expanded the reasoning for picking the spellings
that I did.
2016-10-31 08:36:47 -07:00
Nick Coghlan 9a70e511ad Withdraw PEP 531 based on python-ideas discussion 2016-10-30 11:51:23 +10:00
Brett Cannon eaa238bc04 Mark the devguide updates as done (#124) 2016-10-28 14:54:37 -07:00
Brett Cannon 308477cea7 Fix some syntax issues preventing code literal rendering 2016-10-28 14:20:14 -07:00
Nick Coghlan d5969080c7 PEP 531: simplify code expansion to match original 2016-10-28 18:35:53 +10:00
Nick Coghlan 7371998040 PEP 531 updates after more time to reflect
- proposed precondition operator is now "?then"
- discusses the possible use of mathematical existence notation
- discusses some of the implications of different design decisions
- assorted other fixes and clarifications
2016-10-28 16:58:17 +10:00
JimJJewett 726215140a README.rst should indicate a preference for .rst (#117) 2016-10-27 09:26:10 -07:00
Fabian Neundorf d0354dd64f Fix quotation in PEP-0505 (#122)
The quotation which is explaining the None-aware expression in English was
closing the quote using two double quotes.
2016-10-27 00:45:25 +11:00
Nick Coghlan 54c54e9b20 PEP 531: minor updates
- fixed some formatting inconsistencies
- explain the reasoning behind ?else and ?or
2016-10-25 18:47:42 +10:00
Nick Coghlan 551e80bcd8 PEP 531: Existence checking operators
Based on the last round of PEP 505 discussions, I'm seeing a
lot more merit in the general idea, but have some strong opinions
on how to describe the concepts to current and new Python users.

Those opinions are different enough from what's currently in PEP
505 that I think writing a competing PEP is the most useful way to
articulate them.
2016-10-25 17:15:18 +10:00
Ivan Levkivskyi d309d32728 Soften restriction for runtime generics in PEP 484 (#120)
Fixes https://github.com/python/typing/issues/303.

See also https://github.com/python/mypy/pull/2302 (which removes the restriction from mypy).

As a motivation, in Python one always can substitute expressions, so that if ``IntNode = Node[int]; IntNode()`` works, then it is reasonable to also allow ``Node[int]``, but say that the first way is preferred.
2016-10-24 10:29:40 -07:00
Mariatta ae7020c262 Convert PEP 202 to reST (#121) 2016-10-23 12:15:09 -07:00
Guido van Rossum 2ec55d541d Change "iff" -> "if" in example docstrings. 2016-10-20 21:35:42 -07:00
Ivan Levkivskyi 68ef9a665b Update the type alias example in PEP 484 (#118) 2016-10-18 08:07:44 -07:00
Barry Warsaw 1cdddf8b00 Closes #38 (#116)
* Closes #38

* Updated workflow.

* Respond to review.

* s/clone/fork/

Use GitHub terminology rather than generic git terminology.
2016-10-15 14:38:43 +10:00
Barry Warsaw 6efb70f02a Strongly prefer reStructuredText. (#115) 2016-10-14 20:33:28 +10:00
Ned Deily 278df313c7 Update for 3.6.0b2 release 2016-10-10 21:09:41 -04:00
Ivan Levkivskyi 0f5e998985 Tweak the scope of type: ignore comment (#114)
Fixes python/typing#292
2016-10-10 13:20:42 -07:00
Brett Cannon 3ff642e658 Update the PEP 512 status list (#112) 2016-10-06 10:59:17 -07:00
Ivan Levkivskyi c1dc44b21f Updates for PEPs 484 and 483 (#111) 2016-09-30 16:25:26 -07:00
Ned Deily 202e6742dc Move b2 back one week 2016-09-30 16:18:37 -04:00
Ivan Levkivskyi 5f30d8f81a Clarify meaning of bare Tuple, etc. (#110)
Fixes python/typing#284
2016-09-27 08:34:50 -07:00
Barry Warsaw 93111da051 Reject this PEP, with a Resolution. 2016-09-26 11:41:33 -04:00
Brett Cannon 0cd8619f18 Update PEP 512 (#107) 2016-09-23 10:59:32 -07:00
Thomas Kluyver 94dbee096b Update PEP 517 to use pyproject.toml from PEP 518 (#51)
Update PEP 517 to use pyproject.toml from PEP 518
2016-09-22 21:39:58 +10:00
Nick Coghlan 3b87611b4b PEP 432: Update for C99 initializers (#12)
PEP 432: Update for C99 initializers
2016-09-21 12:27:00 +10:00
Guido van Rossum cd22b95028 Fix github URLs 2016-09-19 12:56:22 -07:00
Guido van Rossum e8d0ecf38f Skip files with syntax errors 2016-09-19 12:55:52 -07:00
Roy Williams 2a4515c429 Change emoji used in PEP 505 (#106)
The original emoji has an offensive connotation that would not be very welcoming to new developers.
2016-09-19 12:42:18 -07:00
Ville Skyttä a116d3d13c PEP 3333: Fix links to web programming topic and CGI spec (#104) 2016-09-19 13:52:01 +03:00
Ned Deily af6fab3d42 Update list of PEPs as implemented in 3.6.0b1 2016-09-16 16:06:04 -04:00
Devin Jeanpierre 00d5884ed6 Google's python frame change isn't years old (#103)
I think this was a misunderstanding on someone's part. It's fairly new.
2016-09-15 07:32:35 +10:00
Oleg Broytman 2d6a2cb6b6 SSH connection sharing (#102)
* Rename Github -> GitHub, Gitlab -> GitLab

* Add section "SSH connection sharing"

SSH connection sharing is a way to speedup a lot of short ssh sessions
like git over ssh.
2016-09-14 14:23:12 -07:00
Ned Deily c7135776ba Add note to pep-0101.txt to purge directory list 2016-09-13 10:13:19 -04:00
Brett Cannon 298b80b669 Mark PEP 523 as final 2016-09-12 16:36:01 -07:00
Guido van Rossum bced8ee1b0 Move urls from hg to github. 2016-09-11 17:03:09 -07:00
Ivan Levkivskyi c51c01869c Mention that private variable annotations are mangled (#101)
(Implemented in http://bugs.python.org/issue28076, https://hg.python.org/cpython/rev/1c2a4f29e1ab.)
2016-09-11 09:52:19 -07:00
Yury Selivanov ed31f2709a pep 525: Fix shutdown_asyncgens description 2016-09-09 13:31:48 -07:00
Yury Selivanov 835bcd8efa Mark PEP 530 as "final" 2016-09-09 10:37:35 -07:00
Brett Cannon af44514f72 Make a note into a note directive. (#100) 2016-09-09 09:48:58 -07:00
Yury Selivanov 4f8486bf81 Mark PEPs 525 & 526 as Final; update PEP 494 2016-09-08 22:06:34 -07:00
Brett Cannon 9bc423be2a Update status list w/ b.p.o work in progress (#99) 2016-09-08 15:48:19 -07:00
Guido van Rossum 43fb14c7bc PEP 520 is also implemented (Erik took __definition_order__ out). 2016-09-08 15:37:44 -07:00
Guido van Rossum 209820e80a Add Resolution header to PEP 526 2016-09-08 15:26:23 -07:00
ericsnowcurrently 9bae12b428 Add a note about compact dict to PEP 520. 2016-09-08 15:22:33 -07:00