Skip to content
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

Randit #73304

Closed
Spacemage33 mannequin opened this issue Dec 31, 2016 · 4 comments
Closed

Randit #73304

Spacemage33 mannequin opened this issue Dec 31, 2016 · 4 comments
Assignees

Comments

@Spacemage33
Copy link
Mannequin

Spacemage33 mannequin commented Dec 31, 2016

BPO 29118
Nosy @terryjreedy
Files
  • Screenshot_4.png
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/terryjreedy'
    closed_at = <Date 2016-12-31.04:42:39.906>
    created_at = <Date 2016-12-31.03:45:01.446>
    labels = ['expert-IDLE', 'invalid']
    title = 'Randit'
    updated_at = <Date 2017-01-07.08:44:03.198>
    user = 'https://bugs.python.org/Spacemage33'

    bugs.python.org fields:

    activity = <Date 2017-01-07.08:44:03.198>
    actor = 'Spacemage 33'
    assignee = 'terry.reedy'
    closed = True
    closed_date = <Date 2016-12-31.04:42:39.906>
    closer = 'terry.reedy'
    components = ['IDLE']
    creation = <Date 2016-12-31.03:45:01.446>
    creator = 'Spacemage 33'
    dependencies = []
    files = ['46096']
    hgrepos = []
    issue_num = 29118
    keywords = []
    message_count = 4.0
    messages = ['284358', '284361', '284362', '284901']
    nosy_count = 2.0
    nosy_names = ['terry.reedy', 'Spacemage 33']
    pr_nums = []
    priority = 'normal'
    resolution = 'not a bug'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue29118'
    versions = ['Python 3.6']

    @Spacemage33
    Copy link
    Mannequin Author

    Spacemage33 mannequin commented Dec 31, 2016

    I have a book with i can learn phyton but in the first Little game there is "from random import randit" and the book is for Phyton3 now it do not work im realy said about this please fix that

    @Spacemage33 Spacemage33 mannequin assigned terryjreedy Dec 31, 2016
    @Spacemage33 Spacemage33 mannequin added the topic-IDLE label Dec 31, 2016
    @terryjreedy
    Copy link
    Member

    This issue has nothing to do with IDLE. There is also no bug here. Python's random module has a randint function that works fine. Either you or the book have misspelled 'randint' as 'randit' or the book is using its own random module and not the stdlib version. Please post on python-list if you think you have found a bug.

    @terryjreedy
    Copy link
    Member

    Also, wherever you post, copy and paste the traceback instead of adding a link to an image.

    @Spacemage33
    Copy link
    Mannequin Author

    Spacemage33 mannequin commented Jan 7, 2017

    Thank you very much.

    Now it works fine!

    2016-12-31 5:42 GMT+01:00 Terry J. Reedy <report@bugs.python.org>:

    Terry J. Reedy added the comment:

    This issue has nothing to do with IDLE. There is also no bug here.
    Python's random module has a randint function that works fine. Either you
    or the book have misspelled 'randint' as 'randit' or the book is using its
    own random module and not the stdlib version. Please post on python-list
    if you think you have found a bug.

    ----------
    resolution: -> not a bug
    stage: -> resolved
    status: open -> closed


    Python tracker <report@bugs.python.org>
    <http://bugs.python.org/issue29118\>


    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant