| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
- assertRaises() wasn't being called correctly
- test_warning() no longer applies
|
|
|
|
|
|
|
| |
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!
|
|
|
|
| |
often unavoidable.
|
| |
|
| |
|
| |
|
|
|
|
| |
method
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
put more in the critical section than absolutely needed, acquire
the mutex before the "try".
|
| |
|
|
|
|
|
|
|
|
| |
[ 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'.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
the codecs docstrings.
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
suggested by PEP 291.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Replace "type(0)" with "int".
Replace "while 1" with "while True"
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Fix pychecker warnings, port arg was unused (it was always the default)
Need a global statement for _listener
|
|
|
|
| |
Fix pychecker warnings, remove unused imports and rename root
|
|
|
|
|
|
| |
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.)
|
|
|
|
|
| |
and add a mixin to UserDict.py to make it easier to implement a full
dictionary interface.
|
|
|
|
|
| |
and add a mixin to UserDict.py to make it easier to implement a full
dictionary interface.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
algorithm, and add some new tests for the C3 algorithm.
|
|
|
|
|
| |
the name instead of enduring nanny "security warnings" from
tempfile.mktemp().
|
|
|
|
| |
defaults dictionary parameter which is passed to ConfigParser.
|
| |
|
| |
|
|
|
|
| |
is often out of date
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|