summaryrefslogtreecommitdiffstats
path: root/Demo
Commit message (Collapse)AuthorAgeFilesLines
* More cleanup: Move some demos into a dedicated Tools/demo dir, move 2to3 ↵Georg Brandl2010-12-30164-14971/+0
| | | | demo to Tools, and remove all the other Demo content.
* Remove some of the old demos. (Put a few somewhere else.)Georg Brandl2010-12-3068-8508/+0
|
* s/colour/color/gSenthil Kumaran2010-11-261-3/+3
|
* Mouse support and colour to Demo/curses/life.py by Dafydd CrosbySenthil Kumaran2010-11-251-2/+36
|
* Issue #10199: Moved Demo/turtle under Lib/Alexander Belopolsky2010-11-0124-2328/+0
|
* Encoding fix.Georg Brandl2010-10-271-1/+1
|
* faqwiz is removed.Georg Brandl2010-10-261-2/+1
|
* Work a bit more on tkinter demos.Georg Brandl2010-10-269-87/+96
|
* #3018: tkinter demo fixes for py3k.Georg Brandl2010-10-2518-179/+196
|
* remove obselete import implementation #7287Benjamin Peterson2010-10-131-123/+0
|
* Use os.fsencode() to support surrogatesVictor Stinner2010-09-291-1/+1
|
* Remove usage of rexec in tkinter demo.Georg Brandl2010-08-211-16/+13
|
* Fix-up some tkinter demos.Georg Brandl2010-08-024-10/+8
|
* Remove reference to removed faqwiz tool.Georg Brandl2010-08-021-1/+1
|
* Remove obsolete pdist demo.Georg Brandl2010-08-0221-3196/+0
|
* Another demo that at least runs again.Georg Brandl2010-08-021-8/+7
|
* Make minigzip work again.Georg Brandl2010-08-021-21/+22
|
* Update Demo README.Georg Brandl2010-08-021-27/+31
|
* Update README, remove obsolete script.Georg Brandl2010-08-022-125/+18
|
* #6439: fix argument type for PySys_SetArgvEx() and Py_SetProgramName() in ↵Georg Brandl2010-08-013-4/+4
| | | | Demo/embed code.
* "Modernized" the demo a little.Alexander Belopolsky2010-07-051-14/+28
|
* Update Vec class constructor, remove indirection via function, use operator ↵Georg Brandl2010-07-051-14/+14
| | | | module.
* Remove Dbm.Georg Brandl2010-07-051-1/+0
|
* Make Demo/parser/test_parser.py run.Mark Dickinson2010-07-041-6/+6
|
* Fixed the testAlexander Belopolsky2010-07-041-1/+1
|
* Fixed doctestsAlexander Belopolsky2010-07-041-12/+10
|
* Remove old and unsafe Dbm demo class.Georg Brandl2010-07-041-66/+0
|
* Made minimal modifications to pass included testsAlexander Belopolsky2010-07-031-17/+7
|
* Issue #9151: Demo/classes/Dates.py does not work in 3.x ConvertedAlexander Belopolsky2010-07-031-49/+48
| | | | | | descriptive comment into a docstring. Cast attributes to int in __init__. Use __new__ instead of deleting attributes to "uninitialize".
* Issue #9151: Demo/classes/Dates.py does not work in 3.xAlexander Belopolsky2010-07-031-9/+10
| | | | Made minimal changes to make included test pass.
* Unparse infinite imaginary literals correctly. Add some more numeric tests.Mark Dickinson2010-06-302-5/+20
|
* Revert accidental extra changes included in r82391.Mark Dickinson2010-06-302-42/+5
|
* Issue #9011: Tests for Python 3.2's treatment of negated imaginary literals.Mark Dickinson2010-06-302-5/+42
|
* Remove backtick syntax for repr.Mark Dickinson2010-06-301-5/+0
|
* Better solution for attribute access on integer literals.Mark Dickinson2010-06-301-14/+8
|
* Output try-except-finally statements where appropriate.Mark Dickinson2010-06-302-5/+23
|
* Collapse else: if: ... into elif:Mark Dickinson2010-06-302-1/+32
|
* Fix typo in unparsing of a class definition.Mark Dickinson2010-06-292-1/+3
|
* test_unparse.py: Do roundtrip testing for all Python files in Lib and Lib/test.Mark Dickinson2010-06-291-8/+46
|
* More unparse.py fixes:Mark Dickinson2010-06-292-11/+26
| | | | | | | - parenthesize lambdas, to avoid turning (lambda : int)() into lambda: int() - unparse an infinite float literals in the AST as an overflowing finite value unparse.py now successfully round-trips on all valid Lib/*.py and Lib/test/*.py files.
* Add parentheses around numeric literals, to avoid turning 3 .bit_length() ↵Mark Dickinson2010-06-292-10/+14
| | | | into 3.bit_length().
* unparse.py: respect coding cookie in input filesMark Dickinson2010-06-291-1/+5
|
* Update md5driver.py for 3.x.Brian Curtin2010-06-291-7/+6
| | | | Changed an import, replaced md5.new() with md5(), and added an encode where needed.
* unparse.py: Typo fix.Mark Dickinson2010-06-281-1/+1
|
* Update Demo/parser/unparse.py to current Python 3.x syntax. Additions:Mark Dickinson2010-06-282-54/+194
| | | | | | | | | | | | | | | | | | - relative imports - keyword-only arguments - function annotations - class decorators - raise ... from ... - except ... as ... - nonlocal - bytes literals - set literals - set comprehensions - dict comprehensions Removals: - print statement. Some of this should be backported to 2.x.
* Merged revisions 82345 via svnmerge fromMark Dickinson2010-06-282-1/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82345 | mark.dickinson | 2010-06-28 20:54:19 +0100 (Mon, 28 Jun 2010) | 1 line unparse.py: fix mispaced parentheses in chained comparisons ........
* Merged revisions 82338,82340-82341 via svnmerge fromMark Dickinson2010-06-282-6/+77
| | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82338 | mark.dickinson | 2010-06-28 20:31:41 +0100 (Mon, 28 Jun 2010) | 9 lines Fix some shallow bugs in Demo/parser/unparse.py, and add tests: - insert commas between entries in del statement - left and right shifts were represented as >> and << (respectively); reverse - unindent properly after for: else: or while: else: - add parens around the result of an unary operation - add parens around negative numbers, to avoid turning (-1)**2 into -1**2. ........ r82340 | mark.dickinson | 2010-06-28 20:34:15 +0100 (Mon, 28 Jun 2010) | 1 line Fix typo in test_unparse.py. ........ r82341 | mark.dickinson | 2010-06-28 20:38:19 +0100 (Mon, 28 Jun 2010) | 1 line Set svn:eol-style on test_unparse.py. ........
* Merged revisions 81880 via svnmerge fromBenjamin Peterson2010-06-271-3/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81880 | andrew.kuchling | 2010-06-10 19:14:34 -0500 (Thu, 10 Jun 2010) | 1 line Edit comments for current Python; bump version number of Python ........
* Merged revisions 81881-81882 via svnmerge fromBenjamin Peterson2010-06-271-3/+12
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81881 | andrew.kuchling | 2010-06-10 19:16:08 -0500 (Thu, 10 Jun 2010) | 1 line #5753: update demo.c to use PySys_SetArgvEx(), and add a comment ........ r81882 | andrew.kuchling | 2010-06-10 19:23:01 -0500 (Thu, 10 Jun 2010) | 1 line #5753: Suggest PySys_SetArgvEx() instead of PySys_SetArgv() ........
* Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou2010-05-093-311/+311
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........