summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* SF patch 530070: pydoc regression, from Martin and Guido.Tim Peters2002-03-171-2/+11
| | | | | Change the way __doc__ is handled, to avoid blowing up on non-string __doc__ values.
* Patch #430706: Persistent connections in BaseHTTPServer.Martin v. Löwis2002-03-172-34/+126
|
* Wrap a couple of long lines.Fred Drake2002-03-151-2/+4
|
* Corrected _localized_name.__getitem__ based on code in patch 503202 (which ISkip Montanaro2002-03-151-7/+9
| | | | | thought was just a bug report, so didn't notice - doh!). This handles slicing, which v 1.23 didn't.
* Patch #527427: minidom fails to use NodeList sometimes.Martin v. Löwis2002-03-151-5/+5
|
* Skip test_longexp for MacPython on Mac OS X. It triggers a pathological ↵Jack Jansen2002-03-151-1/+5
| | | | | | realloc slowdown. Some tests with shorter expressions lead me to the conclusion that it will eventually finish, but it may take a few weeks:-) 2.2.1 candidate.
* If no webbrowsers were found _tryorder would be empty, cmd would never be ↵Jack Jansen2002-03-151-0/+1
| | | | | | set and the "del cmd" would fail. Fixed. 2.2.1 candidate.
* ....Michael W. Hudson2002-03-151-1/+1
|
* FixMichael W. Hudson2002-03-151-2/+9
| | | | | | | | [ 530236 ] os.py assumes existence of statvfs_resul This was pretty dense of me. Sorry. 2.2.1 candidate.
* make _localized_name instances work more like the tuples they replaced. InSkip Montanaro2002-03-151-5/+12
| | | | | | particular, negative indexes work and they are limited by the actual length of the names they represent (weekday and month names). This closes bug #503202.
* added test case to catch index errors with _localized_name classSkip Montanaro2002-03-151-0/+4
|
* first cut at skip-list for hp-ux 11 based upon input from Bill Lawler at HP.Skip Montanaro2002-03-151-0/+30
|
* Remove duplicate "import os"Neal Norwitz2002-03-141-1/+0
|
* "Fix" for SF bug #520644: __slots__ are not pickled.Guido van Rossum2002-03-141-0/+89
| | | | | | | | | | | As promised in my response to the bug report, I'm not really fixing it; in fact, one could argule over what the proper fix should do. Instead, I'm adding a little magic that raises TypeError if you try to pickle an instance of a class that has __slots__ but doesn't define or override __getstate__. This is done by adding a bozo __getstate__ that always raises TypeError. Bugfix candidate (also the checkin to typeobject.c, of course).
* SF #515015, raise exception if code not found in findsource()Neal Norwitz2002-03-131-0/+1
|
* Test for the fix I just checked in to moduleobject.c.Guido van Rossum2002-03-121-0/+12
| | | | Bugfix candidate.
* back out spurious change from 1.22Skip Montanaro2002-03-121-1/+1
|
* Popen3 and Popen4 should be in __all__Skip Montanaro2002-03-121-1/+1
|
* Set/update self.cwd properly.Fred Drake2002-03-121-14/+51
|
* Change Windows file.truncate() to (a) restore the original file position,Tim Peters2002-03-121-9/+15
| | | | | | | | | | | | and (b) stop trying to prevent file growth. Beef up the file.truncate() docs. Change test_largefile.py to stop assuming that f.truncate() moves the file pointer to the truncation point, and to verify instead that it leaves the file position alone. Remove the test for what happens when a specified size exceeds the original file size (it's ill-defined, according to the Single Unix Spec).
* fixes to tabwidth code removalSteven M. Gava2002-03-121-6/+6
|
* remove tabwidth (for tabs) config stuff,Steven M. Gava2002-03-122-12/+11
| | | | | because of the way the tk text widget handles tabs they must remain a fixed size in idle
* further work on dynamic config changes;Steven M. Gava2002-03-122-2/+16
| | | | editor font
* Fix typoNeal Norwitz2002-03-111-1/+1
|
* Add a check that SF bug 516727 is really fixed.Guido van Rossum2002-03-111-0/+10
|
* Patch #443899: Check modes on files before performing operations.Martin v. Löwis2002-03-111-1/+9
| | | | Use IOErrors where file objects use them.
* file_truncate(): provide full "large file" support on Windows, byTim Peters2002-03-111-15/+24
| | | | | | | | | | | | | | | | | | | | dropping MS's inadequate _chsize() function. This was inspired by SF patch 498109 ("fileobject truncate support for win32"), which I rejected. libstdtypes.tex: Someone who knows should update the availability blurb. For example, if it's available on Linux, it would be good to say so. test_largefile: Uncommented the file.truncate() tests, and reworked to do more. The old comment about "permission errors" in the truncation tests under Windows was almost certainly due to that the file wasn't open for *write* access at this point, so of course MS wouldn't let you truncate it. I'd be appalled if a Unixish system did. CAUTION: Someone should run this test on Linux (etc) too. The truncation part was commented out before. Note that test_largefile isn't run by default.
* Bugfix candidate.Guido van Rossum2002-03-111-0/+3
| | | | | | | Adapter from SF patch 528038; fixes SF bug 527816. The wrapper for __nonzero__ should be wrap_inquiry rather than wrap_unaryfunc, since the slot returns an int, not a PyObject *.
* Access the exception argument to see whether it starts with '500'.Martin v. Löwis2002-03-101-2/+2
| | | | Fixes #527855.
* SF patch 499062: Minor typo in test_generators.py.Tim Peters2002-03-101-1/+1
| | | | | | There's no actual patch there. It's an objection that Guido's example doesn't actually generator "leaves", so change the comment that says it does.
* Fix SF bug 525520.Jeremy Hylton2002-03-091-20/+34
| | | | | Don't automatically add a Host: header if the headers passed to request() already has a Host key.
* Fix pyclbr test of httplib without really understanding pyclbr.Jeremy Hylton2002-03-081-1/+2
| | | | | It seems that the new class HTTP11 in httplib.test() isn't discoverable by pyclbr, which causes this test to fail.
* SF bug report #405939: wrong Host header with proxyJeremy Hylton2002-03-081-3/+21
| | | | | | | | | | | | | | | In August, Greg said this looked good, so I'm going ahead with it. The fix is different from the one in the bug report. Instead of using a regular expression to extract the host from the url, I use urlparse.urlsplit. Martin commented that the patch doesn't address URLs that have basic authentication username and password in the header. I don't see any code anywhere in httplib that supports this feature, so I'm not going to address it for this fix. Bug fix candidate.
* [Bug #491820] Define two abstract methods to shut up Pychecker, and forAndrew M. Kuchling2002-03-081-0/+6
| | | | | documentation purposes. These implementations are the same as the ones suggested by Skip in the bug report.
* [Bug #517554] When a signal happens during the select call inAndrew M. Kuchling2002-03-081-0/+1
| | | | | | | | | asyncore.poll, the select fails with EINTR, which the code catches. However, the code fails to clear the r/w/e arrays (like poll3 does), which means it acts as if every descriptor had received all possible events. Bug report and patch by Cesar Eduardo Barros
* As part of fixing bug #523301, add a simple test of ConfigParser.write()Andrew M. Kuchling2002-03-082-0/+30
|
* [Bug #523301] ConfigParser.write() produces broken output for values thatAndrew M. Kuchling2002-03-081-2/+2
| | | | | were originally rfc822-like line continuations. Modified version of a patch from Matthias Ralfs.
* fixed missing IMAP4_SSL_PORTPiers Lauder2002-03-081-1/+2
|
* SF bug 515943: searching for data with \0 in mmap.Tim Peters2002-03-081-0/+25
| | | | | | | | | mmap_find_method(): this obtained the string to find via s#, but it ignored its length, acting as if it were \0-terminated instead. Someone please run on Linux too (the extended test_mmap works on Windows). Bugfix candidate.
* add Content-Type header to error responsesSkip Montanaro2002-03-081-0/+1
| | | | this closes patch 502080
* add SSL class submitted by Tino LangePiers Lauder2002-03-081-1/+74
|
* add repr_str as alias for repr_string in both HTMLRepr and TextRepr classesSkip Montanaro2002-03-071-0/+4
| | | | | - reflects the change in type("").__name__ between 2.1 and 2.2. The __name__ field is used to find a method to call for particular types.
* Test forMichael W. Hudson2002-03-061-0/+12
| | | | | | [ 526039 ] devious code can crash structseqs Bugfix candidate.
* Special support for pickling os.stat and os.stat_vfs results portablyMichael W. Hudson2002-03-062-0/+31
| | | | | | | | (the types come from different modules on different platforms). Added tests for pickling these types. May be a bugfix candidate.
* Set default value for readlines.sizehint to None. Change needed for 2.2.1Martin v. Löwis2002-03-051-1/+1
| | | | as well.
* A fix & test forMichael W. Hudson2002-03-051-0/+7
| | | | | | | | [ 496873 ] structseqs unpicklable by adding a __reduce__ method to structseqs. Will also commit this to the 2.2.1 branch momentarily.
* remove debug cruftSteven M. Gava2002-03-051-6/+0
|
* further work on new config systemSteven M. Gava2002-03-052-9/+23
|
* Removed two unused imports. Closes patch #525225.Barry Warsaw2002-03-031-4/+0
| | | | 2.2.1 candidate (but not terribly important).
* SF #506611, fix sys.setprofile(), sys.settrace() core dumpsNeal Norwitz2002-03-032-0/+10
| | | | when no arguments are passed