[New-bugs-announce] [issue21867] Turtle returns TypeError when undobuffer is set to 0 (aka no undo is allowed)

Lita Cho report at bugs.python.org
Wed Jun 25 09:01:57 CEST 2014


New submission from Lita Cho:

Turtle currently has a bug where it will return a TypeError when undobuffer is set to less than or equal to 0 (aka undo is not allowed).

turtle.setundobuffer(0)
turtle.undo()


If an exception must be thrown, it should be a Turtle exception and not a TypeError. However, I also feel like if the user calls undo, nothing should happen when undobuffer is set to 0.

----------
messages: 221529
nosy: Lita.Cho
priority: normal
severity: normal
status: open
title: Turtle returns TypeError when undobuffer is set to 0 (aka no undo is allowed)

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21867>
_______________________________________


More information about the New-bugs-announce mailing list