[issue3463] make life.py use more rendering characters
A.M. Kuchling [EMAIL PROTECTED] added the comment: I agree with tjreedy that this change is not very interesting for a demo program. It would be more interesting to add larger features such as different cellular automata, mouse or colour support, or something like that. Thanks for your patch, anyway. -- nosy: +akuchling resolution: - rejected status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3463 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3463] make life.py use more rendering characters
mvngu [EMAIL PROTECTED] added the comment: Thank you Terry. I highly appreciate your comments. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3463 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3463] make life.py use more rendering characters
Terry J. Reedy [EMAIL PROTECTED] added the comment: Summary: This patch makes a non-essential change to a curses demo. It also reverses several 2.x to 3.0 edits, turning it back to 2.x code. So the current version must be rejected. Even if corrected, I would still recommend closing. To me, allowing any printable ascii char, even space, to represent live cells adds nothing to the file's value as a curses demo. Perhaps # as an altnative, but even that would be a distraction from the main purpose. The large bash-specific input chart is very nice. I wish I has had something like that when I worked with sh and csh. But it has little to do with this program in particular or Python as such and I think it would be a distraction if added. These diffs and others like them replace 3.0 code with 2.x code that in two cases will not work in 3.0. -raise ValueError(Coordinates out of range %i,%i% (y,x)) +raise ValueError, Coordinates out of range %i,%i% (y,x) -live = (i,j) in self.state +live = self.state.has_key( (i,j) ) -xpos, ypos = board.X//2, board.Y//2 +xpos, ypos = board.X/2, board.Y/2 -- nosy: +tjreedy ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3463 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3463] make life.py use more rendering characters
New submission from mvngu [EMAIL PROTECTED]: Allows life.py to use other characters for rendering (alphanumeric plus punctuation characters), apart from the default asterisk *. The rendering character can be specified from the command line. -- components: Demos and Tools files: life.py.diff keywords: patch messages: 70375 nosy: mvngu severity: normal status: open title: make life.py use more rendering characters type: behavior versions: Python 3.0 Added file: http://bugs.python.org/file11001/life.py.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3463 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com