Commit graph

557 commits

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