- 11 Jun, 1998 1 commit
-
-
Guido van Rossum authored
-
- 10 Jun, 1998 3 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
- explain seekable - when seekable==1, test fp.tell() and set it to 0 if that fails - support overridable method iscomment(line) to weed out comments - check for unread() method on file object before trying to seek And one of my own: - Add a get() method which behaves like a dictionary's get(); this is actually implemented by giving getheader() an optional second argument to specify the default, and aliasing get to getheader.
-
Guido van Rossum authored
including the new __stdin__, __stdout__ and __stderr__. Also moved setttrace around to its proper place in the alphabet.
-
- 09 Jun, 1998 13 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
(all with index entries!). Also update the list of functions that take or yield a time represented as a 9-tuple.
-
Guido van Rossum authored
level of a form. This means that browsers that omit the content-type header when sending a POST command aren't penalized so heavily.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
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.
-
Guido van Rossum authored
the type names), make sure that numeric objects are considered smaller than all other objects, by forcing their name to "".
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
- 08 Jun, 1998 2 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
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.
-
- 29 May, 1998 20 commits
-
-
Guido van Rossum authored
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.)
-
Barry Warsaw authored
-
Guido van Rossum authored
-
Guido van Rossum authored
Slightly more featureful than regexdemo.py.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
and list the host name when prompting for the password.
-
Guido van Rossum authored
the median-of-three code to get a few percent back.
-
Guido van Rossum authored
-
Guido van Rossum authored
but it can no longer raise an exception when called by several threads simultaneously.
-
Guido van Rossum authored
doesn't work of course.
-
Guido van Rossum authored
Also replaced random()*32000 with randint(0, 31999).
-
Guido van Rossum authored
-
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 1 commit
-
-
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().
-