Commit Graph

26 Commits

Author SHA1 Message Date
Adam Turner b199a29c8a
Many PEPs: Resolve reference warnings (#3214)
This commit resolves all outstanding duplicate label
and duplicate citation warnings.
I have not yet addressed unreferenced footnote warnings.

I took the general strategy of replacing a target above a section heading
with references directly to that section heading,
or where impractical, disambiguting the target with ``PEP NNN``.
I also converted all the citations in PEP 482 to links,
as they were causing duplicate citation warnings.
2023-07-31 17:50:14 +01:00
Adam Turner 113e490701
Several PEPs: Use explicit `:pep:` and `:rfc:` roles (#2209) 2022-01-21 11:03:51 +00:00
Miro Hrončok ae932bd6fd PEP 394: Allow for more flexibility in handling /usr/bin/python (GH-989)
* PEP 394: Distributions can choose what does python mean

Co-Authored-By: Petr Viktorin <encukou@gmail.com>

* fixup! PEP 394: Distributions can choose what does python mean

* fixup! PEP 394: Distributions can choose what does python mean

* fixup! PEP 394: Distributions can choose what does python mean

* PEP 394: Keep version agnostic shebang recommendation

This update reverts back to the version agnostic "python" invocation
as the default recommendation for developers, and rewords the
rest of the PEP accordingly.

In particular, it makes it clear that publishers are free to adopt
the attitude of "we assume you are using a virtual environment",
while at the same time granting the distributors the freedom they
need to make software with the expectation work correctly when
run directly against a system Python installation.

* Apply suggestions from code review

Co-Authored-By: Carol Willing <carolcode@willingconsulting.com>

* Moving letters around

* Change the abstract

* Remove a paragraph

* ValueError: some authors have more than one email address listed

* Apply suggestions from code review

Co-Authored-By: Petr Viktorin <encukou@gmail.com>

* Address review comments

* Rename section headers
* Push script publishers and users to virtual environments
* Rewording

* Remove "preferred" shebang line wording

* Change post date

* Little tweaks

* Address review comments

- Clarify wording on "older" Linux distros
- Remove discussion aroung Python 4.0
2019-07-05 12:06:34 -07:00
Nick Coghlan 214736457f
PEP 394: Add latest post date 2018-04-30 23:30:21 +10:00
Petr Viktorin cd59ec03c8
PEP 394: Allow the `python` command to not be installed, and other minor edits (GH-630)
* Allow the `python` command to not be installed, and other minor edits

- Distributions can omit the ``python`` command even when
  ``python2`` is installed in test environments, build systems,
  and other controlled environments where being explicit is
  valued more than user experience.
- Users, by a deliberate action, change
  ``python`` to invoke Python 3. Activating a venv counts as
  such an action.
- Other edits and clarifications

* Add myself as an author
2018-04-28 17:51:37 -04:00
Mariatta cf3bad5ab3
Revert "Rename all .txt PEP files to .rst (GH-462)" (GH-464)
This reverts commit bb0e518ed3.
2017-11-11 11:28:55 -08:00
Huang Huang bb0e518ed3 Rename all .txt PEP files to .rst (GH-462)
For https://github.com/python/peps/issues/1
2017-11-11 10:30:43 -08:00
Benjamin Peterson 60d9b24542 promote m.p.o links to https 2017-06-11 12:02:39 -07:00
Nick Coghlan bd5cf23940 PEP 394: fix typo reported by Jan Pokorný 2015-04-24 17:04:39 +10:00
Barry Warsaw 076d085a26 Add myself. 2015-04-14 16:35:03 -04:00
Berker Peksag ca057e1e8b PEP 394: Fix date. 2014-10-01 05:20:13 +03:00
Nick Coghlan f8f0056806 PEP 394: fix typo 2014-09-30 21:24:40 +10:00
Nick Coghlan 68458f5634 PEP 394: Change verb tense & cover 2.7 maintenance extension 2014-09-30 21:20:14 +10:00
Nick Coghlan 0f8d772c36 PEP 394: Clarify that "python" should mean "python2" 2014-09-30 21:18:22 +10:00
Nick Coghlan 42551db573 Update PEP 394 based on python-dev discussions 2013-07-25 22:21:27 +10:00
Nick Coghlan 2aa4edc29f Update PEP 394 to record acceptance, fix awkward phrasing in the rational section and incorporate Barry's suggestion of explicitly noting that we expect the recommendation to eventually change 2012-02-17 21:10:58 +10:00
Nick Coghlan debf680236 Drop a suggestion from PEP 394's migration notes that's a really bad idea in a world containing scripts that are source compatible with both Python 2 and 3 2012-02-16 21:46:35 +10:00
Nick Coghlan 2819d48c7b Update PEP 394 for latest round of python-dev discussions 2012-02-16 21:37:46 +10:00
Martin v. Löwis ca32420f11 Dummy commit to check PEP build process. 2012-02-16 09:37:35 +01:00
Nick Coghlan 79b06628e2 Add tracker reference for PEP 394 2012-02-12 18:51:57 +10:00
Nick Coghlan 5a195a9690 Update based on Kerrick's latest changes 2011-07-20 18:23:25 +10:00
Nick Coghlan 3c695c02ac Reword a few things to make it clear that switching to Python 3 as the default interpreter is still bleeding edge stuff at this point in time. Also clarify the Windows situation a little more. 2011-03-07 22:09:55 +00:00
Nick Coghlan 4a7ccd55db Note that source compatible scripts may continue to refer to the version agnostic python command without affecting portability 2011-03-05 07:06:50 +00:00
Nick Coghlan 46fb064332 Minor nits 2011-03-05 06:59:59 +00:00
Nick Coghlan 83f4dde01c Update symlink naming PEP based on python-dev thread responses 2011-03-05 06:51:05 +00:00
Nick Coghlan fdb7fa1344 Add proposed PEP for *nix command naming conventions 2011-03-04 12:04:22 +00:00