summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* This is patchMichael W. Hudson2002-05-151-28/+30
| | | | | | | [ 555382 ] test_array v.s. --disable-unicode + MvL's suggestions. Just the 32 failing tests in --disable-unicode builds now...
* Added docstrings excerpted from Python Library Reference.Raymond Hettinger2002-05-154-1/+121
| | | | Closes patch 556161.
* Fixed bug: Split RPC message into two parts instead of threeChui Tey2002-05-141-1/+1
|
* Simplify code to remove an unnecessary test.Fred Drake2002-05-141-2/+1
|
* Use spaces, not tabs for indents.Guido van Rossum2002-05-141-4/+4
| | | | Raymond Hettinger, beware! This caused the Unix install to fail!
* Added tests for new degree/radian conversions.Raymond Hettinger2002-05-141-0/+2
|
* Closes patch 529408 deprecating random.stdgamma().Raymond Hettinger2002-05-141-11/+35
|
* smtp_RCPT(): Removed a somewhat embarrassing debugging line, found byBarry Warsaw2002-05-141-3/+0
| | | | | | Scot Stevenson. Could be a bug fix candidate, but probably doesn't matter much unless a certain blue-nosed cat suddenly becomes corporeal and starts emailing some stmp.py (sic) fronted mailer.
* Closes SF bug 527139. Moved temp variables inside guard.Raymond Hettinger2002-05-131-7/+6
|
* Jim Fulton reported a segfault in dir(). A heavily proxied objectGuido van Rossum2002-05-131-0/+20
| | | | | | | | returned a proxy for __class__ whose __bases__ was also a proxy. The merge_class_dict() helper for dir() assumed incorrectly that __bases__ would always be a tuple and used the in-line tuple API on the proxy. I will backport this to 2.2 as well.
* SF 554663. Add OpenBSD3. Bugfix candidate if anyone cares.Guido van Rossum2002-05-131-1/+1
|
* SF 554073. Fix typo in error reporting of unrecognized characterGuido van Rossum2002-05-131-1/+1
| | | | following IAC. Bugfix candidate if anyone cares.
* Make StringIO work in --disable-unicode builds...Michael W. Hudson2002-05-132-2/+4
|
* Adds tests for degrees() and radians() functions added to mathmodule.Raymond Hettinger2002-05-131-0/+10
| | | | Closes patch 552452 and feature request 426539.
* SF bug 555042: zip() may trigger MemoryError.Tim Peters2002-05-121-1/+11
| | | | | NOT a bugfix candidate: this is a fix to an optimization introduced in 2.3.
* Closes SF patch 553277. Per GvR, reverting to original patch -- the way toRaymond Hettinger2002-05-121-1/+1
| | | | | | test if 'callable' has not been supplied is to test for None instead of False. The previous correction to 'if callable()' was wrong because an unusable callback would be ignored rather than raising an exception.
* Use isinstance() in preference to comparison of type by is.Jeremy Hylton2002-05-101-2/+2
|
* Patch #553277: Accept callbacks that are callable, not callbacks that are true.Martin v. Löwis2002-05-081-1/+1
|
* Prevent convert_path from crashing if the path is an empty string. Bugfix ↵Andrew M. Kuchling2002-05-061-2/+2
| | | | candidate.
* random.gauss() uses a piece of hidden state used by nothing else,Tim Peters2002-05-052-1/+23
| | | | | | | | | | | and the .seed() and .whseed() methods failed to reset it. In other words, setting the seed didn't completely determine the sequence of results produced by random.gauss(). It does now. Programs repeatedly mixing calls to a seed method with calls to gauss() may see different results now. Bugfix candidate (random.gauss() has always been broken in this way), despite that it may change results.
* Remove all tests that rely on deprecated-in-2.2 features of xrange objects.Fred Drake2002-05-022-29/+0
| | | | | "What's New in Python 2.2" documented that these would be removed in Python 2.3.
* Patch 550804: Make os.environ.copy() return a copy.Martin v. Löwis2002-05-021-0/+4
|
* Added regression tests for xrange object attributes.Fred Drake2002-05-021-0/+23
| | | | See SF bug #551285.
* Buffer-object repitition and concatenation has worked all along; add a testFred Drake2002-05-021-0/+6
| | | | to make avoid regression.
* Add Pickler.clear_memo() so the pickle and cPickle modules are more similar.Fred Drake2002-05-011-0/+3
|
* Fred's recent changes to support "-u all" resulted in subset resourceAndrew MacIntyre2002-04-301-1/+1
| | | | selections (eg "-u network") being ignored.
* builtin_zip(): Take a good guess at how big the result list will be,Tim Peters2002-04-291-0/+28
| | | | | | | and allocate it in one gulp. This isn't a bugfix, it's just a minor optimization that may or may not pay off.
* Mostly in SequenceMatcher.{__chain_b, find_longest_match}:Tim Peters2002-04-291-18/+55
| | | | | | | | | | | | This now does a dynamic analysis of which elements are so frequently repeated as to constitute noise. The primary benefit is an enormous speedup in find_longest_match, as the innermost loop can have factors of 100s less potential matches to worry about, in cases where the sequences have many duplicate elements. In effect, this zooms in on sequences of non-ubiquitous elements now. While I like what I've seen of the effects so far, I still consider this experimental. Please give it a try!
* - New builtin function enumerate(x), from PEP 279. Example:Guido van Rossum2002-04-261-0/+118
| | | | | enumerate("abc") is an iterator returning (0,"a"), (1,"b"), (2,"c"). The argument can be an arbitrary iterable object.
* Clean up uses of some deprecated features.Fred Drake2002-04-263-17/+20
| | | | Reported by Neal Norwitz on python-dev.
* Pass the full pathname to MSVC when compiling a debug version. ThisThomas Heller2002-04-251-0/+6
| | | | | allows the debugger to find the source without asking the user to browse for it.
* Append the PC specific include 'PC' and library 'PCBuild' directoriesThomas Heller2002-04-251-1/+8
| | | | | | | under NT - this allows distutils to work with the CVS version or the source distribution. Wrap a long line.
* Fix trivial typo.Thomas Heller2002-04-251-1/+1
|
* Add more tests for abstract isinstance() and issubclass().Neil Schemenauer2002-04-241-4/+93
|
* test_resource has no chance of running on Windows.Tim Peters2002-04-231-0/+1
|
* test_mmap started breaking on Windows, only when run after test_bsddb.Tim Peters2002-04-231-1/+1
| | | | | | | | | On Win2K it thought 'foo' started at byte offset 0 instead of at the pagesize, and on Win98 it thought 'foo' didn't exist at all. Somehow or other this is related to the new "in memory file" gimmicks in bsddb, but the old bsddb we use on Windows sucks so bad anyway I don't want to bother digging deeper. Flushing the file in test_mmap after writing to it makes the problem go away, so good enough.
* Unit tests for the changes in abstract.c version 2.101. The debugBarry Warsaw2002-04-231-0/+144
| | | | | | build's "undetected error" problems were originally detected with extension types, but we can whitebox test the same situations with new-style classes.
* Rewrote the PyUnit description so that it now recommends to useBarry Warsaw2002-04-231-6/+16
| | | | | run_suite() instead of run_unittest(). Best practice is to plan for multiple test classes.
* Add tests for the recent resource module change.Jeremy Hylton2002-04-232-0/+50
| | | | | | Also add a test that Python doesn't die with SIGXFSZ if it exceeds the file rlimit. (Assuming this will also test the behavior when the 2GB limit is exceed on a platform that doesn't have large file support.)
* Whitespace normalization. Unka Timmy would be proud.Barry Warsaw2002-04-232-57/+57
|
* SF patch 546244 by John Williams: add Text.dump() method.Guido van Rossum2002-04-231-1/+38
|
* There was a non-ascii character in the source. Replaced by a hex escape.Jack Jansen2002-04-231-1/+1
|
* whitespace fixup. test__all__ and test_sundry were failingAnthony Baxter2002-04-231-1/+1
| | | | for me on linux because of the inconsistent whitespace.
* don't fail if the audio device is busy, just skip.Anthony Baxter2002-04-231-1/+1
| | | | SF patch 545486
* SF patch [ 545523 ] patch for 514433 bsddb.dbopen (NULL)Anthony Baxter2002-04-231-19/+26
| | | | | | | | | | | | closes SF #514433 can now pass 'None' as the filename for the bsddb.*open functions, and you'll get an in-memory temporary store. docs are ripped out of the bsddb dbopen man page. Fred may want to clean them up. Considering this for 2.2, but not 2.1.
* Apply patch diff.txt from SF feature requestWalter Dörwald2002-04-222-1/+25
| | | | | | | | | http://www.python.org/sf/444708 This adds the optional argument for str.strip to unicode.strip too and makes it possible to call str.strip with a unicode argument and unicode.strip with a str argument.
* Fixes based on ideas from Christopher Smith:Jack Jansen2002-04-221-5/+21
| | | | | | | | - islink() now returns true for alias files - walk() no longer follows aliases while traversing - realpath() implemented, returning an alias-free pathname. As this could conceivably break existing code I think it isn't a bugfix candidate.
* tracking python idle changes:Steven M. Gava2002-04-221-1/+1
| | | | Provisional fix for writefile() [SF bug # 541730]
* tracking python idle changes:Steven M. Gava2002-04-221-4/+12
| | | | Patch #540583: Open MS Help Docs if available.
* Enable universal newlines on Windows. Note that NEWS needs more words!Tim Peters2002-04-211-1/+0
|