0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
Commit Graph

583 Commits

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