[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':
Issue #18457: Fixed saving of formulas and complex numbers in Tools/demo/ss1.py.
http://hg.python.org/cpython/rev/c6b91d894577

--
nosy: +python-dev

___
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



[issue18457] Fix and cleanup the ss1.py demo

2013-07-16 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

___
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



[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 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



[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 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



[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 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