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 file I/O. * Removed out-of-dated and redundant code. On Python 2 the ss1.py demo is totally broken due to using out-of-dated rexec module. ---------- assignee: serhiy.storchaka components: Demos and Tools files: demo_ss1.patch keywords: patch messages: 193089 nosy: serhiy.storchaka priority: normal severity: normal stage: patch review status: open title: Fix and cleanup the ss1.py demo type: behavior versions: Python 3.3, Python 3.4 Added file: http://bugs.python.org/file30925/demo_ss1.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18457> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com