Skip to content

Conversation

@hugovk
Copy link
Member

@hugovkhugovk commented Apr 21, 2024

@hugovkhugovk added the stdlib Standard Library Python modules in the Lib/ directory label Apr 21, 2024
@hugovkhugovk requested a review from rhettinger as a code ownerApril 21, 2024 15:54
@rhettinger
Copy link
Contributor

Personally, I don't support this proposal but won't stand in the way of it either. It seems gratuitous.

@hugovkhugovk enabled auto-merge (squash) May 5, 2024 06:06
@hugovkhugovk merged commit 3b32575 into python:mainMay 5, 2024
@hugovkhugovk deleted the random-cli branch May 5, 2024 06:30
SonicField pushed a commit to SonicField/cpython that referenced this pull request May 8, 2024
returnrandint(1, args.integer)

ifargs.floatisnotNone:
returnuniform(1, args.float)
Copy link
Contributor

@anderskanderskSep 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In #118131 this was specced for floats to use the range between 0 and N of length N, which would be more useful and makes a lot more sense than the range between 1 and N of length N - 1.

@hugovkhugovk mentioned this pull request Mar 13, 2025
9 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stdlibStandard Library Python modules in the Lib/ directory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@hugovk@rhettinger@andersk@pfmoore@funkyfuture@erlend-aasland@layday