Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change int() so that passing a string, unicode, float or long argument | Walter Dörwald | 2002-11-19 | 3 | -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öwis | 2002-11-19 | 3 | -4/+4 |
| | |||||
* | Importing test suite from bsddb3 3.4.0 (with modifications). | Martin v. Löwis | 2002-11-19 | 17 | -1/+3304 |
| | |||||
* | Add comment to Distutil files about requiring 1.5.2 compatibility, as | Andrew M. Kuchling | 2002-11-19 | 37 | -1/+78 |
| | | | | suggested by PEP 291. | ||||
* | Import PyBSDDB 3.4.0. Rename historical wrapper to bsddb185. | Martin v. Löwis | 2002-11-19 | 7 | -0/+1638 |
| | |||||
* | Add __mod__ method to UserString. | Neil Schemenauer | 2002-11-18 | 1 | -0/+2 |
| | |||||
* | check for str.__mod__ | Neil Schemenauer | 2002-11-18 | 1 | -0/+3 |
| | |||||
* | check for unicode.__mod__ | Neil Schemenauer | 2002-11-18 | 1 | -0/+1 |
| | |||||
* | Improve comments. Clarify docs. | Raymond Hettinger | 2002-11-18 | 1 | -15/+14 |
| | | | | | Replace "type(0)" with "int". Replace "while 1" with "while True" | ||||
* | Improve DictMixin. | Raymond Hettinger | 2002-11-18 | 2 | -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. Raymond | 2002-11-17 | 1 | -7/+10 |
| | |||||
* | SF Patch #638825 | Neal Norwitz | 2002-11-15 | 1 | -4/+7 |
| | | | | | Fix pychecker warnings, port arg was unused (it was always the default) Need a global statement for _listener | ||||
* | SF Patch #638825 logging module | Neal Norwitz | 2002-11-15 | 1 | -3/+3 |
| | | | | Fix pychecker warnings, remove unused imports and rename root | ||||
* | Style guide reformats. I saw this test fail on a very heavily loaded | Tim Peters | 2002-11-15 | 1 | -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 interface | Raymond Hettinger | 2002-11-15 | 1 | -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 interface | Raymond Hettinger | 2002-11-15 | 2 | -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 most | Guido van Rossum | 2002-11-14 | 1 | -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 MRO | Guido van Rossum | 2002-11-14 | 1 | -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 as | Tim Peters | 2002-11-14 | 1 | -2/+2 |
| | | | | | the name instead of enduring nanny "security warnings" from tempfile.mktemp(). | ||||
* | From SF patch 638299 [by Vinaj]: fileConfig() now takes an optional | Guido van Rossum | 2002-11-14 | 1 | -2/+2 |
| | | | | defaults dictionary parameter which is passed to ConfigParser. | ||||
* | Update the docstring to match the code. Will backport. | Neal Norwitz | 2002-11-14 | 1 | -1/+3 |
| | |||||
* | Sync Tix from Mike Clarkson, a maintainer | Neal Norwitz | 2002-11-14 | 1 | -55/+114 |
| | |||||
* | Remove 'created by' lines; people can use CVS for this, and the information ↵ | Andrew M. Kuchling | 2002-11-14 | 34 | -72/+1 |
| | | | | is often out of date | ||||
* | Fix typo in comment | Neal Norwitz | 2002-11-14 | 1 | -1/+1 |
| | |||||
* | Fix docstring typo; remove 'created' line | Andrew M. Kuchling | 2002-11-14 | 1 | -3/+1 |
| | |||||
* | [Bug #550364] Use sysconfig.get_python_version() | Andrew M. Kuchling | 2002-11-14 | 2 | -3/+3 |
| | |||||
* | [Bug #550364] Add get_python_version() | Andrew M. Kuchling | 2002-11-14 | 1 | -1/+9 |
| | |||||
* | [Bug #599248] ext module generation problem | Andrew M. Kuchling | 2002-11-14 | 1 | -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 are | Eric S. Raymond | 2002-11-13 | 1 | -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 Hylton | 2002-11-13 | 1 | -0/+35 |
| | |||||
* | Remove inst_persistent_id() WANNI (we ain't never needed it). | Jeremy Hylton | 2002-11-13 | 2 | -16/+29 |
| | | | | Add some simple tests of the persistence hooks. | ||||
* | remove debugging print | Jeremy Hylton | 2002-11-13 | 1 | -2/+0 |
| | |||||
* | Allow unknown keyword arguments to the Extension class, and warn about them. | Andrew M. Kuchling | 2002-11-13 | 1 | -1/+14 |
| | |||||
* | Add getstate and setstate implementation to concrete set classes. | Jeremy Hylton | 2002-11-13 | 2 | -1/+21 |
| | |||||
* | Remove some test code. | Jeremy Hylton | 2002-11-13 | 1 | -33/+0 |
| | | | | | The buggy yahoo server was fixed, and the opalgroup test files are gone. | ||||
* | Fix SF bug #637789: Handle Proxy-Connection header. | Jeremy Hylton | 2002-11-13 | 1 | -15/+25 |
| | | | | Also, remove unused local variable noted by pychecker. | ||||
* | Back out part of rev. 1.53, restoring the use of the string module. | Andrew M. Kuchling | 2002-11-13 | 1 | -4/+6 |
| | | | | | | The two long lines have been reflowed differently; hopefully someone on BeOS can test them. Rev. 1.53 also converted string.atoi() to int(); I've left that alone. | ||||
* | Get rid of #! lines, references to usage as __main__, README.txt, and | Guido van Rossum | 2002-11-13 | 3 | -36/+4 |
| | | | | http://www.red-dove.com/python_logging.html. | ||||
* | Adding Vinay Sajip's logging package. | Guido van Rossum | 2002-11-13 | 3 | -0/+2190 |
| | |||||
* | Improved clarity and thoroughness of docstring. | Raymond Hettinger | 2002-11-13 | 1 | -20/+41 |
| | | | | | | | | Added design notes in comments. Used better variable names. Eliminated the unsavory "pool[-k:]" which was an aspiring bug (for k==0). Used if/else to show the two algorithms in parallel style. Added one more test assertion. | ||||
* | Fix typo in comment. | Fred Drake | 2002-11-13 | 1 | -2/+2 |
| | |||||
* | Update file | Andrew M. Kuchling | 2002-11-13 | 1 | -10/+14 |
| | |||||
* | Docstring typo fix | Andrew M. Kuchling | 2002-11-13 | 1 | -1/+1 |
| | |||||
* | Fix SF # 635969, No error "not all arguments converted" | Neal Norwitz | 2002-11-12 | 1 | -0/+8 |
| | | | | | | | | | When mwh added extended slicing, strings and unicode became mappings. Thus, dict was set which prevented an error when doing: newstr = 'format without a percent' % string_value This fix raises an exception again when there are no formats and % with a string value. | ||||
* | SF patch 637176: list.sort crasher | Tim Peters | 2002-11-12 | 2 | -2/+31 |
| | | | | | | | | | | | Armin Rigo's Draconian but effective fix for SF bug 453523: list.sort crasher slightly fiddled to catch more cases of list mutation. The dreaded internal "immutable list type" is gone! OTOH, if you look at a list *while* it's being sorted now, it will appear to be empty. Better than a core dump. | ||||
* | SF patch 629637: Add sample(population, k) method to the random module. | Raymond Hettinger | 2002-11-12 | 1 | -2/+56 |
| | | | | Used for random sampling without replacement. | ||||
* | Allow both string and Unicode objects in levels. | Martin v. Löwis | 2002-11-09 | 1 | -2/+2 |
| | |||||
* | Don't try to convert the test filename to Unicode with -U. | Martin v. Löwis | 2002-11-09 | 1 | -1/+6 |
| | |||||
* | Search for tix subdirectories. Fixes #564729. Will backport to 2.2. | Martin v. Löwis | 2002-11-09 | 1 | -9/+14 |
| | |||||
* | I already forgot what I changed -- it wasn't important <wink>. | Tim Peters | 2002-11-09 | 1 | -2/+0 |
| |