Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patches to make the proxy code work again. (Why does that always break | Guido van Rossum | 1998-05-05 | 1 | -2/+3 |
| | | | | | | as soon as I change things even just a little bit? :-) Even works when accessing a password-protected page through the proxy. Prompted by complaints from, and correct operation verified by, Nigel O'Brian. | ||||
* | Take out the check for AUTH-LOGIN or AUTH=LOGIN in login() -- some | Guido van Rossum | 1998-05-05 | 1 | -3/+0 |
| | | | | | servers support LOGIN but don't advertise it. If it's not supported the protocol will respond NO. Approved by Piers Lauder. | ||||
* | REMOVE samefile(), sameopenfile(), samestat() -- these cannot be made | Guido van Rossum | 1998-05-02 | 2 | -56/+0 |
| | | | | to work reliably (at least I wouldn't know how). | ||||
* | Change the names of all methods in the Wm class: they are now | Guido van Rossum | 1998-05-01 | 1 | -27/+56 |
| | | | | | | | | | | | | | | | | | | wm_title(), etc. The old names (title() etc.) are still defined as aliases. This brings all methods up to use the same naming convention: whether the Tcl syntax is .window.path.name command subcommand [options] or command subcommand .window.path.name [optins] the Python equivalent is always windowobject.command_subcommand(options) | ||||
* | Another optimization, probably of negligeable effect: instead of | Guido van Rossum | 1998-04-30 | 1 | -82/+78 |
| | | | | | | | | | | | | | | calling self.tk.getint() and self.tk.getdouble(), call the globals getint() and getdouble(), which in turn are just names for the Python builtins int() and double(). (Making them globals actually save a dict lookup compared to using the built-in.) The corresponding methods of class Misc have been changed similarly. (Note that getboolean() hasn't been changed because there's no Python equivalent.) The use of int() and float() has another advantage: if/when Tcl calls can actually return Tcl objects with other types than string, use of int() and float() is essential. | ||||
* | In _bind(), found a way to test for break without a temp variable. | Guido van Rossum | 1998-04-29 | 1 | -5/+5 |
| | |||||
* | Save a tiny bit of time: self.tk.call takes a tuple argument so it's | Guido van Rossum | 1998-04-29 | 1 | -70/+62 |
| | | | | | | | not needed to say apply(self.tk.call, t); self.tk.call(t) has the same effect. This cuts down tremendously on the number of apply() calls made. No measurable effect, but at the very least it saves the lookup of apply() in the globals! | ||||
* | Import MacOS at the top instead of insize Tk.__init__() -- the latter | Guido van Rossum | 1998-04-29 | 1 | -10/+7 |
| | | | | repeats the I/O for the failed import on each interpreter creation. | ||||
* | Replace all calls to acquire_lock() and release_lock() with acquire() | Guido van Rossum | 1998-04-29 | 1 | -25/+25 |
| | | | | and release() instead. | ||||
* | On the Mac, create the Temporary Items folder if it does not exist yet. | Guido van Rossum | 1998-04-28 | 1 | -1/+1 |
| | | | | (Jack) | ||||
* | Put quotes around the filename, so spaces in filenames work. | Guido van Rossum | 1998-04-28 | 2 | -2/+2 |
| | | | | (Jack) | ||||
* | typo in error message (fname vs. file). | Guido van Rossum | 1998-04-28 | 1 | -1/+1 |
| | | | | (Jack) | ||||
* | Support byte-swapped dbhash (bsddb) files. Found by Ben Sayer. | Guido van Rossum | 1998-04-28 | 1 | -1/+1 |
| | |||||
* | Oops, I had 'n' and 'c' mixed up in my mind. Get rid of the comment | Guido van Rossum | 1998-04-28 | 1 | -5/+4 |
| | | | | that wonders what the difference is and explain them properly. | ||||
* | Inspired by Ben Sayer, rewritten the code and some of the comments to | Guido van Rossum | 1998-04-28 | 1 | -14/+47 |
| | | | | | | be more intelligent when the database already exists (use the module for the existing file, according to whichdb). Noted in the doc strings that there doesn't seem to be a different between 'c' and 'n'. | ||||
* | When setting the event structure fields, don't die when the widget | Guido van Rossum | 1998-04-27 | 1 | -1/+4 |
| | | | | | | name is not registered; simply use the string. This happens for tear-off widgets (e.g. if you've registered enter/leave events for the menu). | ||||
* | Feeble attempt at making urlopen more robust -- don't call splituser() | Guido van Rossum | 1998-04-27 | 1 | -2/+6 |
| | | | | | when splithost() returned no useable host, to avoid calling splituser() on None. | ||||
* | parse150(): Simplify RE used to parse the message a little, taking advantage | Fred Drake | 1998-04-27 | 1 | -2/+1 |
| | | | | of using re instead of regex. | ||||
* | Use hex() when outputting the various checksums so the test output is the | Guido van Rossum | 1998-04-24 | 2 | -5/+5 |
| | | | | same on 32 and 64 bit machines. | ||||
* | Small corrections to comments that were cloned from aifc; moreover | Guido van Rossum | 1998-04-23 | 3 | -9/+8 |
| | | | | | | the description of setparams() was wrong. wave.py: Include the tag of an unknown format in the exception. | ||||
* | New test sample -- "Nobody expects the Spanish Inquisition!" | Guido van Rossum | 1998-04-23 | 1 | -0/+0 |
| | |||||
* | Move unified findfile() into test_support.py | Guido van Rossum | 1998-04-23 | 5 | -50/+16 |
| | |||||
* | Run the self-test (test.test_MimeWriter) when invoked as a script. | Guido van Rossum | 1998-04-23 | 1 | -1/+1 |
| | |||||
* | Add test for MimeWriter module | Guido van Rossum | 1998-04-23 | 2 | -0/+280 |
| | |||||
* | Add writelines() method to Compare class. | Guido van Rossum | 1998-04-23 | 1 | -0/+3 |
| | |||||
* | As Tim Peters points out, ``from string import *'' should not set re to None. | Guido van Rossum | 1998-04-20 | 2 | -18/+22 |
| | | | | Also rename safe_env to _safe_env. | ||||
* | Fix regexp for attrfind; bug reported by Lars Marius Garshol | Fred Drake | 1998-04-16 | 1 | -4/+4 |
| | | | | <larsga@ifi.uio.no>. | ||||
* | Open wave files in binary mode. | Fred Drake | 1998-04-16 | 1 | -5/+5 |
| | | | | Accept 'rb' and 'wb' as well as 'r' and 'w' as the mode parameter to open(). | ||||
* | Add connect_ex to list of methods. | Guido van Rossum | 1998-04-14 | 1 | -1/+1 |
| | |||||
* | Be nicer to systems that have neither termios nor msvcrt. | Guido van Rossum | 1998-04-13 | 1 | -1/+10 |
| | |||||
* | Whoops! Add a missing 'instantiated = 1' to load_inst(); otherwise it | Guido van Rossum | 1998-04-13 | 1 | -0/+1 |
| | | | | would still try to call the class... | ||||
* | New revision -- sometimes it's AUTH-LOGIN, sometimes AUTH=LOGIN! | Guido van Rossum | 1998-04-11 | 1 | -2/+5 |
| | |||||
* | Avoid using the obsolete rand module; and improve the randomness | Guido van Rossum | 1998-04-11 | 1 | -4/+3 |
| | | | | | of the boundary chosen by choose_boudary() by using milliseconds of the timestamp. | ||||
* | New version doesn't require REV1 capability. | Guido van Rossum | 1998-04-11 | 1 | -11/+25 |
| | |||||
* | Oops -- remove some debug print statements! | Guido van Rossum | 1998-04-11 | 1 | -4/+0 |
| | |||||
* | Add image_types() and image_names() as methods to Misc class. | Guido van Rossum | 1998-04-10 | 1 | -0/+8 |
| | |||||
* | Tim's version 4, with my mods | Guido van Rossum | 1998-04-10 | 1 | -14/+6 |
| | |||||
* | Another easter present. | Guido van Rossum | 1998-04-10 | 1 | -0/+321 |
| | |||||
* | New Java-style threading module. The doc strings are in a separate module. | Guido van Rossum | 1998-04-09 | 2 | -0/+1276 |
| | |||||
* | The usual | Guido van Rossum | 1998-04-09 | 2 | -1/+8 |
| | |||||
* | Another new utility: getpass() prompts for a password, with echo off. | Guido van Rossum | 1998-04-09 | 1 | -0/+79 |
| | | | | | Also contains getuser(), which returns the username (not prompting though). These work on Unix and Windows! | ||||
* | When getcwd() doesn't exist or raises an exception, don't fail but | Guido van Rossum | 1998-04-09 | 1 | -1/+5 |
| | | | | | fall back to using os.curdir instead; if it is fine, don't use os.curdir at all. | ||||
* | Clarify that put *blocks* when the queue is full. Add some blank | Guido van Rossum | 1998-04-09 | 1 | -1/+6 |
| | | | | lines to doc strings. | ||||
* | Piers' new version (but I unfolded a few doc strings). | Guido van Rossum | 1998-04-09 | 1 | -13/+11 |
| | |||||
* | Piers Lauder's IMAP module. | Guido van Rossum | 1998-04-09 | 1 | -0/+792 |
| | |||||
* | Version with docstrings and some other changes, by Piers Lauder. | Guido van Rossum | 1998-04-09 | 1 | -88/+201 |
| | | | | (Adapted by Just, I believe.) | ||||
* | Relocating file to Lib/lib-old. | Fred Drake | 1998-04-09 | 1 | -13/+0 |
| | |||||
* | Restore ni as an obsolete module. | Fred Drake | 1998-04-09 | 1 | -0/+434 |
| | |||||
* | Dave Ascher's pop client code. | Guido van Rossum | 1998-04-06 | 1 | -0/+201 |
| | |||||
* | Add usage message when no arguments. | Guido van Rossum | 1998-04-06 | 1 | -0/+4 |
| |