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

2014-07-25 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker ___ ___ Python-bugs-lis

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

2014-07-22 Thread Lita Cho
Lita Cho added the comment: This is now fixed due to a patch in issue21868. -- resolution: -> fixed ___ Python tracker ___ ___ Python

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

2014-06-25 Thread Lita Cho
Lita Cho added the comment: That makes a lot of sense. Does that mea we shouldn't change this behaviour as there might be code that relies on these exceptions? The fix in issue21868 will make it so that undo doesn't cause turtle to crash. -- ___ Pyt

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

2014-06-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: For the most part, we don't change exceptions once they are published in the standard library because it breaks any code that relies on those exceptions. That is why it is so important to get the API correct to begin with. TypeError was the wrong choice, i

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

2014-06-25 Thread Lita Cho
Lita Cho added the comment: The patch in issue21868 will fix this issue if it gets approved. -- ___ Python tracker ___ ___ Python-bugs

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

2014-06-25 Thread Lita Cho
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. Ho

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

2014-06-25 Thread Lita Cho
Changes by Lita Cho : -- nosy: +jesstess ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or