Skip to content

turtle.py: bug in TurtleScreenBase._drawimage #48200

Closed

Description

@gregorlingl
BPO 3950
Nosy @gvanrossum, @loewis, @birkenfeld, @benjaminp, @miss-islington
PRs
  • bpo-3950: fix docs for default locale of gettext #18435
  • [3.8] bpo-3950: Fix docs for default locale used by gettext to match implementation (GH-18435) #18440
  • [3.7] bpo-3950: Fix docs for default locale used by gettext to match implementation (GH-18435) #18439
  • Files
  • _drawimage-patch.diff: unified diff of the patch to fix this bug
  • _drawimage_bug_fix_test.py: bug-demo
  • huhn.gif: necessary ressource to run demo
  • 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/benjaminp'
    closed_at = <Date 2008-09-24.22:14:40.172>
    created_at = <Date 2008-09-23.22:26:18.030>
    labels = ['type-bug']
    title = 'turtle.py: bug in TurtleScreenBase._drawimage'
    updated_at = <Date 2020-02-10.21:37:52.504>
    user = 'https://bugs.python.org/gregorlingl'

    bugs.python.org fields:

    activity = <Date 2020-02-10.21:37:52.504>
    actor = 'gvanrossum'
    assignee = 'benjamin.peterson'
    closed = True
    closed_date = <Date 2008-09-24.22:14:40.172>
    closer = 'georg.brandl'
    components = []
    creation = <Date 2008-09-23.22:26:18.030>
    creator = 'gregorlingl'
    dependencies = []
    files = ['11578', '11579', '11580']
    hgrepos = []
    issue_num = 3950
    keywords = ['patch']
    message_count = 7.0
    messages = ['73673', '73677', '73724', '73757', '73758', '361724', '361726']
    nosy_count = 6.0
    nosy_names = ['gvanrossum', 'loewis', 'georg.brandl', 'gregorlingl', 'benjamin.peterson', 'miss-islington']
    pr_nums = ['18435', '18440', '18439']
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue3950'
    versions = ['Python 2.6']

    Activity

    1. gregorlingl commented on Sep 23, 2008

      gregorlinglmannequin
      MannequinAuthor

      In the first line of TurtleScreenBase._drawimage() there are to
      scalefactors missing. This leads to the annoying fact, that the drawings
      and the movement of a turtle which has an image shape differ.

      This is shown in the short script
      _drawimage_bug_fix-test.py
      which I'll submit immediately. (You have to have huhn.gif in the same
      directory as the script.)

      After applying the bugfix submitted in
      _drawimage_patch.diff
      this annoying behaviour goes away.

      It is really an ambarassing and easy to fix bug.
      Regards, Gregor

    2. added
      type-bug
      on Sep 23, 2008
    3. benjaminp commented on Sep 23, 2008

      @benjaminp
      Contributor

      Go ahead and apply it.

    4. birkenfeld commented on Sep 24, 2008

      @birkenfeld
      Member

      Gregor doesn't have commit rights. Patch looks OK, would you apply it
      please, Ben?

    5. benjaminp commented on Sep 24, 2008

      @benjaminp
      Contributor

      Done in r66614.

      Georg, according to http://python.org/dev/committers and r64063, Gregor
      does have commit access.

    6. birkenfeld commented on Sep 24, 2008

      @birkenfeld
      Member

      My apologies then.

    7. miss-islington commented on Feb 10, 2020

      @miss-islington
      Contributor

      New changeset 3b888ad by Miss Islington (bot) in branch '3.7':
      [3.7] bpo-3950: Fix docs for default locale used by gettext to match implementation (GH-18435) (GH-18439)
      3b888ad

    8. gvanrossum commented on Feb 10, 2020

      @gvanrossum
      Member

      Sorry, those PRs were for bpo-39501.

    9. 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

    Labels

    type-bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions