Skip to content

The antigravity module needs the "getRandomNumber" function #135027

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mrmcscreamypant opened this issue Jun 2, 2025 · 5 comments
Closed

The antigravity module needs the "getRandomNumber" function #135027

mrmcscreamypant opened this issue Jun 2, 2025 · 5 comments
Labels
pending The issue will be closed if no feedback is provided stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@mrmcscreamypant
Copy link

mrmcscreamypant commented Jun 2, 2025

Feature or enhancement

Proposal:

def get_random_number():
    return 4 #chosen by fair dice roll
             #guaranteed to be random

This is clearly a major issue. (https://xkcd.com/221)

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

@mrmcscreamypant mrmcscreamypant added the type-feature A feature request or enhancement label Jun 2, 2025
@picnixz picnixz added the stdlib Python modules in the Lib dir label Jun 2, 2025
@mrmcscreamypant
Copy link
Author

Already working on a PR

@picnixz
Copy link
Member

picnixz commented Jun 2, 2025

I don't know if it's useful though. This module was meant to be a bit of a joke, not to be maintained further.

@picnixz picnixz added the pending The issue will be closed if no feedback is provided label Jun 2, 2025
@mrmcscreamypant
Copy link
Author

The module has been maintained before:
#19520

@picnixz
Copy link
Member

picnixz commented Jun 2, 2025

For a good reason, as it was a bugfix. Adding this function is honestly not a useful feature.

@picnixz
Copy link
Member

picnixz commented Jun 2, 2025

I will reject this feature because I don't think it's useful and I don't think this module needs to be changed more.

@picnixz picnixz closed this as not planned Won't fix, can't repro, duplicate, stale Jun 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending The issue will be closed if no feedback is provided stdlib Python modules in the Lib dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants