summaryrefslogtreecommitdiffstats
path: root/Demo
Commit message (Collapse)AuthorAgeFilesLines
* import.c -> importexc.cBarry Warsaw2001-02-201-0/+0
|
* import -> importexcBarry Warsaw2001-02-201-1/+1
|
* import.c -> importexc.cBarry Warsaw2001-02-201-4/+6
| | | | Added `realclean' target.
* Updated to use new Python featuresMoshe Zadka2001-02-201-86/+86
| | | | Reindented
* Fixed to use new Python features and use more commonly accepted styleMoshe Zadka2001-02-201-18/+18
| | | | Reindented
* Changed to use the fact that str(long) doesn't produce a trailing LMoshe Zadka2001-02-201-16/+16
| | | | Reindented
* Superseded by $(srcdir)/Makefile.pre.in.Neil Schemenauer2001-02-031-12/+0
|
* Simple embedded program that does a module import. Useful forBarry Warsaw2001-01-311-0/+17
| | | | debugging leaks and other memory problems.
* Ignore the programs created in this directory.Barry Warsaw2001-01-311-0/+3
|
* Add targets to make building `loop' and `import' easier. Useful forBarry Warsaw2001-01-311-2/+5
| | | | debugging memory leaks and the like.
* Slight reworking to make it more useful for debuggingBarry Warsaw2001-01-231-5/+12
| | | | | | | | | | Py_Initialize()/Py_Finalize() loop leaks. - allow an optional 3rd argument which is the loop count. -1 means infloop (the default). - Add a setting of Py_NoSiteFlag=1, but leave it commented out by default.
* Updates and changes:Barry Warsaw2001-01-231-2/+2
| | | | | | | - set VERSION to 2.1 - change blddir to ../.. since that seems more common than the old value (at least for my debugging session).
* Whitespace normalization.Tim Peters2001-01-213-187/+187
|
* Geoffrey Gerrietts discovered that a KeyError was caught that probablyGuido van Rossum2001-01-151-1/+1
| | | | | | should have been a NameError. I'm checking in a change that catches both, just to be sure -- I can't be bothered trying to understand this code any more. :-)
* Add loop.c -- a test program for repeatedly calling Py_Initialize()Guido van Rossum2001-01-103-1/+41
| | | | and Py_Finalize(). It seems to dump core right now...
* Fix weird typo caused by ANSIfication (nobody bothered to test itGuido van Rossum2001-01-101-1/+1
| | | | since! :-( ).
* Added "repeat.py" -- repeatedly execute a shell command (likeGuido van Rossum2001-01-052-7/+64
| | | | watch(1)). Updated and untabified the README file.
* Choose the smallest value of x,y for the clock's radius (instead of just ↵Andrew M. Kuchling2000-12-231-9/+6
| | | | | | | taking the y coordinate), and change radius of second indicator to compensate Remove redundant setting of sradius
* Update this demo to use curses.panelAndrew M. Kuchling2000-12-221-2/+3
|
* Another demo from Thomas Gellekum (seasonally-themed, too)Andrew M. Kuchling2000-12-212-0/+907
|
* Curses demos contributed by Thomas Gellekum <tg@FreeBSD.org>.Andrew M. Kuchling2000-12-154-1/+541
| | | | ncurses.py requires panel support, and therefore doesn't work yet.
* Fix bit rot: use sock.connect((host, port)) and allow 2nd cmd lineGuido van Rossum2000-12-141-3/+3
| | | | arg.
* Check in README file and one demo programAndrew M. Kuchling2000-12-132-0/+226
|
* A solution to the classic N queens problem.Guido van Rossum2000-11-161-0/+85
|
* Add 1994 Coroutine module by Tim PetersGuido van Rossum2000-11-084-0/+332
|
* Fix Makefile so at least it uses Python 2.0, and compiles out of theGuido van Rossum2000-11-031-2/+2
| | | | box on Linux.
* Move our own getopt() implementation to _PyOS_GetOpt(), and use itThomas Wouters2000-11-031-4/+1
| | | | | | | | | regardless of whether the system getopt() does what we want. This avoids the hassle with prototypes and externs, and the check to see if the system getopt() does what we want. Prefix optind, optarg and opterr with _PyOS_ to avoid name clashes. Add new include file to define the right symbols. Fix Demo/pyserv/pyserv.c to include getopt.h itself, instead of relying on Python to provide it.
* Remove some obsolete files, and update the README.Fred Drake2000-10-233-113/+0
|
* Demos of the new XML support from Lars Marius Garshol <larsga@garshol.priv.no>.Fred Drake2000-10-163-0/+172
|
* Removing these scripts. redemo.py lives on in Tools/scripts/.Guido van Rossum2000-10-062-298/+0
| | | | regexdemo.py is obsolete with the regex module.
* Jeremy missed a bind() call when updating these demos. ;)Fred Drake2000-08-251-1/+1
|
* update demo scripts to use addr tuples for bind and connectJeremy Hylton2000-08-256-9/+9
| | | | closes bug #111928
* Sort the list of files processed before running the test on each.Fred Drake2000-08-231-3/+1
|
* Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,Thomas Wouters2000-07-222-13/+10
| | | | | char**) and return an int even on PC platforms. If not, please fix PC/utils/makesrc.c ;-P
* no changes other than indentation level (now 4) and comment reflow.Greg Stein2000-07-181-160/+160
| | | | use "cvs diff -b" to verify.
* Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in eitherThomas Wouters2000-07-164-5/+5
| | | | | | | | | | comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;)
* Add linker flag -export-dynamic so symbols in libpython*.a are exported.Guido van Rossum2000-07-101-1/+2
|
* Adapted for Python 2.0 under RH Linux.Guido van Rossum2000-07-101-5/+6
|
* demonstration importersGreg Stein2000-06-291-0/+248
|
* typos fixed by Rob HooftJeremy Hylton2000-06-283-3/+3
|
* Remove stdwin referencesGuido van Rossum2000-05-111-7/+0
|
* Removing junkGuido van Rossum2000-05-1118-3046/+0
|
* removing more stdwin usersGuido van Rossum2000-05-1114-2894/+0
|
* removing more stdwin usersGuido van Rossum2000-05-1137-6107/+0
|
* Fix use of list.append() with multiple argumentsAndrew M. Kuchling2000-02-281-1/+1
|
* Fix a couple dozen broken ci.append(x, y, z) calls, spotted by Tim.Guido van Rossum2000-02-251-25/+25
|
* Fix some broken links.Guido van Rossum2000-01-201-3/+3
|
* Moved all the imports to the top.Fred Drake1999-11-191-9/+5
| | | | | | | Use the methods on the AST object instead of module-level functions; these have been implemented for a couple of versions now, and are already used in the module documentation in preference to the functions.
* Add -v flag. Comment duplicate Py_Finalize().Guido van Rossum1999-10-051-2/+8
|
* Ofir Reichenberg suggested to apply htonl() to grpaddr in openmcastsock().Guido van Rossum1999-08-071-3/+3
| | | | Also got rid of unnecessary use of eval() and regsub.gsub().