summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Added a __delitem__ to the Message class.Guido van Rossum1998-04-021-0/+22
| | | | (Still no __setitem__, until I get a request to add it!)
* Correct dumb typo found by kjpylint (stack should be self.stack).Guido van Rossum1998-03-311-1/+1
|
* Correct a definite typo ('mem' should be 'memo').Guido van Rossum1998-03-311-1/+1
|
* Tim Peters' program for checking whether a program's indentation isGuido van Rossum1998-03-311-0/+302
| | | | | sensitive to tab size. Uses a different strategy than tabpolice.py, but has compatible usage.
* Strip argument to atol and atof to match what strop does better.Guido van Rossum1998-03-302-4/+4
|
* A few lines were indented using spaces instead of tabs -- fix them.Guido van Rossum1998-03-301-8/+8
|
* Return the name of the Tcl command defined by _bind(). This canGuido van Rossum1998-03-271-5/+13
| | | | | optionally be passed to unbind() (or you can apss it to deletecommand()).
* The usual.Guido van Rossum1998-03-2643-2384/+2524
|
* Don't write "if self.dict: self.dict.close()"; just writeGuido van Rossum1998-03-261-2/+1
| | | | | | "self.dict.close()" and ignore the exception. The "if self.dict:" part would be calculated through len(self.dict.keys()), which is very expensive for a large dictionary...
* A few lines were indented using tabs instead of spaces -- fix them.Guido van Rossum1998-03-261-178/+178
|
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-2650-5320/+5320
|
* Delete this unused relic.Guido van Rossum1998-03-262-1942/+0
|
* A few lines were indented using spaces instead of tabs -- fix them.Guido van Rossum1998-03-261-64/+65
|
* A few lines were indented using spaces instead of tabs -- fix them.Guido van Rossum1998-03-2612-265/+282
|
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-262-280/+280
|
* Reindented with tabs only (seems fair to the Windows crowd).Guido van Rossum1998-03-261-99/+99
|
* Get rid of the Emacs cruft now that Python-mode guess the desired settings!Guido van Rossum1998-03-262-8/+0
|
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-2636-930/+930
|
* Get rid of the Emacs cruft now that Python-mode guess the desired settings!Guido van Rossum1998-03-261-6/+0
|
* Support 'whence' parameter to seek().Guido van Rossum1998-03-251-2/+11
|
* Give in to Timmy's Tedious Tab Theorem.Guido van Rossum1998-03-231-1/+1
|
* Give in to the tab police.Guido van Rossum1998-03-206-285/+295
|
* Fix indent of one line in mkarg(), that got indented badly by theGuido van Rossum1998-03-191-1/+1
| | | | recent reindent!
* Add obvious needed else clause to format_exception().Guido van Rossum1998-03-181-0/+2
|
* Prefer clock() over times() for timer function, except on the Mac,Guido van Rossum1998-03-171-4/+7
| | | | | where we use GetTicks() -- its clock() is a crock, with only 1 second accuracy, I believe.
* As Mike Fletcher pointed out, a __deepcopy__() method should be calledGuido van Rossum1998-03-131-1/+1
| | | | with the memo as an argument.
* Added support for "data" URL, by Sjoerd Mullender.Guido van Rossum1998-03-121-0/+40
|
* Instead of 'import mac', use 'import os' -- this way, the path syntaxGuido van Rossum1998-03-031-9/+9
| | | | | manipulation routines can be used on non-Mac platforms (e.g. to manipulate pathnames in a Mac specific archive).
* Initialize adlist variable in getrouteaddr(), so an illegal addressGuido van Rossum1998-03-031-0/+1
| | | | doesn't cause a traceback.
* Typo (coestring -> codestring) discovered by Mark Hammond.Guido van Rossum1998-03-021-1/+1
|
* Sjoerd writes: When a multipart message is incomplete, mimify crashes.Guido van Rossum1998-02-271-0/+6
|
* New version of tb_lineno(), this time *not* using try-except, to avoidGuido van Rossum1998-02-261-8/+8
| | | | | | disturbing the current exception, and returning tb.tb_lineno, which is the line number of thr traceback, rather than the current line number. By Jim Hugunin.
* A working version of the 'args' command (it prints the current valuesGuido van Rossum1998-02-251-5/+12
| | | | | of the variables known to hold arguments, but that's as close as I can get, and generally it's close enough).
* Add test for core dump -- make sure it doesn't come back!Guido van Rossum1998-02-251-0/+5
|
* Tweak the tb_lineno() function to be compatible with JPython, whichGuido van Rossum1998-02-251-4/+8
| | | | has no line number table etc.
* Typo: baseWidht -> baseWidth.Guido van Rossum1998-02-241-1/+1
|
* Fix bug in trace_vdelete(); should use master's delete command.Guido van Rossum1998-02-191-1/+2
|
* Added debug statements to report data actually sent and received onGuido van Rossum1998-02-191-0/+2
| | | | the socket.
* Fix for literal null bytes -- these must be replaced by the fourGuido van Rossum1998-02-191-2/+3
| | | | characters \, 0, 0, 0.
* Fixed a bug in the gauss() function. The bug was reported by MikeGuido van Rossum1998-02-191-5/+6
| | | | | | | | Miller, who complained that its kurtosis was bad, and then fixed by Lambert Meertens (author of the original algorithm) who discovered that the mathematical analysis leading to his solution was wrong, and provided a corrected version. Mike then tested the fix and reported that the kurtosis was now good.
* Add rmd() (remove directory command); fix comment in parse257.Guido van Rossum1998-02-191-2/+8
| | | | | In login(), force passwd and acct to '' when they are None (this can happen in the test program!).
* Faster implementation of normcase (using string.lower(Guido van Rossum1998-02-191-8/+2
| | | | | | | string.replace(...)) instead of a for loop). Don't call normcase() in normpath() -- the filesystem just might be case preserving...
* Feature added by Bill van Melle: when no timezone is present, assumeGuido van Rossum1998-02-191-7/+14
| | | | local time -- that's better than failure.
* (1) Change normpath() to *not* also call normcase().Guido van Rossum1998-02-181-7/+7
| | | | | | | (2) Fix normcase() to use string.lower() and string.replace() -- it turns out that the table constructed for translate() didn't work in locales that have a different number of lowercase and uppercase letters.
* Fix sign reversal in mktime_tz discovered by Bill van Melle.Guido van Rossum1998-02-181-1/+1
|
* Andrew Kuchling writes:Guido van Rossum1998-02-161-1/+1
| | | | | | | | First, the RNG in whrandom.py sucks if you let it seed itself from the time. The problem is the line: t = int((t&0xffffff) | (t>>24)) Since it ORs the two parts together, the resulting value has mostly ON bits. Change | to ^, and you don't lose any randomness.
* Adding output of test_xmllib.pyGuido van Rossum1998-02-131-0/+1
|
* Fixed typo in docstring: "__ version__" --> "__version__"Fred Drake1998-02-131-1/+1
|
* Fix a horrible race condition -- various routines were storing theGuido van Rossum1998-02-131-9/+7
| | | | | | | | | | | most recently opened URL in self.openedurl of the URLopener instance. This doesn't really work if multiple threads share the same opener instance! Fix: openedurl was actually simply the type prefix (e.g. "http:") followed by the rest of the URL; since the rest of the URL is available and the type is effectively determined by where you are in the code, I can reconstruct the full URL easily, e.g. "http:" + url.
* Added rmtree(), to recursively remove a directory tree.Guido van Rossum1998-02-061-0/+32
| | | | Code by David Ascher (docstring by me).