[issue30031] Improve queens demo (use argparse and singular form)

2017-04-10 Thread Pavlo Kapyshin
New submission from Pavlo Kapyshin: Currently Tools/demo/queens.py: - does manual sys.argv parsing - says “Found 1 solutions” I propose to: 1) use argparse; 2) if q.nfound == 1, use “solution”. I you are ok with this, I’ll make a pull request. -- components: Demos and Tools

[issue30031] Improve queens demo (use argparse and singular form)

2017-04-11 Thread Pavlo Kapyshin
Changes by Pavlo Kapyshin : -- pull_requests: +1228 ___ Python tracker <http://bugs.python.org/issue30031> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30031] Improve queens demo (use argparse and singular form)

2017-04-17 Thread Pavlo Kapyshin
Pavlo Kapyshin added the comment: Louie Lu, thank you for the review. Different quotes were already used in file, so someone should decide which ones must be used: single or double. Regarding the -n option, I tried to be backwards compatible. Again, a decision is needed. The only place where