summaryrefslogtreecommitdiffstats
path: root/Demo
Commit message (Collapse)AuthorAgeFilesLines
* Show how to do switchable panels.Guido van Rossum1998-07-151-0/+54
|
* Get rid of the lock; it's no longer needed.Guido van Rossum1998-06-301-15/+5
|
* Remove the doc string -- it doesn't tell the truth.Guido van Rossum1998-05-291-13/+1
|
* New demo -- Perl style regular expression matching.Guido van Rossum1998-05-291-0/+183
| | | | Slightly more featureful than regexdemo.py.
* Protect all uses of the random generator with a lock.Guido van Rossum1998-05-281-8/+24
| | | | Particles break out of their loop when the main loop exits.
* An example of a multi-threaded Tkinter program.Guido van Rossum1998-05-281-0/+44
|
* Fix some comments; move 'import random' to top.Guido van Rossum1998-05-261-13/+9
|
* whrandom -> randomGuido van Rossum1998-05-204-10/+10
|
* Use whrandom instead of rand.Guido van Rossum1998-05-191-5/+5
| | | | Run 500 steps instead of forever.
* Add link to Anthony Baxter's enhanced version.Guido van Rossum1998-04-271-0/+4
|
* Catch exceptions in final self.destroy() call.Guido van Rossum1998-04-101-2/+5
|
* Got rid of redundant copy of telnetlib.pyGuido van Rossum1998-04-061-321/+0
|
* Add a sleep(0.00001) call to make sure all threads run.Guido van Rossum1998-03-261-0/+2
|
* Fix bug in islocked() -- it would always return 0.Guido van Rossum1998-03-171-0/+2
|
* Removed condition.py -- it was just sync.py withoutGuido van Rossum1998-02-142-476/+0
| | | | the mrsw lock and without 'condition' allocating a lock by default
* Add Piet van Oostrum's name to the comments.Guido van Rossum1998-01-291-1/+2
|
* Add simple Unix socket example by Piet van Oostrum.Guido van Rossum1998-01-283-1/+27
|
* Fixed typo reported by Grzegorz Makarewicz <mak@mikroplan.com.pl>.Fred Drake1998-01-281-1/+1
|
* Paint demo by Dave Mitchell. There's clearly a demand for such aGuido van Rossum1998-01-261-0/+60
| | | | demo, so here it is.
* SO_REUSEPORT should be SO_REUSEADDR.Guido van Rossum1998-01-151-1/+1
| | | | I found this in a mail of two and a half years ago from Yusuf Goolamabbas.
* Just for fun, add a static module, "xyzzy" -- show that calling itsGuido van Rossum1997-12-251-0/+30
| | | | initxyzzy() works.
* Add setsockopt...SO_REUSEADDR to avoid stupid waiting when killing andGuido van Rossum1997-12-251-1/+5
| | | | restarting the server.
* Fix the way the version number is gotten out of the RCS revision.Guido van Rossum1997-12-091-1/+2
|
* Fix the test for pow() -- no more TypeErrors are raised!Guido van Rossum1997-12-091-2/+2
|
* Forgot to use &lt;/&gt; for some example output.Guido van Rossum1997-12-051-2/+2
|
* Remove hyperlink to time-sensitive Python release info.Guido van Rossum1997-11-251-2/+2
|
* Trivial change in prompt label suggested by Case Roole.Guido van Rossum1997-11-241-1/+1
|
* Typo discovered by Case Roole.Guido van Rossum1997-10-071-1/+1
|
* Be more careful with closing fd's 0,1,2.Guido van Rossum1997-10-071-3/+5
|
* Add note about condition.py.Guido van Rossum1997-10-071-0/+1
|
* Change bind() to tag_bind() so it works again.Guido van Rossum1997-09-241-2/+2
|
* Patch by Case Roole <cjr@bound.xs4all.nl> to fail with a moreGuido van Rossum1997-09-151-7/+35
| | | | | explanatory message when the manual directories aren't found. (I have to say I'm surprised that it actually still works!)
* Added hint to skip the heavy stuff on first reading.Guido van Rossum1997-09-111-0/+15
|
* As Paul Prescod pointed out, metaprogramming is really somethingGuido van Rossum1997-09-111-13/+11
| | | | | different (programs that write programs). We are dealing with metaclasses here. So change the words slightly.
* Some nits, added a whole section on what you could do withGuido van Rossum1997-09-081-3/+90
| | | | metaclasses, and acks.
* Completed first draft.Guido van Rossum1997-08-264-18/+467
|
* Checkpoint.Guido van Rossum1997-08-252-5/+369
|
* Arbitrary point checkpoint commit. Take no notice.Guido van Rossum1997-08-254-6/+248
|
* Examples of metaprogramming in pure Python.Guido van Rossum1997-08-232-0/+291
|
* Correct off-by-two-pixels error.Guido van Rossum1997-08-221-1/+1
|
* Use a counter instead of a Boolean to check for initialized; n callsGuido van Rossum1997-08-201-0/+2
| | | | to Py_Initialize will be undone by n calls to Py_Uninitialize.
* Add try-finally around main loop.Guido van Rossum1997-08-141-2/+5
|
* Added (commented-out) defs for use with the build tree instead of theGuido van Rossum1997-08-141-3/+10
| | | | installed version.
* Print ps (process status) for us when starting a new thread.Guido van Rossum1997-08-021-9/+40
| | | | | | | | | | Even less shuffling of stdout (only at start of new interpreter). Interact properly with new interpreter initialization conventions (must use Py_Initialize/Py_Finalize *and* Py_NewInterpreter/Py_EndInterpreter). Probably more minor changes.
* Use Py_NewInterpreter() and friends. Remove saving/restoring of std files.Guido van Rossum1997-07-251-22/+16
|
* New test for generic Makefile.pre.inGuido van Rossum1997-07-194-0/+52
|
* Added description of the extend subdirectory.Guido van Rossum1997-07-191-0/+4
|
* Some improvements, e.g. -L/depot/... is not needed.Guido van Rossum1997-07-191-8/+5
|
* Added leading comment and security check.Guido van Rossum1997-07-191-5/+28
|
* Reformulate security check using getsockname().Guido van Rossum1997-07-191-3/+4
|