Commit Graph

8259 Commits

Author SHA1 Message Date
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
Shannon Zhu 5cd06a20bf
Update PEP 0613 status to Accepted (#1291) 2020-01-31 15:38:40 -08:00
Jason Fried 565b6778dc
Fixed bad TypeVar definition (#1288)
Identifier must match TypeVar name
2020-01-29 15:21:31 -08:00
mnm678 202ab85bde
PEP 458: Consistency & clarification edit (#1284)
* Made various edits and clarifications to the pep including:

* letting the PSF appoint offline key holders
* moving content from abstract to motivation to make the abstract more succinct
* updating the threat model
* resolving some minor inconsistencies
* add link to cncf blog post
2020-01-30 08:08:21 +10:00
dkg 17710b8798
PEP 458: use "OpenPGP" instead of "GPG" (#1287)
* PEP 458: use "OpenPGP" instead of "GPG".  The signature format is OpenPGP.  Other
OpenPGP implementations exist aside from gpg, the OpenPGP tool from the GnuPG project.
2020-01-30 06:02:31 +11:00
Mark Shannon a65ee4d2ad
PEP 611: relax hard limits and make 1 million a soft limit. Include recursion depth in limits. (GH-1279)
* PEP 611: relax hard limits and make 1 million a soft limit. Include recursion depth in limits.

* Reorganize part of motivation to account for soft vs. hard limits. Add qualification about recursion depth.
2020-01-29 11:31:28 +00:00
Shannon Zhu 2aea60e07c PEP 613: remove last open issue; some edits in response to feedback (#1285) 2020-01-28 12:58:47 -08:00
Stéphane Bidoul bf9d3a51cc PEP 610: add canonical URL and minor clarification (#1283) 2020-01-26 23:29:59 +10:00
mnm678 d6fa383389 PEP 458: Allow compression of json metadata (#1281)
* Allow compression of json metadata

* Update pep-0458.txt

Co-Authored-By: Trishank Karthik Kuppusamy <33133073+trishankatdatadog@users.noreply.github.com>

Co-authored-by: Trishank Karthik Kuppusamy <33133073+trishankatdatadog@users.noreply.github.com>
2020-01-26 09:39:36 +10:00
Stéphane Bidoul 2ff0cc2ad2 PEP 610: specification will live on packaging.python.org (#1282)
Also add note about reproducibility

As suggested by Nick Coghlan at https://discuss.python.org/t/draft-pep-recording-the-origin-of-distributions-installed-from-direct-url-references/1535/41?u=sbidoul

* PEP 610: amending must be done by writing a new PEP

As suggested by NIck Coghlan
2020-01-26 09:38:13 +10:00
Łukasz Langa 7ecaee9478
[pep-596] Put actual date of 3.9.0a3 2020-01-25 14:55:14 +01:00
Łukasz Langa 31dca33dbf
[pep-101] Use @pablogsal's new Release Dashboard 2020-01-24 22:44:39 +01:00
Guido van Rossum 9df345deed PEP 613: Type should be Standards Track 2020-01-23 17:20:11 -08:00
mnm678 ace82afc14 PEP 458: Add non-goals section (#1280)
* Add non-goals section to clarify that this PEP does not remove support for GPG signatures.

* Update pep-0458.txt

Co-Authored-By: Trishank Karthik Kuppusamy <33133073+trishankatdatadog@users.noreply.github.com>

Co-authored-by: Trishank Karthik Kuppusamy <33133073+trishankatdatadog@users.noreply.github.com>
2020-01-24 06:58:25 +10:00
Shannon Zhu 60d5d10a1d PEP 613: Explicit Type Aliases (#1278) 2020-01-22 18:13:06 -08:00
Stéphane Bidoul 00a0215285 PEP 610: 2nd draft (#1276) 2020-01-15 15:29:20 -08:00
Petr Viktorin 2758332c1e PEP 573: Remove DefiningTypeFromSlotFunc, split public/private API (#1275)
- Remove the MRO walker, PyType_DefiningTypeFromSlotFunc, as it was
  found it can give wrong results when a type's special methods are
  changed (which can be done from Python code).
  Solving the issue is deferred to a future PEP (and/or perhaps a
  private CPython function).
- Split public C-API from CPython implementation details. It turns out
  that alternate C-API implementations have grown more important
  since 2016, if only for experimenting with possible optimizations.
- Add potentially confusing terms "Defining Class" and "C-API" to the
  terminology section.
- Mention that ht_module is not inherited by subclasses.
- Remove modules to be ported initially: zipimport (since rewritten
  in Python), _io and _cvs (need module state from slot methods).
* Mention __class__ cell, expand slot methods in Future extensions

And fix a typo.
2020-01-16 07:19:07 +10:00
Jonathan Jackson de18a41f59 Removed dead links to Google Code Search (#1272) 2020-01-10 18:03:32 +11:00
Sumana Harihareswara 56ed98a227 PEP 458: Add Post-History header (#1270)
Signed-off-by: Sumana Harihareswara <sh@changeset.nyc>
2020-01-08 06:39:41 +10:00
lukpueh 28cc445dca PEP 458: add hash algorithm transition plan (#1253)
Add subsection to section "Managing Future Changes to the Update
Process" that explains how to transition from an old (e.g. because
it has become weak) to a new (e.g. stronger) hashing algorithm
without disrupting client workflows.
2020-01-07 21:04:49 +10:00
mnm678 cf656ba7c5 PEP 458: Update Discussions-To to the Discourse thread (#1269) 2020-01-05 12:06:56 +10:00
mnm678 c6fa90376e PEP 458: Add abstract per discussion here: https://discuss.python.org/t/pep-458-surviving-a-compromise-of-pypi/2648/52 (#1268) 2020-01-05 12:05:45 +10:00
Sumana Harihareswara 99dd06f78e PEP 458: Change title to clarify intent (#1247)
* PEP 458: Change title to clarify intent

Per conversation in
https://discuss.python.org/t/pep-458-surviving-a-compromise-of-pypi/2648/21

about problems with current title, and and per former PEP coauthor
Vladimir Diaz in
https://mail.python.org/archives/list/distutils-sig@python.org/thread/TXM2O34TMSHH5U6WA2IF7XKO5J3G5NQQ/#3QLN4KECII6KULKYXS7U4CVBEPGK4B6S

Signed-off-by: Sumana Harihareswara <sh@changeset.nyc>

* PEP 458: Improve title

Change "link" which misleadingly implied transport level
security.

Signed-off-by: Sumana Harihareswara <sh@changeset.nyc>
2020-01-04 01:16:25 +11:00
Nick Coghlan 34343da45d PEP 573: SystemError->TypeError and misc copy-edits (GH-1264)
* report TypeError rather than SystemError when bad types are passed
  to new APIs
* add PyType_FromModuleAndSpec to the list of new functions
* wrap text at 80 columns
* add C API docs links for thread-local storage and context variables
* note in abstract that only the initial state lookup from slots is
  inherently slow, with subsequent lookups being amenable to caching
* other minor wording tweaks
2020-01-03 13:24:51 +01:00
Nick Coghlan 8dcf7fe49c
PEP 558: Fix mention of old locals() semantics (#1266)
When updating the PEP to specify independent snapshots for locals()
at function scope, I missed this reference to the old semantics
that returned a direct reference to the dynamic internal snapshot.
2020-01-02 02:30:39 +10:00
Nick Coghlan 475d6cdf8c
PEP 558: Add Discussions-To header for Discourse thread (#1265)
Also adjusts a Python version reference to account for two
releases taking place since the first draft of this PEP.
2019-12-31 15:13:30 +10:00
Nick Coghlan 54888058ce
PEP 558: Switch to independent snapshots at function scope (#1094)
* Switch to independent snapshots at function scope
* New public C API, PyEval_Get_PyLocals(), that matches the updated locals() builtin
* At function scope, PyEval_GetLocals() returns the internal shared mapping from inside the proxy (returning a borrowed reference means this API can't offer the new independent snapshot semantics)
2019-12-30 16:22:46 +10:00
Goutham Bhat 8067cb323e PEP 484: Remove square brackets around ellipsis (#1263) 2019-12-28 21:05:26 -07:00
Carl Friedrich Bolz-Tereick f76fa9f5bf PEP 567: typo in pseudocode of ContextVar.reset (#1262) 2019-12-23 11:19:34 -08:00
Sumana Harihareswara 33b62136d8 PEP 458: Add sponsor and update status (#1261)
Signed-off-by: Sumana Harihareswara <sh@changeset.nyc>
2019-12-23 13:07:03 +10:00
Mark Mendoza 50eadddca7 PEP 612: Formatting changes (#1260)
* line breaking

* one extra space

* Ps

* fix syntax
2019-12-21 08:12:00 +11:00
Mark Mendoza 0644091b0e PEP 612: Parameter Specification Variables (#1259)
* Initial submission of PEP 612

* fix some formatting problems

* removing code-block type to be compatible with build script

* permissive license
2019-12-21 02:12:44 +11:00
Łukasz Langa f1ba19c5d6
Actual dates for 3.8.1 and 3.9.0a2 2019-12-19 10:05:28 +01:00
Ned Deily b87b603162
3.7.6 and 3.6.10 actuals 2019-12-19 02:32:17 -05:00
Eitan Adler 8a0540c5ad PEP-456: fix typo (#1258)
The conditional statement likely meant "if", not "is"
2019-12-19 00:58:18 +11:00
Frank Dana 117aea5a38 PEP 611: Spellchecking, minor copyedit (#1255) 2019-12-16 11:47:53 -08:00
Ernest W. Durbin III 4a4973b8bc PEP-8101: Results (#1257) 2019-12-16 07:06:45 -08:00
Ned Deily bc1ff10fe6 3.6.10rc1 and 3.7.6rc1 actuals 2019-12-15 02:28:43 -05:00
Frank Dana 3a80f3eacc PEP 611: Correct typo (#1254)
valuses => values
2019-12-15 11:20:35 +11:00