summaryrefslogtreecommitdiffstats
path: root/Demo
Commit message (Collapse)AuthorAgeFilesLines
* 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. ........
* Remove traces of MacOS9 support.Ronald Oussoren2010-05-051-26/+5
| | | | Fix for issue #7908
* Merged revisions 78779 via svnmerge fromBenjamin Peterson2010-03-2146-0/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78779 | benjamin.peterson | 2010-03-07 20:11:06 -0600 (Sun, 07 Mar 2010) | 1 line remove svn:executable from scripts without a shebang line ........
* fix demo/doc eolBenjamin Peterson2010-03-192-317/+312
|
* convert shebang lines: python -> python3Benjamin Peterson2010-03-1174-74/+74
|
* Merged revisions ↵Benjamin Peterson2009-11-251-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 75264,75268,75293,75318,75391-75392,75436,75478,75971,76003,76058,76140-76141,76231,76380,76428-76429 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r75264 | andrew.kuchling | 2009-10-05 17:30:22 -0500 (Mon, 05 Oct 2009) | 1 line Add various items ........ r75268 | andrew.kuchling | 2009-10-05 17:45:39 -0500 (Mon, 05 Oct 2009) | 1 line Remove two notes ........ r75293 | kristjan.jonsson | 2009-10-09 09:32:19 -0500 (Fri, 09 Oct 2009) | 2 lines http://bugs.python.org/issue7029 a non-default timer wasn't actually used by the individual Tests. ........ r75318 | benjamin.peterson | 2009-10-10 16:15:58 -0500 (Sat, 10 Oct 2009) | 1 line remove script which uses long gone module ........ r75391 | andrew.kuchling | 2009-10-13 10:49:33 -0500 (Tue, 13 Oct 2009) | 1 line Link to PEP ........ r75392 | andrew.kuchling | 2009-10-13 11:11:49 -0500 (Tue, 13 Oct 2009) | 1 line Various link, textual, and markup fixes ........ r75436 | benjamin.peterson | 2009-10-15 10:39:15 -0500 (Thu, 15 Oct 2009) | 1 line don't need to mess up sys.path ........ r75478 | senthil.kumaran | 2009-10-17 20:58:45 -0500 (Sat, 17 Oct 2009) | 3 lines Fix a typo. ........ r75971 | benjamin.peterson | 2009-10-30 22:56:15 -0500 (Fri, 30 Oct 2009) | 1 line add some checks for evaluation order with parenthesis #7210 ........ r76003 | antoine.pitrou | 2009-10-31 19:30:13 -0500 (Sat, 31 Oct 2009) | 6 lines Hopefully fix the buildbot problems on test_mailbox, by computing the maildir toc cache refresh date before actually refreshing the cache. (see #6896) ........ r76058 | benjamin.peterson | 2009-11-02 10:14:19 -0600 (Mon, 02 Nov 2009) | 1 line grant list.index() a more informative error message #7252 ........ r76140 | nick.coghlan | 2009-11-07 02:13:55 -0600 (Sat, 07 Nov 2009) | 1 line Add test for runpy.run_module package execution and use something other than logging as the example of a non-executable package ........ r76141 | nick.coghlan | 2009-11-07 02:15:01 -0600 (Sat, 07 Nov 2009) | 1 line Some minor cleanups to private runpy code and docstrings ........ r76231 | benjamin.peterson | 2009-11-12 17:42:23 -0600 (Thu, 12 Nov 2009) | 1 line this main is much more useful ........ r76380 | antoine.pitrou | 2009-11-18 14:20:46 -0600 (Wed, 18 Nov 2009) | 3 lines Mention Giampolo R's new FTP TLS support in the what's new file ........ r76428 | benjamin.peterson | 2009-11-19 20:15:50 -0600 (Thu, 19 Nov 2009) | 1 line turn goto into do while loop ........ r76429 | benjamin.peterson | 2009-11-19 20:56:43 -0600 (Thu, 19 Nov 2009) | 2 lines avoid doing an uneeded import in a function ........
* Merged revisions ↵Georg Brandl2009-10-271-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 75365,75394,75402-75403,75418,75459,75484,75592-75596,75600,75602-75607,75610-75613,75616-75617,75623,75627,75640,75647,75696,75795 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r75365 | georg.brandl | 2009-10-11 22:16:16 +0200 (So, 11 Okt 2009) | 1 line Fix broken links found by "make linkcheck". scipy.org seems to be done right now, so I could not verify links going there. ........ r75394 | georg.brandl | 2009-10-13 20:10:59 +0200 (Di, 13 Okt 2009) | 1 line Fix markup. ........ r75402 | georg.brandl | 2009-10-14 17:51:48 +0200 (Mi, 14 Okt 2009) | 1 line #7125: fix typo. ........ r75403 | georg.brandl | 2009-10-14 17:57:46 +0200 (Mi, 14 Okt 2009) | 1 line #7126: os.environ changes *do* take effect in subprocesses started with os.system(). ........ r75418 | georg.brandl | 2009-10-14 20:48:32 +0200 (Mi, 14 Okt 2009) | 1 line #7116: str.join() takes an iterable. ........ r75459 | georg.brandl | 2009-10-17 10:57:43 +0200 (Sa, 17 Okt 2009) | 1 line Fix refleaks in _ctypes PyCSimpleType_New, which fixes the refleak seen in test___all__. ........ r75484 | georg.brandl | 2009-10-18 09:58:12 +0200 (So, 18 Okt 2009) | 1 line Fix missing word. ........ r75592 | georg.brandl | 2009-10-22 09:05:48 +0200 (Do, 22 Okt 2009) | 1 line Fix punctuation. ........ r75593 | georg.brandl | 2009-10-22 09:06:49 +0200 (Do, 22 Okt 2009) | 1 line Revert unintended change. ........ r75594 | georg.brandl | 2009-10-22 09:56:02 +0200 (Do, 22 Okt 2009) | 1 line Fix markup. ........ r75595 | georg.brandl | 2009-10-22 09:56:56 +0200 (Do, 22 Okt 2009) | 1 line Fix duplicate target. ........ r75596 | georg.brandl | 2009-10-22 10:05:04 +0200 (Do, 22 Okt 2009) | 1 line Add a new directive marking up implementation details and start using it. ........ r75600 | georg.brandl | 2009-10-22 13:01:46 +0200 (Do, 22 Okt 2009) | 1 line Make it more robust. ........ r75602 | georg.brandl | 2009-10-22 13:28:06 +0200 (Do, 22 Okt 2009) | 1 line Document new directive. ........ r75603 | georg.brandl | 2009-10-22 13:28:23 +0200 (Do, 22 Okt 2009) | 1 line Allow short form with text as argument. ........ r75604 | georg.brandl | 2009-10-22 13:36:50 +0200 (Do, 22 Okt 2009) | 1 line Fix stylesheet for multi-paragraph impl-details. ........ r75605 | georg.brandl | 2009-10-22 13:48:10 +0200 (Do, 22 Okt 2009) | 1 line Use "impl-detail" directive where applicable. ........ r75606 | georg.brandl | 2009-10-22 17:00:06 +0200 (Do, 22 Okt 2009) | 1 line #6324: membership test tries iteration via __iter__. ........ r75607 | georg.brandl | 2009-10-22 17:04:09 +0200 (Do, 22 Okt 2009) | 1 line #7088: document new functions in signal as Unix-only. ........ r75610 | georg.brandl | 2009-10-22 17:27:24 +0200 (Do, 22 Okt 2009) | 1 line Reorder __slots__ fine print and add a clarification. ........ r75611 | georg.brandl | 2009-10-22 17:42:32 +0200 (Do, 22 Okt 2009) | 1 line #7035: improve docs of the various <method>_errors() functions, and give them docstrings. ........ r75612 | georg.brandl | 2009-10-22 17:52:15 +0200 (Do, 22 Okt 2009) | 1 line #7156: document curses as Unix-only. ........ r75613 | georg.brandl | 2009-10-22 17:54:35 +0200 (Do, 22 Okt 2009) | 1 line #6977: getopt does not support optional option arguments. ........ r75616 | georg.brandl | 2009-10-22 18:17:05 +0200 (Do, 22 Okt 2009) | 1 line Add proper references. ........ r75617 | georg.brandl | 2009-10-22 18:20:55 +0200 (Do, 22 Okt 2009) | 1 line Make printout margin important. ........ r75623 | georg.brandl | 2009-10-23 10:14:44 +0200 (Fr, 23 Okt 2009) | 1 line #7188: fix optionxform() docs. ........ r75627 | fred.drake | 2009-10-23 15:04:51 +0200 (Fr, 23 Okt 2009) | 2 lines add further note about what's passed to optionxform ........ r75640 | neil.schemenauer | 2009-10-23 21:58:17 +0200 (Fr, 23 Okt 2009) | 2 lines Improve some docstrings in the 'warnings' module. ........ r75647 | georg.brandl | 2009-10-24 12:04:19 +0200 (Sa, 24 Okt 2009) | 1 line Fix markup. ........ r75696 | georg.brandl | 2009-10-25 21:25:43 +0100 (So, 25 Okt 2009) | 1 line Fix a demo. ........ r75795 | georg.brandl | 2009-10-27 16:10:22 +0100 (Di, 27 Okt 2009) | 1 line Fix a strange mis-edit. ........
* Merged revisions 75358 via svnmerge fromGeorg Brandl2009-10-113-38/+51
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75358 | georg.brandl | 2009-10-11 17:06:44 +0200 (So, 11 Okt 2009) | 1 line Overhaul of Demo/xml. ........
* Merged revisions 75356 via svnmerge fromGeorg Brandl2009-10-112-143/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75356 | georg.brandl | 2009-10-11 16:49:37 +0200 (So, 11 Okt 2009) | 1 line Remove ftpstats script, the daemon whose log files it reads is long gone. ........
* Merged revisions 75354 via svnmerge fromGeorg Brandl2009-10-112-49/+41
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75354 | georg.brandl | 2009-10-11 16:23:49 +0200 (So, 11 Okt 2009) | 1 line Update lpwatch script. ........
* Merged revisions 75350 via svnmerge fromGeorg Brandl2009-10-111-10/+19
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75350 | georg.brandl | 2009-10-11 14:00:18 +0200 (So, 11 Okt 2009) | 1 line Use getopt in script.py demo. ........
* Merged revisions 75348 via svnmerge fromMark Dickinson2009-10-113-0/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75348 | mark.dickinson | 2009-10-11 11:01:17 +0100 (Sun, 11 Oct 2009) | 1 line Set missing executable property on scripts ........
* Merged revisions 75346 via svnmerge fromMark Dickinson2009-10-111-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75346 | mark.dickinson | 2009-10-11 10:35:57 +0100 (Sun, 11 Oct 2009) | 1 line Fix 'primes 0 1' ........