Commit Graph

6633 Commits

Author SHA1 Message Date
Brett Cannon 51bf7c2ce4 Update the status for CI services to in-progress (#131) 2016-11-05 14:38:29 -07:00
Brett Cannon 2c1eb2b416 Update the status for CI services to in-progress (#130) 2016-11-05 13:29:51 -07:00
Nick Coghlan 0861d8e114 PEP 532: typo fixes 2016-11-05 19:49:37 +10:00
Nick Coghlan 9f8dddecc0 PEP 432: updates prior to python-ideas posting
- propose specific Grammar changes
- rename potential boolean circuit breakers so they read
  better when using them to explain and/or behaviour
  - operator.logical_or -> operator.true
  - operator.logical_and -> operator.false
- discuss a problem Guido raised regarding inconsistency
  between the proposed operator and conditional expressions
  (I think it's fixable, but fixing it would have some
  pretty significant consequences for the overall language)
- add today to Post-History
2016-11-05 19:21:05 +10:00
Nathaniel J. Smith d30bf73e24 Add PEP 533: deterministic iterator cleanup (#129) 2016-11-04 16:08:51 -07:00
Guido van Rossum 0136e27cc6 Many edits in the spirit of PR #105. 2016-11-03 15:21:41 -07:00
Andrew Svetlov 317cede6ec Update for asyncio PEP (#105) 2016-11-03 15:21:23 -07:00
INADA Naoki 4f899a0f01 ".0" is suffix, not prefix. (#127) 2016-11-03 08:57:06 -07:00
Nick Coghlan 8191dab630 PEP 532: tweak name in example 2016-11-03 16:00:50 +10:00
Nick Coghlan 8f095cf8c0 Change PEP 532 to propose a new operator
- if-else, and, or are now left alone
- else is introduced as a new short-circuiting binary operator
- "circuit breaking" is introduced as the operator and protocol name
- exists() builtin checks for existence
- missing() builtin checks for non-existence
- "not exists" gives a missing instance and vice-versa
- chained comparison is adjusted to use the new protocol when available
2016-11-03 15:26:51 +10:00
Nick Coghlan 38371b4ece More PEP 532 notes 2016-11-03 15:26:51 +10:00
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