]> granicus.if.org Git - python/log
python
23 years agoObsolete: uses old applescript support.
Jack Jansen [Fri, 3 Aug 2001 14:07:52 +0000 (14:07 +0000)]
Obsolete: uses old applescript support.

23 years agoObsolete, uses the old non-package-based applescript suite support.
Jack Jansen [Fri, 3 Aug 2001 14:06:17 +0000 (14:06 +0000)]
Obsolete, uses the old non-package-based applescript suite support.

23 years agoThis "test" showed an obsolete way to get scrolled lists in dialogs. Removed.
Jack Jansen [Fri, 3 Aug 2001 14:05:29 +0000 (14:05 +0000)]
This "test" showed an obsolete way to get scrolled lists in dialogs. Removed.

23 years agoThis "test" showed an obsolete way to get scrolled lists in dialogs. Removed.
Jack Jansen [Fri, 3 Aug 2001 14:02:07 +0000 (14:02 +0000)]
This "test" showed an obsolete way to get scrolled lists in dialogs. Removed.

23 years agoRemoved: it doesn't work anymore, and it wasn't all that useful anyway. The FrameWork...
Jack Jansen [Fri, 3 Aug 2001 13:58:16 +0000 (13:58 +0000)]
Removed: it doesn't work anymore, and it wasn't all that useful anyway. The FrameWork testcode shows similar functionality.

23 years agoObsolete, superseded by :Mac:Demo:imgbrowse and friends.
Jack Jansen [Fri, 3 Aug 2001 13:56:12 +0000 (13:56 +0000)]
Obsolete, superseded by :Mac:Demo:imgbrowse and friends.

23 years agoObsolete, superseded by :Mac:Demo:TE
Jack Jansen [Fri, 3 Aug 2001 13:53:50 +0000 (13:53 +0000)]
Obsolete, superseded by :Mac:Demo:TE

23 years agoObsolete, superseded by :Mac:Demo:waste
Jack Jansen [Fri, 3 Aug 2001 13:53:17 +0000 (13:53 +0000)]
Obsolete, superseded by :Mac:Demo:waste

23 years agoObsolete, removed.
Jack Jansen [Fri, 3 Aug 2001 13:49:52 +0000 (13:49 +0000)]
Obsolete, removed.

23 years agoMerging appropriate 2.1.1 fixes back into the main trunk.
Jack Jansen [Fri, 3 Aug 2001 13:31:36 +0000 (13:31 +0000)]
Merging appropriate 2.1.1 fixes back into the main trunk.

23 years agoDocumented the runtimemodel attribute.
Jack Jansen [Fri, 3 Aug 2001 13:19:56 +0000 (13:19 +0000)]
Documented the runtimemodel attribute.

23 years ago(Finally) converted to new-style args.
Jack Jansen [Fri, 3 Aug 2001 13:07:19 +0000 (13:07 +0000)]
(Finally) converted to new-style args.
Added an optional (and ignored) 3d parameter to open() to make the signature compatible with posixmodule.
Added the various O_ constants (by stealing the code from posixmodule).

test_fileinput now passes.

23 years agoAdded descrobject.c and mysnprintf.c
Jack Jansen [Fri, 3 Aug 2001 13:05:57 +0000 (13:05 +0000)]
Added descrobject.c and mysnprintf.c

23 years agoRegenerated for new description stuff.
Jack Jansen [Fri, 3 Aug 2001 13:05:18 +0000 (13:05 +0000)]
Regenerated for new description stuff.

23 years agoThe test opened the binary test data files in text mode! Fixed.
Jack Jansen [Fri, 3 Aug 2001 13:04:03 +0000 (13:04 +0000)]
The test opened the binary test data files in text mode! Fixed.

