pypa / pypa/distutils

In the command 'bdist_dumb' the short option '-d' is used twice

Open
#18 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
Dominant language
Python
Stars
59
Forks
94
PR merge metrics
No merged PRs in 30d

Description

Issue was originally filed for CPython here:

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'.

And the originally suggested fix is here:

Is it something that is still worth fixing?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the distutils bdist_dumb command entry point and inspect how the bdist-dir and dist-dir options assign their short names. Use the linked CPython issue and pull request for context; done means bdist-dir uses the proposed distinct short option while the existing dist-dir behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.