Commit Graph

37 Commits

Author SHA1 Message Date
Ezio Melotti 1e87da16ea Remove duplication. 2011-10-19 10:39:35 +03:00
Andrew M. Kuchling d9a9c1066c Update uses of string exceptions 2008-09-13 01:57:25 +00:00
Andrew M. Kuchling c2dc269288 #687648 from Robert Schuppenies: use classic division. From me: don't use string exception; flush stdout after printing 2008-09-13 01:27:33 +00:00
Neal Norwitz 25e4461666 Remove references to stdwin which was removed long ago. 2007-05-13 20:54:19 +00:00
Martin Blais 215f13dd11 Normalized a few cases of whitespace in function declarations.
Found them using::

  find . -name '*.py' | while read i ; do grep 'def[^(]*( ' $i /dev/null ; done
  find . -name '*.py' | while read i ; do grep ' ):' $i /dev/null ; done

(I was doing this all over my own code anyway, because I'd been using spaces in
all defs, so I thought I'd make a run on the Python code as well.  If you need
to do such fixes in your own code, you can use xx-rename or parenregu.el within
emacs.)
2006-06-06 12:46:55 +00:00
Tim Peters 68a323c5d8 Whitespace normalization. Had to break guido's lock on rev 1.1 to do
this, but I'm sure it wasn't locked intentionally.
2004-07-18 16:56:37 +00:00
Fred Drake 09659fbe69 fix error message; closes SF patch #932796 2004-05-12 03:15:07 +00:00
Walter Dörwald 70a6b49821 Replace backticks with repr() or "%r"
From SF patch #852334.
2004-02-12 17:35:32 +00:00
Guido van Rossum b50e1dee86 Note lack of speedup. Remove Irix reference. Remove silly extra
'/tmp' arg.  Change predicate to look for world-writable non-symlink
files.
2002-10-18 18:20:33 +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
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
Tim Peters 172c40b20a Whitespace normalization. 2001-01-21 07:07:30 +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
Guido van Rossum f4e13a4563 Add 1994 Coroutine module by Tim Peters 2000-11-08 15:17:49 +00:00
Guido van Rossum 81b4e41cd9 removing more stdwin users 2000-05-11 18:27:21 +00:00
Guido van Rossum 4117e5428b nannified 1998-09-14 16:44:15 +00:00
Guido van Rossum 6c3a2cbc52 whrandom -> random 1998-05-20 17:13:01 +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 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 ef31b240ea Add note about condition.py. 1997-10-07 14:37:00 +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 6910f42d23 new version by Tim 1994-10-08 19:07:57 +00:00
Guido van Rossum a6970580d1 Added optional lock parameter to condition class.
Added mrsw (multiple-reader-single-writer) lock.
1994-05-18 08:14:04 +00:00
Guido van Rossum 846c3224a8 Added semaphores; fix event.wait(). 1994-05-17 08:34:33 +00:00
Guido van Rossum 48a69b70b2 Initial revision 1994-05-16 09:35:22 +00:00
Guido van Rossum 9f2a5b0f66 Added bug.py and condition.py 1994-05-16 09:35:01 +00:00
Guido van Rossum 655f600b58 Don't use thread.exit_prog(); set a global variable to stop other
thread
1994-05-16 09:34:05 +00:00
Guido van Rossum dc3c53cf8d Don't use thread.exit_prog; let child die if EOF read 1994-05-16 09:30:26 +00:00
Guido van Rossum 3ac5b00d40 Fixed for stricter argument matching rules 1994-05-16 09:26:24 +00:00
Guido van Rossum 70dc86f52a Initial revision 1994-05-03 14:15:01 +00:00
Guido van Rossum d15a155681 added Generator.py 1994-05-03 14:14:49 +00:00
Guido van Rossum e69d3fec87 Use time.time() instead of time.millitimer() 1994-02-17 12:36:58 +00:00
Guido van Rossum 1b789f9fe0 Initial revision 1993-12-17 14:45:06 +00:00
Guido van Rossum f82fef0f59 *** empty log message *** 1993-12-17 14:45:06 +00:00
Guido van Rossum 260cc1a857 Initial revision 1992-08-10 10:48:14 +00:00