summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* fixed typo in commentJust van Rossum2003-07-021-1/+1
|
* On those systems lacking the AFMT_S16_NE symbol, the test was failingAndrew MacIntyre2003-07-021-1/+1
| | | | | | | because it was still looking in the ossaudiodev module namespace for this symbol. As the symbol has already been rebound as a global, use that instead.
* SF #764121, docstring for spawnlp incorrectNeal Norwitz2003-07-021-1/+1
|
* Fix SF bug #763637, 2.3b2 unpack tuple of wrong size in after_cancelNeal Norwitz2003-07-011-2/+4
| | | | | Tk 8.4 may return different values than 8.3. This fix should handle either version.
* - added (c)StringIO tests; cStringIO usage failed in the previousJust van Rossum2003-07-011-0/+16
| | | | version of plistlib.py (r1.2)
* - replaced a couple of asserts with proper exceptionsJust van Rossum2003-07-011-4/+5
| | | | - use isinstance instead of flaky file-detection code
* Make the classes exposed by threading.py new-style classes. This isTim Peters2003-07-011-3/+7
| | | | mostly for convenience and to aid debugging.
* Resolved minor XXX question in the obvious way.Tim Peters2003-07-011-1/+1
|
* Fix SF bug #763023, difflib.py: ratio() zero division not caughtNeal Norwitz2003-07-012-3/+20
| | | | Backport candidate
* connector(): You can't use an empty string as an argument to connect()Tim Peters2003-07-011-1/+1
| | | | on Windows.
* Fix SF bug #763770, test_socket_ssl crashNeal Norwitz2003-07-011-2/+2
| | | | Don't run any tests if there is no ssl support.
* Test Brett's addition of __all__ to Queue.Raymond Hettinger2003-07-011-0/+1
|
* Add __all__ .Brett Cannon2003-07-011-0/+2
|
* Fix SF #763362, test_posixpath failedNeal Norwitz2003-07-011-4/+6
| | | | | Don't check expanduser('~') if the home directory == the root directory (ie, we are running as root).
* Fix typo in error messageNeal Norwitz2003-06-301-1/+1
|
* Don't require that a RuntimeError is raised when playing a secondWalter Dörwald2003-06-301-5/+9
| | | | | | | sound while the first one is still running, as the first one one might already have finished. Fixes part of SF bug #763052.
* Fix SF 762891: "del p[key]" on proxy object raises SystemError()Raymond Hettinger2003-06-301-0/+11
|
* Fix SF #754870, SSL crash interpreter when remote side closes during connectNeal Norwitz2003-06-301-1/+37
| | | | Also fix a memory leak.
* restore 2.2 compatibility:Just van Rossum2003-06-291-11/+11
| | | | | - don't use "abc" in aString - don't reorganize extension modules when not using zipimport
* - added --semi-standalone option that builds apps that depend on anJust van Rossum2003-06-291-26/+50
| | | | | | | installed Python, yet include any modules not in the std lib - reworked extension module inclusion code: put all .so files in a subdirectory of Contents/Resources/, but more importantly, correctly support extensions that are submodules.
* More testsRaymond Hettinger2003-06-291-3/+59
| | | | | * Test with infinite inputs (using take() on the output) * Test whether GC can find and eliminate cycles.
* Fix sf bug 666219: assertion error in httplib.Jeremy Hylton2003-06-291-0/+4
| | | | The obvious way for this assertion to fail is if the LineAndFileWrapper constructor is called when an empty line. Raise a BadStatusError before the call.
* Whitespace normalization.Tim Peters2003-06-291-2/+2
|
* Remove stub settrace() and setprofile() calls.Jeremy Hylton2003-06-291-8/+0
|
* Fix grammar in comment.Jeremy Hylton2003-06-291-1/+1
|
* Whitespace normalization.Jeremy Hylton2003-06-291-1/+1
|
* Add settrace() and setprofile() functions to the threading library.Jeremy Hylton2003-06-291-0/+20
|
* Provide dummy (do-nothing) settrace() and setprofile() functions untilTim Peters2003-06-291-1/+9
| | | | Jeremy can check in the real things.
* Removed invalid test.Raymond Hettinger2003-06-291-3/+0
| | | | | | | | | Analysis by Bob Halley: The test seems to expect that if time.daylight is true, then the is_dst field of the tm structure will be 1 too. But this isn't the case, since daylight is true if the timezone does DST, *not* if DST is in effect.
* SF bug #762455: Python segfaults when sys.stdout is changed in getattrRaymond Hettinger2003-06-291-0/+15
| | | | * Added unittest that fails before, but not after Neil's fix to ceval.c.
* Whitespace normalization.Tim Peters2003-06-295-8/+8
|
* Some nifty doctest extensions from Jim Fulton, currently used in Zope3.Tim Peters2003-06-291-0/+268
| | | | | | | | | I won't have time to write real docs, but spent a lot of time adding comments to his code and fleshing out the exported functions' docstrings. There's probably opportunity to consolidate how docstrings get extracted too, and the new code for that is probably better than the old code for that (which strained mightily to recover from 2.2's new class/type gimmicks).
* SF bug #430160: CGIHTTPServer.py POST bug using IERaymond Hettinger2003-06-291-2/+4
| | | | | | Minor improvement to previous bugfix. Eating the remaining characters would lead to an endless loop without a termination test.
* Add missing self. before curNode. This may need to be committedNeal Norwitz2003-06-291-1/+1
| | | | to PyXML, I'm not sure of the procedure.
* SF patch #760257: add socket.timeout exceptionRaymond Hettinger2003-06-291-2/+57
| | | | | | (Contributed by Bob Halley) Add unittests for the new socket.timeout exception.
* Fix arguments for instantiating InterpolationSyntaxErrorNeal Norwitz2003-06-291-3/+3
|
* Comment out cap, it was unused.Neal Norwitz2003-06-291-1/+2
| | | | Should all the commented out code be removed?
* whitespace normalizationNeal Norwitz2003-06-291-1/+1
|
* remove unused import mathNeal Norwitz2003-06-291-1/+0
|
* remove extra parameter from _java_getprop, remove duplicate importsNeal Norwitz2003-06-291-2/+2
|
* use == like all the other conditionalsNeal Norwitz2003-06-291-1/+1
|
* fix problems found by pycheckerNeal Norwitz2003-06-291-2/+3
|
* Missed a spot where the new optional optionflags argument needed to getTim Peters2003-06-291-1/+1
| | | | passed on.
* Use http://www.python.org/packman as the base URL. Also upped the versionJack Jansen2003-06-291-3/+3
| | | | number because of this.
* SF 662923: iterator for dbm keysRaymond Hettinger2003-06-281-1/+2
| | | | | When shelve and the bsdbm where expanded to a full mapping interface, this module was missed.
* Add take() to examples. Tighten the islice() exampleRaymond Hettinger2003-06-281-1/+7
|
* SF patch #756996: Bare except in ZipFile.testzip()Raymond Hettinger2003-06-272-1/+22
| | | | | | | | | (Contributed by Steven Taschuk) Replaces a bare except that caused all errors to be mis-reported as archive errors. Added a related NEWS item.
* SF patch #761519: Fixes for bugs 760703 and 757821Raymond Hettinger2003-06-273-17/+26
| | | | | | | | | | | | | | | | | | SF bug #760703: SocketHandler and LogRecord don't work well together SF bug #757821: logging module docs Applied Vinay Sajip's patch with a few minor fixups and a NEWS item. Patched __init__.py - added new function makeLogRecord (for bug report 760703). Patched handlers.py - updated some docstrings and deleted some old commented-out code. Patched test_logging.py to make use of makeLogRecord. Patched liblogging.tex to fill documentation gaps (both 760703 and bug 757821).
* A hack to ease compatibility with pre-2.3 Pythons: by default, doctestTim Peters2003-06-271-17/+58
| | | | | | | | | | | | | | now accepts "True" when a test expects "1", and similarly for "False" versus "0". This is un-doctest-like, but on balance makes it much more pleasant to write doctests that pass under 2.2 and 2.3. I expect it to go away again, when 2.2 is forgotten. In the meantime, there's a new doctest module constant that can be passed to a new optional argument, if you want to turn this behavior off. Note that this substitution is very simple-minded: the expected and actual outputs have to consist of single tokens. No attempt is made, e.g., to accept [True, False] when a test expects [1, 0]. This is a simple hack for simple tests, and I intend to keep it that way.
* Do not add extra "\n" after bang line.Gustavo Niemeyer2003-06-271-2/+2
|