Skip to content

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented Apr 21, 2024

@hugovk hugovk added the stdlib Python modules in the Lib dir label Apr 21, 2024
@hugovk hugovk requested a review from rhettinger as a code owner April 21, 2024 15:54
@rhettinger rhettinger removed their request for review April 21, 2024 18: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.

return randint(1, args.integer)

if args.float is not None:
return uniform(1, args.float)
Copy link
Contributor

@andersk andersk Sep 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants