summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* no longer needed - converted test_urlparse.py to use unittestSkip Montanaro2002-03-231-46/+0
|
* SF bug 533234: tm_isdst > 1 Passed to strftime.Tim Peters2002-03-232-18/+66
| | | | | | | | | | | One more time on this turkey, but duller instead of cleverer. Curious: The docs say __getslice__ has been deprecated since 2.0, but list.__getitem__ still doesn't work if you pass it a slice. This makes it a lot clearer to emulate a list by *being* a list <wink>. Bugfix candidate. Michael, just pile this patch on top of the others that went by -- no need to try to pick these apart.
* better solution for bug #533234 courtesy of Tim.Skip Montanaro2002-03-221-1/+2
| | | | Michael: use this version as the bugfix candidate...
* guarantee that the dst flag of synthetic "time" tuples passed to strftimeSkip Montanaro2002-03-221-1/+1
| | | | is always 0. This closes bug #533234.
* use stat attributes instead of tuple entriesWalter Dörwald2002-03-221-3/+2
| | | | and remove the unneccessary "import stat" statement.
* Revert part of previous patch: several install_* subcommands expectAndrew M. Kuchling2002-03-221-1/+1
| | | | | | | | .compile to be None, and set it to true if it is. Caught by Pearu Peterson. Bugfix candidate, if the previous change is accepted for release22-maint.
* Add a simple test suite for netrc.py, and remove it from test_sundryAndrew M. Kuchling2002-03-222-1/+43
|
* [Bug #532115] netrc module was brokenAndrew M. Kuchling2002-03-221-11/+9
| | | | | | | | * 'macdef' (macro definition) wasn't parsed correctly * account value not reset for a subsequent 'default' line * typo: 'whitepace' -> 'whitespace' Bugfix candidate.
* Add missing Boolean optionsAndrew M. Kuchling2002-03-211-3/+2
| | | | | | | Remove unused no_compile flag Initialize the Boolean attribute .compile to 0 instead of None Bugfix candidate.
* Add unlisted Boolean options. Thomas H., can you please check that IAndrew M. Kuchling2002-03-211-1/+2
| | | | | | got this right? Bugfix candidate, unless Thomas notes a problem.
* [Bug #517451] bdist_rpm didn't list all of its Boolean options.Andrew M. Kuchling2002-03-211-1/+1
| | | | | | (Someone should check the other commands for this same error.) Bugfix candidate.
* [Apply SF patch #504943]Walter Dörwald2002-03-211-5/+14
| | | | | | This patch makes it possible to pass Warning instances as the first argument to warnings.warn. In this case the category argument will be ignored. The message text used will be str(warninginstance).
* Do not insert characters for unicode-escape decoders if the error modeMartin v. Löwis2002-03-211-0/+8
| | | | is "ignore". Fixes #529104.
* [Apply patch #500457 from the PyXML tracker]Andrew M. Kuchling2002-03-201-0/+9
| | | | | | Add iterator support to pulldom.DOMEventStream New feature, so not a bugfix candidate (though it should be safe for inclusion)
* Change raw "except:" constructs to pass on KeyboardInterrupt.Tim Peters2002-03-201-0/+4
| | | | | Bugfix candidate? Don't know -- never bothered me, but it's minor either way.
* Make GzipFile an iterator. Closes bug #532621.Neil Schemenauer2002-03-201-0/+10
|
* A faster version of the find_prefix_at_end() function (that I found in theAndrew M. Kuchling2002-03-201-9/+7
| | | | | | last Medusa release) Should be safe as a bugfix candidate, though it's not fixing a bug.
* [Bug #531616] Make HTTPS work again by adding a sendall method to theAndrew M. Kuchling2002-03-181-0/+3
| | | | | | | | | | FakeSocket class. Without it, the sendall() call got the method on the underlying socket object, and that messed up SSL. Does httplib use other methods of sockets that FakeSocket doesn't support? Someone should take a look... (I'll try to give it a once-over.) 2.2.1 bugfix candidate.
* To make 'urllib.py -t' run again, change FTP URL to a file that actuallyAndrew M. Kuchling2002-03-181-1/+1
| | | | exists.
* amk's fix attached toMichael W. Hudson2002-03-183-1/+26
| | | | [ 516299 ] urlparse can get fragments wrong
* Patch #495598: add an -q (quiet) option to pycompile.Martin v. Löwis2002-03-181-9/+19
|
* Correctly set default entry in all cases.Martin v. Löwis2002-03-181-6/+9
|
* Patch #499513: use readline() instead of readlines(). Removed theMartin v. Löwis2002-03-181-16/+6
| | | | unnecessary redirection limit code which is already in FancyURLopener.
* Patch #525870: Avoid duplicate stat calls, use st_ attributes.Martin v. Löwis2002-03-181-4/+2
|
* Fix for SF bug 528132 (Armin Rigo): classmethod().__get__() segfaultGuido van Rossum2002-03-181-0/+5
| | | | | | | | | | | The proper fix is not quite what was submitted; it's really better to take the class of the object passed rather than calling PyMethod_New with NULL pointer args, because that can then cause other core dumps later. I also added a testcase for the fix to classmethods() in test_descr.py. I've already applied this to the 2.2 branch.
* dump the string exception fallback for anydbm.error.Skip Montanaro2002-03-181-5/+2
|
* initial test_anydbm module - based on test_dumbdbm.pySkip Montanaro2002-03-181-0/+96
|
* further work on dynamic reconfiguration;Steven M. Gava2002-03-182-0/+34
| | | | keybindings
* netrc will now raise a more predictable exception when $HOME is not setPaul Prescod2002-03-181-1/+4
| | | | | | | | | (as it is often not on Windows). The code was always designed so that it would raise an IOError if there was no .netrc. But if there was no $HOME it would return a KeyError which would be somewhat unexpected for code that didn't know the algorithm it used to find .netrc. The particular code that triggered this problem for me was ftpmirror.py which handled the IOError gracefully, but not the KeyError.
* restructure a bit to not rely on test case execution orderingSkip Montanaro2002-03-171-4/+28
| | | | add test case for bug #482460
* Regenerated for Irix 6.5.Jack Jansen2002-03-173-69/+776
|
* Patch by Michael Pruett: make regen work on Irix 6.0 and 6.5.Jack Jansen2002-03-171-1/+2
|
* 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
|