This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: 2 bugs in turtle.py
Type: Stage:
Components: Library (Lib) Versions: Python 2.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: loewis Nosy List: glingl, loewis
Priority: normal Keywords:

Created on 2002-09-21 18:42 by glingl, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (2)
msg12452 - (view) Author: Gregor Lingl (glingl) (Python committer) Date: 2002-09-21 18:42
Module: turtle

Bug nr. 1: 
   Phenomenology: The first pen constructed with Pen()
   has a different origin than all the next ones.
   
   Reason: Twofold. First, packing seems not to be
performed
   in time, so canvas.winfo_width() / height() do not 
   return the correct values.
   Second, canvas['width'] differs from
canvas.winfo_width()
   by 4. The same is the case with height. 
   
   Remedy (suggestions): 
   - call canvas.update() before calculation RawPen's
origin
   - in "emergency"-case set width to canvas["width"] + 4  
     (same with height)
     (Don't know if this value of 4 results from some inset
      or what ever ...)
    
Bug nr. 2:
   Phenomenology:
   circle doesn't update turtle-position (in case
tracer is on).
   Reason (and suggested remedy):     
   - self._draw_turtle() is missing at the end of
circle's code
   
 
msg12453 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-09-22 13:02
Logged In: YES 
user_id=21627

Thanks for your report. Implemented as suggested, in
turtle.py 1.7 and 1.5.16.2.
History
Date User Action Args
2022-04-10 16:05:41adminsetgithub: 37200
2002-09-21 18:42:03glinglcreate