summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Two bugs:Fred Drake2002-11-221-7/+7
| | | | | - assertRaises() wasn't being called correctly - test_warning() no longer applies
* Move Windows Python away from bsddb 1.85 and toward Sleepycat's latest.Tim Peters2002-11-221-0/+1
| | | | | | | The bsddb subproject is gone. The _bsddb subproject is new. There are problems here, but I'm out of time to work on this now. If anyone can address an XXX comment or two in readme.txt, please do!
* Comment out the warnings about mktemp(). These are too annoying, andGuido van Rossum2002-11-221-3/+3
| | | | often unavoidable.
* Use False instead of 0.Fred Drake2002-11-221-1/+1
|
* Patch #486438: Make module argument to testmod optional.Martin v. Löwis2002-11-221-4/+12
|
* Patch #550765: Add daemon_threads flag.Martin v. Löwis2002-11-221-1/+8
|
* added new IMAP4_stream class; added proxyauth command; added login_cram_md5 ↵Piers Lauder2002-11-221-12/+109
| | | | method
* Implement dict() style constructor.Raymond Hettinger2002-11-222-3/+11
| | | | | | | | | | | Already supported dict() and dict(mapping). Now supports dict(itemsequence) and Just van Rossum's new syntax for dict(keywordargs). Also, added related unittests. The docs already promise dict-like behavior so no update is needed there.
* Patch #633547: Support plural forms. Do TODOs in test suite.Martin v. Löwis2002-11-213-162/+383
|
* The _Event class should be more careful with releasing its lock whenGuido van Rossum2002-11-211-8/+14
| | | | | | | | interrupted. A try/finally will do nicely. Maybe other classes need this too, but since they manipulate more state it's less clear that that is always the right thing, and I'm in a hurry. Backport candidate.
* Reflow commentAndrew M. Kuchling2002-11-211-3/+3
|
* Patch #642019: Recognize gcc-x.y as gcc.Martin v. Löwis2002-11-211-1/+1
|
* Bug #639118 from Ollie Oldham: archiver should use zipfile before zipAndrew M. Kuchling2002-11-211-28/+30
| | | | | | | | | | | Previously archive_util.py attempted to spawn an external 'zip' program for the zip action, if this fails, an attempt to import zipfile.py is made... This bites folks who have 'old' or non-conforming zip programs on windows platforms. This change tries the 'zipfile' module first, falling back to spawning a zip process if the module isn't available.
* _RandomNameSequence(): style guide changes, small speedup, don'tTim Peters2002-11-211-8/+8
| | | | | put more in the critical section than absolutely needed, acquire the mutex before the "try".
* _TemporaryFileWrapper: changed self.close_called to a proper bool.Tim Peters2002-11-211-2/+2
|
* Apply Nicolas Riley's Patch.Kurt B. Kaiser2002-11-211-5/+5
| | | | | | | | [ 634250 ] SearchDialogBase.py fix for Tk 8.4.1 SearchDialogBase refers to the grid 'col' option considered ambiguous with Python 2.2.2 and Tk 8.4.1. The correct name is 'column'.
* Fix SF #640094, on win32 getpass runs into unix_getpassNeal Norwitz2002-11-201-1/+4
| | | | | | | | Make sure we have a UNIX-compatible termios. Apparently, McMillan Installer made a termios on windows which caused unix_getpass() to be used instead of win_getpass(). Will backport.
* Add missing importAndrew M. Kuchling2002-11-201-1/+1
|
* Add missing documentation for the PEP 293 functionality toWalter Dörwald2002-11-191-7/+22
| | | | the codecs docstrings.
* Change int() so that passing a string, unicode, float or long argumentWalter Dörwald2002-11-193-22/+28
| | | | | | | that is outside the integer range no longer raises OverflowError, but returns a long object instead. This fixes SF bug http://www.python.org/sf/635115
* Replace bsddb3 and _db occurrences.Martin v. Löwis2002-11-193-4/+4
|
* Importing test suite from bsddb3 3.4.0 (with modifications).Martin v. Löwis2002-11-1917-1/+3304
|
* Add comment to Distutil files about requiring 1.5.2 compatibility, asAndrew M. Kuchling2002-11-1937-1/+78
| | | | suggested by PEP 291.
* Import PyBSDDB 3.4.0. Rename historical wrapper to bsddb185.Martin v. Löwis2002-11-197-0/+1638
|
* Add __mod__ method to UserString.Neil Schemenauer2002-11-181-0/+2
|
* check for str.__mod__Neil Schemenauer2002-11-181-0/+3
|
* check for unicode.__mod__Neil Schemenauer2002-11-181-0/+1
|
* Improve comments. Clarify docs.Raymond Hettinger2002-11-181-15/+14
| | | | | Replace "type(0)" with "int". Replace "while 1" with "while True"
* Improve DictMixin.Raymond Hettinger2002-11-182-29/+43
| | | | | | | | | | | Replaced docstring with comments. Prevents subclass contamination. Added the missing __cmp__() method and a test for __cmp__(). Used try/except style in preference to has_key() followed by a look-up. Used iteritem() where possible to save creating a long key list and to save redundant lookups. Expanded .update() to look for the most helpful methods first and gradually work down to a mininum expected interface. Expanded documentation to be more clear on how to use the class.
* Guard against error if .netrc is missing.Eric S. Raymond2002-11-171-7/+10
|
* SF Patch #638825Neal Norwitz2002-11-151-4/+7
| | | | | Fix pychecker warnings, port arg was unused (it was always the default) Need a global statement for _listener
* SF Patch #638825 logging moduleNeal Norwitz2002-11-151-3/+3
| | | | Fix pychecker warnings, remove unused imports and rename root
* Style guide reformats. I saw this test fail on a very heavily loadedTim Peters2002-11-151-6/+9
| | | | | | Win98SE box, but whatever the cause, it had scrolled off the DOS box. (There was just the "test_queue failed" summary at the end of the regrtest run.)
* SF patch #520382: Expand shelve.py to have a full dictionary interfaceRaymond Hettinger2002-11-151-0/+98
| | | | | and add a mixin to UserDict.py to make it easier to implement a full dictionary interface.
* SF patch #520382: Expand shelve.py to have a full dictionary interfaceRaymond Hettinger2002-11-152-1/+67
| | | | | and add a mixin to UserDict.py to make it easier to implement a full dictionary interface.
* Checking in Greg Ward's Optik, as optparse.py. This is the mostGuido van Rossum2002-11-141-0/+1384
| | | | | | | recent version from Greg's CVS. I've changed the module docstring, added a copyright notice, and renamed OptikError to OptParseError. Still to do are documentation and unit tests.
* Fix or disable some tests that were affected by the new C3 MROGuido van Rossum2002-11-141-20/+79
| | | | algorithm, and add some new tests for the C3 algorithm.
* This uses only one temp file at a time, so use test_support.TESTFN asTim Peters2002-11-141-2/+2
| | | | | the name instead of enduring nanny "security warnings" from tempfile.mktemp().
* From SF patch 638299 [by Vinaj]: fileConfig() now takes an optionalGuido van Rossum2002-11-141-2/+2
| | | | defaults dictionary parameter which is passed to ConfigParser.
* Update the docstring to match the code. Will backport.Neal Norwitz2002-11-141-1/+3
|
* Sync Tix from Mike Clarkson, a maintainerNeal Norwitz2002-11-141-55/+114
|
* Remove 'created by' lines; people can use CVS for this, and the information ↵Andrew M. Kuchling2002-11-1434-72/+1
| | | | is often out of date
* Fix typo in commentNeal Norwitz2002-11-141-1/+1
|
* Fix docstring typo; remove 'created' lineAndrew M. Kuchling2002-11-141-3/+1
|
* [Bug #550364] Use sysconfig.get_python_version()Andrew M. Kuchling2002-11-142-3/+3
|
* [Bug #550364] Add get_python_version()Andrew M. Kuchling2002-11-141-1/+9
|
* [Bug #599248] ext module generation problemAndrew M. Kuchling2002-11-141-2/+2
| | | | | | | | | | If you have source files srcdir1/foo.c and srcdir2/foo.c, the temporary .o for both files is written to build/temp.<platform>/foo.o. This patch sets strip_dir to false for both calls to object_filename, so now the object files are written to temp.<platform>/srcdir1/foo.o and .../srcdir2/foo.o. 2.2 bugfix candidate
* Make nntplib aware of ~/.netrc credentials; now they get used if they areEric S. Raymond2002-11-131-7/+23
| | | | | | | | | | | | present and the caller has not specified a name/password pair. This change makes it less likely that a lazy coder will expose sensitive information in a word-readable script. Also, make the test a bit smarter. If NNTPSERVER is defined in the environment it will go talk to that server rather than look for a possibly nonexistent local one named 'news'. Maybe the osession initializer ought to look at NNTPSERVER rather than requiring a host arg? Must look around and see how universal this convention is first.
* Add some simple tests of the persistence hooks.Jeremy Hylton2002-11-131-0/+35
|
* Remove inst_persistent_id() WANNI (we ain't never needed it).Jeremy Hylton2002-11-132-16/+29
| | | | Add some simple tests of the persistence hooks.