23 years agoRemoved duplicate definnitions of PyObject_AS_GC and PyObject_FROM_GC (occurred only...
Jack Jansen [Fri, 3 Aug 2001 13:03:24 +0000 (13:03 +0000)]
Removed duplicate definnitions of PyObject_AS_GC and PyObject_FROM_GC (occurred only if GC was off).

23 years agoNo more Inno Envy: the "Start Installation" dialog now displays a nice
Tim Peters [Fri, 3 Aug 2001 11:11:35 +0000 (11:11 +0000)]
No more Inno Envy:  the "Start Installation" dialog now displays a nice
summary of the preceding choices.  No idea if this is "the right way" to
do it, but it's exactly painful enough to make me suspect it's the only
way <wink>.

23 years agoDo not use the system getaddrinfo on Mac OS X. Fixes bug #445928.
Martin v. Löwis [Fri, 3 Aug 2001 10:02:29 +0000 (10:02 +0000)]
Do not use the system getaddrinfo on Mac OS X. Fixes bug #445928.
Since getnameinfo is not implemented, remove __APPLE__ check here.

23 years agofurther work on config dialog, particularly highligthing config
Steven M. Gava [Fri, 3 Aug 2001 04:43:44 +0000 (04:43 +0000)]
further work on config dialog, particularly highligthing config

23 years agoMake sure that WeakValueDictionary[] raises KeyError instead of TypeError
Fred Drake [Fri, 3 Aug 2001 04:11:27 +0000 (04:11 +0000)]
Make sure that WeakValueDictionary[] raises KeyError instead of TypeError
for keys that are not in the dictionary.

23 years agoFix some of the example code; the reference objects do not support a
Fred Drake [Fri, 3 Aug 2001 03:50:28 +0000 (03:50 +0000)]
Fix some of the example code; the reference objects do not support a
get() method; just calling them is sufficient.  (There was a get() method
for this in an early version of the implementation.)

Reported by Mats Wichmann.

23 years agoFinish my log of the final merge process. Mark the merge task complete.
Tim Peters [Thu, 2 Aug 2001 22:06:35 +0000 (22:06 +0000)]
Finish my log of the final merge process.  Mark the merge task complete.

23 years agoUser-defined methods *can* contain things other than user-defined functions
Fred Drake [Thu, 2 Aug 2001 21:34:53 +0000 (21:34 +0000)]
User-defined methods *can* contain things other than user-defined functions
as the callable, so use more flexible language.

23 years agoAdd a caveat about boundary conditions and RE concatenation, so that the
Fred Drake [Thu, 2 Aug 2001 20:52:00 +0000 (20:52 +0000)]
Add a caveat about boundary conditions and RE concatenation, so that the
documents do not make an overly-strong assertion about the properties of
RE concatenation.

Add an example of RE{m,} syntax and what it will and will not match.

23 years agoMiscellaneous minor cleanups.
Fred Drake [Thu, 2 Aug 2001 20:03:12 +0000 (20:03 +0000)]
Miscellaneous minor cleanups.

23 years agoMove away from apply() to using extended call syntax for some example
Fred Drake [Thu, 2 Aug 2001 18:00:28 +0000 (18:00 +0000)]
Move away from apply() to using extended call syntax for some example
fragments when discussing equivalence of thhe C API to what a Python
programmer sees.

Added descriptions of PyEval_SetProfile() and PyEval_SetTrace().

23 years agoThis test failed under python -O.
Tim Peters [Thu, 2 Aug 2001 17:23:11 +0000 (17:23 +0000)]
This test failed under python -O.
rewrite_file():  Delete both .pyc and .pyo leftovers, and explicitly close
the new source file after writing to it.

23 years agoExplain that __init__() methods do not get to return values.
Fred Drake [Thu, 2 Aug 2001 15:53:05 +0000 (15:53 +0000)]
Explain that __init__() methods do not get to return values.

23 years agoFix SF #442791 (revisited): No __delitem__ wrapper was defined.
Guido van Rossum [Thu, 2 Aug 2001 15:31:58 +0000 (15:31 +0000)]
Fix SF #442791 (revisited): No __delitem__ wrapper was defined.

23 years agoAdd anentry for the distutils.sysconfig module docs.
Fred Drake [Thu, 2 Aug 2001 15:13:58 +0000 (15:13 +0000)]
Add anentry for the distutils.sysconfig module docs.

23 years agoUpdate some incorrect comments about the bdist commands that exist.
Fred Drake [Thu, 2 Aug 2001 15:13:15 +0000 (15:13 +0000)]
Update some incorrect comments about the bdist commands that exist.

Add an entry for the distutils.sysconfig module docs.

23 years agoDocumentation for the distutils.sysconfig module.
Fred Drake [Thu, 2 Aug 2001 15:12:07 +0000 (15:12 +0000)]
Documentation for the distutils.sysconfig module.

23 years agoUnit test for improved package import semantics.
Guido van Rossum [Thu, 2 Aug 2001 14:14:20 +0000 (14:14 +0000)]
Unit test for improved package import semantics.
Original by Alex Coventry (in SF patch #441791), adapted to the
standard regression test framework.

23 years agoPatch #444359: Remove unused imports.
Martin v. Löwis [Thu, 2 Aug 2001 07:15:29 +0000 (07:15 +0000)]
Patch #444359: Remove unused imports.

23 years agoTake MANDIR and INCLUDEDIR from configure. Fixes bug #446671.
Martin v. Löwis [Thu, 2 Aug 2001 06:20:20 +0000 (06:20 +0000)]
Take MANDIR and INCLUDEDIR from configure. Fixes bug #446671.

23 years agoFix the test_weakref.py failure. Introduced by resolving "a conflict"
Tim Peters [Thu, 2 Aug 2001 04:45:20 +0000 (04:45 +0000)]
Fix the test_weakref.py failure.  Introduced by resolving "a conflict"
(which didn't actually exist!) incorrectly.

23 years agoMerge of descr-branch back into trunk.
Tim Peters [Thu, 2 Aug 2001 04:15:00 +0000 (04:15 +0000)]
Merge of descr-branch back into trunk.

23 years agoCleaned up the docstring for readline.set_completer().
Fred Drake [Wed, 1 Aug 2001 21:44:14 +0000 (21:44 +0000)]
Cleaned up the docstring for readline.set_completer().
Thanks to Nathaniel Gray for reporting the confusion.

23 years agoCleaned up the description of readline.set_completer().
Fred Drake [Wed, 1 Aug 2001 21:42:45 +0000 (21:42 +0000)]
Cleaned up the description of readline.set_completer().
Thanks to Nathaniel Gray for reporting the confusion.

23 years agos/endswith/startswith/
Tim Peters [Wed, 1 Aug 2001 20:23:18 +0000 (20:23 +0000)]
s/endswith/startswith/

23 years agoRewritten version of Finn Bock's SF patch #446907 (Allow jython to
Tim Peters [Wed, 1 Aug 2001 19:38:56 +0000 (19:38 +0000)]
Rewritten version of Finn Bock's SF patch #446907 (Allow jython to
complete test_import).

23 years agoJust changes to comments.
Tim Peters [Wed, 1 Aug 2001 18:42:54 +0000 (18:42 +0000)]
Just changes to comments.

23 years agoRepair more ways in which the "backup files" dialog differed from all the
Tim Peters [Wed, 1 Aug 2001 18:33:33 +0000 (18:33 +0000)]
Repair more ways in which the "backup files" dialog differed from all the
others (wrong title, inconsistent layout).  Also tried to make the dialog
text clearer, and spelled out what the "yes" and "no" buttons *mean*.

23 years agoTurn an octal constant into a hex constant.
Guido van Rossum [Wed, 1 Aug 2001 18:17:23 +0000 (18:17 +0000)]
Turn an octal constant into a hex constant.

23 years agoAdded more names.
Fred Drake [Wed, 1 Aug 2001 17:19:11 +0000 (17:19 +0000)]
Added more names.

23 years agoMinor re-wording in the exaplantion of sequence comparisons.
Fred Drake [Wed, 1 Aug 2001 17:17:13 +0000 (17:17 +0000)]
Minor re-wording in the exaplantion of sequence comparisons.
This closes SF bug #445749.

23 years agoAdded an example of a string value for the replacement parameter to
Fred Drake [Wed, 1 Aug 2001 16:56:51 +0000 (16:56 +0000)]
Added an example of a string value for the replacement parameter to
re.sub().
This closes SF bug #446136.

Fixed description of RE modifiers so that RE{#} and RE{#,} are more
clearly described and disambiguated (plain RE{#} had not been described
at all).  Reported by Jeremy Craven via email.

23 years agoFix description of buffer_info(), and add a note that there is a better
Fred Drake [Wed, 1 Aug 2001 16:50:49 +0000 (16:50 +0000)]
Fix description of buffer_info(), and add a note that there is a better
way...

This closes SF bug #444842.

23 years agoWe always wrote a pair of lines to the Wise install.log telling it to
Tim Peters [Wed, 1 Aug 2001 06:29:56 +0000 (06:29 +0000)]
We always wrote a pair of lines to the Wise install.log telling it to
delete the Tools and Lib directories at uninstall time.  However,
under the old version of Wise, they didn't actually do anything.  Under
the new version, they work as advertised, and even delete files users
added.
Got rid of those, and replaced them with similar uninstall cmds that
get rid of all .pyc and .pyo files (whether or not the installer created
them).  This works nicely!  It still tears down the directory structure,
except for those directories needed to get to any non-.pyc/o file(s) the
user may have added.

23 years agoHmm. The Backup/Replace dialog also had back/next buttons three pixels
Tim Peters [Wed, 1 Aug 2001 03:42:27 +0000 (03:42 +0000)]
Hmm.  The Backup/Replace dialog also had back/next buttons three pixels
narrower than all the other Wise dialogs, and offset by a few pixels in
the vertical direction too.  Made these things consistent across dialogs
too.

23 years agoAha! Finally figured out something else that's been driving me nuts:
Tim Peters [Wed, 1 Aug 2001 03:36:20 +0000 (03:36 +0000)]
Aha!  Finally figured out something else that's been driving me nuts:
turns out the canned new "backup directory" dialog put its "back" and
"next" buttons at a different relative horizontal position than all the
other canned dialogs.  This explains why you had to keep moving the
mouse around if you wanted to do a straight all-default install -- the
Next button kept moving around.  Now the back/next buttons are in exactly
the same place on all dialogs, and you can click straight thru to the end.

23 years agoThe "Select Destination Directory" dialog didn't ask for confirmation
Tim Peters [Wed, 1 Aug 2001 03:29:59 +0000 (03:29 +0000)]
The "Select Destination Directory" dialog didn't ask for confirmation
about installing into a pre-existing directory *unless* you hit the
Browse button first.  At least while testing, this screwed me repeatedly.
Plus I really liked the Inno Setup scheme of giving you a list box in
its "select directory" dialog without needing a distinct browse button
to ask for that.

So I redid this dialog from scratch:  now gives a list box at once, the
browse button is gone, it asks for confirmation if the directory already
exists, and, since this is the first dialog in the set now, also removed
its "Back" button.

23 years agoRemove useless Back button from Finished dialog.
Tim Peters [Wed, 1 Aug 2001 02:36:21 +0000 (02:36 +0000)]
Remove useless Back button from Finished dialog.

23 years agoAdd mysnprintf.c to Windows build, + squash compiler wngs in mysnprintf.c.
Tim Peters [Tue, 31 Jul 2001 22:10:29 +0000 (22:10 +0000)]
Add mysnprintf.c to Windows build, + squash compiler wngs in mysnprintf.c.

23 years agoEnable PyOS_snprintf() et al. during alpha phase of 2.2.0 and
Marc-André Lemburg [Tue, 31 Jul 2001 18:05:33 +0000 (18:05 +0000)]
Enable PyOS_snprintf() et al. during alpha phase of 2.2.0 and
add another use case to the socketmodule.

23 years agoMove C-level changes into a section of their own
Andrew M. Kuchling [Tue, 31 Jul 2001 15:51:16 +0000 (15:51 +0000)]
Move C-level changes into a section of their own
Add string.ascii_letters
Remove duplicate MBCS paragraph

23 years agoMoved the news items about C API topics down to the C API section.
Marc-André Lemburg [Tue, 31 Jul 2001 14:42:42 +0000 (14:42 +0000)]
Moved the news items about C API topics down to the C API section.

23 years agoAdd news item about Unicode API name mangling.
Marc-André Lemburg [Tue, 31 Jul 2001 14:37:40 +0000 (14:37 +0000)]
Add news item about Unicode API name mangling.

23 years agoAs discussed on python-dev: this patch adds name mangling to
Marc-André Lemburg [Tue, 31 Jul 2001 14:30:16 +0000 (14:30 +0000)]
As discussed on python-dev: this patch adds name mangling to
assure that extensions and interpreters using the Unicode APIs
were compiled using the same Unicode width.

23 years agoAdd news items.
Marc-André Lemburg [Tue, 31 Jul 2001 14:24:31 +0000 (14:24 +0000)]
Add news items.

23 years agova_list is defined in stdarg.h.
Marc-André Lemburg [Tue, 31 Jul 2001 14:23:52 +0000 (14:23 +0000)]
va_list is defined in stdarg.h.

23 years agoThis patch turns the Python API mismatch notice into a standard
Marc-André Lemburg [Tue, 31 Jul 2001 13:24:44 +0000 (13:24 +0000)]
This patch turns the Python API mismatch notice into a standard
Python warning which can be catched by means of the Python warning
framework.

It also adds two new APIs which hopefully make it easier for Python
to switch to buffer overflow safe [v]snprintf() APIs for error
reporting et al. The two new APIs are PyOS_snprintf() and
PyOS_vsnprintf() and work just like the standard ones in many
C libs. On platforms which have snprintf(), the native APIs are used,
on all other an emulation with snprintf() tries to do its best.

23 years agoA more lightweight (and read only) way to view help text
Steven M. Gava [Tue, 31 Jul 2001 11:11:38 +0000 (11:11 +0000)]
A more lightweight (and read only) way to view help text
until the new help system is implemented. Removed some
commented cruft.

23 years agoindentation style changed to match existing source
Steven M. Gava [Tue, 31 Jul 2001 10:46:53 +0000 (10:46 +0000)]
indentation style changed to match existing source

23 years agoimprove viewfile handling
Steven M. Gava [Tue, 31 Jul 2001 10:44:35 +0000 (10:44 +0000)]
improve viewfile handling
indentation style changed to match existing source

23 years agoAdd dead imports of modules that are "magically" imported.
Martin v. Löwis [Tue, 31 Jul 2001 08:54:55 +0000 (08:54 +0000)]
Add dead imports of modules that are "magically" imported.

23 years agoRemove obsolete entries from regen scripts.
Martin v. Löwis [Tue, 31 Jul 2001 08:47:55 +0000 (08:47 +0000)]
Remove obsolete entries from regen scripts.

23 years agoInitialize msg to avoid unbound locals.
Martin v. Löwis [Tue, 31 Jul 2001 08:40:21 +0000 (08:40 +0000)]
Initialize msg to avoid unbound locals.

23 years agoactivate new about dialog for testing
Steven M. Gava [Tue, 31 Jul 2001 07:01:47 +0000 (07:01 +0000)]
activate new about dialog for testing

23 years agoremoved redundant separate idlfefork ver
Steven M. Gava [Tue, 31 Jul 2001 07:00:39 +0000 (07:00 +0000)]
removed redundant separate idlfefork ver

23 years agosome new dialogs and support files for new about and configuration implementations
Steven M. Gava [Tue, 31 Jul 2001 06:59:02 +0000 (06:59 +0000)]
some new dialogs and support files for new about and configuration implementations

23 years agoNew name.
Guido van Rossum [Tue, 31 Jul 2001 06:27:44 +0000 (06:27 +0000)]
New name.

23 years agoAmazing. This would open the sound file in text mode. Fixed.
Guido van Rossum [Tue, 31 Jul 2001 06:27:07 +0000 (06:27 +0000)]
Amazing.  This would open the sound file in text mode.  Fixed.
SF bug  #446219.

23 years agoI hope this irons out the Add/Remove kinks on Win2K for users w/o Admin
Tim Peters [Tue, 31 Jul 2001 03:24:55 +0000 (03:24 +0000)]
I hope this irons out the Add/Remove kinks on Win2K for users w/o Admin
privs, but haven't tested that yet.  Doesn't hurt on Win98SE, anyway.

23 years agoRewrite MBCS paragraph following MH's suggestions, and credit him
Andrew M. Kuchling [Tue, 31 Jul 2001 01:11:36 +0000 (01:11 +0000)]
Rewrite MBCS paragraph following MH's suggestions, and credit him
Note new Windows installer

23 years agoRemove oodles of pointless file date and size stamps. I caught the Wise
Tim Peters [Mon, 30 Jul 2001 23:26:41 +0000 (23:26 +0000)]
Remove oodles of pointless file date and size stamps.  I caught the Wise
GUI inserting those once before shortly after I started using it, but
don't know what triggers it -- presumably something in the "expert" view
(which is, suitably enough, unsuited to experts <wink>).

23 years agotest_codeup should not have had an expected-output file; removing it.
Tim Peters [Mon, 30 Jul 2001 23:10:44 +0000 (23:10 +0000)]
test_codeup should not have had an expected-output file; removing it.

23 years agoMassive fiddling to get the install to work at all on a Win2K box under a
Tim Peters [Mon, 30 Jul 2001 23:06:21 +0000 (23:06 +0000)]
Massive fiddling to get the install to work at all on a Win2K box under a
plain unprivileged User acct:
+ Had to duplicate Wise's Uninstal.wse script, in order to change the line
  at its end that unconditionally tries to write uninstall info under HKLM.
  This is our new file Uninstal.wse, which must be included by python20.wse
  instead of using Wise's version.
+ In every other case we write to HKLM, also write to HKCU instead (we
  were already doing that in *most* places, but not quite all).
+ If the user doesn't have admin privs, the DLLs we usually write to the
  system dir are written to the root of the Python installation instead.
  That's python22.dll, plus the two MSVC runtime DLLs.
+ Added a new component "Register file extensions".  Registering .py etc
  is done under HKEY_CLASSES_ROOT, and that also requires admin privs;
  i.e., AFAICT it's impossible for an unprivileged user to accomplish this.
  In the component selection dialog, if the user doesn't have admin privs
  I gray out this new component so the user knows they aren't getting file
  extensions.
After all that, Python installs, the Start Menu entries are OK, it runs
its test suite to completion, and the uninstaller works too.  Only known
problem so far is that the integration with Win2K's Add/Remove subsystem
isn't quite right yet in this irritating case.

23 years agoAdd tests for getattr() and hasattr() with non-string args
Jeremy Hylton [Mon, 30 Jul 2001 22:49:11 +0000 (22:49 +0000)]
Add tests for getattr() and hasattr() with non-string args

23 years agoDo for hasattr() what was done for getattr()
Jeremy Hylton [Mon, 30 Jul 2001 22:45:19 +0000 (22:45 +0000)]
Do for hasattr() what was done for getattr()

Namely, an exception is raised if the second arg to hasattr() is not a
string or Unicode.

23 years agoGet the whitespace right!
Fred Drake [Mon, 30 Jul 2001 22:41:23 +0000 (22:41 +0000)]
Get the whitespace right!

23 years agoFix for SF byg [ #420304 ] getattr function w/ default
Jeremy Hylton [Mon, 30 Jul 2001 22:39:31 +0000 (22:39 +0000)]
Fix for SF byg [ #420304 ] getattr function w/ default

Fix suggested by Michael Hudson: Raise TypeError if attribute name
passed to getattr() is not a string or Unicode.  There is some
unfortunate duplication of code between builtin_getattr() and
PyObject_GetAttr(), but it appears to be unavoidable.

23 years agoAdd _PyUnicode_AsDefaultEncodedString to unicodeobject.h.
Jeremy Hylton [Mon, 30 Jul 2001 22:34:24 +0000 (22:34 +0000)]
Add _PyUnicode_AsDefaultEncodedString to unicodeobject.h.

And remove all the extern decls in the middle of .c files.
Apparently, it was excluded from the header file because it is
intended for internal use by the interpreter.  It's still intended for
internal use and documented as such in the header file.

23 years agoFix for SF bug [ #443866 ] Evaluating func_code causing core dump
Jeremy Hylton [Mon, 30 Jul 2001 21:55:29 +0000 (21:55 +0000)]
Fix for SF bug [ #443866 ] Evaluating func_code causing core dump

Add test that calls eval with a code object that has free variables.

23 years agoFix for SF bug [ #443866 ] Evaluating func_code causing core dump
Jeremy Hylton [Mon, 30 Jul 2001 21:50:55 +0000 (21:50 +0000)]
Fix for SF bug [ #443866 ] Evaluating func_code causing core dump

If the code object has free variables, raise TypeError.

23 years agoUgly fix used when pyexpat is not available.
Jeremy Hylton [Mon, 30 Jul 2001 21:49:22 +0000 (21:49 +0000)]
Ugly fix used when pyexpat is not available.

If pyexpat is not available and more than one attempt is made to load
an expat-based xml parser, an empty xml.parser.expat module will be
created.  This empty module will confuse xml.sax.expatreader into
thinking that pyexpat is available.

The ugly fix is to verify that the expat module actually defines the
names that are imported from pyexpat.

23 years agoFix when pyexpat not built
Jeremy Hylton [Mon, 30 Jul 2001 21:47:25 +0000 (21:47 +0000)]
Fix when pyexpat not built

Import pyexpat first so that import error occurs when it is not
available.

23 years agoTemporarily work around bug #445928: Force usage of getaddrinfo emulation
Martin v. Löwis [Mon, 30 Jul 2001 16:52:55 +0000 (16:52 +0000)]
Temporarily work around bug #445928: Force usage of getaddrinfo emulation
code on Darwin, since the C library version of that seems to be broken.

23 years agoPatch #442866: Tests for codeop.py.
Martin v. Löwis [Mon, 30 Jul 2001 12:30:08 +0000 (12:30 +0000)]
Patch #442866: Tests for codeop.py.

23 years agoPatch #445538: add completion for pstats.py sort cmd.
Martin v. Löwis [Mon, 30 Jul 2001 10:21:13 +0000 (10:21 +0000)]
Patch #445538: add completion for pstats.py sort cmd.

23 years agoAdd a dialog for the backup directory (default "yes I want one, and
Tim Peters [Mon, 30 Jul 2001 07:30:56 +0000 (07:30 +0000)]
Add a dialog for the backup directory (default "yes I want one, and
make it MyPythonDirectory\BACKUP\").

23 years agoNow stop distutils and xml from getting *too* much (like .pyc files).
Tim Peters [Sun, 29 Jul 2001 22:12:28 +0000 (22:12 +0000)]
Now stop distutils and xml from getting *too* much (like .pyc files).

23 years agoDo convert_path() on script paths (now PyXML builds out of the box
Just van Rossum [Sun, 29 Jul 2001 21:39:18 +0000 (21:39 +0000)]
Do convert_path() on script paths (now PyXML builds out of the box
under MacOS.)

23 years agoRepair long-standing mistakes in the distutils and xml installations:
Tim Peters [Sun, 29 Jul 2001 21:36:58 +0000 (21:36 +0000)]
Repair long-standing mistakes in the distutils and xml installations:
1. Only .py files were getting installed.
2. Empty CVS directories were getting created.
Both were due to trying to get away with "recursively copy *.py" one-
liner scripting.

23 years agoRemove Lib\plat-win from PYTHONPATH; that directory went away a year ago.
Tim Peters [Sun, 29 Jul 2001 21:04:09 +0000 (21:04 +0000)]
Remove Lib\plat-win from PYTHONPATH; that directory went away a year ago.

23 years agoDon't prompt for the doc (HTML) directory anymore (just assume ..\html).
Tim Peters [Sun, 29 Jul 2001 19:57:07 +0000 (19:57 +0000)]
Don't prompt for the doc (HTML) directory anymore (just assume ..\html).

23 years agoWhew -- I *think* this completes folding in all the new-in-8.1 stuff.
Tim Peters [Sun, 29 Jul 2001 19:48:44 +0000 (19:48 +0000)]
Whew -- I *think* this completes folding in all the new-in-8.1 stuff.
Still need to test it in pathological scenarios.

23 years agoEwwww -- the 8.1 support for rolling back changes in case the user aborts
Tim Peters [Sun, 29 Jul 2001 19:31:03 +0000 (19:31 +0000)]
Ewwww -- the 8.1 support for rolling back changes in case the user aborts
the installation was hiding in a part of the GUI I never saw before.  Add
it.

23 years agoAdd oodles more 8.1 Wizard boilerplate. This creates lots of vrbls we
Tim Peters [Sun, 29 Jul 2001 19:27:23 +0000 (19:27 +0000)]
Add oodles more 8.1 Wizard boilerplate.  This creates lots of vrbls we
don't use directly, but the Wise utility scripts we invoke (like
uninstal.wse) sometimes need them.

23 years agoAdd version resource info to installer .exe.
Tim Peters [Sun, 29 Jul 2001 19:02:52 +0000 (19:02 +0000)]
Add version resource info to installer .exe.