]> granicus.if.org Git - python/log
python
22 years agoMinor updates:
Raymond Hettinger [Wed, 18 Jun 2003 19:25:37 +0000 (19:25 +0000)]
Minor updates:

* Updated comment on design of imap()
* Added untraversed object in izip() structure
* Replaced the pairwise() example with a more general window() example

22 years agoInclude "instances of most classes" in a warning about mutable objects
Fred Drake [Wed, 18 Jun 2003 17:14:29 +0000 (17:14 +0000)]
Include "instances of most classes" in a warning about mutable objects
as default values of function/method parameters.

22 years agoPort test_complex.py to unittest.
Walter Dörwald [Wed, 18 Jun 2003 14:26:18 +0000 (14:26 +0000)]
Port test_complex.py to unittest.

Move the constructor tests from test_builtin to test_complex.

Add a bunch of tests (code coverage is a 94%).

From SF patch #736962.

22 years agoGive default _elemdict and _propdict attributes to OSA classes, so
Jack Jansen [Wed, 18 Jun 2003 14:19:08 +0000 (14:19 +0000)]
Give default _elemdict and _propdict attributes to OSA classes, so
we don't get infinite recursion for suites that don't have an application
class.

Also got rid of some tabs.

22 years agoAn indenting error in the code made it miss some suites that have an application
Jack Jansen [Wed, 18 Jun 2003 14:17:34 +0000 (14:17 +0000)]
An indenting error in the code made it miss some suites that have an application
class.

22 years agoFix whitespace.
Walter Dörwald [Wed, 18 Jun 2003 14:17:01 +0000 (14:17 +0000)]
Fix whitespace.

22 years agoFix typo.
Raymond Hettinger [Wed, 18 Jun 2003 01:58:31 +0000 (01:58 +0000)]
Fix typo.

22 years agoSF patch #751038 fixing SF bug#750092: exec doesn't need newline
Raymond Hettinger [Wed, 18 Jun 2003 01:32:24 +0000 (01:32 +0000)]
SF patch #751038 fixing SF bug#750092: exec doesn't need newline

Patch contributed by Steven Taschuk.

22 years agoSF bug #753451: classmethod abuse --> SystemError
Raymond Hettinger [Wed, 18 Jun 2003 01:13:41 +0000 (01:13 +0000)]
SF bug #753451: classmethod abuse --> SystemError

Check the argument to classmethod for callability.

Backport candidate.

22 years agoRemove debug print on filename with NUL byte.
Greg Ward [Wed, 18 Jun 2003 00:54:28 +0000 (00:54 +0000)]
Remove debug print on filename with NUL byte.

22 years agoSF patch #755987 (Jim Ahlstrom):
Greg Ward [Wed, 18 Jun 2003 00:53:06 +0000 (00:53 +0000)]
SF patch #755987 (Jim Ahlstrom):
This is a patch for Bug 755031: If a null byte appears in
a file name, Python zipfile.py retains it, but InfoZip
terminates the name. Null bytes in file names are used
as a trick by viruses. I tested WinZip, and it also
truncates the file name at the null byte.

The patch also fixes a buglet: If a zipfile incorrectly
uses a directory separator other than '/', there was an
invalid complaint that the central directory name does
not match the file header name.

I also removed my name from the top of the file. It was
there for legal reasons which I believe no longer apply.
Many people have worked on this file besides me.

22 years agoAdd missing DECREF.
Raymond Hettinger [Tue, 17 Jun 2003 23:14:40 +0000 (23:14 +0000)]
Add missing DECREF.

22 years agoChange all header strings to be as if they were capitalize()'ed. Also call
Brett Cannon [Tue, 17 Jun 2003 21:52:34 +0000 (21:52 +0000)]
Change all header strings to be as if they were capitalize()'ed.  Also call
capitalize in AbstractHTTPHandler before inserting headers into HTTP instance.

Closes bug #649742, again.

22 years agoFix typo in comment.
Walter Dörwald [Tue, 17 Jun 2003 20:22:24 +0000 (20:22 +0000)]
Fix typo in comment.

22 years agoUse _PyEval_SliceIndex to handle list.index() calls with
Walter Dörwald [Tue, 17 Jun 2003 19:27:39 +0000 (19:27 +0000)]
Use _PyEval_SliceIndex to handle list.index() calls with
huge start and stop arguments. Add tests.

22 years agoRemove short-circuitying grubbing by using last grubbed buffer. It's
Ken Manheimer [Tue, 17 Jun 2003 19:18:57 +0000 (19:18 +0000)]
Remove short-circuitying grubbing by using last grubbed buffer.  It's
evil - if the last grubbed buffer didn't happen to be the right one,
you couldn't remedy.

Mainline emacs compat - don't use third arg to buffer-substring (which
was for explicitly identifying the buffer in which to seek the
substring, and which turns out to be unnecessary).

22 years agoFix docstring
Raymond Hettinger [Tue, 17 Jun 2003 16:53:25 +0000 (16:53 +0000)]
Fix docstring

22 years agoUpdated documentation for the new slice arguments for list.index().
Walter Dörwald [Tue, 17 Jun 2003 16:19:56 +0000 (16:19 +0000)]
Updated documentation for the new slice arguments for list.index().

22 years agoWhitespace normalization.
Walter Dörwald [Tue, 17 Jun 2003 15:48:11 +0000 (15:48 +0000)]
Whitespace normalization.

22 years agoMake sure the files in the installer have group "admin", otherwise
Jack Jansen [Tue, 17 Jun 2003 14:36:54 +0000 (14:36 +0000)]
Make sure the files in the installer have group "admin", otherwise
administrators can still not add packages.

22 years agoFix sloppy index() implementation:
Guido van Rossum [Tue, 17 Jun 2003 14:25:14 +0000 (14:25 +0000)]
Fix sloppy index() implementation:
- don't use min() and max()
- interpret negative start/stop argument like negative slice indices

22 years agoModernize Lib/posixpath.py: Use startswith(), endswith(), rstrip(),
Walter Dörwald [Tue, 17 Jun 2003 13:13:40 +0000 (13:13 +0000)]
Modernize Lib/posixpath.py: Use startswith(), endswith(), rstrip(),
struct_passwd attributes and +=.

From SF patch #755245.

22 years agoSF Patch 569574 - enhancements to cgitb for plain text display
Skip Montanaro [Tue, 17 Jun 2003 12:58:31 +0000 (12:58 +0000)]
SF Patch 569574 - enhancements to cgitb for plain text display

22 years agoSF #754014: list.index() should accept optional start, end arguments
Raymond Hettinger [Tue, 17 Jun 2003 05:05:49 +0000 (05:05 +0000)]
SF #754014:  list.index() should accept optional start, end arguments

Also, modified UserList.index() to match and expanded the related tests.

22 years agotest_posixpath.py now uses unittest. The output file is no longer needed.
Raymond Hettinger [Tue, 17 Jun 2003 04:19:59 +0000 (04:19 +0000)]
test_posixpath.py now uses unittest.  The output file is no longer needed.

22 years agoConvert some repetitive code into a loop
Neal Norwitz [Tue, 17 Jun 2003 02:51:28 +0000 (02:51 +0000)]
Convert some repetitive code into a loop

22 years agoFix some markup nits
Neal Norwitz [Tue, 17 Jun 2003 02:37:06 +0000 (02:37 +0000)]
Fix some markup nits

22 years agoSF bug 751956: graminit.[ch] don't build on windows
Tim Peters [Tue, 17 Jun 2003 00:05:53 +0000 (00:05 +0000)]
SF bug 751956:  graminit.[ch] don't build on windows
A change from Duncan Booth, to deal with changes in the way pgen gets
built.  Note that graminit.[ch] aren't normally built on Windows (they're
obtained from CVS).

22 years agoAdd test for bug #751998.
Neal Norwitz [Mon, 16 Jun 2003 22:51:22 +0000 (22:51 +0000)]
Add test for bug #751998.

