Commit Graph

8960 Commits

Author SHA1 Message Date
Bernát Gábor 0bc330a6f1
PEP 662: Editable installs via virtual wheels (#1977) 2021-06-11 12:34:03 -07:00
Adam Turner c69fdbf5e1
Add config option in `build.py` for Sphinx builders (#1988) 2021-06-09 14:02:16 +01:00
Adam Turner ec52afb543
Update to only deploy Sphinx to gh-pages on pushing to `master` (GH-1987) 2021-06-09 01:51:47 +01:00
Adam Turner 0f3bbd9ad9
Sphinx support: add docutils support files (#1931)
See #2, #1385 for context. Superseeds #1566.

This is the docutils parsing, transforms and writing part, building on PR #1930. It contains a pseudo-package, `sphinx_pep_extensions`, which itself contains:

### Docutils parsing:
- `PEPParser` - collates transforms and interfaces with Sphinx core
- `PEPRole` - deals with :PEP:`blah` in RST source

### Docutils transforms:
- `PEPContents` (Creates table of contents without page title)
- `PEPFooter` (Dels with footnotes, link to source, last modified commit)
- `PEPHeaders` (Parses RFC2822 headers)
- `PEPTitle` - Creates document title from PEP headers
- `PEPZero` - Masks email addresses and creates links to PEP numbers from tables in `pep-0000.rst`

### Docutils HTML output:
- `PEPTranslator` - Overrides to the default HTML translator to enable better matching of the current PEP styles
2021-06-09 01:37:55 +01:00
Adam Turner 353379966d
Sphinx support: add Sphinx core files (#1930)
See #2, #1385 for context. Superseeds #1565.

This is the minimal core Sphinx support part, adding a bare minimum of useful things to get Sphinx to build and deploy, whilst not affecting the current build system. There is no theming or custom parsing needed to properly deal with PEPs.

- `build.py` - build script
- `conf.py` - Sphinx configuration
- `Makefile` - new targets for Sphinx
- `.gitignore` - add ignores for `venv` and `package` directories
- `contents.rst` - Sphinx page to discover all PEPs
- `deploy-gh-pages.yaml` - builds and deploys to github pages
- `requirements.txt`
2021-06-09 00:11:26 +01:00
Tal Einat 629a8b44b0
PEP 661: add a "Discussions-To" header (#1986) 2021-06-08 18:07:58 +03:00
Brett Cannon 97bec2f7d6
Add taleinat to CODEOWNERS for PEP 661 2021-06-07 16:26:36 -07:00
Andre Delfino 818bd7e848
Fix reference implementation (#1981) 2021-06-07 16:24:15 -07:00
Julien Palard be369d9066
pep-101: /3/ symlink is handled by the build server now. (#1985) 2021-06-07 18:20:51 +02:00
Julien Palard 2c4b01e7a7
Release: drop 'make suspicious' from release process. (#1982)
As it's no longer mandatory to merge, some false positives can sneak in.

It's a burden for RMs, and it's slowly been handled in:

https://bugs.python.org/issue42238
2021-06-07 10:57:11 +02:00
Tal Einat 910d060988
PEP 661: fix links and tweak some wording (#1980) 2021-06-06 11:32:34 +03:00
Tal Einat b368a5a4be
PEP 661: Sentinel Values (#1979) 2021-06-06 10:27:23 +03:00
Sergey B Kirpichev 5d30e8b563
PEP 515: fix links (#1973) 2021-05-31 13:20:37 -07:00
Tzu-ping Chung 9873d12f27
PEP 658: Served metadata may be non-static (#1972) 2021-05-31 13:19:40 -07:00
Mark Shannon 5ba83633f6
Make PEP 659 draft. (#1971) 2021-05-26 12:21:31 +01:00
Mark Shannon 43821ac28b
Withdraw PEP 611. (#1970) 2021-05-25 18:33:53 +01:00
Mark Shannon 3800569551
Make PEP 626 final. (#1969) 2021-05-25 07:18:35 -07:00
Brett Cannon aa56470ad7
Add Mark to CODEOWNERS for PEP 659 2021-05-20 12:00:23 -07:00
Stéphane Bidoul b875991e6a
PEP 660: build_wheel_for_editable (#1944) 2021-05-20 11:58:22 -07:00
Brett Cannon 11debc3dd9
Fix a PEP number discrepancy in the README 2021-05-17 15:45:53 -07:00
Pablo Galindo aed5fd66c0
PEP 657: Add a new rejected idea section for single-caret errors (#1965) 2021-05-17 18:38:24 +01:00
Fredrik Averpil 575c0d163d
Update instructions to use pep-9999.rst in README (GH-1963) 2021-05-15 22:55:58 +03:00
Ankush Menat d209386487
PEP 659: fix a typo (#1961) 2021-05-13 22:40:40 +10:00
Pablo Galindo 27c75f67c4
PEP 657: Update the public API and the opt-out mechanism (#1959) 2021-05-12 21:33:09 +01:00
Tzu-ping Chung bcf1f22b20
PEP 658: Fix typo (#1958) 2021-05-12 07:14:28 -07:00
Tzu-ping Chung e5c9cb94d0
PEP 658: Static Distribution Metadata in the Simple Repository API (#1955) 2021-05-11 18:43:01 -07:00
Mark Shannon ab2d326d54
PEP 659: Specializing Adaptive Interpreter (#1957) 2021-05-11 15:27:04 +01:00
Ammar Askar 5025de8493
PEP 657: Add Discussions-To linking to discourse thread (#1954)
* PEP 657: Add Discussions-To linking to discourse thread

* Remove specific post
2021-05-09 23:36:39 +01:00
Ammar Askar 862a3836ce
PEP 657: Fix incorrect percentage for standard library pyc size increase (#1953) 2021-05-09 21:10:58 +03:00
Batuhan Taskaya 3e852b2176
PEP 657: add codeowners (#1952) 2021-05-09 00:05:53 +03:00
Pablo Galindo 2be673e54a
PEP 657: Clarifications regarding optimized mode 2021-05-08 19:58:01 +01:00
Pablo Galindo 822755724f
PEP 657: Include fine grained error locations in tracebacks (GH-1950) 2021-05-08 18:27:58 +01:00
Pablo Galindo fae0ce2014
Update references to master to point to main (#1948) 2021-05-08 04:24:21 +01:00
Inada Naoki aae66b2c4b
PEP 624: Final (#1947)
Implemented in https://github.com/python/cpython/pull/25881
2021-05-08 10:10:53 +09:00
Mario Corchero a256e40eab
PEP648: Rework based on feedback from the Steering Council (#1941) 2021-05-06 21:14:33 +01:00
Stéphane Wirtel 991815f936
PEP 0013: Update Current Steering Council for 2021 term (#1946) 2021-05-05 10:54:30 -07:00
Kai a1571bce76
Update two links in README.rst to use HTTPS (#1945)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2021-05-04 12:31:38 -07:00
Łukasz Langa 094b1ed50d
[pep-0619] Mark 3.10.0b1 as released 2021-05-04 00:59:45 +02:00
Łukasz Langa 508dc12016
[pep-0596] Mark Python 3.9.5 as released 2021-05-03 19:01:00 +02:00
Łukasz Langa 0d3008cdbe
[pep-0569] Mark last regular bugfix release as done 2021-05-03 16:38:52 +02:00
Brandt Bucher b7e5a99aa0
PEP 634: Fix markup for sequence pattern note (GH-1940) 2021-04-29 15:08:57 -07:00
Mark Shannon c176458336
PEP 626: Update PyLineTable_InitAddressRange spec (#1939)
* Add length parameter to PyLineTable_InitAddressRange. Allows line tables that are not sentinel terminated and makes the extent of the line table explicit.

* Make opaque part of PyCodeAddressRange more explicitly opaque.
2021-04-28 08:15:40 -07:00
Sergey B Kirpichev 9d5ca8ff2c
PEP 3141: fix link for the Haskell numeric prelude (#1938) 2021-04-27 07:54:30 -07:00
Mark Shannon 6be779381a
PEP 634: Reword sequence and mapping patterns sections to be more robust (#1937)
The new language is more precise, and leaves the door open for more implementation options, by not seeming to require that the pattern implementation must import collections.abc.

The new language allows only using sys.modules if has already been imported (e.g. by peeking in sys.modules).

Also, for internal use of CPython, two new flags, `Py_TPFLAGS_SEQUENCE` and `Py_TPFLAGS_MAPPING` are introduced, which support recognizing built-in sequence and mapping types without importing collections.abc.
2021-04-26 07:10:51 -07:00
Brett Cannon 0328f275c9
PEP 467: drop a stranded marker 2021-04-24 16:27:43 -07:00
Irit Katriel 84fbb3ffb2
add acknowledgements (#1935) 2021-04-22 18:09:16 -07:00
Petr Viktorin efd8e7029e
Mark PEP 652 accepted & add a note from the SC and link to bpo (#1929) 2021-04-20 07:18:24 -07:00
Matthew Rahtz 5578160afa
PEP 646: Add some broader context (#1904)
These sections were requested in some feedback we got when talking to NumPy and JAX folks. OK, this does make an already-long PEP even longer, but I do think this context is important - especially for folks who don't have strong intuitions for how parametric typing works in Python.
2021-04-18 11:59:20 -07:00
Tzu-ping Chung 051b07cced
Accept PEP 656 (#1928) 2021-04-17 17:04:03 -07:00
Christian Heimes 3e0155e145
PEP 644: Added accepted mail and mark as final (GH-1927) 2021-04-17 11:46:03 +02:00