Fred Drake [Sat, 25 Jan 2003 03:47:35 +0000 (03:47 +0000)]
Fix typo reported to python-docs.
Kurt B. Kaiser [Sat, 25 Jan 2003 03:26:35 +0000 (03:26 +0000)]
1. Eliminate putrequest(): only used in asynccall(), merge it there.
2. Add additional debugging statements and enhance others.
3. Clarify comments.
4. Move SocketIO.nextseq class attribute to beginning of class.
Tim Peters [Fri, 24 Jan 2003 22:36:34 +0000 (22:36 +0000)]
date and datetime comparison: when we don't know how to
compare against "the other" argument, we raise TypeError,
in order to prevent comparison from falling back to the
default (and worse than useless, in this case) comparison
by object address.
That's fine so far as it goes, but leaves no way for
another date/datetime object to make itself comparable
to our objects. For example, it leaves Marc-Andre no way
to teach mxDateTime dates how to compare against Python
dates.
Discussion on Python-Dev raised a number of impractical
ideas, and the simple one implemented here: when we don't
know how to compare against "the other" argument, we raise
TypeError *unless* the other object has a timetuple attr.
In that case, we return NotImplemented instead, and Python
will give the other object a shot at handling the
comparison then.
Note that comparisons of time and timedelta objects still
suffer the original problem, though.
Neil Schemenauer [Fri, 24 Jan 2003 22:15:53 +0000 (22:15 +0000)]
Add news about getargs change.
Neil Schemenauer [Fri, 24 Jan 2003 22:15:21 +0000 (22:15 +0000)]
Raise a TypeError if a float is passed when an integer is specified.
Calling PyInt_AsLong() on a float truncates it which is almost never
the desired behavior. This closes SF bug #660144.
Jeremy Hylton [Fri, 24 Jan 2003 19:29:52 +0000 (19:29 +0000)]
Raise PicklingError when __reduce__() fails, and
add memoize() helper function to update the memo.
The first element of the tuple returned by __reduce__() must be a
callable. If it isn't the Unpickler will raise an error. Catch this
error in the pickler and raise the error there.
The memoize() helper also has a comment explaining how the memo
works. So methods can't use memoize() because the write funny codes.
Barry Warsaw [Fri, 24 Jan 2003 17:36:15 +0000 (17:36 +0000)]
rmtree(): Make implementation agree with documentation (both latex and
docstring). Even if ignore_errors was true, an exception would occur
if path didn't exist.
Barry Warsaw [Fri, 24 Jan 2003 17:34:13 +0000 (17:34 +0000)]
A very minimal start to a test of the shutil module.
Barry Warsaw [Fri, 24 Jan 2003 17:33:30 +0000 (17:33 +0000)]
Fred drives and fixes a formatting nit.
Jack Jansen [Fri, 24 Jan 2003 16:17:18 +0000 (16:17 +0000)]
MacPython-OS9 has had an abort() function for quite a while now, so there's no reason to stall in an endless loop, just call abort() on a fatal error.
Jack Jansen [Fri, 24 Jan 2003 16:15:45 +0000 (16:15 +0000)]
MacPython-OS9 specific fix: If there are non-string items on sys.path don't try to intern them. This has the theoretical problem that resource filenames on sys.path cannot be unicode objects, but in practice that shouldn't matter.
Tim Peters [Fri, 24 Jan 2003 15:31:31 +0000 (15:31 +0000)]
Bump the Windows build to use Sleepycat's 4.1.25.NC release (the
latest bsddb release without strong cryptography).
Guido van Rossum [Fri, 24 Jan 2003 14:56:52 +0000 (14:56 +0000)]
Change the mode of scripts in the build/scripts* directory to
executable.
Jack Jansen [Fri, 24 Jan 2003 09:23:13 +0000 (09:23 +0000)]
Updated the doc strings to refer to PyArg_Parse and Py_BuildValue in stead
of getargs() and mkvalue().
Tim Peters [Fri, 24 Jan 2003 02:44:45 +0000 (02:44 +0000)]
Updated the astimezone() proof to recover from all the last week's
changes (and there were a lot of relevant changes!).
Neal Norwitz [Thu, 23 Jan 2003 21:09:05 +0000 (21:09 +0000)]
Fix typo
Tim Peters [Thu, 23 Jan 2003 20:53:10 +0000 (20:53 +0000)]
SF bug 660872: datetimetz constructors behave counterintuitively (2.3a1).
This gives much the same treatment to datetime.fromtimestamp(stamp, tz) as
the last batch of checkins gave to datetime.now(tz): do "the obvious"
thing with the tz argument instead of a senseless thing.
Tim Peters [Thu, 23 Jan 2003 19:58:02 +0000 (19:58 +0000)]
Reimplemented datetime.now() to be useful.
Jeremy Hylton [Thu, 23 Jan 2003 18:29:29 +0000 (18:29 +0000)]
Use lightweight introspection instead of the inspect module hammer.
Removing locking are findCaller() calls as the implementation using
sys._getframe() is thread-safe.
Changes reviewed by Vinay.
Jeremy Hylton [Thu, 23 Jan 2003 18:02:20 +0000 (18:02 +0000)]
Fix for SF bug 661340: test_httplib fails on the mac.
The test no longer produces output with \r\n in it.
Tim Peters [Thu, 23 Jan 2003 17:20:36 +0000 (17:20 +0000)]
fromutc(): Repair incorrect failure return, as noted by NealN. Thanks!
Tim Peters [Thu, 23 Jan 2003 16:36:11 +0000 (16:36 +0000)]
Bringing the code and test suite into line with doc and NEWS changes
checked in two days agao:
Refactoring of, and new rules for, dt.astimezone(tz).
dt must be aware now, and tz.utcoffset() and tz.dst() must not return None.
The old dt.astimezone(None) no longer works to change an aware datetime
into a naive datetime; use dt.replace(tzinfo=None) instead.
The tzinfo base class now supplies a new fromutc(self, dt) method, and
datetime.astimezone(tz) invokes tz.fromutc(). The default implementation
of fromutc() reproduces the same results as the old astimezone()
implementation, but tzinfo subclasses can override fromutc() if the
default implementation isn't strong enough to get the correct results
in all cases (for example, this may be necessary if a tzinfo subclass
models a time zone whose "standard offset" (wrt UTC) changed in some
year(s), or in some variations of double-daylight time -- the creativity
of time zone politics can't be captured in a single default implementation).
Skip Montanaro [Wed, 22 Jan 2003 18:17:25 +0000 (18:17 +0000)]
add support for Python's bool type to xmlrpclib - patch # 559288
Jack Jansen [Wed, 22 Jan 2003 14:04:18 +0000 (14:04 +0000)]
Tweaked time conversion to work in MacPython-OS9.
Jack Jansen [Wed, 22 Jan 2003 14:03:12 +0000 (14:03 +0000)]
Getting rid of StandardGetFile
Raymond Hettinger [Wed, 22 Jan 2003 13:29:00 +0000 (13:29 +0000)]
Kurt pointed out another method affected by the changes to pyclbr.py.
Martin v. Löwis [Wed, 22 Jan 2003 09:17:38 +0000 (09:17 +0000)]
Convert booleans to integers in IntVar.set. Fixes #671741.
Return booleans from _tkinter.getboolean.
Convert booleans to Tcl booleans in AsObj.
Martin v. Löwis [Wed, 22 Jan 2003 09:00:38 +0000 (09:00 +0000)]
Patch #671459: Invoke import hooks in Py_NewInterpreter.
Tim Peters [Wed, 22 Jan 2003 04:45:50 +0000 (04:45 +0000)]
"Premature" doc changes, for new astimezone() rules, and the new
tzinfo.fromutc() method. The C code doesn't implement any of this
yet (well, not the C code on the machine I'm using now), nor does
the test suite reflect it. The Python datetime.py implementation and
test suite in the sandbox do match these doc changes. The C
implementation probably won't catch up before Thursday (Wednesday is
a scheduled "black hole" day this week <0.4 wink>).
Raymond Hettinger [Wed, 22 Jan 2003 01:39:06 +0000 (01:39 +0000)]
SF patch #667730: More DictMixin
Sebastien Keim pointed out that iterkeys and __contains__ require
their own definitions so their behavior will update when the
underlying method is subclassed.
Kurt B. Kaiser [Wed, 22 Jan 2003 00:31:09 +0000 (00:31 +0000)]
Make Alt-Key-2 the Zoom Height binding for ClassBrowser and PathBrowser,
consistent with the Edit/Shell windows.
Kurt B. Kaiser [Wed, 22 Jan 2003 00:23:23 +0000 (00:23 +0000)]
M Bindings.py
M PyShell.py
M config-keys.def
M configHandler.py
1. Clear any un-entered characters from input line before printing the
restart boundary.
2. Restore the Debug menu: There are now both Shell and Debug menus.
3. Add Control-F6 keybinding to Restart Shell.
4. Clarify PyShell.cancel_check() comment.
5. Update doc string for Bindings.py and re-format the file slightly.
Jack Jansen [Tue, 21 Jan 2003 22:58:39 +0000 (22:58 +0000)]
Added DepracationWarnings to the old Standard File calls.
Jack Jansen [Tue, 21 Jan 2003 22:57:53 +0000 (22:57 +0000)]
Tuples and lists don't have a copy() method (yet?).
Martin v. Löwis [Tue, 21 Jan 2003 21:52:57 +0000 (21:52 +0000)]
Avoid usage of PyDoc_STR in 2.2 compatibility code.
Guido van Rossum [Tue, 21 Jan 2003 21:05:22 +0000 (21:05 +0000)]
Fix from Vinaj for the "writing to closed file" errors. SF 670390.
Guido van Rossum [Tue, 21 Jan 2003 21:01:37 +0000 (21:01 +0000)]
ossaudiodev.c currently gives compilation errors, and Greg doesn't fix
it, so disable the build for now.
Tim Peters [Tue, 21 Jan 2003 16:44:27 +0000 (16:44 +0000)]
SF bug 671779: Error in tzinfo.dst() docs
tzinfo dst() should return timedelta(0) if DST is not effect, not 0.
Jack Jansen [Tue, 21 Jan 2003 15:31:16 +0000 (15:31 +0000)]
Implemented StandardGetFile and friends with the new EasyDialogs file
dialogs.
Jack Jansen [Tue, 21 Jan 2003 15:30:21 +0000 (15:30 +0000)]
Oops, this file wasn't 8-bit-clean yet. Fixed.
Jack Jansen [Tue, 21 Jan 2003 15:05:02 +0000 (15:05 +0000)]
Fixed typo in package name that went unnoticed because of MacOSX's case-insensitive
filenames.
Jack Jansen [Tue, 21 Jan 2003 14:38:32 +0000 (14:38 +0000)]
Spell out the arguments to AskFileForOpen and friends, so help() gives useful
help.
Andrew M. Kuchling [Tue, 21 Jan 2003 14:19:21 +0000 (14:19 +0000)]
Fix example in a docstring to not use 'file' as a variable name
Jack Jansen [Tue, 21 Jan 2003 13:56:34 +0000 (13:56 +0000)]
Use new file dialogs in GetArgv()
Jack Jansen [Tue, 21 Jan 2003 13:50:34 +0000 (13:50 +0000)]
Compile site-packages with -t, not -tt.
Martin v. Löwis [Tue, 21 Jan 2003 11:09:21 +0000 (11:09 +0000)]
Conditionalize features not found in PyXML 1.95.2.
Martin v. Löwis [Tue, 21 Jan 2003 10:58:18 +0000 (10:58 +0000)]
Merge with PyXML 1.71:
60: Added support for the SkippedEntityHandler, new in Expat 1.95.4.
61: Added support for namespace prefixes, which can be enabled by setting the
"namespace_prefixes" attribute on the parser object.
65: Disable profiling changes for Python 2.0 and 2.1.
66: Update pyexpat to export the Expat 1.95.5 XML_GetFeatureList()
information, and tighten up a type declaration now that Expat is using
an incomplete type rather than a void * for the XML_Parser type.
67: Clarified a comment.
Added support for XML_UseForeignDTD(), new in Expat 1.95.5.
68: Refactor to avoid partial duplication of the code to construct an
ExpatError instance, and actually conform to the API for the exception
instance as well.
69: Remove some spurious trailing whitespace.
Add a special external-entity-ref handler that gets installed once a
handler has raised a Python exception; this can cancel actual parsing
earlier if there's an external entity reference in the input data
after the the Python excpetion has been raised.
70: Untabify APPEND.
71: Backport PyMODINIT_FUNC for 2.2 and earlier.
Martin v. Löwis [Tue, 21 Jan 2003 10:14:41 +0000 (10:14 +0000)]
Don't use Posix semaphores on Solaris 8. Fixes #662787.
Kurt B. Kaiser [Tue, 21 Jan 2003 04:42:50 +0000 (04:42 +0000)]
1. Restore the rest of Python IDLE setup.py Rev 1.4 (Python SF 634078)
(Loewis) which uses 'SRCDIR' (if available) in package dir path.
2. Merge Python IDLE setup.py Rev 1.5 (Loewis) to allow installation
from the build directory. IDLEfork SF Patch 668998 (Loewis)
Skip Montanaro [Tue, 21 Jan 2003 01:53:09 +0000 (01:53 +0000)]
flesh out open() docstring
Skip Montanaro [Tue, 21 Jan 2003 01:52:39 +0000 (01:52 +0000)]
more tweaks
Skip Montanaro [Tue, 21 Jan 2003 01:38:47 +0000 (01:38 +0000)]
* document open() function
* promote the example and the documented restrictions to \subsection status
* document the flag parameter of the DbfilenameShelf class
Tim Peters [Mon, 20 Jan 2003 22:54:38 +0000 (22:54 +0000)]
New rule for tzinfo subclasses handling both standard and daylight time:
When daylight time ends, an hour repeats on the local clock (for example,
in US Eastern, the clock jumps from 1:59 back to 1:00 again). Times in
the repeated hour are ambiguous. A tzinfo subclass that wants to play
with astimezone() needs to treat times in the repeated hour as being
standard time. astimezone() previously required that such times be
treated as daylight time. There seems no killer argument either way,
but Guido wants the standard-time version, and it does seem easier the
new way to code both American (local-time based) and European (UTC-based)
switch rules, and the astimezone() implementation is simpler.
Tim Peters [Mon, 20 Jan 2003 16:54:59 +0000 (16:54 +0000)]
Recursive compare machinery: The code that intended to exempt tuples
was broken because new-in-2.3 code added a tp_as_mapping slot to tuples.
Repaired that.
Added basic docs to check_recursion().
The code that intended to exempt tuples and strings was also broken here,
and in 2.2: these should use PyXYZ_CheckExact(), not PyXYZ_Check() -- we
can't know whether subclass instances are immutable. This part (and this
part alone) is a bugfix candidate.
Jack Jansen [Mon, 20 Jan 2003 10:47:48 +0000 (10:47 +0000)]
On MacOSX, added -prebind option to link phase for executable (and
framework, if applicable). This speeds up startup time by up to 50%.
Just van Rossum [Mon, 20 Jan 2003 09:02:23 +0000 (09:02 +0000)]
Fix bug #670845: cut & clear in the output window now work, in that
- clear clears the entire buffer
- cut doesn't cut, but copies.
Kurt B. Kaiser [Mon, 20 Jan 2003 04:49:37 +0000 (04:49 +0000)]
...and the old pyclbr.py faked Function instances with Class instances
which had empty method and super attributes. ClassBrowser.IsExpandable()
could not handle the missing attributes. SF Bug 667787.
Walter Dörwald [Mon, 20 Jan 2003 02:34:07 +0000 (02:34 +0000)]
Add comments and remove duplicate tests.
Barry Warsaw [Mon, 20 Jan 2003 01:13:21 +0000 (01:13 +0000)]
Install email/test, email/test/data and bsddb/test subdirectories.
Walter Dörwald [Sun, 19 Jan 2003 23:26:59 +0000 (23:26 +0000)]
Port test_userdict.py to PyUnit. From SF patch #662807,
with additional tests for setdefault(), pop() and popitem().
Jack Jansen [Sun, 19 Jan 2003 22:59:52 +0000 (22:59 +0000)]
Added a convenience routine pathname() which accepts either a string, unicode,
FSSpec or FSRef object and returns an 8-bit pathname (utf8 encoded).
Jack Jansen [Sun, 19 Jan 2003 21:53:57 +0000 (21:53 +0000)]
Sigh, due to sloppiness on my part bgen has become pretty mixed up wrt. tabs
and spaces. Detabbed the lot.
Walter Dörwald [Sun, 19 Jan 2003 16:59:20 +0000 (16:59 +0000)]
Port test_unicode.py to PyUnit and add tests for error
cases and a few methods. This increases code coverage
in Objects/unicodeobject.c from 81% to 85%.
(From SF patch #662807)
Walter Dörwald [Sun, 19 Jan 2003 16:23:59 +0000 (16:23 +0000)]
Combine test_b1.py and test_b2.py into test_builtin.py,
port the tests to PyUnit and add many tests for error
cases. This increases code coverage in Python/bltinmodule.c
from 75% to 92%. (From SF patch #662807, with
assert_(not fcmp(x, y)) replaced with assertAlmostEqual(x, y)
where possible)
Neal Norwitz [Sun, 19 Jan 2003 15:40:09 +0000 (15:40 +0000)]
SF # 669553, fix memory (ref) leaks
Will backport.
Raymond Hettinger [Sun, 19 Jan 2003 14:57:12 +0000 (14:57 +0000)]
Fix typo
Raymond Hettinger [Sun, 19 Jan 2003 13:21:20 +0000 (13:21 +0000)]
SF patch #634557: inspect.BlockFinder didn't do a good enough job finding
the end of code blocks.
Patch contributed by Patrick O'Brien.
Raymond Hettinger [Sun, 19 Jan 2003 13:08:18 +0000 (13:08 +0000)]
SF patch #634866: Alex Martelli's corrections to the ref manual.
Backport candidate. All but one or two of these changes
are applicable to 2.2.2.
Raymond Hettinger [Sun, 19 Jan 2003 05:08:13 +0000 (05:08 +0000)]
SF patch #670367: Micro-optimizations for ceval.c
Make the code slightly shorter, faster, and easier to
read.
* Eliminate unused DUP_TOPX code for x==1.
compile.c always generates DUP_TOP instead.
* Since only two cases remain for DUP_TOPX, replace
the switch-case with if-elseif.
* The in-lined integer compare does a CheckExact on
both arguments. Since the second is a little more
likely to fail, test it first.
* The switch-case for IS/IS_NOT and IN/NOT_IN can
separate the regular and inverted cases with no
additional work. For all four paths, saves a test and
jump.
Tim Peters [Sun, 19 Jan 2003 04:54:58 +0000 (04:54 +0000)]
Windows flavor of floatsleep(): folded long lines, introduced a temp
var for clarity.
Tim Peters [Sun, 19 Jan 2003 04:40:44 +0000 (04:40 +0000)]
SF patch 670194: Performance enhancement for _strptime.py.
From Brett Cannon. Mostly speedups via caching format string ->
compiled regexp.
Raymond Hettinger [Sun, 19 Jan 2003 02:37:41 +0000 (02:37 +0000)]
SF bug #668906: class browser raises AttributeError
The Py2.3 updates to the pyclbr module return both Class and Function
objects. The IDLE ClassBrowser module only knew about Class and could
not handle objects which did not define "super".
Fixed by adding a guard.
Raymond Hettinger [Sun, 19 Jan 2003 00:45:01 +0000 (00:45 +0000)]
SF bug #670229: doc improvement for cStringIO.h
Gernot Hillier added more detail to the internal API documentation.
Raymond Hettinger [Sat, 18 Jan 2003 23:22:20 +0000 (23:22 +0000)]
SF patch #670423: Add missing identity tests to operator.c
Raymond Hettinger [Sat, 18 Jan 2003 22:53:36 +0000 (22:53 +0000)]
SF bug #668906: class browser raises AttributeError
The Py2.3 updates to the pyclbr module return both Class and Function
objects. The IDLE ClassBrowser module only knew about Class and could
not handle objects which did not define "super".
Fixed by adding a guard.
Tim Peters [Sat, 18 Jan 2003 03:53:49 +0000 (03:53 +0000)]
SF patch 670012: Compatibility changes for _strptime.py.
Patch from Brett Cannon:
First, the 'y' directive now handles [00, 68] as a suffix for the
21st century while [69, 99] is treated as the suffix for the 20th
century (this is for Open Group compatibility).
strptime now returns default values that make it a valid date ...
the ability to pass in a regex object to use instead of a format
string (and the inverse ability to have strptime return a regex object)
has been removed. This is in preparation for a future patch that will
add some caching internally to get a speed boost.
Jack Jansen [Fri, 17 Jan 2003 23:13:03 +0000 (23:13 +0000)]
Fixed the first two bugs in the new file dialogs (found by Just):
- AskFileForSave didn't work for string return values
- filterProc didn't work.
Jack Jansen [Fri, 17 Jan 2003 23:11:17 +0000 (23:11 +0000)]
It turns out that some calls return AEDesc records that are "borrowed",
the AEDesc data shouldn't be disposed when the Python object is.
Added a C call AEDesc_NewBorrowed() to create these objects and a Python
method old=AEDesc.AutoDispose(onoff) to change auto-dispose state.
Fred Drake [Fri, 17 Jan 2003 22:50:10 +0000 (22:50 +0000)]
Various markup changes.
Fred Drake [Fri, 17 Jan 2003 22:47:33 +0000 (22:47 +0000)]
Fix a couple of markup errors.
Tim Peters [Fri, 17 Jan 2003 21:50:32 +0000 (21:50 +0000)]
CVS patch 669645: wininst.exe missing in Windows installer.
Not anymore it ain't.
Fred Drake [Fri, 17 Jan 2003 21:25:04 +0000 (21:25 +0000)]
Clean up some files that LaTeX2HTML drops in the HTML output directory
sometimes.
Tim Peters [Fri, 17 Jan 2003 20:08:54 +0000 (20:08 +0000)]
When time.localtime() is passed a tick count the platform C localtime()
function can't handle, don't raise IOError -- that doesn't make sense.
Raise ValueError instead.
Bugfix candidate.
Just van Rossum [Fri, 17 Jan 2003 20:02:06 +0000 (20:02 +0000)]
make sure src exists before creating a symlink
Raymond Hettinger [Fri, 17 Jan 2003 17:23:23 +0000 (17:23 +0000)]
* Migrate sample distribution test from random.py to test_random.py.
* Use Sets module to more clearly articulate a couple of tests.
Raymond Hettinger [Fri, 17 Jan 2003 16:20:23 +0000 (16:20 +0000)]
Correct typos in example code.
Jack Jansen [Fri, 17 Jan 2003 16:14:31 +0000 (16:14 +0000)]
For reasons unknown previewProc and filterProc were disabled. Enabled them.
Jack Jansen [Fri, 17 Jan 2003 16:04:39 +0000 (16:04 +0000)]
Added methods AskFileForOpen(), AskFileForSave() and AskFolder(). These
are going to replace StandardGetFile() and friends. Main differences are
that these allow you to ask for specific datatypes to be returned (FSSpec,
FSRef, string, unicode or subtypes thereof) and that they provide access
to underlying features of Navigation Services through keyword arguments.
Gregory P. Smith [Fri, 17 Jan 2003 08:42:50 +0000 (08:42 +0000)]
bugfix: do not double-close DB cursor during deallocation when the
underlying DB has already been closed (and thus all of its cursors).
This fixes a potential segfault.
SF pybsddb bug id 667343
bugfix: close the DB object when raising an exception due to an error
during DB.open. This prevents an exception when closing the
environment about not all databases being closed.
SF pybsddb bug id 667340
Gregory P. Smith [Fri, 17 Jan 2003 07:56:16 +0000 (07:56 +0000)]
bugfix: allow the module to work with python compiled without thread support.
closes sourceforge pybsddb bug id 669533.
Gregory P. Smith [Fri, 17 Jan 2003 07:52:59 +0000 (07:52 +0000)]
bugfix: disallow use of DB_TXN after commit() or abort(), prevents a
coredump or segmentation violation.
Sourceforge patch ID 664896:
http://sourceforge.net/tracker/index.php?func=detail&aid=664896&group_id=13900&atid=313900
The bug was reported on the pybsddb-users mailing list.
Kurt B. Kaiser [Fri, 17 Jan 2003 04:04:06 +0000 (04:04 +0000)]
Patch 611069 (Christos Georgiou) IDLE TODO:left/right when selected text
M EditorWindow.py
M NEWS.txt
M TODO.txt
Kurt B. Kaiser [Thu, 16 Jan 2003 21:40:21 +0000 (21:40 +0000)]
SF Bug 667812: Some Linux distros have Alt and Meta reversed.
Michael W. Hudson [Thu, 16 Jan 2003 15:39:07 +0000 (15:39 +0000)]
A. Lloyd Flanagan pointed out a spelling error on c.l.py.
Raymond Hettinger [Thu, 16 Jan 2003 14:00:15 +0000 (14:00 +0000)]
Let test_random cover the endpoints.
Strengthen slicing tests.
Improved variable names.
Raymond Hettinger [Thu, 16 Jan 2003 13:02:25 +0000 (13:02 +0000)]
Test optional slice arguments.
Add backwards compatibility test.
Raymond Hettinger [Thu, 16 Jan 2003 12:31:36 +0000 (12:31 +0000)]
Added doctest for examples in the library reference.
Added random test from bisect to augment the finite precomputed checks.
Raymond Hettinger [Thu, 16 Jan 2003 12:02:35 +0000 (12:02 +0000)]
Convert to unittest format so that more tests can be added cleanly.
Martin v. Löwis [Thu, 16 Jan 2003 11:30:08 +0000 (11:30 +0000)]
Patch #662454: import a.b as c is ok, fixes #660811.
Martin v. Löwis [Thu, 16 Jan 2003 11:03:33 +0000 (11:03 +0000)]
Properly find and install icons even if calling setup.py from the build dir.