Skip to content

Randit #73304

Closed
Closed

Description

@Spacemage33
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']

    Activity

    1. Spacemage33 commented on Dec 31, 2016

      Spacemage33mannequin
      MannequinAuthor

      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

    2. terryjreedy commented on Dec 31, 2016

      @terryjreedy
      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.

    3. terryjreedy commented on Dec 31, 2016

      @terryjreedy
      Member

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

    4. Spacemage33 commented on Jan 7, 2017

      Spacemage33mannequin
      MannequinAuthor

      Thank you very much.

      Now it works fine!

      2016-12-31 5:42 GMT+01:00 Terry J. Reedy <[email protected]>:

      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 <[email protected]>
      <http://bugs.python.org/issue29118\>


    5. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions