summaryrefslogtreecommitdiffstats
path: root/Demo
Commit message (Collapse)AuthorAgeFilesLines
* Issue #3965: Allow repeated calls to turtle.Screen, by making it aMartin v. Löwis2008-09-291-2/+2
| | | | | | true singleton object. Reviewed by Gregor Lingl.
* Update uses of string exceptionsAndrew M. Kuchling2008-09-134-9/+7
|
* Fix SyntaxErrorAndrew M. Kuchling2008-09-131-2/+2
|
* Subclass exceptionAndrew M. Kuchling2008-09-131-1/+2
|
* Remove semicolonAndrew M. Kuchling2008-09-131-1/+1
|
* #687648 from Robert Schuppenies: use classic division.Andrew M. Kuchling2008-09-1312-33/+33
|
* #687648 from Robert Schuppenies: use classic division. From me: remove two ↵Andrew M. Kuchling2008-09-131-2/+2
| | | | stray semicolons
* #687648 from Robert Schuppenies: use classic division. From me: don't use ↵Andrew M. Kuchling2008-09-131-5/+10
| | | | string exception; add __main__ section
* #687648 from Robert Schuppenies: use classic division. From me: don't use ↵Andrew M. Kuchling2008-09-131-3/+11
| | | | string exception; flush stdout after printing
* #687648 from Robert Schuppenies: use classic division. (RM Barry gave ↵Andrew M. Kuchling2008-09-132-28/+28
| | | | permission to update the demos.)
* get unparse to at least unparse its selfBenjamin Peterson2008-08-191-2/+2
|
* correct versionBenjamin Peterson2008-08-181-1/+1
|
* Replace all map(None, a) with list(a).Georg Brandl2008-07-181-1/+1
|
* Patch #1513695: New turtle module, with demos.Martin v. Löwis2008-06-0421-0/+1895
|
* Revert the renaming of repr to reprlib.Brett Cannon2008-05-232-2/+2
|
* Changed references to the reprlib module to use its new name.Alexandre Vassalotti2008-05-162-2/+2
|
* #2503 make singletons compared with "is" not == or !=Benjamin Peterson2008-03-296-11/+11
| | | | Thanks to Wummel for the patch
* Use os.closerange().Georg Brandl2008-02-231-5/+1
|
* Remove reference to RationalMark Dickinson2008-02-101-1/+0
|
* Add rational.Rational as an implementation of numbers.Rational with infiniteJeffrey Yasskin2008-01-151-310/+0
| | | | | | | | | | | | | precision. This has been discussed at http://bugs.python.org/issue1682. It's useful primarily for teaching, but it also demonstrates how to implement a member of the numeric tower, including fallbacks for mixed-mode arithmetic. I expect to write a couple more patches in this area: * Rational.from_decimal() * Rational.trim/approximate() (maybe with different names) * Maybe remove the parentheses from Rational.__str__() * Maybe rename one of the Rational classes * Maybe make Rational('3/2') work.
* Replaced import of the 'new' module with 'types' module and added a ↵Christian Heimes2007-11-271-1/+1
| | | | deprecation warning to the 'new' module.
* A thread-less variant of brownian.py, submitted by Michele Simoniato.Guido van Rossum2007-11-261-0/+55
|
* Remove references to stdwin which was removed long ago.Neal Norwitz2007-05-131-2/+0
|
* Whitespace normalization.Tim Peters2007-04-251-1/+1
|
* Patch #1683328: fixes and enhancements for "unparse" demo.Georg Brandl2007-03-191-51/+50
|
* Patch #1552024: add decorator support to unparse.py demo script.Georg Brandl2006-10-271-0/+3
|
* Normalized a few cases of whitespace in function declarations.Martin Blais2006-06-062-38/+38
| | | | | | | | | | | | Found them using:: find . -name '*.py' | while read i ; do grep 'def[^(]*( ' $i /dev/null ; done find . -name '*.py' | while read i ; do grep ' ):' $i /dev/null ; done (I was doing this all over my own code anyway, because I'd been using spaces in all defs, so I thought I'd make a run on the Python code as well. If you need to do such fixes in your own code, you can use xx-rename or parenregu.el within emacs.)
* Add more whitespace; use a better socket nameAndrew M. Kuchling2006-06-032-5/+14
|
* Remove dangling referenceAndrew M. Kuchling2006-06-031-1/+0
|
* Remove xmlrpc/ directoryAndrew M. Kuchling2006-06-031-3/+0
|
* Remove xmlrpc demo -- it duplicates the SimpleXMLRPCServer module.Andrew M. Kuchling2006-06-031-75/+0
|
* This demo requires Medusa (not just asyncore); remove itAndrew M. Kuchling2006-06-031-104/+0
|
* Use functions; modernize codeAndrew M. Kuchling2006-06-031-60/+87
|
* Put code in a main() function; loosen up the spacing to match current code styleAndrew M. Kuchling2006-06-031-32/+45
|
* Docstring fix; use TrueAndrew M. Kuchling2006-06-031-2/+2
|
* Use true division, and the True valueAndrew M. Kuchling2006-06-031-12/+13
|
* Use True; value returned from main is unusedAndrew M. Kuchling2006-06-031-2/+2
|
* Some code tidying; use curses.wrapperAndrew M. Kuchling2006-06-031-67/+61
|
* Drop 0 parameterAndrew M. Kuchling2006-06-031-3/+3
|
* Update readmeAndrew M. Kuchling2006-06-031-4/+1
|
* Whitespace normalization.Tim Peters2006-04-101-19/+19
|
* Patch #1441452: Add more AST nodes.Martin v. Löwis2006-04-101-15/+236
|
* Patch #1462222: Fix Tix.Grid. Closes #1036406.Martin v. Löwis2006-04-101-0/+28
|
* Remove regsub, reconvert, regex, regex_syntax and everything under lib-old.Neal Norwitz2006-03-1611-32/+31
|
* unparse.py can now unparse itself.Martin v. Löwis2006-02-281-2/+139
|
* Set EOL style to native.Tim Peters2006-02-281-158/+158
|
* Whitespace normalization.Tim Peters2006-02-281-158/+158
|
* Start of a source code unparser.Martin v. Löwis2006-02-272-0/+164
|
* SF Bug #1348477, regextest can't be pydoc'ed. Will backport.Neal Norwitz2005-11-091-1/+2
|
* Remove .cvsignore files, as they live in svn:ignoreMartin v. Löwis2005-10-301-3/+0
| | | | properties now.