]> granicus.if.org Git - python/log
python
24 years agoLots of cleanup things.
Guido van Rossum [Wed, 5 Apr 2000 16:33:30 +0000 (16:33 +0000)]
Lots of cleanup things.

Added the bitmaps back, and added the wizard style program group
selection dialog.

Got rid of references to backup etc. inserted by the installer wizard
-- we don't use these.

Got rid of conditionals for Windows 3.1, ditto.

Changed version to 1.6a2.

Changed default install directory to "C:\Python16" (not really, but close).

Install only one copy of python16.lib.

Install the two MS DLLs (versioned) and python16.dll (unversioned) in
the system directory.

Install Tcl/Tk and expat in the DLLs directory.

24 years agoNoted by Guido:
Fred Drake [Wed, 5 Apr 2000 15:06:03 +0000 (15:06 +0000)]
Noted by Guido:

Fixed up descriptions of altzone and timezone not to refer to the
0th meridian, which doesn't exist.  Reference is now to UTC.

24 years agoNoted by Guido:
Fred Drake [Wed, 5 Apr 2000 15:01:36 +0000 (15:01 +0000)]
Noted by Guido:

Directionality of up/down were confused.

24 years agoNoted by Guido:
Fred Drake [Wed, 5 Apr 2000 15:00:38 +0000 (15:00 +0000)]
Noted by Guido:

Note in the "Caveats" section should refer to the exit() function, not
exit_thread().

24 years agoMark Hammond:
Fred Drake [Wed, 5 Apr 2000 14:17:11 +0000 (14:17 +0000)]
Mark Hammond:
This patch fixes the mmap module on Windows 9x.

Also updates the mmap test to remove the test file.

24 years agoMark Hammond <mhammond@skippinet.com.au>:
Fred Drake [Wed, 5 Apr 2000 14:15:31 +0000 (14:15 +0000)]
Mark Hammond <mhammond@skippinet.com.au>:
This patch fixes the mmap module on Windows 9x.

24 years agoWork the Tcl version number in the path we search for.
Guido van Rossum [Tue, 4 Apr 2000 23:32:21 +0000 (23:32 +0000)]
Work the Tcl version number in the path we search for.

24 years agoGet rid of Win32s check.
Guido van Rossum [Tue, 4 Apr 2000 22:48:55 +0000 (22:48 +0000)]
Get rid of Win32s check.

24 years agoMerged in changes from 1.5.2p2 release.
Fred Drake [Tue, 4 Apr 2000 20:58:39 +0000 (20:58 +0000)]
Merged in changes from 1.5.2p2 release.

24 years agoMerged in changes from 1.5.2p2 release as appropriate.
Fred Drake [Tue, 4 Apr 2000 20:58:25 +0000 (20:58 +0000)]
Merged in changes from 1.5.2p2 release as appropriate.

24 years agoSkip Montanaro submits a simple patch that makes encode() and decode()
Guido van Rossum [Tue, 4 Apr 2000 20:53:07 +0000 (20:53 +0000)]
Skip Montanaro submits a simple patch that makes encode() and decode()
recognize the '7bit' and '8bit' encodings, to simplify use.

24 years agoAdded "See also" section; from Peter Funk <pf@artcom-gmbh.de>
Fred Drake [Tue, 4 Apr 2000 20:43:50 +0000 (20:43 +0000)]
Added "See also" section; from Peter Funk <pf@artcom-gmbh.de>
(re-written).

24 years agoAdded "See also" section; from Peter Funk <pf@artcom-gmbh.de>.
Fred Drake [Tue, 4 Apr 2000 20:42:38 +0000 (20:42 +0000)]
Added "See also" section; from Peter Funk <pf@artcom-gmbh.de>.

24 years agoFixed typo in example code; spotted by Everett Lipman
Fred Drake [Tue, 4 Apr 2000 19:53:06 +0000 (19:53 +0000)]
Fixed typo in example code; spotted by Everett Lipman
<lipman@sphere.niddk.nih.gov>.

24 years agoPatch by Fred Gansevles.
Guido van Rossum [Tue, 4 Apr 2000 19:50:04 +0000 (19:50 +0000)]
Patch by Fred Gansevles.

