Commit Graph

9123 Commits

Author SHA1 Message Date
Brett Cannon 9cf3171f43
PEP 648: grammar tweaks 2021-07-25 23:14:03 -07:00
Brett Cannon de02973f85
PEP 648: add missing trailing `__` 2021-07-25 22:59:30 -07:00
Veronica Berglyd Olsen 76b7cbd1a6
PEP 8: Fix indentation of two paragraphs in list (#2041) 2021-07-22 07:18:38 -07:00
Ethan Furman beb22ee65a incorporate feedback from Nick Coghlan
- clarify that Color is an intEnum
- change references to 3.9 to 3.10
2021-07-21 11:19:43 -07:00
Nick Coghlan 0e0321afaf
PEP 558: Incorporate review comments from python-dev posting (#2038)
- Fix miscellaneous typos
- Remove an outdated mention of possibly dropping suport for storing
  extra f_locals keys in optimised scopes
- Make it more explicit that accessing frame.f_locals in Python
  refreshes the f_locals cache on that frame
- Replace GetReturnsCopy with GetKind & other updates
- Reference Jan/Feb 2021 python-dev threads
- Note that read-only views on optimised frames have
  the same cache consistency limitations as the read/write
  proxy does.
2021-07-21 14:28:21 +02:00
Ethan Furman f58b89ccd6 improve motivation and rationale 2021-07-20 21:10:30 -07:00
Nick Coghlan f350ee5630
PEP 558: Update Discussions-To and copyright notice (#2037) 2021-07-18 14:56:28 +10:00
Nick Coghlan 1a27cad226
PEP 558: Update for fast locals proxy caching design changes (#2035)
Further implementation work on the fast locals proxy resulted
in treating the "f_locals" frame storage more as an implicitly
or explicitly updated cache, rather than treating it solely as a
dynamic snapshot.
2021-07-17 21:16:51 +10:00
Ammar Askar d469147768
PEP-657: Mark PEP657 as final (GH-2032) 2021-07-17 03:25:16 +01:00
Brett Cannon 589b945e30
PEP 621: clarify what the `text` field for `license` represents 2021-07-14 12:55:19 -07:00
Dominic Davis-Foster 5cedff4008
Remove additional backticks from inline code (#2033) 2021-07-14 11:01:22 -07:00
Dominic Davis-Foster 50d68cd497
PEP 533: Fix links containing inline code. (#2034) 2021-07-14 10:18:34 -07:00
Brett Cannon 38057a899b
PEP 663: fix some spacing 2021-07-13 14:09:40 -07:00
Dominic Davis-Foster 7654df8351
PEP 621: Remove mentions of core metadata from `Entry points` (#1989) 2021-07-13 13:59:28 -07:00
Ethan Furman e6ce12334a add mitigation section 2021-07-13 12:19:58 -07:00
Pablo Galindo Salgado 16c020f674
PEP 664: Python 3.11 Release Schedule (#2031) 2021-07-12 14:11:26 +01:00
Hugo van Kemenade d9235e1422
Add release date of 3.5.8 final (#1591)
https://github.com/python/cpython/releases/tag/v3.5.8
2021-07-12 13:56:28 +02:00
Hugo van Kemenade e61ca95fce
Add PEP abstract to the RSS feed (#1679)
* Flake8 fixes

* Use first paragraph of abstract as 'description', and PEP author as 'author'

* Check RSS generation runs with no error
2021-07-12 13:55:16 +02:00
Pablo Galindo 86332b3564
PEP 619: Update date for Python3.10b4 2021-07-12 02:48:51 +01:00
Thomas Grainger a6ccce7304
PEP 0554: drop wording about daemon threads in isolated subinterpreters (#2000)
* drop wording about daemon threads in isolated subinterpreters

new threads are not allowed (including daemon threads) implies that the opposite
is true in isolated=False subinterpreters, that new threads are allowed (*excluding* daemon threads)

* Update pep-0554.rst

Co-authored-by: Thomas Grainger <tagrain@gmail.com>

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
2021-07-11 02:11:32 -06:00
Борис Верховский c40101bad1
PEP 617: Grammar (#2029) 2021-07-10 08:40:22 -07:00
Nick Coghlan f6c6e24976
PEP 558: adjustments after updating implementation (#2030)
* `pdb` stores `__return__` and `__exception__`` entries on
  arbitrary frames, so that feature needs to be preserved
* Some fast locals proxy operations will implicitly update the
  underlying shared mapping on the frame
* Anyone explicitly calling `LocalsToFast` is going to want the
  read/write proxy, not any of the read-only options (plus it's
  hard to fit an essay in an error message)
* Remove lingering reference to the removed `PyLocals_RefreshViews()`
2021-07-11 00:05:15 +10:00
Nick Coghlan 7b707b51a8
PEP 558: Fix typos in recently merged changes (#2021) 2021-07-08 18:03:09 -07:00
jack1142 18c5d63b4a
PEP 101: #python-dev channel is now on Libera Chat (#2028)
Per the announcement on the python-dev mailing list:
https://mail.python.org/archives/list/python-dev@python.org/thread/FQW44V4DZFX4GAGOAMAZAN5KDQXCASDU/
2021-07-07 14:58:58 -07:00
Brett Cannon 67aa9979f9
Normalize capitalization of Tzu-ping Chung's name 2021-07-07 09:55:05 -07:00
A-W 6e85aea2cd
PEP 3104: Add footnote to give example (#2027)
While reading PEP 3104 to understand the ``nonlocal`` keyword, I found the explanation for why an alternative was not chosen to be vague. Further digging revealed an example for why there was a concern that ``.x`` and ``x`` could be used interchangeably. I linked this example as a footnote to save future readers time from digging to find an example. I hope this will increase comprehension of the PEP for future learners.
2021-07-05 18:20:57 -07:00
Ammar Askar 126fa7de16
PEP 657: Rename opt out command line flag (#2025) 2021-07-05 17:22:18 +01:00
Batuhan Taskaya 5fc4119624
PEP 657: use 0-indexed offsets (GH-2022) 2021-07-04 19:02:22 +01:00
Adam Turner 3b34e282fd
Sphinx support: fix last modified dates for PEPs (#2024) 2021-07-04 18:55:04 +01:00
Ethan Furman eb6f346936 PEP 663: update for 3.11 2021-07-03 19:32:17 -07:00
Batuhan Taskaya 1344ff8916
PEP 657: addr => addrq (#2019)
* PEP 657: addr => addrq

* add underscores
2021-07-02 17:29:13 +03:00
Yurii Karabas f656342427
PEP 663: Fix SyntaxError (#2020) 2021-07-02 17:43:30 +10:00
Ethan Furman fb51d37aab PEP 663: Improving Enum str(), repr(), and format() 2021-06-30 20:16:24 -07:00
Adam Turner 977f1fe68a
Sphinx support: Add build process notes to README.rst (#2016)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
2021-07-01 00:56:07 +01:00
Pablo Galindo 2991089ed8
PEP 657: Update the env variable name and the C-API and add some clarifications (#2015) 2021-07-01 00:02:10 +03:00
Paul Moore a8e7358a8a
PEP 517: Make final (#1712) 2021-06-30 12:51:34 -07:00
Adam Turner 0d93abf9bf
Sphinx support: theming (#1933)
See #2, #1385 for context. Superseeds #1568.

This is the Sphinx-theming part, building on PR #1930.

### Stylesheets:
- `style.css` - styles
- `mq.css` - media queries

### Jinja2 Templates:
- `page.html` - overarching template

### Javascript:
- `doctools.js` - fixes footnote brackets

### Theme miscellany
- `theme.conf` - sets pygments styles, theme internals
2021-06-30 20:19:44 +01:00
Sergei Lebedev 7d727005fd
PEP-563: Fixed the comments for a few examples (#2013)
This commit fixes the wording in the comments for failing examples
in the "Backwards Compatibility" section, as suggested by Guido in #2007.
2021-06-29 08:57:38 -07:00
Bernát Gábor 19634b7425
PEP-662: C'est la vie (#2008) 2021-06-28 14:06:36 -07:00
Barry Warsaw fe1c5555b6
PEP 2 is superseded (#2011) 2021-06-28 13:43:34 -07:00
Ammar Askar 3562a1846a
PEP 657: Mark as accepted (#2010) 2021-06-28 21:10:18 +01:00
Ned Deily 9c7ca007ff
updates for 3.7.11 and 3.6.14 2021-06-28 15:26:07 -04:00
Sergei Lebedev 9bbc154383
PEP-563: Fixed a nested class example (#2007)
The "Backward Compatibility" section in PEP-563 contains an example which
violates Python scoping rules. This PR updates the PEP to say that the example
is not OK and should fail.

See discussion in typing-sig for details [*].

[*]: https://mail.python.org/archives/list/typing-sig@python.org/thread/F2ERQCGB6W6VADR7G6NN4TLMFJECD6EW/
2021-06-28 20:14:44 +02:00
Stéphane Bidoul b95c2cc10d
PEP 660: accepted (#2009) 2021-06-28 10:14:01 -07:00
Łukasz Langa 1fa66ad2f1
[pep-0569][pep-0596] Dates for 3.9.6 and 3.8.11, better blurb for sec-only releases 2021-06-28 13:16:08 +02:00
Nick Coghlan 70442b01a0
PEP 558: Make fast locals proxy independent of the legacy dynamic snapshot (#1787) 2021-06-27 17:37:01 +10:00
Matthieu Darbois cd26ba8af9
PEP 600 supersedes PEP 513, PEP 571, PEP 599 (#1960)
Per PEP 600:
```
When this PEP is accepted, the previous manylinux PEPs will receive a final update noting that they are no longer maintained and referring to this PEP.
```
2021-06-26 09:11:00 -07:00
Matthieu Darbois 9c51901976
PEP600: add manylinux2014 compatibility (GH-1962)
Add a link to PEP 599
Add a mention to manylinux2014 aliases
2021-06-26 12:59:15 +01:00
Bernát Gábor ec988000f9
PEP-662: Add prepare_metadata_for_build_editable (#2003)
This provides full symetry with build_wheel and allows
a fast path for the frontend to validate the backend metadata,
without needing to build the wheel.

Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
2021-06-25 15:13:50 -07:00
Stéphane Bidoul 753816c0f7
PEP 660: shorten names and add prepare_metadata_for_build_editable (GH-2004) 2021-06-25 17:45:09 +01:00