Commit Graph

898 Commits

Author SHA1 Message Date
Tim Peters bc0e910826 Convert a pile of obvious "yes/no" functions to return bool. 2002-04-04 22:55:58 +00:00
Fred Drake 71cc46e7e1 Slight modernization. 2002-04-03 21:47:47 +00:00
Tim Peters 4843eb400b Remove bug.py. This is something I sent to Guido via email in or before
'94, demonstrating a thread bug that was later repaired via Python growing
an internal import lock.  It's of no current interest, and the now-std
test_threaded_import.py is pretty much the same test.
2002-03-25 06:55:57 +00:00
Martin v. Löwis 8ec03e0528 Patch #485959: Various changes to Tix demos. 2002-03-17 18:19:13 +00:00
Martin v. Löwis dcea37026e Patch #524008: Fix portability bug on new POSIX hosts 2002-03-01 13:15:30 +00:00
Neal Norwitz 719cfc4864 SF #517447, correct syntax error 2002-03-01 13:07:34 +00:00
Guido van Rossum c92cf5064a Updated -- all Demo subdirectories are once again listed here, in
alphabetical order (!), and the obsolete 'extend' directory is no
longer mentioned.

This and the erasure of the extend directory are 2.2.1 bugfix
candidates (but only of you want to be thorough -- it's not like
anybody cares :-).
2001-12-27 16:57:49 +00:00
Guido van Rossum 3f0b1c9f97 Removing this directory; it's no longer needed now that Misc/Makefile.pre.in
no longer exists.  Docs for distutils are plenty elsewhere.
2001-12-27 16:48:27 +00:00
Tim Peters 885d457709 sprintf -> PyOS_snprintf in some "obviously safe" cases.
Also changed <>-style #includes to ""-style in some places where the
former didn't make sense.
2001-11-28 20:27:42 +00:00
Martin v. Löwis 652e1917c6 Properly set static options for tixBalloon and tixResizeHandle.
Expose Tix.ResizeHandle.{detach_widget,hide,show}.
Update Tix demos.
2001-11-25 14:50:56 +00:00
Fred Drake 3176b08874 Update to use more modern calling conventions; also avoid a magic number
in the function table.  Add a docstring for the function as well, since
examples should show good form.
2001-11-17 06:30:20 +00:00
Fred Drake e012e35460 Bump the version number; used to identify the Python runtime we link to. 2001-11-17 06:28:08 +00:00
Martin v. Löwis 20efa68be4 Patch #473002: Update Demo/tix tixwidgets.py et al. 2001-11-11 14:07:37 +00:00
Andrew M. Kuchling 10f9c075b9 Remove obsolete e-mail address 2001-11-05 21:25:42 +00:00
Martin v. Löwis 401a76dcab Patch #469517: Info about rpcgen compilers. 2001-10-11 19:23:28 +00:00
Guido van Rossum 2559f5a73b Removed Demo/dns -- see sf.net/projects/pydns/ instead. 2001-10-02 23:13:16 +00:00
Guido van Rossum 0e58ff8de8 Update reference to pydns. 2001-10-02 13:05:41 +00:00
Guido van Rossum eb2d36c98f Use the build directory by default, and update the version. 2001-09-05 19:51:08 +00:00
Fred Drake 79e75e1916 Use string.ascii_letters instead of string.letters (SF bug #226706). 2001-07-20 19:05:50 +00:00
Tim Peters 817ed5a750 Kill another merge zombie. 2001-07-17 21:10:44 +00:00
Guido van Rossum b1a77dd248 Deleting zombies 2001-07-17 15:45:08 +00:00
Guido van Rossum 1b776a2745 Deleting merge zombie. 2001-07-17 13:57:17 +00:00
Fredrik Lundh b905633be0 xmlrpclib for python 2.2; initial checkin 2001-07-11 17:42:21 +00:00
Neil Schemenauer 89e90d67aa Separate CFLAGS and CPPFLAGS. CFLAGS should not contain preprocessor
directives, which is the role of CPPFLAGS.  Closes SF patch #414991.
2001-06-02 06:16:02 +00:00
Fred Drake ef4cdad090 [].index() raises ValueError if the value is not in the list, so only
catch that instead of using a bare except clause.
2001-05-11 19:52:03 +00:00
Fred Drake 7def256410 [].index() raises ValueError if the value is not in the list, so only
catch that instead of using a bare except clause.
2001-05-11 19:44:55 +00:00
Guido van Rossum d42124cb09 Change co.detach() to co.back() call. 2001-03-22 13:36:39 +00:00
Guido van Rossum 27f9b84684 Add more complete reference. Change a co.back() call to co.tran() --
that's all that's needed.
2001-03-22 13:36:11 +00:00
Guido van Rossum f74c9dc870 Add newline to end of file. 2001-03-21 14:18:12 +00:00
Martin v. Löwis be0e7f4262 Document tix directory. 2001-03-21 11:47:55 +00:00
Martin v. Löwis b21cb5fa7d Patch #410231: Add the Python Tix library. 2001-03-21 07:42:07 +00:00
Barry Warsaw 8b41116c22 import.c -> importexc.c 2001-02-20 20:54:28 +00:00
Barry Warsaw a18e7ea8b3 import -> importexc 2001-02-20 20:54:09 +00:00
Barry Warsaw d5221a3791 import.c -> importexc.c
Added `realclean' target.
2001-02-20 20:53:37 +00:00
Moshe Zadka 273ad453f5 Updated to use new Python features
Reindented
2001-02-20 16:32:24 +00:00
Moshe Zadka 8b6f989815 Fixed to use new Python features and use more commonly accepted style
Reindented
2001-02-20 16:21:35 +00:00
Moshe Zadka 38e083bcc9 Changed to use the fact that str(long) doesn't produce a trailing L
Reindented
2001-02-20 16:13:43 +00:00
Neil Schemenauer 693291ba23 Superseded by $(srcdir)/Makefile.pre.in. 2001-02-03 17:18:21 +00:00
Barry Warsaw f9abaf42f8 Simple embedded program that does a module import. Useful for
debugging leaks and other memory problems.
2001-01-31 22:27:51 +00:00
Barry Warsaw 2df3c41e78 Ignore the programs created in this directory. 2001-01-31 22:27:00 +00:00
Barry Warsaw e98626d93f Add targets to make building `loop' and `import' easier. Useful for
debugging memory leaks and the like.
2001-01-31 22:18:49 +00:00
Barry Warsaw 0c63fe9b54 Slight reworking to make it more useful for debugging
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.
2001-01-23 16:42:01 +00:00
Barry Warsaw 7d23b59e34 Updates and changes:
- set VERSION to 2.1

- change blddir to ../.. since that seems more common than the old
  value (at least for my debugging session).
2001-01-23 16:38:57 +00:00
Tim Peters 172c40b20a Whitespace normalization. 2001-01-21 07:07:30 +00:00
Guido van Rossum e13be40b88 Geoffrey Gerrietts discovered that a KeyError was caught that probably
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. :-)
2001-01-15 16:53:58 +00:00
Guido van Rossum 3559d1f9b3 Add loop.c -- a test program for repeatedly calling Py_Initialize()
and Py_Finalize().  It seems to dump core right now...
2001-01-10 17:11:51 +00:00
Guido van Rossum 7339f4c72d Fix weird typo caused by ANSIfication (nobody bothered to test it
since! :-( ).
2001-01-10 17:09:00 +00:00
Guido van Rossum 2b28776369 Added "repeat.py" -- repeatedly execute a shell command (like
watch(1)).  Updated and untabified the README file.
2001-01-05 20:54:07 +00:00
Andrew M. Kuchling 994d8539f6 Choose the smallest value of x,y for the clock's radius (instead of just taking the
y coordinate), and change radius of second indicator to compensate
Remove redundant setting of sradius
2000-12-23 14:50:18 +00:00
Andrew M. Kuchling 72a18a6659 Update this demo to use curses.panel 2000-12-22 21:50:01 +00:00
Andrew M. Kuchling 23382f5047 Another demo from Thomas Gellekum (seasonally-themed, too) 2000-12-21 16:26:37 +00:00
Andrew M. Kuchling 15c3c2bdf8 Curses demos contributed by Thomas Gellekum <tg@FreeBSD.org>.
ncurses.py requires panel support, and therefore doesn't work yet.
2000-12-15 00:41:48 +00:00
Guido van Rossum 4550b00c80 Fix bit rot: use sock.connect((host, port)) and allow 2nd cmd line
arg.
2000-12-14 22:12:33 +00:00
Andrew M. Kuchling a3b5a5f2db Check in README file and one demo program 2000-12-13 03:50:20 +00:00
Guido van Rossum 4526f2a230 A solution to the classic N queens problem. 2000-11-16 21:25:51 +00:00
Guido van Rossum f4e13a4563 Add 1994 Coroutine module by Tim Peters 2000-11-08 15:17:49 +00:00
Guido van Rossum 063ee7bbe6 Fix Makefile so at least it uses Python 2.0, and compiles out of the
box on Linux.
2000-11-03 12:58:09 +00:00
Thomas Wouters 2cffc7d420 Move our own getopt() implementation to _PyOS_GetOpt(), and use it
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.
2000-11-03 08:18:37 +00:00
Fred Drake 9880062ee6 Remove some obsolete files, and update the README. 2000-10-23 20:50:23 +00:00
Fred Drake ac5f7483e8 Demos of the new XML support from Lars Marius Garshol <larsga@garshol.priv.no>. 2000-10-16 15:27:05 +00:00
Guido van Rossum 75698a4937 Removing these scripts. redemo.py lives on in Tools/scripts/.
regexdemo.py is obsolete with the regex module.
2000-10-06 17:38:42 +00:00
Fred Drake 21801de6dc Jeremy missed a bind() call when updating these demos. ;) 2000-08-25 16:03:27 +00:00
Jeremy Hylton a8d30d5d66 update demo scripts to use addr tuples for bind and connect
closes bug #111928
2000-08-25 15:38:41 +00:00
Fred Drake 6baec620b4 Sort the list of files processed before running the test on each. 2000-08-23 20:21:31 +00:00
Thomas Wouters 7889010731 Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
char**) and return an int even on PC platforms. If not, please fix
PC/utils/makesrc.c ;-P
2000-07-22 19:25:51 +00:00
Greg Stein dd6eefb348 no changes other than indentation level (now 4) and comment reflow.
use "cvs diff -b" to verify.
2000-07-18 09:09:48 +00:00
Thomas Wouters 7e47402264 Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either
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 ;)
2000-07-16 12:04:32 +00:00
Guido van Rossum c716684df8 Add linker flag -export-dynamic so symbols in libpython*.a are exported. 2000-07-10 16:22:12 +00:00
Guido van Rossum 964f123346 Adapted for Python 2.0 under RH Linux. 2000-07-10 14:35:12 +00:00
Greg Stein e97ecf9705 demonstration importers 2000-06-29 11:05:30 +00:00
Jeremy Hylton a05e293a21 typos fixed by Rob Hooft 2000-06-28 14:48:01 +00:00
Guido van Rossum 99f235d5e7 Remove stdwin references 2000-05-11 18:29:05 +00:00
Guido van Rossum 6a1b1338de Removing junk 2000-05-11 18:28:03 +00:00
Guido van Rossum 81b4e41cd9 removing more stdwin users 2000-05-11 18:27:21 +00:00
Guido van Rossum dab6cb8f6d removing more stdwin users 2000-05-11 14:43:52 +00:00
Andrew M. Kuchling 01b3aa4d08 Fix use of list.append() with multiple arguments 2000-02-28 17:25:14 +00:00
Guido van Rossum b4624b94a8 Fix a couple dozen broken ci.append(x, y, z) calls, spotted by Tim. 2000-02-25 11:46:50 +00:00
Guido van Rossum e0a928dc1e Fix some broken links. 2000-01-20 21:37:19 +00:00
Fred Drake 995285e392 Moved all the imports to the top.
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.
1999-11-19 21:57:56 +00:00
Guido van Rossum caf2f8e3c7 Add -v flag. Comment duplicate Py_Finalize(). 1999-10-05 22:16:07 +00:00
Guido van Rossum 4f1a6187a5 Ofir Reichenberg suggested to apply htonl() to grpaddr in openmcastsock().
Also got rid of unnecessary use of eval() and regsub.gsub().
1999-08-07 14:01:05 +00:00
Guido van Rossum d9e5d17407 Fix bug discovered by Klaus-Juergen Wolf -- it runs into infinite recursion! 1999-06-09 19:07:22 +00:00
Guido van Rossum eda80eae36 Correct spelling of length, discovered by Christian Tismer. 1999-04-21 16:06:27 +00:00
Guido van Rossum 60cc90ec98 This demo imported some private code from Matt. Make it cripple along. 1999-04-08 15:18:12 +00:00
Guido van Rossum 9a4da084d4 Change #! line to modern usage; also chmod +x 1999-03-12 19:07:59 +00:00
Guido van Rossum 7e75c947db Change #! line to modern usage 1999-03-12 19:05:49 +00:00
Guido van Rossum 496bc7f238 Call Py_SetProgramName() instead of redefining getprogramname(),
reflecting changes in the runtime around 1.5 or earlier.
1999-03-09 17:07:24 +00:00
Guido van Rossum b55f9ff68c 100 bottles of beer on the wall example.
After a version by Fredrik Lundh that I found on the web somewhere.
(I like mine better, but of course that may have to do with my alcohol
consumption. :-)
1998-12-21 18:30:20 +00:00
Guido van Rossum fe78cc0f7e Adding Fredrik Lundh's demo of the option menu. 1998-10-20 15:32:39 +00:00
Guido van Rossum 1554b7b061 Use constants defined in cl module. (Sjoerd) 1998-10-09 13:26:29 +00:00
Guido van Rossum 1e57a04301 Removed unnecessary import of cl and CL. (Sjoerd) 1998-10-09 13:26:01 +00:00
Guido van Rossum 9c2c1e88a3 Fix multi-arg list.append() calls. 1998-10-08 15:24:48 +00:00
Barry Warsaw dfae3d55f2 Added a 'Help' special menu to show how this is done. 1998-10-06 19:37:20 +00:00
Guido van Rossum d24d3fcd03 Added the mainloop() call. 1998-09-14 17:52:29 +00:00
Guido van Rossum 5fae9e8b86 nannified 1998-09-14 17:51:14 +00:00
Guido van Rossum 4117e5428b nannified 1998-09-14 16:44:15 +00:00
Guido van Rossum dcd038ff84 nannified. 1998-09-14 15:34:45 +00:00
Guido van Rossum 7ca9a1a466 Fix a bug where comparison of a rational with a float failed because
the difference got converted to float.
Put brackets around the string representation of (non-integer)
rationals.
(Sjoerd Mullender.)
1998-09-09 14:07:06 +00:00
Guido van Rossum 482e82a0f6 Corrected some spelling and one technical error. 1998-08-10 13:18:11 +00:00
Guido van Rossum a9ca42daf0 Vladimir Marangozov's explanatory message. 1998-08-10 01:56:14 +00:00
Guido van Rossum d895749b61 New warnings to the uninitiated reader. 1998-08-10 01:54:40 +00:00
Guido van Rossum 98c92c83a5 Show how to do switchable panels. 1998-07-15 14:58:05 +00:00
Guido van Rossum 7e0e9555b7 Get rid of the lock; it's no longer needed. 1998-06-30 17:01:06 +00:00
Guido van Rossum 5542449875 Remove the doc string -- it doesn't tell the truth. 1998-05-29 20:08:35 +00:00
Guido van Rossum 0da45c4089 New demo -- Perl style regular expression matching.
Slightly more featureful than regexdemo.py.
1998-05-29 19:57:47 +00:00
Guido van Rossum 7e7912f2ca Protect all uses of the random generator with a lock.
Particles break out of their loop when the main loop exits.
1998-05-28 23:02:33 +00:00
Guido van Rossum 3d3a52aa3a An example of a multi-threaded Tkinter program. 1998-05-28 22:52:01 +00:00
Guido van Rossum f638d1c9dd Fix some comments; move 'import random' to top. 1998-05-26 21:43:44 +00:00
Guido van Rossum 6c3a2cbc52 whrandom -> random 1998-05-20 17:13:01 +00:00
Guido van Rossum 29892d848c Use whrandom instead of rand.
Run 500 steps instead of forever.
1998-05-19 21:16:10 +00:00
Guido van Rossum 8c8e814992 Add link to Anthony Baxter's enhanced version. 1998-04-27 14:14:41 +00:00
Guido van Rossum bd8341eeeb Catch exceptions in final self.destroy() call. 1998-04-10 19:17:41 +00:00
Guido van Rossum 5d97ebf2ac Got rid of redundant copy of telnetlib.py 1998-04-06 14:35:27 +00:00
Guido van Rossum 07af9a7ddd Add a sleep(0.00001) call to make sure all threads run. 1998-03-26 20:09:16 +00:00
Guido van Rossum 2e6938f167 Fix bug in islocked() -- it would always return 0. 1998-03-17 21:28:21 +00:00
Guido van Rossum 36123aae0b Removed condition.py -- it was just sync.py without
the mrsw lock and without 'condition' allocating a lock by default
1998-02-14 03:11:38 +00:00
Guido van Rossum 44f5c75f43 Add Piet van Oostrum's name to the comments. 1998-01-29 04:04:04 +00:00
Guido van Rossum dd918a990a Add simple Unix socket example by Piet van Oostrum. 1998-01-28 16:54:00 +00:00
Fred Drake 5b8b8cd6c0 Fixed typo reported by Grzegorz Makarewicz <mak@mikroplan.com.pl>. 1998-01-28 14:59:48 +00:00
Guido van Rossum 25f1722dd7 Paint demo by Dave Mitchell. There's clearly a demand for such a
demo, so here it is.
1998-01-26 16:47:30 +00:00
Guido van Rossum 48b805c07c SO_REUSEPORT should be SO_REUSEADDR.
I found this in a mail of two and a half years ago from Yusuf Goolamabbas.
1998-01-15 22:36:13 +00:00
Guido van Rossum 81e84c95c5 Just for fun, add a static module, "xyzzy" -- show that calling its
initxyzzy() works.
1997-12-25 04:51:41 +00:00
Guido van Rossum 643f8f62b4 Add setsockopt...SO_REUSEADDR to avoid stupid waiting when killing and
restarting the server.
1997-12-25 04:48:51 +00:00
Guido van Rossum ba179051aa Fix the way the version number is gotten out of the RCS revision. 1997-12-09 19:39:12 +00:00
Guido van Rossum 1a24bb53d5 Fix the test for pow() -- no more TypeErrors are raised! 1997-12-09 19:38:39 +00:00
Guido van Rossum c37eb56f96 Forgot to use &lt;/&gt; for some example output. 1997-12-05 16:18:45 +00:00
Guido van Rossum 682fbe55e5 Remove hyperlink to time-sensitive Python release info. 1997-11-25 15:33:44 +00:00
Guido van Rossum 37885c27c0 Trivial change in prompt label suggested by Case Roole. 1997-11-24 17:49:13 +00:00
Guido van Rossum 46a0bb4c3c Typo discovered by Case Roole. 1997-10-07 14:37:58 +00:00
Guido van Rossum d6449a2b11 Be more careful with closing fd's 0,1,2. 1997-10-07 14:37:31 +00:00
Guido van Rossum ef31b240ea Add note about condition.py. 1997-10-07 14:37:00 +00:00
Guido van Rossum 5edcf34fac Change bind() to tag_bind() so it works again. 1997-09-24 13:39:51 +00:00
Guido van Rossum a2f626ff58 Patch by Case Roole <cjr@bound.xs4all.nl> to fail with a more
explanatory message when the manual directories aren't found.
(I have to say I'm surprised that it actually still works!)
1997-09-15 15:39:11 +00:00
Guido van Rossum 626a8d034c Added hint to skip the heavy stuff on first reading. 1997-09-11 23:01:04 +00:00
Guido van Rossum 7ade6da866 As Paul Prescod pointed out, metaprogramming is really something
different (programs that write programs).  We are dealing with
metaclasses here.  So change the words slightly.
1997-09-11 22:54:49 +00:00
Guido van Rossum 7b877a9278 Some nits, added a whole section on what you could do with
metaclasses, and acks.
1997-09-08 02:20:57 +00:00
Guido van Rossum 0cdb887676 Completed first draft. 1997-08-26 00:08:51 +00:00
Guido van Rossum 1fb071cc64 Checkpoint. 1997-08-25 21:36:44 +00:00
Guido van Rossum 27e4aa3168 Arbitrary point checkpoint commit. Take no notice. 1997-08-25 15:37:59 +00:00
Guido van Rossum bff110f3f1 Examples of metaprogramming in pure Python. 1997-08-23 21:14:37 +00:00
Guido van Rossum 21c5c8fa5b Correct off-by-two-pixels error. 1997-08-22 20:56:07 +00:00
Guido van Rossum aa61505fd2 Use a counter instead of a Boolean to check for initialized; n calls
to Py_Initialize will be undone by n calls to Py_Uninitialize.
1997-08-20 22:40:18 +00:00
Guido van Rossum dac444703d Add try-finally around main loop. 1997-08-14 19:49:27 +00:00
Guido van Rossum 20abb4e6b4 Added (commented-out) defs for use with the build tree instead of the
installed version.
1997-08-14 19:48:42 +00:00
Guido van Rossum c46d22e52e Print ps (process status) for us when starting a new thread.
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.
1997-08-02 02:02:22 +00:00
Guido van Rossum 630924f190 Use Py_NewInterpreter() and friends. Remove saving/restoring of std files. 1997-07-25 20:59:55 +00:00
Guido van Rossum 661aebcbde New test for generic Makefile.pre.in 1997-07-19 23:14:13 +00:00
Guido van Rossum a955967a5b Added description of the extend subdirectory. 1997-07-19 23:13:10 +00:00
Guido van Rossum a88446aa4a Some improvements, e.g. -L/depot/... is not needed. 1997-07-19 21:34:11 +00:00
Guido van Rossum e0c6901369 Added leading comment and security check. 1997-07-19 21:33:10 +00:00
Guido van Rossum 42ded89c08 Reformulate security check using getsockname(). 1997-07-19 21:29:28 +00:00
Guido van Rossum eca991df27 Change security policy -- only accept requests from current host. 1997-07-19 21:13:53 +00:00
Guido van Rossum d1bef00f66 Removed old signature. 1997-07-19 21:02:32 +00:00
Guido van Rossum 14b0e700a0 Updated description for embed; added pysvr. 1997-07-19 21:02:08 +00:00
Guido van Rossum 5c8b991175 New example of threaded embedding 1997-07-19 21:00:47 +00:00
Guido van Rossum 6e614e3d2a Updated the Makefile to work with the new build strategy. 1997-07-19 20:58:50 +00:00
Guido van Rossum fe97656631 Hide .fdc files here. 1997-05-28 16:14:48 +00:00
Guido van Rossum 5416a0d97c Checking in zlib demo. 1997-05-28 16:13:21 +00:00
Guido van Rossum 0609f191bc A completely new Rat.py by Sjoerd. 1997-05-13 19:25:57 +00:00
Fred Drake b2c02de9cb Removed pprint.py.
Removed pprint.py from the README; it's now in the standard lib.
1997-04-16 04:47:57 +00:00
Fred Drake b5d20393b1 Always use spaces for indentation.
Added pformat() function:  formats object to a string representation with
	no trailing newline; returns the string.
1997-04-15 14:15:23 +00:00
Guido van Rossum 9a8cb84072 Checked in some new Tk demos that I wrote a while ago. 1997-04-03 00:04:51 +00:00
Guido van Rossum b5846d7600 A different winning animation. 1996-12-30 16:45:14 +00:00
Guido van Rossum a0dc1c4a61 Actually, *this* fixes the last bug. 1996-12-30 02:37:07 +00:00
Guido van Rossum 1b2b53a25d Considerably restructured. This fixes the one remaining bug. 1996-12-30 02:20:29 +00:00
Guido van Rossum 8de9f894e1 Solitaire game, like the one that comes with Windows. 1996-12-29 20:15:32 +00:00
Guido van Rossum f06ee5fa07 /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
Guido van Rossum 58a7856961 Pass self as master to Entry() widget constructor. 1996-11-27 19:47:42 +00:00
Guido van Rossum c153d12738 Got rid of almost totally obsolete Demo/www subdir. 1996-10-11 14:49:19 +00:00
Fred Drake 3f3691e12f (Demo/parser/FILES, Demo/parser/Makefile, Demo/parser/parser.tex,
Demo/parser/texipre.dat):
	Clean up support files for stand-alone documentation formatting,
	make sure copyright statement is consistent with the copyright.
1996-09-12 12:59:25 +00:00
Guido van Rossum 8206fb9c4c Final set of changes by Fred before 1.4beta3 1996-08-26 00:33:29 +00:00
Guido van Rossum a4ddb238bc update -- Undo is now entry 1 1996-08-21 20:13:08 +00:00
Guido van Rossum 4ec060ad28 unicast pendant for broadcast.py 1996-08-21 20:11:55 +00:00
Guido van Rossum 16d27e3b14 Demos for Fred's parser module 1996-08-21 16:28:53 +00:00
Guido van Rossum bf66c64ffb Added note about standard library module xdrlib.py 1996-08-19 22:24:21 +00:00
Guido van Rossum 2108a50465 Remove comment "SGI only" 1996-07-30 19:07:18 +00:00
Guido van Rossum 3df1d1b89f Simplified and rationalized. 1996-07-30 19:06:36 +00:00
Guido van Rossum c163ae5237 mac utility 1996-07-30 19:05:56 +00:00
Guido van Rossum db9c054f60 turn a pile of RCS files into a ChangeLog file 1996-07-30 19:05:41 +00:00
Guido van Rossum ef253701a6 print MX record 1996-07-30 19:04:18 +00:00
Guido van Rossum 29b1606951 Adapted to CNRI 1996-07-30 19:02:52 +00:00
Guido van Rossum 72ba616066 Added note about Python's support of complex numbers.
Added exp(z).
1996-07-30 19:02:01 +00:00
Guido van Rossum 89cb67bb64 Updated for Python 1.4 1996-07-30 18:57:18 +00:00
Fred Drake 4dd0bf92e6 (rmt.py): Updated to "modern" python coding conventions, somewhat. Keyword
arguments and explicit calls to .pack() are used; no more dictionaries
	are being passed to Tkinter constructors.  Otherwise, the example is
	unchanged.  (The app isn't implemented as a Python object.)
1996-07-23 17:47:21 +00:00
Guido van Rossum 7a1c7918e0 add mac compatibility 1996-07-21 02:09:54 +00:00
Guido van Rossum faefe4cb60 Fix typos (need to use tag_bind, not bind). 1996-05-24 18:40:46 +00:00
Guido van Rossum e71c5a7585 Removed broken tst.py 1996-04-26 20:53:30 +00:00
Jack Jansen 10d0f8fc40 Renamed module tkinter to _tkinter 1995-10-23 14:36:05 +00:00
Guido van Rossum 5e6a3564b0 undo opaque=fopaque changes; make test script more flexible 1995-10-11 18:54:15 +00:00
Guido van Rossum 81a07ceddc idraw on top of an image 1995-10-11 18:27:23 +00:00
Guido van Rossum 447ae53eab fix for 4.0 1995-10-08 00:41:25 +00:00
Guido van Rossum c0c01f79c6 more elegant way to treat exit status 1995-10-07 20:48:17 +00:00
Guido van Rossum a176f585c4 add "-r revisions" flag to log flags 1995-10-07 20:47:35 +00:00
Guido van Rossum 7bde92b65c added log option; cleanup afterwards 1995-10-07 19:47:26 +00:00
Guido van Rossum bffda89914 change log() to return the string instead of printing it 1995-10-07 19:46:08 +00:00
Guido van Rossum 83d6bbf597 search for keyfile in sys.path as last resort; reword exception 1995-10-07 19:35:07 +00:00
Guido van Rossum 5a6ad8fb71 flush before reading response from socket 1995-10-07 19:27:20 +00:00
Guido van Rossum 11bb1743b6 mac robustness: use os.path.join 1995-10-07 19:26:06 +00:00
Guido van Rossum f6d69289a3 mac robustness: default timezone, unlink target before rename 1995-10-07 19:25:25 +00:00
Guido van Rossum ee3de2a8b5 small fixes 1995-10-04 18:39:03 +00:00
Guido van Rossum 502d96021b incompletely converted to Tk 4.0 1995-09-07 19:59:22 +00:00
Guido van Rossum c27e04228c adapted to Tk 4.0 and CNRI man page locations 1995-09-07 19:47:46 +00:00
Guido van Rossum 69428f1fb3 improve fonts; Tk 4.0 aware 1995-09-07 19:46:43 +00:00
Guido van Rossum bbf817557f simplified no Tk() sets _default_root 1995-09-07 19:45:52 +00:00
Guido van Rossum 55618efad9 use $DISPLAY 1995-09-07 19:44:48 +00:00
Guido van Rossum c66394d049 Initial revision 1995-09-07 19:42:57 +00:00
Guido van Rossum ff99a72f53 change obsolete isfile to isvalid; add lock and unlock commands 1995-07-18 18:40:41 +00:00
Guido van Rossum ec9ea611d2 remove comment about obsolete variable 1995-07-18 18:35:17 +00:00
Guido van Rossum a79f5a3256 implemented 'add' command and commit for added files 1995-07-18 18:34:34 +00:00
Sjoerd Mullender 9f02331d80 Ignore a few more names when comparing directories. 1995-07-10 11:58:31 +00:00
Guido van Rossum 464f62b6c0 added support for -L flag (local operation) 1995-06-23 22:41:34 +00:00
Guido van Rossum 2ba1b4c5f2 add -L option 1995-06-23 22:40:59 +00:00
Guido van Rossum bab4725401 delete file after checkin 1995-06-23 22:37:53 +00:00
Guido van Rossum 903afd0441 add bug comment 1995-06-23 22:33:57 +00:00
Guido van Rossum c503c97f1a restructured index somewhat 1995-06-23 22:11:18 +00:00
Guido van Rossum ab75eb244e rewritten using rcslib.py 1995-06-23 22:07:17 +00:00
Guido van Rossum 40de53c3bd use the new rcslib 1995-06-23 22:05:39 +00:00
Guido van Rossum 8608ab65e3 initial checkin 1995-06-23 22:03:28 +00:00
Guido van Rossum 72974f35fb define RCSProxyClient here instead of in RCSProxy.py 1995-06-23 21:59:12 +00:00
Guido van Rossum 802c437a95 rewritten and documented 1995-06-23 21:58:18 +00:00
Guido van Rossum 79ed32d553 barry's contributions 1995-06-23 14:40:06 +00:00
Guido van Rossum 6ea3f92109 added notes about security 1995-06-21 02:19:55 +00:00
Guido van Rossum 54175f7cbe import string; add 129.6.64 to security 1995-06-21 02:10:32 +00:00
Guido van Rossum f3d39abb25 add security 1995-06-21 02:09:20 +00:00
Guido van Rossum 541df3e99e bugfixes 1995-06-21 02:08:55 +00:00
Guido van Rossum d1972af22a update -R; diff -r<rev>; send mail on commit 1995-06-21 01:02:06 +00:00
Guido van Rossum 29cd62b343 add doc for extra field 1995-06-21 01:00:46 +00:00
Guido van Rossum 45babef8c2 security stuff added 1995-06-21 01:00:17 +00:00
Guido van Rossum 37a291180c placeholder for security measures 1995-06-21 00:55:59 +00:00
Guido van Rossum 2f7ef91a5e eremoved should be edeleted, tests for lseen/rseen should be lsum/rsum 1995-05-01 20:22:01 +00:00
Guido van Rossum ec8cfd4089 largely rewritten FileClass and RCVS 1995-05-01 20:06:44 +00:00
Guido van Rossum 1c653bd6be moved proxy; added __cmp__(); made proxy optional for getremote() 1995-05-01 20:06:06 +00:00
Guido van Rossum 6c1504629f extensive description of what's here 1995-04-28 22:28:39 +00:00
Guido van Rossum 8b5e0fa862 added setentry() and use it in commit so CVS/Entries gets updated 1995-04-28 21:48:16 +00:00
Guido van Rossum eea4d9e85d moved package to standard place 1995-04-28 21:21:21 +00:00
Guido van Rossum 3d761b5548 addpack 1995-04-28 20:40:47 +00:00
Guido van Rossum 2d2a60e29b only diff differing files
add PostUsageMessage
1995-04-28 19:24:50 +00:00
Guido van Rossum 177df7d7c9 get default directory from CVS/Repository 1995-04-28 19:23:13 +00:00
Guido van Rossum 330e884082 add diff command; add remove() function 1995-04-28 17:56:32 +00:00
Guido van Rossum bafc14da68 implemented commit 1995-04-28 15:41:51 +00:00
Guido van Rossum d22f59fd5d missed setting eseen and extra when restoring an entry 1995-04-28 15:37:22 +00:00
Guido van Rossum ba244688c6 Handled new and delete properly 1995-04-28 15:33:03 +00:00
Guido van Rossum 6bb4a51daa implemented action() now, plus some bug fixes 1995-04-28 15:26:37 +00:00
Guido van Rossum b07d729c2d correct call to unparse, should be putentry now 1995-04-28 15:25:44 +00:00
Guido van Rossum 81be17bdae report() needs to report enew and edeleted 1995-04-28 14:33:08 +00:00
Guido van Rossum ae21ced5da Added some more machinery -- still not finished 1995-04-28 14:32:26 +00:00
Guido van Rossum 8bcd301cc6 Initial revision 1995-04-28 14:31:36 +00:00
Guido van Rossum e1220ff0b8 testing 1995-04-28 13:12:35 +00:00
Guido van Rossum c218a7e7ea rewritten out of frustration (not yet finished) 1995-04-27 23:33:43 +00:00
Guido van Rossum 78016d8630 renamed to CommandFrameWork
added ready() message
added PostUsageMessage
1995-04-27 23:32:47 +00:00