This patch solves 2 problems of the os module.
1) Bug ID #50 (case-mismatch wiht "environ.get(..,..)" and "del environ[..]")
2) os.environ.update (dict) doesn't propagate changes to the 'real'
   environment (i.e doesn't call putenv)

This patches also has minor changes specific for 1.6a
The string module isn't used anymore, instead the strings own methods are
used.

24 years agoPatch from Hrvoje Niksic <hniksic@iskon.hr>:
Fred Drake [Tue, 4 Apr 2000 18:17:35 +0000 (18:17 +0000)]
Patch from Hrvoje Niksic <hniksic@iskon.hr>:

The bug is in mmap_read_line_method(), and its loop that searches for
newlines.  After the loop reaches EOF, eol is incremented and points
after the end of the memory.  This results in readline() method
sometimes picking up and returning a byte after the end of the string.
This is usually a bogus \0, but it could cause SIGSEGV if it's after
the end of the page).

The patch fixes the problem.  Also, it uses memchr() for finding a
character, which is in fact the "strnchr" the comment is asking for.
memchr() is already used in Python sources, so there should be no
portability problems.

24 years agoAdded notes about the eventual disappearance of two-parameter bind(),
Fred Drake [Tue, 4 Apr 2000 17:48:30 +0000 (17:48 +0000)]
Added notes about the eventual disappearance of two-parameter bind(),
connect(), and connect_ex().

I didn't make these deprecation notices since it was never a
documented feature.

24 years agoAdd warning that multi-arg connect() etc. are deprecated.
Guido van Rossum [Tue, 4 Apr 2000 15:09:07 +0000 (15:09 +0000)]
Add warning that multi-arg connect() etc. are deprecated.

24 years agoPut back multi-arg capability on connect/connect_ex/bind, for
Guido van Rossum [Tue, 4 Apr 2000 14:10:20 +0000 (14:10 +0000)]
Put back multi-arg capability on connect/connect_ex/bind, for
backwards compatibility, and to avoid a revolution.

24 years agoSince Thomas Wouters kept complaining that he wants access to the the
Guido van Rossum [Tue, 4 Apr 2000 03:31:39 +0000 (03:31 +0000)]
Since Thomas Wouters kept complaining that he wants access to the the
Unix From lines, change the UnixMailbox class so that _search_start()
positions the file *before* the Unix From line instead of after it;
change _search_end() to skip one line before looking for the next From
line.  The rfc822.Message class automatically recognizes these Unix
From lines and squirrels them away in the 'unixfrom' instance variable.

24 years agoReorganization: ripped util.py to shreds, creating in the process:
Greg Ward [Tue, 4 Apr 2000 02:05:59 +0000 (02:05 +0000)]
Reorganization: ripped util.py to shreds, creating in the process:
  - file_util.py: operations on single files
  - dir_util.py: operations on whole directories or directory trees
  - dep_util.py: simple timestamp-based dependency analysis
  - archive_util.py: creation of archive (tar, zip, ...) files
The functions left in util.py are miscellany that don't fit in any of the
new files.

24 years agoReorganization: moved the Distribution class from core.py to dist.py, and
Greg Ward [Tue, 4 Apr 2000 01:40:52 +0000 (01:40 +0000)]
Reorganization: moved the Distribution class from core.py to dist.py, and
the Command class from core.py to cmd.py.  No other code needs changing
though; distutils.core still provides the Command and Distribution classes,
although indirectly now.

24 years agoOnly write message about changed Tab size with -v.
Guido van Rossum [Mon, 3 Apr 2000 23:02:17 +0000 (23:02 +0000)]
Only write message about changed Tab size with -v.

24 years agoMerged changes from the 1.5.2p2 release.
Fred Drake [Mon, 3 Apr 2000 20:13:55 +0000 (20:13 +0000)]
Merged changes from the 1.5.2p2 release.
(Very rough.)

24 years agoMerge in changes from the 1.5.2p2 release.
Fred Drake [Mon, 3 Apr 2000 15:42:13 +0000 (15:42 +0000)]
Merge in changes from the 1.5.2p2 release.

Hopefully I got all this right!

24 years agoMerged changes from the 1.5.2p2 release.
Fred Drake [Mon, 3 Apr 2000 15:06:40 +0000 (15:06 +0000)]
Merged changes from the 1.5.2p2 release.

