[issue18457] Fix and cleanup the ss1.py demo

2013-07-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue18457] Fix and cleanup the ss1.py demo

2013-07-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9098a4ad4d3e by Serhiy Storchaka in branch '3.3': Issue #18457: Fixed saving of formulas and complex numbers in Tools/demo/ss1.py. http://hg.python.org/cpython/rev/9098a4ad4d3e New changeset c6b91d894577 by Serhiy Storchaka in branch 'default': Issu

[issue18457] Fix and cleanup the ss1.py demo

2013-07-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for report. This is a separated issue #18461. -- ___ Python tracker ___ ___ Python-bugs-

[issue18457] Fix and cleanup the ss1.py demo

2013-07-15 Thread Févry Thibault
Févry Thibault added the comment: These are some nice improvements, but there is still a crash if you type =1000**5000 . -- nosy: +iwontbecreative ___ Python tracker ___ ___

[issue18457] Fix and cleanup the ss1.py demo

2013-07-15 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Here is a patch which fixes some bugs in Tools/demo/ss1.py: * Saving formulas containing & and < symbols. * Saving complex numbers. Also it a little cleanups the code: * Using xml.sax.saxutils.escape instead of html.escape. * Using the with statement for f