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 <rep...@bugs.python.org>
<http://bugs.python.org/issue21867>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to