24 years agoUserString section:
Fred Drake [Mon, 3 Apr 2000 15:02:35 +0000 (15:02 +0000)]
UserString section:

Small cleanups noted by Detlef Lannert
<lannert@lannert.rz.uni-duesseldorf.de>.

Make the spelling of Unicode always uppercase.

24 years agoNote that "Unicode" is always capitalized.
Fred Drake [Mon, 3 Apr 2000 15:00:28 +0000 (15:00 +0000)]
Note that "Unicode" is always capitalized.

24 years agoMerge in changes from the 1.5.2p2 release.
Fred Drake [Mon, 3 Apr 2000 04:54:28 +0000 (04:54 +0000)]
Merge in changes from the 1.5.2p2 release.

24 years agoMerged changes from the 1.5.2p2 release.
Fred Drake [Mon, 3 Apr 2000 04:51:13 +0000 (04:51 +0000)]
Merged changes from the 1.5.2p2 release.

24 years agoMerge in changes from the 1.5.2p2 release.
Fred Drake [Mon, 3 Apr 2000 04:26:58 +0000 (04:26 +0000)]
Merge in changes from the 1.5.2p2 release.

24 years agoMerged changes from the 1.5.2p2 release.
Fred Drake [Mon, 3 Apr 2000 04:19:14 +0000 (04:19 +0000)]
Merged changes from the 1.5.2p2 release.

24 years agoUserString class from Peter Funk <pf@artcom-gmbh.de>.
Fred Drake [Mon, 3 Apr 2000 03:51:50 +0000 (03:51 +0000)]
UserString class from Peter Funk <pf@artcom-gmbh.de>.

24 years agoThis patch looks large, but it just deletes the ^M characters and
Andrew M. Kuchling [Sun, 2 Apr 2000 05:22:30 +0000 (05:22 +0000)]
This patch looks large, but it just deletes the ^M characters and
   untabifies the files.  No actual code changes were made.

24 years agoUntabified file to fix problems reported by tabnanny
Andrew M. Kuchling [Sun, 2 Apr 2000 05:15:38 +0000 (05:15 +0000)]
Untabified file to fix problems reported by tabnanny

24 years agoMark Hammond: Uncomment call to delete test data when done.
Fred Drake [Sat, 1 Apr 2000 05:25:57 +0000 (05:25 +0000)]
Mark Hammond:  Uncomment call to delete test data when done.

24 years agoAdded --numeric option, similar to mkhtml.sh.
Fred Drake [Fri, 31 Mar 2000 20:27:36 +0000 (20:27 +0000)]
Added --numeric option, similar to mkhtml.sh.

24 years agoAdded rule to copy in the icons/ directory.
Fred Drake [Fri, 31 Mar 2000 20:26:33 +0000 (20:26 +0000)]
Added rule to copy in the icons/ directory.

24 years agoList of subdirs that are generated during the build.
Fred Drake [Fri, 31 Mar 2000 20:26:00 +0000 (20:26 +0000)]
List of subdirs that are generated during the build.

24 years agoBuild rules for the "long HTML" version.
Fred Drake [Fri, 31 Mar 2000 20:22:29 +0000 (20:22 +0000)]
Build rules for the "long HTML" version.

24 years agoThis commit was manufactured by cvs2svn to create tag 'r16a1'. v1.6a1
cvs2svn [Fri, 31 Mar 2000 20:16:45 +0000 (20:16 +0000)]
This commit was manufactured by cvs2svn to create tag 'r16a1'.

24 years agoQuick update to the README file. For intros and books we now point to
Guido van Rossum [Fri, 31 Mar 2000 20:16:45 +0000 (20:16 +0000)]
Quick update to the README file.  For intros and books we now point to
the website.

24 years agoAdd a README file so that cvs update -P doesn't obliterate this
Guido van Rossum [Fri, 31 Mar 2000 20:03:56 +0000 (20:03 +0000)]
Add a README file so that cvs update -P doesn't obliterate this
directory, and so that people have a clue as to why it exists.

24 years agoTwo more names. I just realize that there may be more contributors to
Guido van Rossum [Fri, 31 Mar 2000 19:51:06 +0000 (19:51 +0000)]
Two more names.  I just realize that there may be more contributors to
distutils lurking in CVS logs that I probably haven't read.  Oh well.

