- 29 May, 1998 7 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
else the damn thing won't compile on Windows :-(
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
_getch(), _getche(). Fix bogus error return when open_osfhandle() doesn't have the right argument list.
-
- 28 May, 1998 13 commits
-
-
Guido van Rossum authored
Tkinter. This adds a separate lock -- read the comments. (This was also needed for Mark Hammond's attempts to make PythonWin Tkinter-friendly.) The changes have affected the EventHook slightly, too; and I've done some more cleanup of the code that deals with the different versions of Tcl_CreateFileHandler().
-
Guido van Rossum authored
Particles break out of their loop when the main loop exits.
-
Guido van Rossum authored
-
Guido van Rossum authored
- Handle <? processing instructions >. - Allow . and - in entity names. Also fixed an oversight in the previous fix (in one place, [ \t\r\n] was used instead of string.whitespace).
-
Guido van Rossum authored
-
Guido van Rossum authored
so that our #ifdef test has the wrong effect. Substitute hardcoded values for some important symbols (but not for the whole range -- some are pretty obscure so it's not worth it).
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Jack Jansen authored
control before TrackControl is called. The default implementation calls TrackControl and then do_controlhit(). For ScrolledWindow, do_rawcontrol passes a tracker function to TrackControl if the mouse is in one of the arrows or grey areas, and the tracker handles scrolling. For the thumb part nothing has changed.
-
Jack Jansen authored
TrackControl. TrackControl is now manually generated (too much work to explain this to bgen).
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
places.
-
- 27 May, 1998 1 commit
-
-
Jeremy Hylton authored
walks and quacks like a dictionary.
-
- 26 May, 1998 11 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
we are threading, otherwise accessing errno doesn't work right.
-
Guido van Rossum authored
-
Guido van Rossum authored
Revert to using whrandom so it will work with older versions of Python.
-
Guido van Rossum authored
sys.maxint and near -sys.maxint-1 work correctly.
-
Guido van Rossum authored
From: "Tim Peters" <tim_one@email.msn.com> To: "Guido van Rossum" <guido@CNRI.Reston.VA.US> Date: Sat, 23 May 1998 21:45:53 -0400 Guido, the overflow checking in PyLong_AsLong is off a little: 1) If the C in use sign-extends right shifts on signed longs, there's a spurious overflow error when converting the most-negative int: Python 1.5.1 (#0, Apr 13 1998, 20:22:04) [MSC 32 bit (Intel)] on win32 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>> x = -1L << 31 >>> x -2147483648L >>> int(x) Traceback (innermost last): File "<stdin>", line 1, in ? OverflowError: long int too long to convert > > 2) If C does not sign-extend, some genuine overflows won't be caught. > > The attached should repair both, and, because I installed a new disk and a C > compiler today, it's even been compiled this time <wink>. > > Python 1.5.1 (#0, May 23 1998, 20:24:58) [MSC 32 bit (Intel)] on win32 > Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam > >>> x = -1L << 31 > >>> x > -2147483648L > >>> int(x) > -2147483648 > >>> int(-x) > Traceback (innermost last): > File "<stdin>", line 1, in ? > OverflowError: long int too long to convert > >>> int(-x-1) > 2147483647 > >>> int(x-1) > Traceback (innermost last): > File "<stdin>", line 1, in ? > OverflowError: long int too long to convert end-casing-ly y'rs - tim
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
Also, here is a new version of import_nt.c, which allows you to register a Debug module in the registry. While I was there I removed some of the ugliness - what was I thinking :-)
-
Guido van Rossum authored
-
- 22 May, 1998 8 commits
-
-
Guido van Rossum authored
Now you can click on revisions and diffs again!
-
Guido van Rossum authored
(new!) contains.
-
Guido van Rossum authored
registers an input file handler for stdin with Tcl and handles Tcl events until something is available on stdin; it then deletes the handler and returns from EventHook(). This works with or without GNU readline, and doesn't busy-wait. It still doesn't work for Mac or Windows :-(
-
Fred Drake authored
performs ...".
-
Fred Drake authored
-
Guido van Rossum authored
Rationalized the doc strings. Also simplify the module initialization -- we don't need a __version__ which is set to "$Rev" :-) and we don't need a fatal error when the initialization fails.
-
Guido van Rossum authored
platform's line separator. \n on Unix, \r\n on DOS, OS/2 and Windows, \r on Macs.
-
Guido van Rossum authored
Make sure that no tp_as_numbers->nb_<whatever> function is called without checking for a NULL pointer. Marc-Andre Lemburg will love it! (Except that he's just rewritten all this code for a different approach to coercions ;-( )
-