22 years agoComplete rewrite of tests by Walter Dorwald as unittest tests.
Brett Cannon [Mon, 16 Jun 2003 21:54:50 +0000 (21:54 +0000)]
Complete rewrite of tests by Walter Dorwald as unittest tests.

22 years agoDon't use the module object setattr when importing submodules. Instead,
Neil Schemenauer [Mon, 16 Jun 2003 21:03:07 +0000 (21:03 +0000)]
Don't use the module object setattr when importing submodules.  Instead,
operate on the module dictionary directly.  This prevents spurious
depreciation warnings from being raised if a submodule name shadows
a builtin name.

22 years agoAdd item about new threading module functions.
Jeremy Hylton [Mon, 16 Jun 2003 20:38:15 +0000 (20:38 +0000)]
Add item about new threading module functions.

22 years agoRemove many blanket try/except clauses.
Jeremy Hylton [Mon, 16 Jun 2003 20:19:49 +0000 (20:19 +0000)]
Remove many blanket try/except clauses.
SF bug [ 751276 ] cPickle doesn't raise error, pickle does (recursiondepth)

Most of the calls to PyErr_Clear() were intended to catch & clear an
attribute error and try something different.  Guard all those cases
with a PyErr_ExceptionMatches() and fail if some other error
occurred.  The other error is likely a bug in the user code.

This is basically the C equivalent of changing "except:" to
"except AttributeError:"

22 years agoCorrect function name.
Kurt B. Kaiser [Mon, 16 Jun 2003 18:51:28 +0000 (18:51 +0000)]
Correct function name.

22 years agoAdd ':' after IDLE version, fix spacing on a couple of lines I missed
Kurt B. Kaiser [Mon, 16 Jun 2003 18:46:42 +0000 (18:46 +0000)]
Add ':' after IDLE version, fix spacing on a couple of lines I missed

22 years agoAllow passing a build directory on the command line. Also, if the
Jack Jansen [Mon, 16 Jun 2003 15:12:16 +0000 (15:12 +0000)]
Allow passing a build directory on the command line. Also, if the
build directory is found to exist we don't clean it up. We also
use configure -C. All this lets us keep build directories, which
graeatly speeds up the process of debugging installers.

22 years agoOnly fix up pathnames in installed scripts when needed, i.e. when not installing
Jack Jansen [Mon, 16 Jun 2003 15:10:47 +0000 (15:10 +0000)]
Only fix up pathnames in installed scripts when needed, i.e. when not installing
to /. Pathnames are correct for installing to / since the DESTDIR patch.

22 years agoAdded a note about FSRef tests failing on MacOS 8.6.
Jack Jansen [Mon, 16 Jun 2003 13:57:09 +0000 (13:57 +0000)]
Added a note about FSRef tests failing on MacOS 8.6.

22 years agoThis wasn't ansified. Fixed.
Jack Jansen [Mon, 16 Jun 2003 13:56:05 +0000 (13:56 +0000)]
This wasn't ansified. Fixed.

