Commit Graph

7366 Commits

Author SHA1 Message Date
Nick Coghlan 5bf527ba1a PEP 558: markup fix 2017-10-22 16:18:56 +10:00
Nick Coghlan 9a8e590a52 PEP 558: Update to use a write-through proxy
It turns out that *any* write-back based design has
inherent flaws that make it difficult to build a source
debugger that reliably allows mutation of function local
variables.

So this switches to Nathaniel's suggested write-through
proxy idea, but constrains it to only applying when a
trace hook is installed. This means the official language
level semantics can just use the simpler model where
rebinding function local variables via locals() simply
isn't possible - only folks already working with frames
and trace functions will need to be aware of the semantics
of the write-through proxy.
2017-10-22 16:12:25 +10:00
Victor Stinner 86c06a737c PEP 564: Minor fixes, fix typos 2017-10-18 02:37:03 +02:00
Victor Stinner fcbf6126d3 PEP 564: add process_time()
Explain why other functions don't need a nanosecond variant.
2017-10-18 01:00:37 +02:00
Victor Stinner 9d8fd95001 Reject my own PEP 511 (code transformers) 2017-10-17 22:22:17 +02:00
Victor Stinner c99fb8bf5b Reject my own PEP 510 2017-10-17 22:08:00 +02:00
Ned Deily 045a7063b0 Revised 3.7.0a3 and a4 dates 2017-10-17 14:52:41 -04:00
Ned Deily d248f75a24 Add PEPs implemented in 370a2 2017-10-17 01:42:17 -04:00
Victor Stinner 253f4b32a0 PEP 564: leave "unchanged functions" question open 2017-10-16 18:51:38 +02:00
Victor Stinner 04a2339ff7 PEP 564: Add link to the implementation 2017-10-16 16:47:58 +02:00
Victor Stinner a4828def40 Complete PEP 564
* Add "Issues caused by precision loss" section with two examples
* Alternatives: add new "Modify time.time() result type" and
  "New time_ns module" sections
2017-10-16 15:45:56 +02:00
Victor Stinner 8a44cd0f3c New PEP 564: Add new time functions with nanosecond resolution 2017-10-16 12:38:12 +02:00
wangqr 3859df85e7 PEP 545: Fix typo, GitGub -> GitHub (GH-429) 2017-10-15 21:45:29 -07:00
Victor Stinner 14092e51de PEP 545: Set status to Final
https://docs.python.org/fr/ and  https://docs.python.org/ja/ are now
online.
2017-10-10 15:16:00 +02:00
Berker Peksag 070dc7e037 bpo-31736: Fix typos in PEP 485
Reported by Ben Bolker.
2017-10-10 08:26:27 +03:00
Ethan Smith 858f82d1b8 V3 revision of PEP 561: Distributing Type Information (#428)
* V3 of Type Distribution PEP

* Clarify that new metadata is optional
2017-10-06 19:56:05 +10:00
Barry Warsaw c48822b907 PEP 553 is now final.
Also, document the behavior of $PYTHONBREAKPOINT under -E
2017-10-05 12:18:16 -04:00
Ned Deily b30247d4b8 3.6.3 release 2017-10-03 15:46:47 -04:00
Barry Warsaw 77c4f601d1 PEP 553 accepted 2017-10-02 20:07:56 -04:00
Barry Warsaw 7327e61411 Make the pseudocode more accurate. 2017-10-02 18:03:33 -04:00
Barry Warsaw bede39a536 Respond to Guido's comments. 2017-10-02 13:39:55 -04:00
Benjamin Peterson db997d4a17 pep 552 accepted! 2017-09-30 12:53:25 -07:00
Brett Cannon f24bedde3c Fix a spelling mistake 2017-09-29 09:28:56 -07:00
Nick Coghlan a3b49b9b52 Provisionally accept PEP 517 2017-09-29 16:42:07 +10:00
Ioannis Filippidis 6373eed274 correct a typo in PEP 4 (#427) 2017-09-28 14:01:14 -07:00
Eric Snow e9be941a26 PEP 554: Address feedback. (#426) 2017-09-22 17:51:38 -06:00
Brett Cannon cc8ae3d31d Fix a spelling mistake 2017-09-20 15:10:27 -07:00
Ned Deily 8e8267da41 3.7.0a1 release 2017-09-19 16:02:17 -04:00
Ned Deily adc9f7c883 3.6.3rc1 and tentative 3.6.4 dates 2017-09-19 14:19:42 -04:00
Antoine Pitrou 1493f357e4 Change heading levels 2017-09-19 11:20:14 +02:00
Ned Deily 0d891e1483 3.3.7 final released 2017-09-19 04:58:58 -04:00
Nick Coghlan 0903eac8d8 Defer PEP 426 again 2017-09-18 20:56:39 +10:00
Barry Warsaw e102adf1e3 A minor rendering fix. 2017-09-17 13:43:29 -04:00
Nick Coghlan 82e7688a22 PEP 558: Simplify the proposed locals() changes
We should be able to resolve the reported problems just
by changing how trace hooks work, rather than making
any fundamental changes to locals() or frame.f_locals.
2017-09-17 17:40:13 +10:00
Larry Hastings 10d9b415de Updated dead link on PEP 318 (decorators). 2017-09-16 02:08:44 -07:00
Benjamin Peterson 67602a3a5b the --check-hash-based-pycs option 2017-09-15 15:22:41 -07:00
Benjamin Peterson 832453cfda make the fill column 80 2017-09-15 15:12:30 -07:00
Benjamin Peterson 0a37e22530 red-flag -> completely broken 2017-09-15 15:09:49 -07:00
Benjamin Peterson 39e9285d47 add 'for example' 2017-09-15 15:07:40 -07:00
Benjamin Peterson f43f785dae zap extra word 2017-09-15 15:04:58 -07:00
Barry Warsaw beee344f48 Version information. 2017-09-13 19:12:12 -07:00
Barry Warsaw 5beb1c01ef Update Post-History 2017-09-13 18:56:20 -07:00
Eric Snow 5670238a0d PEP 554: FIFO -> channel (and a more notes). (#424) 2017-09-13 18:35:40 -07:00
Barry Warsaw 2ed8903b5a Don't use numeric references. 2017-09-13 16:54:22 -07:00
Barry Warsaw 0a64b078b6 Some discussion on when the envar should be evaluated. 2017-09-13 16:20:59 -07:00
Barry Warsaw e53582e975 Make $PYTHONBREAKPOINT a first class feature. 2017-09-13 08:02:10 -07:00
Larry Hastings 699c1d07c1 Merge branch 'master' of github.com:python/peps 2017-09-13 02:42:12 -07:00
Larry Hastings b7f15462a0 Update PEP 549 with link to PR. 2017-09-13 02:41:59 -07:00
Mariatta 774605456f Mark PEP 212 as Rejected (GH-421)
- author unreachable
- enumerate() covers the use case

Closes https://github.com/python/peps/issues/207
2017-09-12 21:06:37 -07:00
Benjamin Peterson 5d965ca285 adding missing word 2017-09-12 16:39:33 -07:00