This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Fix short option 'd' in 'distutils' command 'bdist_dumb'
Type: behavior Stage: resolved
Components: Distutils Versions: Python 3.9, Python 3.8
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: eric.araujo Nosy List: dstufft, eric.araujo, matrixise, sinoroc
Priority: normal Keywords: patch

Created on 2019-09-12 18:32 by sinoroc, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 16086 closed sinoroc, 2019-09-13 10:49
Messages (3)
msg352224 - (view) Author: (sinoroc) * Date: 2019-09-12 18:32
In the 'distutils' command 'bdist_dumb', the short option 'd' is used
for both the 'bdist-dir' and 'dist-dir' options.

The bdist-dir option appeared first on 2000-05-13 in commit:
ba0506b

The dist-dir option appeared then on 2000-07-05 in commit:
c4eb84a

There appears to have been no version released between these two
commits, so most likely the global behaviour of the command has
stayed consistent.

The short option d actually triggers the dist-dir option, not the
bdist-dir option.

It is therefore safe to change the short option for bdist-dir. A
choice consistent with other similar distutils commands is 'b'.
msg352300 - (view) Author: Stéphane Wirtel (matrixise) * (Python committer) Date: 2019-09-13 11:52
+1 for the fix.
msg379032 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2020-10-19 22:05
Thanks for the report and patch, but considering that distutils is mostly frozen and on its way out of the stdlib, also that bdist_dump is not a format that’s really suitable for anything (people use sdists and wheels), I am inclined to close this.

Setuptools maintainers have adopted (copied) distutils to simplify setuptools, and the bug is present there too, so you could report the bug there: https://github.com/pypa/distutils/blob/master/distutils/command/bdist_dumb.py
History
Date User Action Args
2022-04-11 14:59:20adminsetgithub: 82326
2021-12-09 09:45:02iritkatrielsetstatus: pending -> closed
stage: resolved
2020-10-19 22:05:36eric.araujosetstatus: open -> pending
type: behavior
messages: + msg379032

assignee: eric.araujo
resolution: wont fix
stage: patch review -> (no value)
2019-09-13 11:52:04matrixisesetnosy: + matrixise

messages: + msg352300
versions: - Python 2.7, Python 3.5, Python 3.6, Python 3.7
2019-09-13 10:55:51sinorocsetpull_requests: - pull_request15695
2019-09-13 10:49:33sinorocsetkeywords: + patch
stage: patch review
pull_requests: + pull_request15706
2019-09-12 18:32:20sinorocsettitle: Fix short option 'd' in 'scommand 'bdist_dumb' -> Fix short option 'd' in 'distutils' command 'bdist_dumb'
2019-09-12 18:32:03sinoroccreate