Commit Graph

680 Commits

Author SHA1 Message Date
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