summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Support uue and x-uue as short names for uuencode.Guido van Rossum1997-12-101-2/+6
|
* Doc strings and reformatting with 4 spaces bty Mitch Chapman.Guido van Rossum1997-12-101-609/+661
| | | | Untabified and minor tweaks by me.
* # Typos in the comments giving the names of two recently added distributions.Guido van Rossum1997-12-091-2/+2
|
* Guess... :-)Guido van Rossum1997-12-096-167/+474
|
* Checking in ConfigParser.py -- I don't see a reason why this can't beGuido van Rossum1997-12-091-0/+255
| | | | | liberated. This was originally written by Ken and later revamped by Barry.
* Deleting ni.py; renamed to ni1.py, really.Guido van Rossum1997-12-091-434/+0
|
* Make close(), and hence __del__(), robust in the light of the worldGuido van Rossum1997-12-091-3/+6
| | | | being destroyed already.
* Doc strings by Mitch Chapman (with a little reformatting).Guido van Rossum1997-12-091-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 Rossum1997-12-081-1/+1
|
* New re version from AMKGuido van Rossum1997-12-083-58/+201
|
* Apply the same change to classes without an __getinitargs__() methodGuido van Rossum1997-12-071-5/+11
| | | | as in pickle: the new instance is created without calling __init__().
* Reindented according to new standard, without tabs.Guido van Rossum1997-12-051-117/+131
| | | | Also added one more os2 specific piece of code, by Jeff Rush.
* ospath.py has been obsolete for long enough.Guido van Rossum1997-12-051-3/+0
|
* When instantiating a class with no arguments and where the class doesGuido van Rossum1997-12-051-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 Rossum1997-12-051-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 Rossum1997-12-051-189/+223
|
* Fix the exclusion of "config" in the methods copied from Pack to alsoGuido van Rossum1997-12-051-1/+1
| | | | exclude "configure".
* Patch my Marc Lemburg to fix urljoin("/a", "..") and urljoin("/a", "..#1").Guido van Rossum1997-12-031-1/+3
|
* Refinement of home for NT, courtesy Jeff Bauer.Guido van Rossum1997-12-031-3/+8
|
* Provide default for blocksize on retrbinary (Skip Montanaro).Guido van Rossum1997-12-031-1/+1
|
* More generated files for netbsd 1.x, by Anders Andersen.Guido van Rossum1997-12-034-0/+376
|
* Support for netbsd1 and freebsd3, after suggestions by Anders AndersenGuido van Rossum1997-12-022-4/+9
| | | | and Jacques Vidrine.
* When a port is specified in an ftp:// URL, must convert it to a number!Guido van Rossum1997-12-021-0/+2
|
* Support for the "event" command, new in Tk 4.2.Guido van Rossum1997-12-021-0/+24
| | | | By Case Roole.
* Sjoerd sez: global substitute \240 with \177.Guido van Rossum1997-12-021-4/+4
|
* Added stropts.h to the list of files automatically regenerated.Guido van Rossum1997-12-021-0/+1
|
* Generated from Solaris 2.6's /usr/include/sys/stropts.h viaBarry Warsaw1997-12-021-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 Rossum1997-12-021-0/+121
|
* Added Pareto and Weibull distributions, courtesy Jeremy Hylton.Guido van Rossum1997-12-021-0/+18
|
* Added strop.split tests when sep is None.Barry Warsaw1997-12-021-0/+6
|
* In string.split(), honor maxsplit (if > 0).Guido van Rossum1997-12-012-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 Warsaw1997-12-011-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 Warsaw1997-11-291-0/+9
|
* The usualGuido van Rossum1997-11-2615-135/+793
|
* Use fuzzy comparison from test_support to compare outcome ofGuido van Rossum1997-11-241-1/+4
| | | | pow(x,y,z) to pow(x,y)%z.
* os2 patch by Jeff RushGuido van Rossum1997-11-223-4/+15
|
* bind_class should return a valueGuido van Rossum1997-11-221-1/+1
|
* New address parser by Ben Escoto replacesGuido van Rossum1997-11-221-125/+247
| | | | Sjoerd Mullender's parseaddr()
* Use fstat if we can; write MAGIC into file last.Guido van Rossum1997-11-221-2/+8
|
* A new standard module, as discussed on comp.lang.python, to simplifyGuido van Rossum1997-11-211-0/+254
| | | | | | | | | | | | | | | | | the writing of filters. Typical use is: import fileinput for line in fileinput.input(): process(line) This iterates over the lines of all files listed in sys.argv[1:], defaulting to sys.stdin if the list is empty or when a filename is '-'. There is also an option to use this to direct the output back to the input files.
* (Queue.Empty): When class based exceptions are in force, derive thisBarry Warsaw1997-11-201-116/+130
| | | | | | | | class from the standard base exception Exception. Otherwise define Queue.Empty as a string exception. (Queue): 8-space to 4-space indentation conversion. Also, basically recast all method comments into docstrings.
* Add Martin von Loewis as the author of this module.Guido van Rossum1997-11-191-0/+1
|
* User-level locale module. A wrapper around _locale which addsGuido van Rossum1997-11-191-0/+75
| | | | | | | format(), str(), atof(), and atoi(). The last three are locale sensitive versions of the corresponding standard functions (only for numbers though); format() does general %[efg] formatting taking the locale into account, optionally with thousands grouping.
* Assert that the proxies object passed in to the URLopener constructorGuido van Rossum1997-11-181-0/+1
| | | | is indeed a dictionary (or a mapping).
* Added docstrings (contributed by Martin von Loewis).Guido van Rossum1997-11-181-1/+13
|
* Fixed case sensitivity of attributes (they are case *sensitive*).Guido van Rossum1997-11-181-12/+8
|
* Sjoerd Mullender's xml parser (based on sgmllib, somewhat).Guido van Rossum1997-11-181-0/+568
|
* Some restructuring.Guido van Rossum1997-11-071-111/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | All geometry manager methods that apply to a master widget instead of to a slave widget have been moved to the Misc class, which is inherited by all of Tk(), Toplevel() and Widget(). They have been renamed to have their geometry manager name as a prefix, e.g. pack_propagate(); the short names can still be used where ambiguities are resolved so that pack has priority over place has priority over grid (since this was the old rule). Also, the method definitions in the Pack, Place and Grid classes now all have their respective geometry manager name as a prefix (e.g. pack_configure); the shorter names are aliases defined through assignment. A similar renaming has been done for all config() methods found elsewhere; these have been renamed to configure() with config being the alias (instead of the other way around). (This may not make much of a difference but the official Tk command name is now 'configure' and it may help in debugging tracebacks.) Finally, a new base class BaseWidget has been introduced, which implements the methods common between Widget and Toplevel (the difference between those two classes is that Toplevel has a different __init__() but also that Toplevel doesn't inherit from Pack, Place or Grid.
* Separate out a function pystones(loops=LOOPS) which runs the benchmarkGuido van Rossum1997-11-061-8/+12
| | | | | and returns a (benchtime, stones) tuple. The main() function now calls this and prints the report. Fred Drake's code.
* Add __init__.py to test package.Guido van Rossum1997-11-061-0/+1
|