Commit Graph

8417 Commits

Author SHA1 Message Date
Paul Ganssle 226d6efb95
PEP 615: Updates in response to Steering Council feedback (#1350)
* Rename nocache to no_cache

This is more consistent with the snake_case naming convention in
from_file and clear_cache.

* Add section on clear_cache

* Improve string representation section.

In response to suggestions by Barry Warsaw:

https://github.com/python/steering-council/issues/22#issuecomment-606169944

* Specify failure behavior for time zone data.

From discussion with Barry Warsaw:
https://github.com/python/steering-council/issues/22#issuecomment-606211514

* Add a footnote regarding the term "first-party"

Per comments from Barry Warsaw:
https://github.com/python/steering-council/issues/22#issuecomment-606211514
2020-04-04 11:35:27 -04:00
T. Wouters 42e4ce4d65
PEP 617: Fix typos and other minor edits (GH-1356)
* Fix typo in PEP 617.
* Fix what appears to be meant as a numbered list that was reflowed incorrectly.
* Clarify a slightly awkward sentence about the EXTRA C macro.
2020-04-03 12:07:14 +01:00
Guido van Rossum 6073d3f2d1 PEP 617: Clarify that in 3.9 beta 1 the new parser will be the default 2020-04-02 15:36:07 -07:00
Guido van Rossum 51a0480194 PEP 617: Add Python-Version (3.9) and Post-History (today) 2020-04-02 11:13:36 -07:00
Jelle Zijlstra e980d4e323
PEP 617: minor edits (#1355) 2020-04-01 21:59:32 +01:00
Furkan Önder 41657e2b48
PEP 384: Update PyType_Spec struct per bpo-15140 (#1354) 2020-04-01 13:35:58 -07:00
Hanif Birgani 7eaf5f6303
PEP 8: Replace Yes/No with Correct/Wrong and unify formatting (#1342) 2020-04-01 09:34:28 -07:00
Pablo Galindo 8890e7e7df
PEP-617: Move reference to the end (#1352) 2020-03-31 20:11:01 -07:00
Pablo Galindo 7ee02d0442
PEP 617: New PEG parser for CPython (#1351) 2020-03-31 13:36:17 -07:00
Paul Ganssle 58d2fdcb2c
PEP 615: Resolve "using datetime" and add rationale to updates section (#1347)
* Mark "use the datetime module" as rejected.

There did not seem to be any concerns about having `zoneinfo` live in
a separate module.

* Add additional rationale to updating behavior

* Update Post-History
2020-03-29 15:29:43 -04:00
wim glenn a87b19e16e
typo fix (#1348) 2020-03-30 06:11:00 +11:00
Paul Ganssle cfe6639a6d
PEP 615: Move ICU support and alternate paths to rejected ideas (#1337)
* Move ICU support from "open" to "rejected".

* Move alternate environment variables to rejected
2020-03-29 12:25:55 -04:00
sweeneyde 38debf93e6
Add revision history (#1346) 2020-03-28 17:18:13 -07:00
Thomas Kluyver a108290289
Remove reference to implicitly Optional parameters (#1345)
This shorthand is no longer recommended - see #689 which changed it in PEP 484.
2020-03-29 09:07:30 +11:00
sweeneyde 164f8fa1f8
Make the specification more concise (#1344) 2020-03-27 15:59:28 -07:00
sweeneyde f53a04ea30
remove obsolete names and consistently quote strings (#1343) 2020-03-27 09:39:16 -07:00
sweeneyde 68062417c0
PEP 616: Rename the methods and restrict to one affix (#1340) 2020-03-25 10:17:50 -07:00
sweeneyde dcb29f4019
PEP 616: Fix behavior of code snippets (#1336) 2020-03-23 17:02:46 -07:00
Arun Persaud 7a2c2168b6
PEP 3154: fix typo (#1338) 2020-03-22 21:51:49 -07:00
sweeneyde 9c16d3539e
Add references to past discussion threads, fix formatting and typos (#1335) 2020-03-23 08:16:57 +11:00
sweeneyde 0093a853e8
PEP 616 Revisions (#1333)
* Add a PEP: String methods to remove prefixes and suffixes

* add PEP number

* Add sponsor

* Fix typo

* changes after review: passing tuples, clarity on returning self, formatting
2020-03-23 06:02:10 +11:00
Zachary Ware 3ff1593f56
Correct a time machine malfunction 2020-03-20 13:55:52 -05:00
sweeneyde 914ef2c51a
PEP 616: String methods to remove prefixes and suffixes (#1332)
* Add a PEP: String methods to remove prefixes and suffixes

* add PEP number

* Add sponsor

* Fix typo
2020-03-21 03:21:06 +11:00
Brandt Bucher 4516435ea1
PEP 584: Add info regarding Mapping/MutableMapping (#1331)
Also add a note about other stdlib mappings having these added.
2020-03-14 13:03:12 -07:00
Nick Coghlan 7f7a08efd1
PEP 499: Mark as deferred until 3.10 (#1328)
The open questions still require more consideration/discussion than we expect to be able to give them before 3.9 feature freeze.
2020-03-14 14:36:57 +10:00
Pradyun Gedam 135fd37789
PEP 610: Provisional Acceptance (#1330) 2020-03-13 13:36:46 -07:00
Cristina 16ca065396
PEP 458: correct spelling of 'infrastucture' (#1329) 2020-03-12 11:46:26 +11:00
Nick Coghlan 3047351482
PEP 534: Mark as Deferred (GH-1327) 2020-03-11 11:49:57 +01:00
Ned Deily e57e8ad71c
3.7.7 released 2020-03-10 11:21:01 -04:00
Ernest W. Durbin III 6a48fa75e9
PEP 458: Fix figure reference and typo (#1326)
In secure-systems-lab/peps#73 Figure 2 became Figure 1. This change
fixes a missed reference update.

It also removes a stray "and".

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2020-03-05 08:58:08 -05:00
Ned Deily 43ba4c4f76
3.7.7rc1 2020-03-04 13:10:18 -05:00
Guido van Rossum 841188a45f PEP 614: Accepted by SC 2020-03-03 14:20:05 -08:00
Brett Cannon 172c06e0f1
Clarify that the CDATA for a repo index should match the project name, not the normalized name (#1324) 2020-03-03 10:19:37 -08:00
Brett Cannon ea2d7a97ee
Fix the year when the last council election occurred 2020-03-02 14:53:23 -08:00
Paul Ganssle 37a7083660
PEP 615: Changes to TZPATH and str, plus minor tweaks (#1323)
* Change fallback behavior for __str__

Per Petr's suggestion in the discourse thread. Turns out this was
basically what the reference implementation does anyway.

* Rename `set_tzpath` to `reset_tzpath`

* Adjust TZPATH strategy

Partially in response to Petr's comment on the discourse thread, and
partially from further reflection.

* Fix typo in RFC 8536 reference

* Add path traversal to security implications.

Seems like a minor concern, but possibly worth noting.
2020-03-01 09:23:37 -05:00
Brett Cannon 6b5dd00bf1
Update PEP 13 for the latest steering council (#1322) 2020-02-28 14:15:03 -08:00
Paul Ganssle 632742d2d7
PEP 615: Windows support, address first round of feedback (#1320)
* Address some of Petr's feedback

https://discuss.python.org/t/pep-615-support-for-the-iana-time-zone-database-in-the-standard-library/3468/3

* Update with description of update behavior

This is in response to Paul Eggert's insightful comments:

https://mm.icann.org/pipermail/tz/2020-February/028843.html

* Add note on leap seconds

Leap seconds are out of scope for the proposal, but several people have
asked about them, so it seems prudent to note this.

* Move Windows support to Open Issues

Based on comments sent privately by e-mail from Matt Johnson-Pint, who
suggested this approach.

* Make cache behavior explicit

Per Guido's comments, this was not previously explicit:

https://discuss.python.org/t/pep-615-support-for-the-iana-time-zone-database-in-the-standard-library/3468/10?u=pganssle

* Address Jelle's comment about type

* Update the pickle behavior to serialize by key

Per the discussion here (and the chain of posts that this replies to):
https://discuss.python.org/t/3468/17
2020-02-27 15:16:57 -05:00
Ned Deily e709487ed6 accelerate 3.7.7 schedule to fix regressions 2020-02-26 15:29:38 -05:00
Łukasz Langa 4be860c1ca
[pep-569][pep-596] Actual dates for 3.8.2 and 3.9.0a4; shuffle some other dates 2020-02-26 02:21:15 +01:00
Guido van Rossum 4ecaa6c00a
PEP 585: Explain the choice of GenericAlias over GenericType (#1319)
Per Nick's explanation on python-dev.
2020-02-26 00:54:57 +01:00
Paul Ganssle b674d3ae26
PEP 615: Add PEP proposing zoneinfo module (#1316)
* Add IANA Time Zone Support PEP

* Add section rejecting Windows native time zones

* Normalize code-block and drop python3

Apparently this is rendered without pygments support, which is causing
the build to fail.

* Add justification for a separate module

* Clean up and reorganize footnotes and citations

This adds headlines / citations for each footnote, rather than bare
links, and tries to put them in a more logical grouping, and makes
them all render without issues.

* Add / adjust proposal targets

* Add justification for set_tzpath

Basically, "people are going to do this anyway, might as well have them
use a function that we can at least deprecate if it causes major
problems."

* Add citation for rearguard format

* Fix typos and formatting in abstract

Fixes a few typos and reformats the abstract using semantic newlines.

* Update location of reference implementation

* Tweaks to motivation section

* Clarify wording about PEP organization

* Tweaks to section on the ZoneInfo class

This adjusts the wording and fixes typos in the constructors and pickle
sections.

* Tweaks 'Sources for time zone data'

These are typos, clarifications and wording adjustments in the section
on time zone data sources.

* Use semantic newlines in 'Security implications'

* Clarify what 'no special verification' means

* Add clarification to custom compiler section

* Tweaks to wording on 'tzdata' in the standard library

* Tweaks to Windows section

* Adjust the justification for rejecting pytz

* Add quotation marks around blog titles

* Abandon semantic newlines

* Rename title

* Move module name into 'Open issues'

* Comment out temporarily unused headers

* Add open issue about TZPATH structure

* Remove erroneous blockquotes

* Add discourse link and Post-History
2020-02-25 10:56:05 -05:00
Guido van Rossum 2e5c584c6b
PEP 594: Mention removing uu_codec (#1244) 2020-02-24 20:33:49 -08:00
Guido van Rossum 67642567c6 PEP 484: Fix other occurrences of 'parametriz' 2020-02-24 20:21:41 -08:00
Guido van Rossum 8a5fe7b15c PEP 585: Fix other occurrences of 'parametriz' 2020-02-24 20:21:22 -08:00
Guido van Rossum cfbbb26936 PEP 482: Fix other occurrences of 'parametriz' 2020-02-24 20:20:33 -08:00
Ethan Smith 73b35bb7ff
PEP 483, 484, 585: Use parameterized instead of parametrized (#1318)
Google prefers "parameterize" and PEP 484 uses it in a majority of cases. So does the stdlib. So PEP 585 has to follow.
2020-02-24 20:18:17 -08:00
Brandt Bucher 96d6d4beaa
PEP 584: Mark as Accepted (#1317) 2020-02-24 17:43:06 -08:00
Éric Araujo 4d29a24fa6
clarify status of implmentation notes in PEP 376 (#1307) 2020-02-24 13:23:09 +00:00
Barry Warsaw 3609ef5483
Add the original Zen (Way) of Python link (#1313) 2020-02-20 15:50:16 -08:00
Nick Coghlan af0691db4b
PEP 458: Use 'signed repository metadata' terminology (#1308)
James Bennett pointed out that "package signing" is widely misunderstood
as referring specifically to end-to-end signing with individual
publisher keys, rather than to metdata signing in general.

This updates the title and abstract to instead use the term "signed
repository metadata", and also updates a few other sections that
still gave the impression that implementing PEP 458 would be
enough to give the full end-to-end signing support that is actually
covered in PEP 480.
2020-02-21 08:31:29 +10:00