Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added SOLID definition. | Guido van Rossum | 1997-12-16 | 1 | -0/+2 |
| | |||||
* | PhotoImage.put(): Fixed -to handling, including backward compatibility hack. | Fred Drake | 1997-12-16 | 1 | -1/+3 |
| | | | | Guido, please take a look at this. | ||||
* | On NT, use a better template, ~XXX- where XXX is os.getpid(). | Guido van Rossum | 1997-12-15 | 1 | -0/+2 |
| | |||||
* | Move %x test to nonstandard section because it appears to be locale specific. | Guido van Rossum | 1997-12-15 | 1 | -2/+3 |
| | |||||
* | Added tag_prevrange analogous to rag_nextrange. | Guido van Rossum | 1997-12-15 | 1 | -0/+3 |
| | |||||
* | Believe it or not, some people have an empty group database. | Guido van Rossum | 1997-12-15 | 1 | -7/+10 |
| | | | | Prevent the test from failing there. | ||||
* | Change _nametowidget to nametowidget -- it is a public interface. | Guido van Rossum | 1997-12-12 | 1 | -1/+2 |
| | |||||
* | Remove unneeded "import re". | Guido van Rossum | 1997-12-11 | 1 | -1/+0 |
| | |||||
* | Last minute fix to Text.window_cget(), which should properly Tcl-ify | Guido van Rossum | 1997-12-11 | 1 | -0/+4 |
| | | | | the option name (prepend '-', strip trailing '_'). | ||||
* | yeah, yeah. | Guido van Rossum | 1997-12-11 | 1 | -2/+6 |
| | |||||
* | Fix problem detected by Greg McFarlane -- callbacks passed to | Guido van Rossum | 1997-12-11 | 1 | -10/+16 |
| | | | | | bind_class() and bind_all() are destroyed when the widget to which they were passed is destroyed. | ||||
* | Jim Fulton writes: | Guido van Rossum | 1997-12-10 | 1 | -5/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The attached patch adds the following behavior to the handling of REDUCE codes: - A user-defined type may have a __reduce__ method that returns a string rather than a tuple, in which case the object is saved as a global object with a name given by the string returned by reduce. This was a feature added to cPickle a long time ago. - User-defined types can now support unpickling without executing a constructor. The second value returned from '__reduce__' can now be None, rather than an argument tuple. On unpickling, if the second value returned from '__reduce__' during pickling was None, then rather than calling the first value returned from '__reduce__', directly, the '__basicnew__' method of the first value returned from '__reduce__' is called without arguments. I also got rid of a few of Chris' extra ()s, which he used to make python ifs look like C ifs. | ||||
* | At Barry's suggestion, plug the security leak by using an empty | Guido van Rossum | 1997-12-10 | 2 | -6/+12 |
| | | | | | | __builtins__ for all calls to eval(). This still allows someone to write string.atof("[1]*1000000") (which Jim Fulton worries about) but effectively disables access to system modules and functions. | ||||
* | Since this module is used as a fallback in case no built-in modules | Guido van Rossum | 1997-12-10 | 2 | -6/+14 |
| | | | | | | | | | have been configured, string.atof() should not fail when "import re" fails (usually because pcre is not there). This opens up a tiny security hole: *if* an attacker can make "import re" fail, they can also make string.atof(arbitrary_string) evaluate the arbitrary string. Nothing to keep me awake at night... | ||||
* | Don't specify base 0 to string.atoi when unpickling integers in text | Guido van Rossum | 1997-12-10 | 1 | -1/+1 |
| | | | | | | mode. The pickler always uses base 10 so the default base should be fine. (The base gets us in trouble when there's no strop module, as the atoi() in string.py only supports base 10. This is for JPython.) | ||||
* | Support uue and x-uue as short names for uuencode. | Guido van Rossum | 1997-12-10 | 1 | -2/+6 |
| | |||||
* | Doc strings and reformatting with 4 spaces bty Mitch Chapman. | Guido van Rossum | 1997-12-10 | 1 | -609/+661 |
| | | | | Untabified and minor tweaks by me. | ||||
* | # Typos in the comments giving the names of two recently added distributions. | Guido van Rossum | 1997-12-09 | 1 | -2/+2 |
| | |||||
* | Guess... :-) | Guido van Rossum | 1997-12-09 | 6 | -167/+474 |
| | |||||
* | Checking in ConfigParser.py -- I don't see a reason why this can't be | Guido van Rossum | 1997-12-09 | 1 | -0/+255 |
| | | | | | liberated. This was originally written by Ken and later revamped by Barry. | ||||
* | Deleting ni.py; renamed to ni1.py, really. | Guido van Rossum | 1997-12-09 | 1 | -434/+0 |
| | |||||
* | Make close(), and hence __del__(), robust in the light of the world | Guido van Rossum | 1997-12-09 | 1 | -3/+6 |
| | | | | being destroyed already. | ||||
* | Doc strings by Mitch Chapman (with a little reformatting). | Guido van Rossum | 1997-12-09 | 1 | -118/+174 |
| | | | | Also reformatted the whole module with 4 spaces and no tabs. | ||||
* | Use long() instead of int() to compare mktime(localtime(t) with t... | Guido van Rossum | 1997-12-08 | 1 | -1/+1 |
| | |||||
* | New re version from AMK | Guido van Rossum | 1997-12-08 | 3 | -58/+201 |
| | |||||
* | Apply the same change to classes without an __getinitargs__() method | Guido van Rossum | 1997-12-07 | 1 | -5/+11 |
| | | | | as in pickle: the new instance is created without calling __init__(). | ||||
* | Reindented according to new standard, without tabs. | Guido van Rossum | 1997-12-05 | 1 | -117/+131 |
| | | | | Also added one more os2 specific piece of code, by Jeff Rush. | ||||
* | ospath.py has been obsolete for long enough. | Guido van Rossum | 1997-12-05 | 1 | -3/+0 |
| | |||||
* | When instantiating a class with no arguments and where the class does | Guido van Rossum | 1997-12-05 | 1 | -135/+40 |
| | | | | | | | | | | | not define __getinitargs__, bypass the __init__ constructor completely. This uses the trick of instantiating an empty dummy class and then changing inst.__class__ to the real class. This is done in two places: once for the INST and once for the OBJ format code. Also replaced the much outdated long doc string with a short summary of the module; the information of that doc string is already incorporated in the library reference manual. | ||||
* | Added doc strings and reindented according to new standard, without tabs. | Guido van Rossum | 1997-12-05 | 1 | -162/+194 |
| | | | | (Like ntpath.py, this was contributed by "Charles G. Waldman" <cgw@pgt.com>) | ||||
* | Added doc strings and reindented according to new standard, without tabs. | Guido van Rossum | 1997-12-05 | 1 | -189/+223 |
| | |||||
* | Fix the exclusion of "config" in the methods copied from Pack to also | Guido van Rossum | 1997-12-05 | 1 | -1/+1 |
| | | | | exclude "configure". | ||||
* | Patch my Marc Lemburg to fix urljoin("/a", "..") and urljoin("/a", "..#1"). | Guido van Rossum | 1997-12-03 | 1 | -1/+3 |
| | |||||
* | Refinement of home for NT, courtesy Jeff Bauer. | Guido van Rossum | 1997-12-03 | 1 | -3/+8 |
| | |||||
* | Provide default for blocksize on retrbinary (Skip Montanaro). | Guido van Rossum | 1997-12-03 | 1 | -1/+1 |
| | |||||
* | More generated files for netbsd 1.x, by Anders Andersen. | Guido van Rossum | 1997-12-03 | 4 | -0/+376 |
| | |||||
* | Support for netbsd1 and freebsd3, after suggestions by Anders Andersen | Guido van Rossum | 1997-12-02 | 2 | -4/+9 |
| | | | | and Jacques Vidrine. | ||||
* | When a port is specified in an ftp:// URL, must convert it to a number! | Guido van Rossum | 1997-12-02 | 1 | -0/+2 |
| | |||||
* | Support for the "event" command, new in Tk 4.2. | Guido van Rossum | 1997-12-02 | 1 | -0/+24 |
| | | | | By Case Roole. | ||||
* | Sjoerd sez: global substitute \240 with \177. | Guido van Rossum | 1997-12-02 | 1 | -4/+4 |
| | |||||
* | Added stropts.h to the list of files automatically regenerated. | Guido van Rossum | 1997-12-02 | 1 | -0/+1 |
| | |||||
* | Generated from Solaris 2.6's /usr/include/sys/stropts.h via | Barry Warsaw | 1997-12-02 | 1 | -0/+1450 |
| | | | | | | Tools/scripts/h2py.py. This file contains many useful streamio(7) constants, especially the ones that support passing open file descriptors through a pipe: I_RECVFD and I_SENDFD. | ||||
* | *** empty log message *** | Guido van Rossum | 1997-12-02 | 1 | -0/+121 |
| | |||||
* | Added Pareto and Weibull distributions, courtesy Jeremy Hylton. | Guido van Rossum | 1997-12-02 | 1 | -0/+18 |
| | |||||
* | Added strop.split tests when sep is None. | Barry Warsaw | 1997-12-02 | 1 | -0/+6 |
| | |||||
* | In string.split(), honor maxsplit (if > 0). | Guido van Rossum | 1997-12-01 | 2 | -4/+16 |
| | | | | | | | | In string.splitfields(), ignore maxsplit if <= 0, rather than ignoring maxsplit=0 but effectively treating negative numbers the same as maxsplit=1. Also made the test for maxsplit slightly more efficient (set it to the length of the string when <= 0 so the test for its presence can be omitted from the loop). | ||||
* | _Environ(): Added __getinitargs__() method so os.environ.copy() works, | Barry Warsaw | 1997-12-01 | 1 | -0/+5 |
| | | | | | | as does unpickling, as in: pickle.loads(pickle.dumps(os.environ)). Hope this is right! Don't shoot me Guido. :-) | ||||
* | Added tests of strop.replace() | Barry Warsaw | 1997-11-29 | 1 | -0/+9 |
| | |||||
* | The usual | Guido van Rossum | 1997-11-26 | 15 | -135/+793 |
| | |||||
* | Use fuzzy comparison from test_support to compare outcome of | Guido van Rossum | 1997-11-24 | 1 | -1/+4 |
| | | | | pow(x,y,z) to pow(x,y)%z. |