Commit Graph

702 Commits

Author SHA1 Message Date
Andrew M. Kuchling a90a3b471d Use md5.new() constructor 2002-04-17 21:53:21 +00:00
Andrew M. Kuchling 9a62448d2f Use random module instead of whrandom
Move imports to top
2002-04-10 14:50:16 +00:00
Martin v. Löwis d1a3c8117d Move knee.py from Lib/ to Demo/imputil/. Fixes #515745. 2002-04-07 16:29:36 +00:00
Guido van Rossum 72118e5bc7 Fix a typo in Tim's fix. 2002-04-04 23:03:47 +00:00
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