24 years agoI believe I've now got all the names mentioned in the CVS logs since
Guido van Rossum [Fri, 31 Mar 2000 19:45:17 +0000 (19:45 +0000)]
I believe I've now got all the names mentioned in the CVS logs since
1.5.2 was released, except those who contributed only to Doc files --
Fred has his own way of doing this.

This doesn't mean that I've got everyone who contributed *before*
1.5.2 was released in here... :-(

24 years agoFixed my simplification to Thomas' patch: winreg and win32api export the same
Greg Ward [Fri, 31 Mar 2000 19:04:25 +0000 (19:04 +0000)]
Fixed my simplification to Thomas' patch: winreg and win32api export the same
functions, but with different names.

24 years agoImprove explanation of reference counts for PyString_Concat().
Fred Drake [Fri, 31 Mar 2000 18:22:38 +0000 (18:22 +0000)]
Improve explanation of reference counts for PyString_Concat().

24 years agoReflect the two new sections in the dependencies.
Fred Drake [Fri, 31 Mar 2000 18:10:17 +0000 (18:10 +0000)]
Reflect the two new sections in the dependencies.

24 years agoTwo new sections. Preliminary.
Fred Drake [Fri, 31 Mar 2000 17:51:10 +0000 (17:51 +0000)]
Two new sections.  Preliminary.

24 years agoZip file handling module, by Jim Ahlstrom.
Guido van Rossum [Fri, 31 Mar 2000 17:30:02 +0000 (17:30 +0000)]
Zip file handling module, by Jim Ahlstrom.

24 years agoMarc-Andre Lemburg: The large unicode database table is broken in
Guido van Rossum [Fri, 31 Mar 2000 17:26:12 +0000 (17:26 +0000)]
Marc-Andre Lemburg: The large unicode database table is broken in
pages of 4k entries each. This should fix compiler problems on some
platforms.

24 years agoMarc-Andre Lemburg: Error reporting in the codec registry and lookup
Guido van Rossum [Fri, 31 Mar 2000 17:25:23 +0000 (17:25 +0000)]
Marc-Andre Lemburg: Error reporting in the codec registry and lookup
mechanism is enhanced to be more informative.

24 years agoAdd '#include <netinet/tcp.h>'
Andrew M. Kuchling [Fri, 31 Mar 2000 17:24:30 +0000 (17:24 +0000)]
Add '#include <netinet/tcp.h>'
"man tcp" on Solaris says that TCP_NODELAY is defined in
netinet/tcp.h, and the Open Groups Unix98 spec agrees
(http://www.opengroup.org/onlinepubs/009619199/ninettcp.htm).

24 years agoSome blank lines.
Guido van Rossum [Fri, 31 Mar 2000 17:24:09 +0000 (17:24 +0000)]
Some blank lines.

24 years agoMarc-Andre Lemburg: use all lowercase names.
Guido van Rossum [Fri, 31 Mar 2000 17:23:18 +0000 (17:23 +0000)]
Marc-Andre Lemburg: use all lowercase names.

24 years agoThis module's name should be linuxaudio*dev*.c
Guido van Rossum [Fri, 31 Mar 2000 16:56:32 +0000 (16:56 +0000)]
This module's name should be linuxaudio*dev*.c

24 years agoSimplified Thomas Heller's registry patch: just assign all those
Greg Ward [Fri, 31 Mar 2000 16:53:42 +0000 (16:53 +0000)]
Simplified Thomas Heller's registry patch: just assign all those
HKEY_* and Reg* names once, rather than having near-duplicate code
in the two import attempts.

Also dropped the leading underscore on all the imported symbols,
as it's not appropriate (they're not local to this module).

24 years agoPatch from Thomas Heller: use the new winreg module if available.
Greg Ward [Fri, 31 Mar 2000 16:47:40 +0000 (16:47 +0000)]
Patch from Thomas Heller: use the new winreg module if available.

24 years agoAdded some clarifications to pyexpat.
Guido van Rossum [Fri, 31 Mar 2000 16:39:02 +0000 (16:39 +0000)]
Added some clarifications to pyexpat.

24 years agoMake it compile on Windows.
Guido van Rossum [Fri, 31 Mar 2000 16:18:11 +0000 (16:18 +0000)]
Make it compile on Windows.

24 years agoAdding pyexpat project.
Guido van Rossum [Fri, 31 Mar 2000 16:15:51 +0000 (16:15 +0000)]
Adding pyexpat project.

24 years agoBuncha last-minute fixes
Guido van Rossum [Fri, 31 Mar 2000 15:51:09 +0000 (15:51 +0000)]
Buncha last-minute fixes

24 years agoAdded test case output for pyexpat module
Andrew M. Kuchling [Fri, 31 Mar 2000 15:45:20 +0000 (15:45 +0000)]
Added test case output for pyexpat module

24 years agoAdded test case for pyexpat module that tries to exercise all the handlers
Andrew M. Kuchling [Fri, 31 Mar 2000 15:44:52 +0000 (15:44 +0000)]
Added test case for pyexpat module that tries to exercise all the handlers

24 years agoAdded Python interface to Expat XML parser.
Andrew M. Kuchling [Fri, 31 Mar 2000 15:43:31 +0000 (15:43 +0000)]
Added Python interface to Expat XML parser.
    The Setup.in entry is sort of a lie; it links with -lexpat, but
    Expat's Makefile doesn't actually build a libexpat.a.  I'll send
    Expat's author a patch to do that; if he doesn't accept it, this
    rule will have to list Expat's object files (ick!), or have a
    comment explaining how to build a .a file.

24 years agoAdd Python version bump to configure script. (AMK)
Guido van Rossum [Fri, 31 Mar 2000 15:15:17 +0000 (15:15 +0000)]
Add Python version bump to configure script.  (AMK)

24 years agoAdded distutils and distutils/command to LIBSUBDIRS. Noted by Andrew
Guido van Rossum [Fri, 31 Mar 2000 15:13:17 +0000 (15:13 +0000)]
Added distutils and distutils/command to LIBSUBDIRS.  Noted by Andrew
Kuchling.

24 years agoAdded _sre project to workspace.
Guido van Rossum [Fri, 31 Mar 2000 15:10:30 +0000 (15:10 +0000)]
Added _sre project to workspace.

24 years agoRemoved three unused variables from the Windows code.
Guido van Rossum [Fri, 31 Mar 2000 15:04:26 +0000 (15:04 +0000)]
Removed three unused variables from the Windows code.

24 years agoAdded the _sre module. It is always on.
Guido van Rossum [Fri, 31 Mar 2000 15:01:27 +0000 (15:01 +0000)]
Added the _sre module.  It is always on.

24 years agoAdding Fredrik Lundh's _sre.c module and its header files.
Guido van Rossum [Fri, 31 Mar 2000 14:59:30 +0000 (14:59 +0000)]
Adding Fredrik Lundh's _sre.c module and its header files.

NOTE: THIS IS VERY ROUGH ALPHA CODE!

24 years agoAdded Fredrik Lundh's sre module and its supporting cast.
Guido van Rossum [Fri, 31 Mar 2000 14:58:54 +0000 (14:58 +0000)]
Added Fredrik Lundh's sre module and its supporting cast.

NOTE: THIS IS VERY ROUGH ALPHA CODE!

24 years agoThomas Heller fixes a typo in an error message.
Guido van Rossum [Fri, 31 Mar 2000 13:52:29 +0000 (13:52 +0000)]
Thomas Heller fixes a typo in an error message.

24 years agoMore names.
Guido van Rossum [Fri, 31 Mar 2000 13:01:57 +0000 (13:01 +0000)]
More names.

24 years agoAdded code to blow away the pseudo-installation tree and a 'keep_tree'
Greg Ward [Fri, 31 Mar 2000 05:22:47 +0000 (05:22 +0000)]
Added code to blow away the pseudo-installation tree and a 'keep_tree'
option to disable this (by default, it's false and we clean up).

24 years agoOops, got a little too enthusiastic deleting code in that last revision:
Greg Ward [Fri, 31 Mar 2000 05:21:27 +0000 (05:21 +0000)]
Oops, got a little too enthusiastic deleting code in that last revision:
we still have to *run* the sub-command that creates a built distribution.

24 years agoFixed 'make_archive()' to explicitly turn of compression when format is "tar".
Greg Ward [Fri, 31 Mar 2000 05:20:27 +0000 (05:20 +0000)]
Fixed 'make_archive()' to explicitly turn of compression when format is "tar".

24 years agoRename 'formats' option to 'format', and remove the ability to generate
Greg Ward [Fri, 31 Mar 2000 05:08:50 +0000 (05:08 +0000)]
Rename 'formats' option to 'format', and remove the ability to generate
multiple built distributions in one run -- it seemed a bit dodgy and I'd
rather remove it than try to beat it into submission right now.

24 years agoImport from 'types' module.
Greg Ward [Fri, 31 Mar 2000 04:53:41 +0000 (04:53 +0000)]
Import from 'types' module.
Added 'ztar', 'tar' to 'format_command' dictionary.

24 years agoTweaked 'get_platform()' to include the first character of the OS release:
Greg Ward [Fri, 31 Mar 2000 04:40:25 +0000 (04:40 +0000)]
Tweaked 'get_platform()' to include the first character of the OS release:
eg. sunos5, linux2, irix5.

24 years agoRemoved some old test code: don't set 'plat' when calling 'new_compiler()'.
Greg Ward [Fri, 31 Mar 2000 04:37:40 +0000 (04:37 +0000)]
Removed some old test code: don't set 'plat' when calling 'new_compiler()'.

24 years agoDon't perpetrate the "_d" hack for naming debugging extensions -- that's
Greg Ward [Fri, 31 Mar 2000 03:52:16 +0000 (03:52 +0000)]
Don't perpetrate the "_d" hack for naming debugging extensions -- that's
now done in the 'build_ext' command.

24 years agoPatch (mostly) from Thomas Heller for building on Windows:
Greg Ward [Fri, 31 Mar 2000 03:50:23 +0000 (03:50 +0000)]
Patch (mostly) from Thomas Heller for building on Windows:
  * build to "Debug" or "Release" temp directory
  * put linker turds (.lib and .exp files) in the build temp directory
  * tack on "_d" to extensions built with debugging
  * added 'get_ext_libname()' help in putting linker turds to temp dir
Also, moved the code that simplifies None to empty list for a bunch
  of options to 'finalize_options()' instead of 'run()'.

24 years agoDon't put Python's library directory into the library search path -- that's
Greg Ward [Fri, 31 Mar 2000 03:34:09 +0000 (03:34 +0000)]
Don't put Python's library directory into the library search path -- that's
specific to building Python extensions.

24 years agoAdd back an obscure "feature" to the Obj version of Tkapp_Call(): a
Guido van Rossum [Fri, 31 Mar 2000 03:29:39 +0000 (03:29 +0000)]
Add back an obscure "feature" to the Obj version of Tkapp_Call(): a
None in an argument list *terminates* the argument list: further
arguments are *ignored*.  This isn't kosher, but too much code relies
on it, implicitly.  For example, IDLE was pretty broken.

24 years agoAdded 'bdist' and 'bdist_dumb'.
Greg Ward [Fri, 31 Mar 2000 03:14:51 +0000 (03:14 +0000)]
Added 'bdist' and 'bdist_dumb'.

24 years agoA version of FixTk.py that works with the way the installer now
Guido van Rossum [Fri, 31 Mar 2000 03:11:40 +0000 (03:11 +0000)]
A version of FixTk.py that works with the way the installer now
installs Tcl/Tk.

24 years agoAdded 'get_name()' and 'get_full_name()' methods to Distribution.
Greg Ward [Fri, 31 Mar 2000 03:05:18 +0000 (03:05 +0000)]
Added 'get_name()' and 'get_full_name()' methods to Distribution.
Simplified 'Command.get_peer_option()' a tad -- just call 'find_peer()'
  to get the peer command object.
Updated 'Command.copy_file()' to take a 'link' parameter, just like
  'util.copy_file()' does now.
Added 'Command.make_archive()' to wrap 'util.make_archive()'.

24 years agoAdded 'create_tree()'.
Greg Ward [Fri, 31 Mar 2000 03:02:22 +0000 (03:02 +0000)]
Added 'create_tree()'.
Changes to 'copy_file()':
  * added support for making hard links and symlinks
  * noted that it silently clobbers existing files when copying, but
    blows up if destination exists when linking -- hmmm...
  * error message tweak
Added 'base_name' parameter to 'make_tarball()' and 'make_zipfile()'.
Added 'make_archive()' -- wrapper around 'make_tarball()' or
  'make_zipfile()' to take care of the archive "root directory".

24 years agoAdded DistutilsInternalError.
Greg Ward [Fri, 31 Mar 2000 02:57:31 +0000 (02:57 +0000)]
Added DistutilsInternalError.

24 years agoThe 'bdist_dumb' command, the first worker bee for use by 'bdist'. This is
Greg Ward [Fri, 31 Mar 2000 02:56:34 +0000 (02:56 +0000)]
The 'bdist_dumb' command, the first worker bee for use by 'bdist'.  This is
the command that actually creates "dumb" binary distributions, ie.
tarballs and zip files that you just unpack under <prefix> or <exec-prefix>.
Very limited, but it's a start.

24 years agoThe 'bdist' command, for creating "built" (binary) distributions.
Greg Ward [Fri, 31 Mar 2000 02:55:12 +0000 (02:55 +0000)]
The 'bdist' command, for creating "built" (binary) distributions.
Initial revision is pretty limited; it only knows how to generate "dumb"
binary distributions, i.e. a tarball on Unix and a zip file on Windows.
Also, due to limitations in the installation code, it only knows how to
distribute Python library code.  But hey, it's a start.

24 years agoAdded 'get_inputs()'.
Greg Ward [Fri, 31 Mar 2000 02:53:07 +0000 (02:53 +0000)]
Added 'get_inputs()'.

24 years agoFixed 'get_outputs()' so it actually works.
Greg Ward [Fri, 31 Mar 2000 02:52:02 +0000 (02:52 +0000)]
Fixed 'get_outputs()' so it actually works.
Added 'get_inputs()' (which is strikingly similar to 'get_outputs()' - sigh).
Cosmetic tweaks.

24 years agoChanged to use the new 'has_pure_modules()' and 'has_ext_modules()' methods
Greg Ward [Fri, 31 Mar 2000 02:50:04 +0000 (02:50 +0000)]
Changed to use the new 'has_pure_modules()' and 'has_ext_modules()' methods
  provided by Distribution.
Cosmetic and error message tweaks.
Simplified 'make_release_tree()':
  * extracted 'distutils.util.create_tree()'
  * don't have to do hard-linking ourselves -- it's now handled by
    'distutils.util.copy_file()' (although the detection of
    whether hard linking is available still needs to be factored out)
Removed 'make_tarball()' and 'make_zipfile()' entirely -- their role
  is now amply filled by 'distutils.util.make_archive()'.
Simplified 'make_distribution()':
  * use Distribution's new 'get_full_name()' method
  * use 'make_archive()' instead of if/elif/.../else on the archive format

24 years agoBit of cleanup on the projects.
Guido van Rossum [Fri, 31 Mar 2000 01:33:07 +0000 (01:33 +0000)]
Bit of cleanup on the projects.
Some refinements on the Wise file, also adding mmap.pyd.

24 years agoSigh. On Windows, (mode_t)i fails. Assume that there's a prototype
Guido van Rossum [Fri, 31 Mar 2000 01:26:23 +0000 (01:26 +0000)]
Sigh.  On Windows, (mode_t)i fails.  Assume that there's a prototype
in scope on systems where mode_t isn't the same size as int...

24 years agorename args variable in CALL_FUNCTION to callargs (avoids name
Jeremy Hylton [Fri, 31 Mar 2000 01:22:54 +0000 (01:22 +0000)]
rename args variable in CALL_FUNCTION to callargs (avoids name
override)

add missing DECREFs in error handling code of CALL_FUNCTION

24 years agoMark Hammond: Ooops - even though Win32 handles the same args, there
Guido van Rossum [Fri, 31 Mar 2000 01:20:33 +0000 (01:20 +0000)]
Mark Hammond: Ooops - even though Win32 handles the same args, there
was a superfluous check for the platform.

24 years agoAdded mmap project. (Mark Hammond.)
Guido van Rossum [Fri, 31 Mar 2000 01:17:42 +0000 (01:17 +0000)]
Added mmap project.  (Mark Hammond.)