Commit Graph

8397 Commits

Author SHA1 Message Date
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
Łukasz Langa 5d778373ea
[pep-585] Disallow isinstance([1, 2], list[str]) (#1311) 2020-02-19 12:17:19 +01:00
Christopher Hunt 229df87c1f
PEP 581: Fix switched reference links (#1312) 2020-02-18 20:06:01 -08:00
Hugo van Kemenade 763ba2acc4
[pep-596] Update note now that PEP 602 is accepted (#1310) 2020-02-18 22:11:50 +01:00
Łukasz Langa 4ac42462f5
[pep-596] Postpone 3.9.0a4 2020-02-18 01:17:24 +01:00
Łukasz Langa 87c71713f2
[pep-569] Actual date of 3.8.2rc1 and 3.8.2rc2 2020-02-18 01:01:11 +01:00
Brandt Bucher 718b393887
PEP 584: Apply feedback from the Python-Dev discussion. (#1309) 2020-02-17 12:07:40 -08:00
Nick Coghlan 37889fb456
PEP 558: Update proposed C API (#1302)
Also removes the exec() and eval() caveats on the reference implementation
(those have been migrated now, albeit not using a code structure that we
would genuinely want to merge).
2020-02-16 22:10:19 +10:00
Sumana Harihareswara a409487450
PEP 373: Use past tense since sunset date has passed (#1304) 2020-02-15 21:17:13 +10:00
Nick Coghlan 4751318c7e
PEP 458: Mark as Accepted (#1306) 2020-02-15 19:22:42 +10:00
Brandt Bucher b34adc092e
PEP 614: Remove matmul section and clarify the current restrictions (#1305) 2020-02-13 11:55:28 -08:00
Brandt Bucher 85c431c827
PEP 614: Relaxing Grammar Restrictions On Decorators (#1303) 2020-02-10 22:47:06 -08:00
Guido van Rossum 0fcb222a7c
PEP 612: Guido as sponsor, and two minor edits (#1301) 2020-02-06 21:18:37 -08:00
Guido van Rossum 7f402aef96
PEP 585: updates green-lighted by Lukasz (#1289)
* Rename __parameters__ to __args__, for typing.py compatibility
* Genericize, re.{Pattern,Match} and io.IO
* list != list[int], but list[int] == list[int] (and list[str] != list[int])
* Add a lazy __parameters__ that contains the unique type vars in __args__ (also for typing.py compatibility)
* make dict[str][str] fail, but dict[T, str][int] return dict[int, str]
* expose proxy type as types.GenericAlias
* Link to implementation
* Explicitly state that pickling or copying should work
2020-02-06 17:37:46 +01:00
Brandt Bucher d52d55964a
Post-publishing cleanup for PEP 584 (#1298) 2020-02-05 11:14:58 -08:00
Brandt Bucher f4a6bfaa98
PEP 584: Next Draft (#1290)
Change from '+' to '|', and a lot of editing.
2020-02-04 15:21:25 -08:00
Petr Viktorin f52d345112
Pep 376: Use ReST syntax for code, rather than Markdown syntax (#1297)
* PEP 376: Use ReST code syntax for literal characters

Without markup, it is very easy to confuse code with adjoining
punctuation.

* PEP 376: Use ReST syntax for code, rather than Markdown syntax
2020-02-05 05:02:40 +11:00
Trishank Karthik Kuppusamy 5a9de97e0d
PEP 458: update list of authors (#1295)
* update authors

* update email address & acknowledgements
2020-02-05 04:57:22 +11:00
Inada Naoki 57ca4dc015
PEP 597: Rewrite (#1296) 2020-02-04 20:35:06 +11:00
Georg Brandl 89b0b69863
Fix example description (#1293)
With two elements, the starred middle expression just is an empty list.
2020-02-03 20:50:41 +11:00
Stéphane Bidoul 56268fbbeb
PEP 610: support well-known users in URLs (#1292)
* PEP 610: a well-known user may be used in URL

* PEP 610: correct errors wrt resolved_revision(_type)
2020-02-02 01:17:06 +11:00