Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Document several variables that were previously undocumented, | Guido van Rossum | 1998-06-10 | 1 | -9/+35 |
| | | | | | including the new __stdin__, __stdout__ and __stderr__. Also moved setttrace around to its proper place in the alphabet. | ||||
* | Add the __doc__ string from the original module on copy_none(). | Guido van Rossum | 1998-06-09 | 1 | -1/+3 |
| | |||||
* | Added notes about epochs, the year 2038, and a small Y2K disclaimer | Guido van Rossum | 1998-06-09 | 1 | -4/+19 |
| | | | | | (all with index entries!). Also update the list of functions that take or yield a time represented as a 9-tuple. | ||||
* | Default content-type to application/x-www-form-urlencoded at the top | Guido van Rossum | 1998-06-09 | 1 | -1/+1 |
| | | | | | level of a form. This means that browsers that omit the content-type header when sending a POST command aren't penalized so heavily. | ||||
* | Changed runs of 8 spaces to tab -- to satisfy the tab nanny. | Guido van Rossum | 1998-06-09 | 1 | -7/+7 |
| | |||||
* | Untabified -- to satisfy the tab nanny. | Guido van Rossum | 1998-06-09 | 2 | -230/+230 |
| | |||||
* | Get rid of tabnanny's last complaints. | Guido van Rossum | 1998-06-09 | 1 | -3/+3 |
| | |||||
* | From: "Tim Peters" <tim_one@msn.com> | Guido van Rossum | 1998-06-09 | 3 | -9/+27 |
| | | | | | | | | | | The 1.5.1 tabnanny.py suffers an assert error if fed a script whose last line is both indented and lacks a newline: if 1: print 'oh fudge' # no newline here: The attached version repairs that. | ||||
* | When comparing objects of different types (which is done by comparing | Guido van Rossum | 1998-06-09 | 1 | -8/+15 |
| | | | | | the type names), make sure that numeric objects are considered smaller than all other objects, by forcing their name to "". | ||||
* | Added docs for strptime(). | Guido van Rossum | 1998-06-09 | 1 | -0/+12 |
| | |||||
* | Added strptime, if it exists. Modified after a patch by Jesse Hallio. | Guido van Rossum | 1998-06-09 | 1 | -10/+53 |
| | |||||
* | Clarify the type of the signal handler. | Guido van Rossum | 1998-06-09 | 1 | -1/+2 |
| | |||||
* | Should check that PyObject_Str() really returned a string! | Guido van Rossum | 1998-06-09 | 1 | -0/+5 |
| | |||||
* | getint() now raises ValueError, not TclError, on errors. | Guido van Rossum | 1998-06-09 | 1 | -2/+2 |
| | |||||
* | Added a line to process SGI_ABI. | Guido van Rossum | 1998-06-08 | 1 | -0/+1 |
| | |||||
* | When unmarshalling, add test for negative lengths on strings, tuples | Guido van Rossum | 1998-06-08 | 1 | -2/+14 |
| | | | | | | and lists; if the size is negative, raise an exception. Also raise an exception when an undefined type is found -- all this to increase the chance that garbage input causes an exception instead of a core dump. | ||||
* | Allow assignments to special class attributes -- with typechecks, and | Guido van Rossum | 1998-05-29 | 1 | -12/+87 |
| | | | | | | | | | | | | | | | | | | | not in restricted mode. __dict__ can be set to any dictionary; the cl_getattr, cl_setattr and cl_delattr slots are refreshed. __name__ can be set to any string. __bases__ can be set to to a tuple of classes, provided they are not subclasses of the class whose attribute is being assigned. __getattr__, __setattr__ and __delattr__ can be set to anything, or deleted; the appropriate slot (cl_getattr, cl_setattr, cl_delattr) is refreshed. (Note: __name__ really doesn't need to be a special attribute, but that would be more work.) | ||||
* | A few minor updates on Emacs mode section | Barry Warsaw | 1998-05-29 | 1 | -6/+6 |
| | |||||
* | Remove the doc string -- it doesn't tell the truth. | Guido van Rossum | 1998-05-29 | 1 | -13/+1 |
| | |||||
* | New demo -- Perl style regular expression matching. | Guido van Rossum | 1998-05-29 | 1 | -0/+183 |
| | | | | Slightly more featureful than regexdemo.py. | ||||
* | Say a bit more about .pyc and .pyo files. | Guido van Rossum | 1998-05-29 | 1 | -5/+35 |
| | |||||
* | Remove Emacs and #! cruft. | Guido van Rossum | 1998-05-29 | 1 | -4/+0 |
| | |||||
* | Improve the self-test code a bit: read a host from sys.argv[1] if set, | Guido van Rossum | 1998-05-29 | 1 | -2/+8 |
| | | | | and list the host name when prompting for the password. | ||||
* | Tim's revision of the previous patch. He also added some sparts to | Guido van Rossum | 1998-05-29 | 1 | -43/+35 |
| | | | | the median-of-three code to get a few percent back. | ||||
* | Add comments explaining thread unsafety of this code. | Guido van Rossum | 1998-05-29 | 1 | -0/+10 |
| | |||||
* | Make gauss() semi-thread-safe. It can still give duplicate results, | Guido van Rossum | 1998-05-29 | 1 | -4/+14 |
| | | | | | but it can no longer raise an exception when called by several threads simultaneously. | ||||
* | Two places where _time() should be used said time.time(), which | Guido van Rossum | 1998-05-29 | 1 | -2/+2 |
| | | | | doesn't work of course. | ||||
* | Piers Lauders' latest version, with some of my own changes reapplied. | Guido van Rossum | 1998-05-29 | 1 | -10/+31 |
| | | | | Also replaced random()*32000 with randint(0, 31999). | ||||
* | Fix a whole bunch of error return NULL that should be return -1. | Guido van Rossum | 1998-05-29 | 1 | -5/+5 |
| | |||||
* | Remove a few unused locals (I love VC++ for this!). | Guido van Rossum | 1998-05-29 | 1 | -2/+0 |
| | |||||
* | Sorry, the initializer for ob_type must really be NULL, | Guido van Rossum | 1998-05-29 | 1 | -1/+1 |
| | | | | else the damn thing won't compile on Windows :-( | ||||
* | Quick fix -- define SIZEOF_LONG and SIZEOF_INT. | Guido van Rossum | 1998-05-29 | 1 | -0/+4 |
| | |||||
* | Moved from PC | Guido van Rossum | 1998-05-29 | 1 | -0/+1214 |
| | |||||
* | Moving to PCbuild | Guido van Rossum | 1998-05-29 | 1 | -1214/+0 |
| | |||||
* | On Windows, need #include <windows.h>; and it's MS_WINDOWS, not MS_WIN32. | Guido van Rossum | 1998-05-29 | 1 | -2/+6 |
| | |||||
* | Release the interpreter lock for calls that may block: _locking(), | Guido van Rossum | 1998-05-29 | 1 | -2/+10 |
| | | | | | | | _getch(), _getche(). Fix bogus error return when open_osfhandle() doesn't have the right argument list. | ||||
* | Changes to make it possible to write multi-threaded programs using | Guido van Rossum | 1998-05-28 | 1 | -152/+390 |
| | | | | | | | | | | 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(). | ||||
* | Protect all uses of the random generator with a lock. | Guido van Rossum | 1998-05-28 | 1 | -8/+24 |
| | | | | Particles break out of their loop when the main loop exits. | ||||
* | An example of a multi-threaded Tkinter program. | Guido van Rossum | 1998-05-28 | 1 | -0/+44 |
| | |||||
* | Patch by Lars Marius Garshol: | Guido van Rossum | 1998-05-28 | 1 | -2/+30 |
| | | | | | | | | | - 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). | ||||
* | Guard against changes in the list size during a compare or sort. | Guido van Rossum | 1998-05-28 | 1 | -22/+31 |
| | |||||
* | Some systems (e.g. Linux) use enums for some symbols (like IPPROTO_IP) | Guido van Rossum | 1998-05-28 | 1 | -0/+11 |
| | | | | | | 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). | ||||
* | Uses PyErr_ExceptionMatches() instead of comparing PyErr_Occurred(). | Guido van Rossum | 1998-05-28 | 1 | -1/+1 |
| | |||||
* | Uses PyErr_ExceptionMatches() instead of comparing PyErr_Occurred(). | Guido van Rossum | 1998-05-28 | 1 | -1/+1 |
| | |||||
* | For ControlWindow there is a new method do_rawcontrolhit(), which gets | Jack Jansen | 1998-05-28 | 1 | -14/+36 |
| | | | | | | | | | 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. | ||||
* | Allow an (optional) tracking function (or -1) to be specified to | Jack Jansen | 1998-05-28 | 3 | -41/+166 |
| | | | | | TrackControl. TrackControl is now manually generated (too much work to explain this to bgen). | ||||
* | get_long(): Use PyErr_ExceptionMatches(...) instead of PyErr_Occurred(...). | Fred Drake | 1998-05-28 | 1 | -1/+1 |
| | |||||
* | t_bootstrap(): Use PyErr_ExceptionMatches(...) instead of PyErr_Occurred(...). | Fred Drake | 1998-05-28 | 1 | -1/+1 |
| | |||||
* | Use PyErr_ExceptionMatches(...) instead of PyErr_Occurred() == ... in two | Fred Drake | 1998-05-28 | 1 | -2/+4 |
| | | | | places. | ||||
* | add handler for JPython's org.python.core.PyStringMap object, which | Jeremy Hylton | 1998-05-27 | 1 | -0/+7 |
| | | | | walks and quacks like a dictionary. |