Commit Graph

27492 Commits

Author SHA1 Message Date
Kurt B. Kaiser
67fd0ea46d 1. Stake Freddy.
e.g. further improve subprocess interrupt, exceptions, and termination.
2. Remove the workarounds in PyShell.py and ScriptBinding.py involving
   interrupting the subprocess prior to killing it, not necessary anymore.
3. Fix a bug introduced at PyShell Rev 1.66: was getting extra shell menu
   every time the shell window was recreated.

M PyShell.py
M ScriptBinding.py
M rpc.py
M run.py
2003-05-24 20:59:15 +00:00
Just van Rossum
ebc198faa9 Somehow ColorPicker has never been included or tested under darwin, but it works just fine. 2003-05-24 20:21:50 +00:00
Tim Peters
e87568dd9a SF bug 705231: Assertion failed, python aborts.
float_pow():  Don't let the platform pow() raise -1.0 to an integer power
anymore; at least glibc gets it wrong in some cases.  Note that
math.pow() will continue to deliver wrong (but platform-native) results
in such cases.
2003-05-24 20:18:24 +00:00
Just van Rossum
0ed39577dd modernized ColorPicker somewhat 2003-05-24 20:14:24 +00:00
Raymond Hettinger
b98154e424 'sum' is no longer a good variable name. Use 'total' instead. 2003-05-24 17:26:02 +00:00
Martin v. Löwis
858f817d28 Modified patch #742126: Don't define _XOPEN_SOURCE for OpenBSD 3.3. 2003-05-24 12:35:47 +00:00
Martin v. Löwis
5489597f56 Convert tcl_version to str before comparing. Fixes #729317. 2003-05-24 11:37:15 +00:00
Neal Norwitz
8225103d2d Get test_ioctl to pass on HPUX 11.
TIOCGPGRP and many other definitions come from bsdtty.h, so it needs
to be included at least on HPUX.
2003-05-23 14:35:24 +00:00
Christian Tismer
661a9e3e5b After Raymond's remark, I changed the Stackless bits to
two fixed bits, position 15 and 16. It is right, why should these
be elsewhere.
2003-05-23 12:47:36 +00:00
Walter Dörwald
8bb1ae9c34 All calls to getarrayitem() (which is static) are done either in loops
over the size of the array, or the callers check the index bounds themselves,
so the index check never failed => Replace it with an assert().
2003-05-23 10:01:07 +00:00
Raymond Hettinger
4ec4fa208e iteritems() should not have been used for self.timeout which changes during the loop. 2003-05-23 08:51:51 +00:00
Raymond Hettinger
bfef18ca0e PyType_GenericAlloc is inherited from object. 2003-05-23 03:55:42 +00:00
Christian Tismer
c26ff41d3d Generalized my type flags structure extension without being specific about
the purpose. Increased my claim to two bits, hoping that nobody
will complain about it. I'm taking the highest two bits, whatever
the integer word size may be.
2003-05-23 03:33:35 +00:00
Greg Ward
c316d0d391 Lots of wordsmithing and typographical improvement. 2003-05-23 02:44:46 +00:00
Greg Ward
6492785ee5 Release the GIL around read(), write(), and select() calls.
Bug spotted by Joerg Lehmann <joerg@luga.de>.
2003-05-23 01:50:37 +00:00
Neal Norwitz
a1d654e13a SF bug #644345, Poor error message for augmented assign
Update error message.  Hopefully this is clearer to some people.
2003-05-22 22:00:04 +00:00
Walter Dörwald
8891021229 Port test_mimetools.py to PyUnit and add various tests.
From SF patch #736962.
2003-05-22 17:32:40 +00:00
Walter Dörwald
fee10040b4 sound_playsound() doesn't have to be visible externally,
so make it static.
2003-05-22 17:22:54 +00:00
Raymond Hettinger
d449eab1e4 Fixed dotted name assertion. 2003-05-22 16:32:58 +00:00
Jeremy Hylton
f9415e6245 Use macro to get length of list.
Remove comment about how code used to work.
2003-05-22 16:22:33 +00:00
Jeremy Hylton
521482d84f Remove comment with very long lines that explained what the code used
to do.

XXX Please be careful when checking in patches to avoid checking in
junk that explains what the patched code used to do.
2003-05-22 15:47:02 +00:00
Tim Peters
c8fb937fbf Record 2.2.3c1 Windows build number. 2003-05-22 15:30:36 +00:00
Fred Drake
5af41c55e6 Correct dependency information -- the Python docs load the "About this
document" text from html/stdabout.dat, not html/about.dat.
2003-05-22 15:28:55 +00:00
Barry Warsaw
7d7f88c007 Add historical note for Python 2.2.3 2003-05-22 15:17:40 +00:00
Fred Drake
4864bfb88f Minor elaboration in the information about reporting errors. 2003-05-22 15:09:27 +00:00