22 years agoImport EasyDialogs only when needed, so this works if there is no window
Jack Jansen [Mon, 16 Jun 2003 13:55:21 +0000 (13:55 +0000)]
Import EasyDialogs only when needed, so this works if there is no window
manager (if it isn't needed).

22 years agoAdded two mac items (pimp auto-update and OSA property access).
Jack Jansen [Mon, 16 Jun 2003 13:53:40 +0000 (13:53 +0000)]
Added two mac items (pimp auto-update and OSA property access).

22 years agoPatch #755147 by Brian Lenihan:
Jack Jansen [Mon, 16 Jun 2003 09:47:25 +0000 (09:47 +0000)]
Patch #755147 by Brian Lenihan:
- Build idle from new location
- use ln -fsn when linking files.

22 years agoMade DateTime's constructor accept a time.struct_time class,
Gustavo Niemeyer [Mon, 16 Jun 2003 02:49:42 +0000 (02:49 +0000)]
Made DateTime's constructor accept a time.struct_time class,
besides plain tuples.

22 years agoWhitespace normalization.
Tim Peters [Sun, 15 Jun 2003 23:26:30 +0000 (23:26 +0000)]
Whitespace normalization.

22 years agomimetools.choose_boundary() news.
Tim Peters [Sun, 15 Jun 2003 23:13:35 +0000 (23:13 +0000)]
mimetools.choose_boundary() news.

22 years ago^D means EOF on Unix but not on Windows. Expand the example's prompt to
Tim Peters [Sun, 15 Jun 2003 23:08:45 +0000 (23:08 +0000)]
^D means EOF on Unix but not on Windows.  Expand the example's prompt to
tell Windows Truth too.

Bugfix candidate.

22 years agoAdd explicit text for where an obindex call for generators was since obindex does...
Brett Cannon [Sun, 15 Jun 2003 22:57:44 +0000 (22:57 +0000)]
Add explicit text for where an obindex call for generators was since obindex does not cause output of its argument.

22 years agoReturn None to signal that the module the object was defined in was not found when...
Brett Cannon [Sun, 15 Jun 2003 22:33:28 +0000 (22:33 +0000)]
Return None to signal that the module the object was defined in was not found when object has no __name__ attr but is needed to figure out location of object.

22 years agoMake CREDITS.txt a Latin-1 file. Extend ViewFile to support file encodings.
Martin v. Löwis [Sun, 15 Jun 2003 22:28:05 +0000 (22:28 +0000)]
Make CREDITS.txt a Latin-1 file. Extend ViewFile to support file encodings.

22 years agochoose_boundary(): This no longer uses random, so stop importing it.
Tim Peters [Sun, 15 Jun 2003 22:12:23 +0000 (22:12 +0000)]
choose_boundary():  This no longer uses random, so stop importing it.

22 years agochoose_boundary(): Incorporated a threadsafe incrementing counter, so that
Tim Peters [Sun, 15 Jun 2003 22:05:58 +0000 (22:05 +0000)]
choose_boundary():  Incorporated a threadsafe incrementing counter, so that
unique boundary strings within a program run are guaranteed.  On Windows,
duplicates were pretty likely, due to the coarse granularity of time.time.
Toned down the absurdly optimistic claims in the docstring.

Bugfix candidate.

22 years agoInstall IDLE's .def files; these are essential for the configuration!
Guido van Rossum [Sun, 15 Jun 2003 20:40:33 +0000 (20:40 +0000)]
Install IDLE's .def files; these are essential for the configuration!
Also install the start script from Tools/script/idle.  (This may
change again.)

22 years agoChanges to install the new idle: it's now in Lib/idlelib instead of
Guido van Rossum [Sun, 15 Jun 2003 19:42:39 +0000 (19:42 +0000)]
Changes to install the new idle: it's now in Lib/idlelib instead of
Tools/idle, in both source and destination.  (There are still problems
when running the IDLE icon, but they don't seem to have to do with the
installer.)

22 years agoAdd a missing 'self,' to a super call in recently checked-in code.
Guido van Rossum [Sun, 15 Jun 2003 19:08:57 +0000 (19:08 +0000)]
Add a missing 'self,' to a super call in recently checked-in code.
This was reported in the IDLEFORK bug tracker as #754971.

22 years agoForwardport Patch from IDLEfork SF 615312
Kurt B. Kaiser [Sun, 15 Jun 2003 17:49:59 +0000 (17:49 +0000)]
Forwardport Patch from IDLEfork SF 615312
Convert characters from the locale's encoding on output

22 years agoSupport testing in .../Lib/idlelib when calling <python PyShell.py>
Kurt B. Kaiser [Sun, 15 Jun 2003 17:38:45 +0000 (17:38 +0000)]
Support testing in .../Lib/idlelib when calling <python PyShell.py>
by providing other modules access to globals set up in PyShell.main()

22 years agoMove to Version 1.0b2
Kurt B. Kaiser [Sun, 15 Jun 2003 17:12:25 +0000 (17:12 +0000)]
Move to Version 1.0b2

22 years agoUpdate copyright dates.
Greg Ward [Sun, 15 Jun 2003 15:37:18 +0000 (15:37 +0000)]
Update copyright dates.

Define True and False (if necessary) so this module can be copied as-is
to other projects (eg. Optik, Docutils) that don't depend on Python 2.3.

22 years agoPatch #751107: Slant must be 'roman', not 'normal'.
Martin v. Löwis [Sat, 14 Jun 2003 21:40:04 +0000 (21:40 +0000)]
Patch #751107: Slant must be 'roman', not 'normal'.

22 years agoProperly deal with tuples in Open._fixresult. Fixes bug reported in
Martin v. Löwis [Sat, 14 Jun 2003 21:34:32 +0000 (21:34 +0000)]
Properly deal with tuples in Open._fixresult. Fixes bug reported in
follow-up to #621891.

22 years agoPatch #752671: NetBSD needs to link libintl to _locale.so.
Martin v. Löwis [Sat, 14 Jun 2003 21:03:05 +0000 (21:03 +0000)]
Patch #752671: NetBSD needs to link libintl to _locale.so.

22 years agoForwardport Patch from IDLEfork SF 610329
Kurt B. Kaiser [Sat, 14 Jun 2003 17:56:25 +0000 (17:56 +0000)]
Forwardport Patch from IDLEfork SF 610329
Remove deprecated tempfile usage

22 years agoUse -R instead of -rpath on Solaris. Fixes #749911.
Martin v. Löwis [Sat, 14 Jun 2003 15:20:28 +0000 (15:20 +0000)]
Use -R instead of -rpath on Solaris. Fixes #749911.

22 years agoGive a warning if SO is set. Fixes #610332.
Martin v. Löwis [Sat, 14 Jun 2003 14:46:38 +0000 (14:46 +0000)]
Give a warning if SO is set. Fixes #610332.

22 years agoAlways unwrap _socketobj in socket.ssl. Revert httplib.py 1.25.
Martin v. Löwis [Sat, 14 Jun 2003 13:30:53 +0000 (13:30 +0000)]
Always unwrap _socketobj in socket.ssl. Revert httplib.py 1.25.
Fixes #754447.

22 years agoProperly bracket variables. Fixes part of #749911.
Martin v. Löwis [Sat, 14 Jun 2003 13:11:24 +0000 (13:11 +0000)]
Properly bracket variables. Fixes part of #749911.

22 years agoSupport keyword and topics help in cli(). Fixes #715782.
Martin v. Löwis [Sat, 14 Jun 2003 09:03:46 +0000 (09:03 +0000)]
Support keyword and topics help in cli(). Fixes #715782.

22 years agoTreat empty dat/dir pairs as dumbdbm. Fixes #744687.
Martin v. Löwis [Sat, 14 Jun 2003 08:16:34 +0000 (08:16 +0000)]
Treat empty dat/dir pairs as dumbdbm. Fixes #744687.

22 years agoExplicitly undefine PACKAGE_ variables. Fixes #746012.
Martin v. Löwis [Sat, 14 Jun 2003 07:48:07 +0000 (07:48 +0000)]
Explicitly undefine PACKAGE_ variables. Fixes #746012.

22 years agoCopy builtin functions as atomic. Fixes #746304. Will backport to 2.2.
Martin v. Löwis [Sat, 14 Jun 2003 07:10:06 +0000 (07:10 +0000)]
Copy builtin functions as atomic. Fixes #746304. Will backport to 2.2.

22 years agoPatch #746366: Update to current automake install-sh. Will backport to 2.2.
Martin v. Löwis [Sat, 14 Jun 2003 06:58:32 +0000 (06:58 +0000)]
Patch #746366: Update to current automake install-sh. Will backport to 2.2.

22 years agoPatch #754340: Fix typo in redirect_request. Will backport to 2.2.
Martin v. Löwis [Sat, 14 Jun 2003 05:51:25 +0000 (05:51 +0000)]
Patch #754340: Fix typo in redirect_request. Will backport to 2.2.

22 years agoPatch #753845: Update README for Redhat 9 Tkinter compile with USC-4.
Martin v. Löwis [Sat, 14 Jun 2003 05:29:27 +0000 (05:29 +0000)]
Patch #753845:  Update README for Redhat 9 Tkinter compile with USC-4.

22 years agoRemove the 2.2 compatibility module boolcheck.py and related code
Kurt B. Kaiser [Sat, 14 Jun 2003 03:33:20 +0000 (03:33 +0000)]
Remove the 2.2 compatibility module boolcheck.py and related code
M PyShell.py
R boolcheck.py
M run.py

22 years agoRemove reference to IDLEfork
Kurt B. Kaiser [Sat, 14 Jun 2003 03:23:56 +0000 (03:23 +0000)]
Remove reference to IDLEfork

22 years agoUpdate NEWS.txt and move info on release 0.8.1 and earlier to HISTORY.txt
Kurt B. Kaiser [Sat, 14 Jun 2003 02:51:06 +0000 (02:51 +0000)]
Update NEWS.txt and move info on release 0.8.1 and earlier to HISTORY.txt
M HISTORY.txt
M NEWS.txt

22 years agoRemove comment about Unicode: SF #622831 was fixed loooong ago!
Greg Ward [Sat, 14 Jun 2003 00:26:39 +0000 (00:26 +0000)]
Remove comment about Unicode: SF #622831 was fixed loooong ago!

22 years agoGet rid of old IDLE. Lib/idlelib rules!
Guido van Rossum [Sat, 14 Jun 2003 00:08:37 +0000 (00:08 +0000)]
Get rid of old IDLE.  Lib/idlelib rules!

22 years agoCause calling interrupt_main in main thread raise KeyboardInterrupt instantly.
Brett Cannon [Fri, 13 Jun 2003 23:56:32 +0000 (23:56 +0000)]
Cause calling interrupt_main in main thread raise KeyboardInterrupt instantly.

22 years agodummy_thread modified to have interrupt_main and to behave appropriately when
Brett Cannon [Fri, 13 Jun 2003 23:44:35 +0000 (23:44 +0000)]
dummy_thread modified to have interrupt_main and to behave appropriately when
called.

Added announcement in Misc/NEWS for thread.interrupt_main and mention of
dummy_thread's change.

22 years agoInterrupt module has been folded into the thread module
Kurt B. Kaiser [Fri, 13 Jun 2003 22:03:43 +0000 (22:03 +0000)]
Interrupt module has been folded into the thread module
 Modified Files:
  run.py
 Removed Files:
  interruptmodule.c

22 years agoAdd interrupt_main() to thread module.
Kurt B. Kaiser [Fri, 13 Jun 2003 21:59:45 +0000 (21:59 +0000)]
Add interrupt_main() to thread module.

22 years agoAddressList.__str__(): Get rid of useless, and broken method. Closes
Barry Warsaw [Fri, 13 Jun 2003 21:16:06 +0000 (21:16 +0000)]
AddressList.__str__(): Get rid of useless, and broken method.  Closes
SF #753617.  Back port candidate (but low priority).

22 years ago- SF patch 751998 fixes an unwanted side effect of the previous fix
Guido van Rossum [Fri, 13 Jun 2003 20:54:40 +0000 (20:54 +0000)]
- SF patch 751998 fixes an unwanted side effect of the previous fix
  for SF bug 742860 (the next item).

22 years agoInstall idlelib and idlelib/Icons as well.
Guido van Rossum [Fri, 13 Jun 2003 20:49:55 +0000 (20:49 +0000)]
Install idlelib and idlelib/Icons as well.

22 years agoNews about the new IDLE (is more needed?). News about SF patch
Guido van Rossum [Fri, 13 Jun 2003 20:37:23 +0000 (20:37 +0000)]
News about the new IDLE (is more needed?).  News about SF patch
751998.

22 years agoDon't install Tools/idle any more. We now install Tools/scripts/idle
Guido van Rossum [Fri, 13 Jun 2003 20:35:41 +0000 (20:35 +0000)]
Don't install Tools/idle any more.  We now install Tools/scripts/idle
from setup.py.

22 years agoInstall the main script for the new IDLE here.
Guido van Rossum [Fri, 13 Jun 2003 20:35:11 +0000 (20:35 +0000)]
Install the main script for the new IDLE here.

22 years agoPut the main script for the new IDLE here.
Guido van Rossum [Fri, 13 Jun 2003 20:34:27 +0000 (20:34 +0000)]
Put the main script for the new IDLE here.

22 years agoSF patch 707900, fixing bug 702858, by Steven Taschuk.
Guido van Rossum [Fri, 13 Jun 2003 19:28:47 +0000 (19:28 +0000)]
SF patch 707900, fixing bug 702858, by Steven Taschuk.
Copying a new-style class that had a reference to itself didn't work.
(The same thing worked fine for old-style classes.)

22 years agoDocumented the fact that the main class now mimicks the OSA "application" class.
Jack Jansen [Fri, 13 Jun 2003 14:59:26 +0000 (14:59 +0000)]
Documented the fact that the main class now mimicks the OSA "application" class.

22 years agoUse the new, now preferred, form of referring to object specifiers (through
Jack Jansen [Fri, 13 Jun 2003 14:32:49 +0000 (14:32 +0000)]
Use the new, now preferred, form of referring to object specifiers (through
the object, not the module).

22 years agoRe-gegernated with the new gensuitemodule.
Jack Jansen [Fri, 13 Jun 2003 14:31:19 +0000 (14:31 +0000)]
Re-gegernated with the new gensuitemodule.

22 years ago- Allow access to poperties of the "application" OSA class directly from
Jack Jansen [Fri, 13 Jun 2003 14:27:35 +0000 (14:27 +0000)]
- Allow access to poperties of the "application" OSA class directly from
the toplevel package. This already worked for elements, but now for
properties too. Fixes #753925.
- Even better, the toplevel class (such as Finder.Finder) now inherits
the element and property dictionaries of its application class and has
the necessary glue to allow you to say
  f = Finder.Finder()
  f.get(f.name)

22 years agoSF bug #753602: random.sample not properly documented
Raymond Hettinger [Fri, 13 Jun 2003 07:01:51 +0000 (07:01 +0000)]
SF bug #753602:  random.sample not properly documented

The docs were fine but the "int=int" in the function call was both
ugly and confusing.  Moved it inside the body of the function definition.

22 years agoWhen calling tarname with an argument (and thus not use testtar.tar) return a
Brett Cannon [Thu, 12 Jun 2003 19:16:58 +0000 (19:16 +0000)]
When calling tarname with an argument (and thus not use testtar.tar) return a
path for the file in the temp directory for the platform.

22 years agoFix for sf # 749210, wininst isn't build correctly after building zip.
Thomas Heller [Thu, 12 Jun 2003 17:23:58 +0000 (17:23 +0000)]
Fix for sf # 749210, wininst isn't build correctly after building zip.

The problem was that subcommands were not reinitialized.

Bugfix candidate, will backport myself.

22 years agoAMK's no longer maintaining his bookstore page. Refer to the books page on
Skip Montanaro [Thu, 12 Jun 2003 14:04:33 +0000 (14:04 +0000)]
AMK's no longer maintaining his bookstore page.  Refer to the books page on
the wiki instead.

22 years agoMake creation of temporary file and directory more portable. Also made cleanup
Brett Cannon [Thu, 12 Jun 2003 08:01:06 +0000 (08:01 +0000)]
Make creation of temporary file and directory more portable.  Also made cleanup
code use proper functions to get paths.

Changed the name of tar file that is searched for to be absolute (i.e., not use
os.extsep) since filename is locked in based on name of file in CVS
(testtar.tar).

Closes bug #731403 .

22 years agoNo longer needed.
Kurt B. Kaiser [Thu, 12 Jun 2003 04:38:13 +0000 (04:38 +0000)]
No longer needed.