summaryrefslogtreecommitdiffstats
path: root/Demo
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Minor spelling nit.Georg Brandl2005-08-251-1/+1
|
* Update version.Michael W. Hudson2005-06-151-1/+1
| | | | | I wonder if there's a way to fix this Makefile to be slightly less totally unreliable.
* Fix HTTP method handler example so that method names in uppercasesHye-Shik Chang2005-04-121-1/+1
| | | | can be processed. (Submitted by Jooncheol Park)
* SF patch 1179503: Fix typos in rpc.pyRaymond Hettinger2005-04-101-16/+18
| | | | | | * Call to unpack_int() should have no arguments * Misspelled BadRPCVerspion exception * Replace <> with !=
* * Fix error in definition of Im() which returned self instead of 0Raymond Hettinger2005-04-091-19/+14
| | | | | | | | | | | | | | | | for non-complex arguments. * Replace type() comparisons with isinstance() checks. * Replace apply() calls with equivalent syntactic form. * Simplify __hash__ definition to hash the underlying tuple. * Use math.hypot() for more robust computation of __abs__(). * Use sorted() instead of the multi-step keys/sort/iter. * Update comment on the cmath module.
* Patch #1177597: Correct various bugs, add comments.Martin v. Löwis2005-04-091-9/+36
|
* Use decorators.Guido van Rossum2005-01-161-4/+2
|
* Add 'if __name__ == "__main__":' to files already as a usable as a module.Johannes Gijsbers2004-09-1113-18/+29
|
* Remove mpzpi demoAndrew M. Kuchling2004-08-312-35/+0
|
* Whitespace normalization. Had to break guido's lock on rev 1.1 to doTim Peters2004-07-181-71/+71
| | | | this, but I'm sure it wasn't locked intentionally.
* Whitespace normalization, via reindent.py.Tim Peters2004-07-1875-3848/+3813
|
* Whitespace normalization. Ran reindent.py over the entire source tree.Tim Peters2004-07-1861-5253/+5242
|
* Fix comment typoAndrew M. Kuchling2004-07-171-1/+1
|
* Add code for a range function that uses generators.Brett Cannon2004-06-271-42/+64
| | | | | | | | | Cleaned up existing code by abstracting code to parse arguments. Also removed any unneeded operations (such as calling 'int' on a division when using floor division also works). Fixed a bug where the values returned by OldStyleRange could be short by one value. Added more documentation. Testing code also has a basic sanity check.
* fix error message; closes SF patch #932796Fred Drake2004-05-121-1/+1
|
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-1248-153/+151
| | | | From SF patch #852334.
* Revert previous change which didn't make sense the next day :-)Raymond Hettinger2003-12-101-16/+18
|
* Update to use python ints and int/long unification.Raymond Hettinger2003-12-101-18/+16
|
* Fix a bunch of typos in documentation, docstrings and comments.Walter Dörwald2003-10-201-1/+1
| | | | (From SF patch #810751)
* SF patch #803449: modernize demo scriptsRaymond Hettinger2003-09-102-93/+89
| | | | (Contributed by George Yoshida.)
* To be a good citizen, it should really delete its socket when done.Skip Montanaro2003-08-011-0/+2
|
* Patch #748846: Let Demo/classes/Date.py mention DateTime module.Martin v. Löwis2003-06-071-0/+3
|
* Patch #748849: Update to current tools and demos.Martin v. Löwis2003-06-071-0/+5
|
* Remove unneeded continuation charsAndrew M. Kuchling2003-04-241-5/+5
|
* Move all the imports to the top; use md5.new()Andrew M. Kuchling2003-04-241-8/+6
|
* Run this demo script through reindent.py; output has been verified to remain ↵Andrew M. Kuchling2003-04-241-77/+77
| | | | the same