Commit Graph

8119 Commits

Author SHA1 Message Date
Łukasz Langa 5f1f4ac247
[pep-569] Clarify 3.8.0 release date assuming a single RC 2019-09-30 10:15:22 +02:00
Philippe PRADOS 6e49cec61b Pep 0604: Remove __revert__ operator (#1183)
* Add PEP-0604 to describes an extension to Python language, which aims to add a complementary
syntax to write ``Union[X,Y]`` and ``Optional[X]`` easier.

* Add sample with metaclass with __invert__ and/or __or__

* Remove operator __revert__
2019-09-30 17:21:17 +10:00
Victor Stinner 16bc2821ee PEP 587: Fix warnings options priority 2019-09-30 02:19:42 +02:00
Ned Deily bddf666fa9 Update 3.7.5 dates 2019-09-28 04:45:28 -04:00
Victor Stinner afa38c0bef PEP 587: add PyConfig.struct_size
Add a new struct_size field to PyPreConfig and PyConfig structures to
allow to modify these structures in the future without breaking the
backward compatibility.

Remove _config_version fields, replaced by struct_size.
2019-09-28 04:17:01 +02:00
Sumana Harihareswara 586717e72a PEP 373: Add 2.7.18 release details and reference (#1175) 2019-09-27 10:02:22 -07:00
Bartosz Cierocki 954b8f5486 Fix PEP-0603 code sample indentation (#1176) 2019-09-26 12:47:11 -07:00
Sumana Harihareswara 75467baf69 Move PEP 458 to Draft status and update Delegate (#1177)
Facebook Research has now funded implementation of
cryptographic signing of packages on PyPI. Per
https://github.com/pypa/warehouse/issues/5247#issuecomment-535278176
this means that PEP 458 now moves out of Deferred
status and into Draft status.

Since the PEP was created, the BDFL-Delegate for
PyPI-related PEPs has shifted, and Donald Stufft
is now the Delegate.
2019-09-26 12:12:20 -07:00
Bruce Merry c7b2ff4389 PEP 571: Fix link to manylinux2010 Docker image (#1172) 2019-09-24 10:49:41 -07:00
Damien George 2ce88849fd PEP 8: Discourage use of return/break/continue in finally (#1174) 2019-09-23 07:14:57 -07:00
Damien George 8400ea55ac PEP601: Add rejection notice (#1173) 2019-09-23 07:13:10 -07:00
Łukasz Langa bd03d819a1
[pep-585] Address GvR's review comments 2019-09-20 17:46:18 +02:00
Philippe PRADOS 4aa98027b3 Add PEP-0604 to describes an extension to Python language, which aims to add a complementary (#1171)
syntax to write ``Union[X,Y]`` and ``Optional[X]`` easier.
2019-09-20 17:47:02 +10:00
Moshe Kaplan a84501956f PEP-0551: Complete missing end of sentence (#1169)
Complete broken sentence, based on content in cd795ec53c (diff-a370cb418156597b81cb01e582c6f518R438)
2019-09-19 15:09:04 +01:00
Barry Warsaw 0d119b656d
PEP 1: Update language on sponsorships (#1170)
* Update language on sponsorships
2019-09-18 14:22:24 -07:00
Łukasz Langa 0026ce3e9c
[pep-585] Minor wording improvements 2019-09-18 00:12:42 +02:00
Łukasz Langa ec6f1538c5
[pep-585] Focus the PEP on a single issue 2019-09-17 23:54:57 +02:00
Łukasz Langa f5b71ceb4b
[pep-602] Fix typo: s/;/./ 2019-09-13 19:21:14 +02:00
Petr Viktorin 01ee996ad2
PEP 573 updates (#1167)
* Remove stray reference to `ht_moduleptr`

* Update copyright info

* Remove the new slot for offsets

* Remove note on removed internal functions

* Remove stray reference to Py_TPFLAGS_HEAP_IMMUTABLE
2019-09-13 18:16:31 +01:00
Łukasz Langa e383e89c6b
[pep-602] Increase full bugfix support to 18 months based on feedback 2019-09-13 18:41:32 +02:00
Anthony Sottile 47c9000587 [PEP 603] Fix one reference to frozenmap (#1166) 2019-09-13 15:06:06 +01:00
Nick Coghlan ff06fa35a3
PEP 598: Add a feature limiting capability (#1156)
The PEP's previous handling of the micro version compatibility
testing question really wasn't very good, and didn't address the
question of pickle compatibility at all.

So if this idea is going to be considered seriously, it needs
to provide a way to explicitly opt out of the feature additions,
without having to downgrade back to an earlier point release.
2019-09-13 11:57:20 +10:00
Yury Selivanov f97aa37e6a
Update Yury S. & Elvis P. emails (#1165) 2019-09-12 12:36:34 +01:00
Ezio Melotti 0eeb96f1ce PEP 492: refactor example code. (#1163) 2019-09-12 12:28:36 +01:00
Yury Selivanov ef80b51868
Add PEP-0603 -- Adding frozenmap (#1164) 2019-09-12 12:23:44 +01:00
Stefan Behnel b4495fd347 Update PEP-573 - Module state access
* Rewrite section on passing the "defining class" into C methods.

* Remove proposal for immutable heap exception types. Let's leave those to another PEP

* Restrict METH_METHOD to a single calling convention.
  This calling convention should be efficient, so also reduce the Optimization section.

* Set names in monospaced font

* Use `nargsf` for the vectorcall "number of args + flag" argument

* Link "per-module state" to the terminology section

* Adjust link to Marcel's current implementation

* Other minor rewordings

https://github.com/python/peps/pull/1159
2019-09-12 10:27:21 +01:00
Huong Minh Luu 53ac4d91a5 Fix a typo (#1162) 2019-09-11 19:52:27 +10:00
Laurie O 70ecf28d8f PEP 594: Fix reference to prior PEP (GH-1161)
The context refers to 'Standard Library Reorganization', which is PEP
3108. This change updates the nearby link

Fixes #1160
2019-09-11 11:24:05 +02:00
Łukasz Langa 6e08d96fe1
[pep-602] Sell the annual nature harder 2019-09-10 18:36:09 +02:00
Łukasz Langa 2d4bb3155d
[pep-602] Fix typo: s/relase/release/ 2019-09-10 17:04:02 +02:00
Łukasz Langa 9e657f434e
[pep-602] Fix typo: s/16/17/ 2019-09-10 17:01:47 +02:00
Łukasz Langa b976876b79
[pep-602] Be explicit changes in versioning are out-of-scope 2019-09-10 15:50:07 +02:00
Łukasz Langa 3cb323bf78
[pep-602] Demonstrate the slight growth of the testing matrix 2019-09-10 15:26:39 +02:00
Łukasz Langa d85f2f405a
[pep-602] Better public domain declaration, proper Discussions-To link 2019-09-10 12:22:49 +02:00
Łukasz Langa 7fbafbe3cb
[pep-602] The Annual Release Cycle for Python 2019-09-10 11:28:08 +02:00
Łukasz Langa e110161073
[pep-596][pep-602] Move release schedule discussion
...and propose an annual release cycle.
2019-09-09 19:09:08 +02:00
Stefan Behnel 016d55f852
Fix list formatting in PEP 573. (GH-1158) 2019-09-09 17:30:48 +02:00
Batuhan Taşkaya 6e4bb61652 PEP 601: Discussions-To (#1155) 2019-09-09 16:16:32 +01:00
Humberto Diógenes 6399609401 Fix "Created" date format in header template (#1152) 2019-09-09 16:12:37 +01:00
Larry Hastings c4a6e5c176 Update 3.5 release schedule with 3.5.8rc1 & final. 2019-09-09 15:46:20 +01:00
Benjamin Peterson 12468c5a8b 2.7 schedule updates 2019-09-09 14:30:16 +01:00
Łukasz Langa 2c7c1225f9
[pep-569] Put actual release date of 3.8.0b4 2019-09-09 11:37:09 +02:00
Batuhan Taşkaya ca5026092d PEP 601: Fix references (#1153) 2019-09-05 22:15:56 +10:00
Damien George 5b0ff2bff1 PEP 601: Forbid return/break/continue breaking out of finally (#1151)
PEP to disallow using return/break/continue to break out of finally
2019-09-02 01:25:17 +10:00
Victor Stinner 71141db288 PEP 587 implementation is done: set status to Final 2019-08-23 19:00:52 +02:00
Weiliang Li 4b5c173663 Update pep-0518.txt (#1150)
.e.g => e.g.
2019-08-23 17:22:30 +10:00
Jeffrey Dorrycott 2c13570115 Update link to Raymond Chen's blog post (#1147) 2019-08-22 12:00:59 -07:00
Michael Lee f990bd97a7 Fix 'Created' date for PEP 586 (#1149)
PEP 586 was actually authored in March 2019, not March 2018 -- see the
[commit log history](https://github.com/python/peps/commits/master/pep-0586.rst).
2019-08-21 23:40:11 +01:00
Marc Abramowitz c5a458d49e Fix misspelled name (#1146)
(Mark => Marc) Abramowitz
2019-08-20 13:09:39 -07:00
Nick Coghlan cd292d8997
PEP 572: TargetScopeError->SyntaxError, other SyntaxError adjustments (#1140)
- switch from the new `TargetScopeError` to a plain `SyntaxError`
  as per referenced python-dev discussion
- clarify rationale for those extra SyntaxError cases (we don't
  want current CPython implementation details to implicitly leak into
  the "do what CPython does" de facto language specification)
- broaden one of the error cases to handle the fact that CPython's
  symbol table analysis for a comprehension involves two different
  scopes and hence makes it difficult to detect when the target of
  a named expression in the iterable expression gets re-used as an
  iteration variable in the comprehension
- note that even dead code affects the symbol analysis pass
2019-08-14 12:30:53 +10:00