]> granicus.if.org Git - python/log
python
24 years agoFactored out code for extracting-or-creating one of the option
Greg Ward [Fri, 26 May 2000 01:00:15 +0000 (01:00 +0000)]
Factored out code for extracting-or-creating one of the option
  dictionaries in 'self.command_options' to 'get_option_dict()'.
Simplified code in 'parse_config_files()' and 'parse_command_line()'
  accordingly.
Fixed code in constructor that processes the 'options' dictionary
  from the setup script so it actually works: uses the new
  'self.command_options' dictionary rather than creating command
  objects and calling 'set_option()' on them.

24 years agoAdded the DEBUG global (set from the DISTUTILS_DEBUG environment variable).
Greg Ward [Fri, 26 May 2000 00:54:52 +0000 (00:54 +0000)]
Added the DEBUG global (set from the DISTUTILS_DEBUG environment variable).
Changed the exception-handling code in 'setup()' to re-raise exceptions
  if DEBUG is true.

24 years agoFixed a couple of long-hidden bugs (amazing what you find when you
Greg Ward [Fri, 26 May 2000 00:44:06 +0000 (00:44 +0000)]
Fixed a couple of long-hidden bugs (amazing what you find when you
attempt to verify the bold assertions in the documentation):
  * entries for the "root package" in 'package_dir' didn't work --
    fixed by improving the fall-through code in 'get_package_dir()'
  * __init__.py files weren't installed when modules-in-packages
    were listed individually (ie. in 'py_modules' in the setup script);
    fixed by making 'check_package()' return the name of the __init__
    file if it exists, and making 'find_modules()' add an entry to
    the module list for __init__ if applicable

24 years agoBuilt-in class-based standard exceptions. Written by Fredrik Lundh.
Barry Warsaw [Thu, 25 May 2000 23:18:47 +0000 (23:18 +0000)]
Built-in class-based standard exceptions.  Written by Fredrik Lundh.
Modified, proofread, and integrated for Python 1.6 by Barry Warsaw.

24 years agoAdded a test to catch the base class.
Barry Warsaw [Thu, 25 May 2000 23:16:54 +0000 (23:16 +0000)]
Added a test to catch the base class.

24 years agoFor backwards compatibility, simply import everything from the
Barry Warsaw [Thu, 25 May 2000 23:15:52 +0000 (23:15 +0000)]
For backwards compatibility, simply import everything from the
_exceptions module, including __doc__.

24 years agoAll the exception building related stuff has been moved out of this
Barry Warsaw [Thu, 25 May 2000 23:15:05 +0000 (23:15 +0000)]
All the exception building related stuff has been moved out of this
module and into _exceptions.c.  This includes all the PyExc_* globals,
the bltin_exc table, init_class_exc(), fini_instances(),
finierrors().

Renamed _PyBuiltin_Init_1() to _PyBuiltin_Init() since the two phase
initializations are necessary any more.

Removed as obsolete _PyBuiltin_Init_2(), _PyBuiltin_Fini_1() and
_PyBuiltin_Fini_2().

24 years agoAdded the _exceptions module, implementing the built-in class-based
Barry Warsaw [Thu, 25 May 2000 23:10:52 +0000 (23:10 +0000)]
Added the _exceptions module, implementing the built-in class-based
standard exceptions.

24 years agoPy_Initialize(): Now that standard exceptions are builtin, we don't
Barry Warsaw [Thu, 25 May 2000 23:09:49 +0000 (23:09 +0000)]
Py_Initialize(): Now that standard exceptions are builtin, we don't
need two phase init or fini of the builtin module.  Change the call of
_PyBuiltin_Init_1() to _PyBuiltin_Init().  Add a call to
init_exceptions().

Py_Finalize(): Don't call _PyBuiltin_Fini_1().  Instead call
fini_exceptions() but move this to before the thread state is
cleared.

24 years agoNow that standard exceptions are builtin, we don't need two phase init
Barry Warsaw [Thu, 25 May 2000 23:05:36 +0000 (23:05 +0000)]
Now that standard exceptions are builtin, we don't need two phase init
or fini of the builtin module.

_PyBuiltin_Init_1 => _PyBuiltin_Init
_PyBuiltin_Init_2 removed
_PyBuiltin_Fini_1 removed
_PyBuiltin_Fini_2 removed

These functions are used to initialize the _exceptions module.

init_exceptions added
fini_exceptions added

24 years agoTake the basename of the script before concatenating it with the build dir.
Greg Ward [Thu, 25 May 2000 20:05:52 +0000 (20:05 +0000)]
Take the basename of the script before concatenating it with the build dir.

24 years agoPiers Lauder <piers@cs.su.oz.au>:
Fred Drake [Thu, 25 May 2000 03:25:26 +0000 (03:25 +0000)]
Piers Lauder <piers@cs.su.oz.au>:
This patch adds a comment about quoting to the doc string,
and also checks that the 'flags' argument to the STORE command
is appropriately enclosed inside parentheses to avoid quoting.

24 years agobltin_exc: Removed the leaf_exc flag in the structure, which was only
Barry Warsaw [Thu, 25 May 2000 03:18:53 +0000 (03:18 +0000)]
bltin_exc: Removed the leaf_exc flag in the structure, which was only
used to build the fallback string-based exception.

24 years agoFix to use 'change_root()' rather than directly mangling path.
Greg Ward [Thu, 25 May 2000 02:14:26 +0000 (02:14 +0000)]
Fix to use 'change_root()' rather than directly mangling path.

24 years agoImprovements to Bastian's build_scripts command:
Greg Ward [Thu, 25 May 2000 02:03:56 +0000 (02:03 +0000)]
Improvements to Bastian's build_scripts command:
  * 'first_line_re' loosened up
  * command description improved
  * replaced '_copy_files()' and '_adjust_files()' with one method
    that does everything, 'copy_scripts()' -- this should be more
    efficient than Bastian's version, should behave better in
    dry-run mode, and does timestamp dependency-checking

24 years agoAdded comment to remind us of the (temporary?) obsolescense of the
Greg Ward [Thu, 25 May 2000 01:26:23 +0000 (01:26 +0000)]
Added comment to remind us of the (temporary?) obsolescense of the
'install_misc' class.

24 years agoUse Distribution's 'has_scripts()' method instead of directly accessing
Greg Ward [Thu, 25 May 2000 01:21:54 +0000 (01:21 +0000)]
Use Distribution's 'has_scripts()' method instead of directly accessing
its 'scripts' attribute.

24 years agoBastian Kleineidam: the "build_scripts" command.
Greg Ward [Thu, 25 May 2000 01:20:15 +0000 (01:20 +0000)]
Bastian Kleineidam: the "build_scripts" command.

24 years agoBastian Kleineidam: the "build_scripts" command and changes
Greg Ward [Thu, 25 May 2000 01:19:18 +0000 (01:19 +0000)]
Bastian Kleineidam: the "build_scripts" command and changes
necessary to support it.

Details:
  - build command additionally calls build_scripts
  - build_scripts builds your scripts in 'build/scripts' and adjusts the
    first line if it begins with "#!" and ends with "python", optionally
    ending with commandline options (like -O, -t ...).  Adjusting means we
    write the current path to the Python interpreter in the first line.
  - install_scripts copies the scripts to the install_scripts dir
  - install_data copies your data_files in install_data. You can
    supply individual directories for your data_files:

    data_files = ['doc/info.txt', # copy this file in install_scripts dir
      ('testdata', ['a.dat', 'b.dat']), # copy these files in
                                        # install_scripts/testdata
      ('/etc', ['packagerc']),    # copy this in /etc. When --root is
                                  # given, copy this in rootdir/etc
    ]

    So you can use the --root option with absolute data paths.

24 years agoNormalized all the end-of-class lines.
Greg Ward [Thu, 25 May 2000 01:10:04 +0000 (01:10 +0000)]
Normalized all the end-of-class lines.

24 years agoRemove unused "import curses".
Guido van Rossum [Wed, 24 May 2000 14:33:26 +0000 (14:33 +0000)]
Remove unused "import curses".

24 years agoFix a problem reported by Oleg Broytmann, who complains that very
Guido van Rossum [Wed, 24 May 2000 13:21:46 +0000 (13:21 +0000)]
Fix a problem reported by Oleg Broytmann, who complains that very
often, ftp URLs hang in the final close.  Further analysis suggests
that this is because the close hook in addclosehook() calls the hook
before acually closing the connection.  The hook, in this case, waits
for the '226 Transfer complete' status from the server on the command
socket.  However, more and more ftp servers only send this status when
the data socket has actually been closed -- causing a deadlock.

The fix is simple: in addclosehook.close(), call addbase.close()
*before* calling the closehook.

24 years agoCatch failure to open installed Makefile, and report it as a
Greg Ward [Tue, 23 May 2000 23:14:00 +0000 (23:14 +0000)]
Catch failure to open installed Makefile, and report it as a
DistutilsPlatformError: "invalid Python installation".  (This will
happen on Red Hat-ish systems where the python-devel package is not
installed.)

24 years agoUpdated docs to list all the new methods and functions. The docs are
Andrew M. Kuchling [Tue, 23 May 2000 16:46:04 +0000 (16:46 +0000)]
Updated docs to list all the new methods and functions.  The docs are
now complete, but probably still not very helpful or friendly.

Note: two very large tables (of key names, and of character names) were
added; these tables format terribly, and need some reworking.

24 years agoChanges by AMK: Use HAVE_NCURSES_H to include correct header file
Andrew M. Kuchling [Tue, 23 May 2000 16:24:54 +0000 (16:24 +0000)]
Changes by AMK: Use HAVE_NCURSES_H to include correct header file
Lots of typo fixes (a bit too much cut-and-paste in this module)
Aliases removed: attr_on, attr_off, attr_set
Lowercased the names COLOR_PAIR and PAIR_NUMBER
#ifdef's for compiling on Solaris added (need to understand SYSV curses
    versions better and generalize this)
Bumped version number bumped to 1.6

24 years agoOliver Andrich's ncurses-specific curses module, version 1.5b1
Andrew M. Kuchling [Tue, 23 May 2000 16:18:03 +0000 (16:18 +0000)]
Oliver Andrich's ncurses-specific curses module, version 1.5b1

24 years ago(py-execute-region): Based on suggestions by Francois Pinard and Skip
Barry Warsaw [Tue, 23 May 2000 05:47:43 +0000 (05:47 +0000)]
(py-execute-region): Based on suggestions by Francois Pinard and Skip
Montanaro, handle execution of indented regions by inserting an "if
1:" in front of the block.  This better preserves things like triple
quoted strings and commented regions.  This patch resolves PR#264.

24 years agoFix 'get_command_obj()' so it checks if a command object has an attribute
Greg Ward [Tue, 23 May 2000 04:11:14 +0000 (04:11 +0000)]
Fix 'get_command_obj()' so it checks if a command object has an attribute
before setting it -- this will catch bad options (eg. typos) in config files.

24 years agoAdded some debuging output (actually moved here from dist.py) --
Greg Ward [Tue, 23 May 2000 03:54:16 +0000 (03:54 +0000)]
Added some debuging output (actually moved here from dist.py) --
dump the Distribution's 'command_options' dict after parsing config files,
and then after parsing the command line.

24 years agoDon't take advantage of OptionDummy's new "auto-initialization" feature
Greg Ward [Tue, 23 May 2000 03:53:10 +0000 (03:53 +0000)]
Don't take advantage of OptionDummy's new "auto-initialization" feature
after all -- turns out it doesn't buy us much after all...

24 years agoFixed so options from config files and command lines actually work:
Greg Ward [Tue, 23 May 2000 03:47:35 +0000 (03:47 +0000)]
Fixed so options from config files and command lines actually work:
  * 'get_command_obj()' now sets command attributes based on
    the 'command_options' dictionary
  * some typos fixed
  * kludged 'parse_config_files()' to re-initialize the ConfigParser
    instance after each file, so we know for sure which config
    file each option comes form
  * added lots of handy debugging output

24 years agoFrom Greg Ward <gward@python.net>:
Fred Drake [Tue, 23 May 2000 02:28:26 +0000 (02:28 +0000)]
From Greg Ward <gward@python.net>:
Typo:  "dictionairy" --> "dictionary" (twice).

24 years agoFixed command description.
Greg Ward [Tue, 23 May 2000 01:55:16 +0000 (01:55 +0000)]
Fixed command description.

24 years agoUse 'get_command_obj()' instead of 'find_command_obj()'.
Greg Ward [Tue, 23 May 2000 01:55:01 +0000 (01:55 +0000)]
Use 'get_command_obj()' instead of 'find_command_obj()'.

24 years agoOptionDummy now has a constructor that takes a list of options: each string
Greg Ward [Tue, 23 May 2000 01:44:20 +0000 (01:44 +0000)]
OptionDummy now has a constructor that takes a list of options: each string
in the option list is an attribute of the OptionDummy that will be
initialized to None.

24 years agoTweaked usage message.
Greg Ward [Tue, 23 May 2000 01:43:08 +0000 (01:43 +0000)]
Tweaked usage message.

24 years agoMarching towards full support of config files: thoroughly overhauled the
Greg Ward [Tue, 23 May 2000 01:42:17 +0000 (01:42 +0000)]
Marching towards full support of config files: thoroughly overhauled the
command-line parsing code, splitting it up into several methods (new
methods: '_parse_command_opts()', '_show_help()') and making it put options
into the 'command_options' dictionary rather than instantiating command
objects and putting them there.

Lots of other little changes:
  * merged 'find_command_class()' and 'create_command_obj()' and
    called the result 'get_command_class()'
  * renamed 'find_command_obj()' to 'get_command_obj()', and added
    command object creation and maintenance of the command object cache to
    its responsibilities (taken over from 'create_command_obj()')
  * parse config files one-at-a-time, so we can keep track of the
    filename for later error reporting
  * tweaked some help messages
  * fixed up many obsolete comments and docstrings

24 years agoReduce opt level for BeOS - Donn Cave.
Guido van Rossum [Mon, 22 May 2000 21:31:50 +0000 (21:31 +0000)]
Reduce opt level for BeOS - Donn Cave.

24 years agoChanged list_directory() somewhat. It is now only called when there
Guido van Rossum [Sun, 21 May 2000 16:25:29 +0000 (16:25 +0000)]
Changed list_directory() somewhat.  It is now only called when there
is no index.htm[l] file, and when it is called, it also spits out the
headers.  When an index.htm[l] file is present, the regular (file
access) path is followed.  Also, when the guessed content-type matches
text/*, open the file in text mode; otherwise in binary mode.

24 years agoTweaked output of 'copy_file()': if copying to a new name, show the whole
Greg Ward [Sat, 20 May 2000 16:05:34 +0000 (16:05 +0000)]
Tweaked output of 'copy_file()': if copying to a new name, show the whole
destination path, otherwise show just the directory.

24 years agoChanged the semantics of the 'sub_commands' list: instead of function
Greg Ward [Sat, 20 May 2000 15:17:09 +0000 (15:17 +0000)]
Changed the semantics of the 'sub_commands' list: instead of function
  objects, it now has method names.
Added three methods, 'has_lib()', 'has_scripts()', and 'has_data()'
  to determine if we need to run each of the three possible sub-commands.
Added 'get_sub_commands()' to take care of finding the methods named
  in 'sub_commands', running them, and interpreting the results to
  build a list of sub-commands that actually have to be run.

24 years agoCheck if the claimed build directory doesn't exist, and warn that we don't
Greg Ward [Sat, 20 May 2000 15:08:57 +0000 (15:08 +0000)]
Check if the claimed build directory doesn't exist, and warn that we don't
have any Python modules to install (rather than bomb when we try to copy
a non-existent directory).

24 years agoAdded 'has_scripts()', 'has_data_files()' methods.
Greg Ward [Sat, 20 May 2000 15:06:48 +0000 (15:06 +0000)]
Added 'has_scripts()', 'has_data_files()' methods.

24 years agoAdded missing import.
Greg Ward [Sat, 20 May 2000 14:07:59 +0000 (14:07 +0000)]
Added missing import.

24 years agoLyle Johnson: added stubs for the four miscellaneous methods that must be
Greg Ward [Sat, 20 May 2000 13:31:32 +0000 (13:31 +0000)]
Lyle Johnson: added stubs for the four miscellaneous methods that must be
implemented by subclasses, since they are needed by 'gen_lib_options()'.

24 years agoAdded support for the 'export_symbols' parameter to 'link_shared_object()'
Greg Ward [Sat, 20 May 2000 13:23:21 +0000 (13:23 +0000)]
Added support for the 'export_symbols' parameter to 'link_shared_object()'
and 'link_shared_lib()'.  In MSVCCompiler, this is meaningful: it adds
/EXPORT: options to the linker command line.  In UnixCCompiler, it
is ignored.

24 years agoAdd call to putheader('Host', 'www.python.org') to the example.
Guido van Rossum [Fri, 19 May 2000 23:06:45 +0000 (23:06 +0000)]
Add call to putheader('Host', 'www.python.org') to the example.

24 years agoFix the test for socklen_t so that it searches through sys/socket.h.
Guido van Rossum [Thu, 18 May 2000 20:53:31 +0000 (20:53 +0000)]
Fix the test for socklen_t so that it searches through sys/socket.h.

24 years agoNew description for math.frexp() -- poor description noted by
Fred Drake [Thu, 18 May 2000 05:07:38 +0000 (05:07 +0000)]
New description for math.frexp() -- poor description noted by
Francois Pinard.

24 years agomacfsn should always be included, like exceptions and site.
Jack Jansen [Wed, 17 May 2000 13:27:09 +0000 (13:27 +0000)]
macfsn should always be included, like exceptions and site.

24 years agoDonn Cave <donn@oz.net>:
Fred Drake [Tue, 16 May 2000 13:30:12 +0000 (13:30 +0000)]
Donn Cave <donn@oz.net>:
BeOS (up to 5.0) lacks <netinet/tcp.h>.

24 years agoManually added HRHTMLRenderingLibAvailable.
Jack Jansen [Mon, 15 May 2000 15:36:52 +0000 (15:36 +0000)]
Manually added HRHTMLRenderingLibAvailable.
Blacklist HRDisposeReference and call it in the dispose routine.

24 years agoSlowly becoming functional...
Jack Jansen [Mon, 15 May 2000 15:35:08 +0000 (15:35 +0000)]
Slowly becoming functional...

24 years agoInterface to macOS 9 HTMLRenderingLib. Not yet functional.
Jack Jansen [Sun, 14 May 2000 22:05:36 +0000 (22:05 +0000)]
Interface to macOS 9 HTMLRenderingLib. Not yet functional.

24 years agoChanged default developer name.
Gregory P. Smith [Sat, 13 May 2000 03:35:05 +0000 (03:35 +0000)]
Changed default developer name.
Added some guiding comments.

24 years agoTemplate for writing Distutils command modules.
Gregory P. Smith [Sat, 13 May 2000 03:32:36 +0000 (03:32 +0000)]
Template for writing Distutils command modules.

24 years agoContribution from Harry Henry Gebel: the 'bdist_rpm' command.
Gregory P. Smith [Sat, 13 May 2000 03:11:40 +0000 (03:11 +0000)]
Contribution from Harry Henry Gebel: the 'bdist_rpm' command.

(Completely uninspected and untested by me, this is just to
get the code into CVS!)

24 years agoIn 'install_misc': 'self.outfiles' defaults to the empty list, so we don't
Gregory P. Smith [Sat, 13 May 2000 03:10:30 +0000 (03:10 +0000)]
In 'install_misc': 'self.outfiles' defaults to the empty list, so we don't
have to worry about "or []" in 'get_outputs()'.

24 years agoList data files are listed in the Distribution attribute 'data_files',
Gregory P. Smith [Sat, 13 May 2000 03:09:50 +0000 (03:09 +0000)]
List data files are listed in the Distribution attribute 'data_files',
rather than 'data'.

24 years agoAdded the 'bdist_base' option, the base temp directory for all bdist commands.
Gregory P. Smith [Sat, 13 May 2000 03:08:28 +0000 (03:08 +0000)]
Added the 'bdist_base' option, the base temp directory for all bdist commands.

24 years agoAdded 'get_inputs()' methods, needed by the "install" command's
Gregory P. Smith [Sat, 13 May 2000 03:07:53 +0000 (03:07 +0000)]
Added 'get_inputs()' methods, needed by the "install" command's
'get_inputs()'.

24 years agoDrastically simplified by taking advantage of the "install" command's
Gregory P. Smith [Sat, 13 May 2000 03:06:56 +0000 (03:06 +0000)]
Drastically simplified by taking advantage of the "install" command's
new flexibility, specifically the 'root' option.  Now, we just use
"install" to do a fake installation into a temporary directory
(the 'bdist_dir' option, which derives from the 'bdist_base' option of
"bdist"), and then tar/zip up that directory.  This means that dumb
built distributions are now relative to the root directory, rather than
the prefix or exec-prefix; this is probably a feature, but does make
them slightly less flexible.

24 years agoRename 'build_bdist' to 'bdist_base', and get it by default from the
Gregory P. Smith [Sat, 13 May 2000 02:30:15 +0000 (02:30 +0000)]
Rename 'build_bdist' to 'bdist_base', and get it by default from the
"bdist" command rather than "build".

24 years agoTypo fix.
Gregory P. Smith [Sat, 13 May 2000 02:20:43 +0000 (02:20 +0000)]
Typo fix.

24 years agoMade the '--record' option take an argument, which is the name of the
Gregory P. Smith [Sat, 13 May 2000 02:16:45 +0000 (02:16 +0000)]
Made the '--record' option take an argument, which is the name of the
file to write the list of installed files to.

24 years agoDitch the explicit search for *.py[co] files -- they're now included in
Gregory P. Smith [Sat, 13 May 2000 02:13:53 +0000 (02:13 +0000)]
Ditch the explicit search for *.py[co] files -- they're now included in
the list returned by 'get_outputs()', thanks to changes in the
"install_lib" command.

24 years agoAdded '_bytecode_filenames()' method, and use it in 'get_outputs()'
Gregory P. Smith [Sat, 13 May 2000 02:11:10 +0000 (02:11 +0000)]
Added '_bytecode_filenames()' method, and use it in 'get_outputs()'
to ensure that compiled bytecode files are considered part of the output
of the "install_lib" command.

24 years agoMoved check for installation to non-sys.path location so it comes
Gregory P. Smith [Sat, 13 May 2000 02:01:22 +0000 (02:01 +0000)]
Moved check for installation to non-sys.path location so it comes
last (after writing list of installed files) -- that way, the warning
is more visible.

24 years agoHarry Henry Gebel: add the "--record" option to write the list of
Gregory P. Smith [Sat, 13 May 2000 01:58:19 +0000 (01:58 +0000)]
Harry Henry Gebel: add the "--record" option to write the list of
installed files to INSTALLED_FILES.

24 years agoAdded the 'build_bdist' option and code to clean it up -- this is the
Gregory P. Smith [Sat, 13 May 2000 01:56:55 +0000 (01:56 +0000)]
Added the 'build_bdist' option and code to clean it up -- this is the
top-level temporary directory for creating built distributions.  (Won't
work yet, since the "build" command doesn't yet have a 'build_bdist'
option, and none of the "bdist" commands support it yet.)

24 years agoHarry Henry Gebel: get extra compiler flags from the CFLAGS environment
Gregory P. Smith [Sat, 13 May 2000 01:52:14 +0000 (01:52 +0000)]
Harry Henry Gebel: get extra compiler flags from the CFLAGS environment
variable.

(Is this really needed?  Can we drop it when the config file mechanism
allows users to set compiler flags in setup.cfg?)

24 years agoHarry Henry Gebel: add support for the 'bdist_rpm' command, specifically
Gregory P. Smith [Sat, 13 May 2000 01:49:56 +0000 (01:49 +0000)]
Harry Henry Gebel: add support for the 'bdist_rpm' command, specifically
the 'no_format_option' class attribute.

24 years agoHarry Henry Gebel: add 'bdist_rpm' command.
Gregory P. Smith [Sat, 13 May 2000 01:48:15 +0000 (01:48 +0000)]
Harry Henry Gebel: add 'bdist_rpm' command.

24 years agoFrom Lyle Johnson: renamed 'implib_dir' to 'implib_file', and
Gregory P. Smith [Sat, 13 May 2000 01:35:33 +0000 (01:35 +0000)]
From Lyle Johnson: renamed 'implib_dir' to 'implib_file', and
correctly ensure that it's 'dirname' exists.

24 years ago(Temporarily) revived after a long sleep, for building MacPython without GUSI
Jack Jansen [Fri, 12 May 2000 21:37:45 +0000 (21:37 +0000)]
(Temporarily) revived after a long sleep, for building MacPython without GUSI

24 years agoFixed to work again without USE_GUSI and with USE_MSL_MALLOC
Jack Jansen [Fri, 12 May 2000 21:37:10 +0000 (21:37 +0000)]
Fixed to work again without USE_GUSI and with USE_MSL_MALLOC

24 years agoFixed to work again without USE_GUSI
Jack Jansen [Fri, 12 May 2000 21:36:29 +0000 (21:36 +0000)]
Fixed to work again without USE_GUSI

24 years agoAdded unicodedata and _codecs modules (which had apparently slipped through until...
Jack Jansen [Fri, 12 May 2000 21:36:06 +0000 (21:36 +0000)]
Added unicodedata and _codecs modules (which had apparently slipped through until now).

24 years agoFirst tiny steps towards Carbon: this project currently builds a PythonStandSmall...
Jack Jansen [Fri, 12 May 2000 21:29:58 +0000 (21:29 +0000)]
First tiny steps towards Carbon: this project currently builds a PythonStandSmall without GUSI and with standard MSL malloc. Socket and select are the main victims of this.

24 years agoRemoving thread.h -- it has been obsolete for quite a while.
Guido van Rossum [Fri, 12 May 2000 14:21:10 +0000 (14:21 +0000)]
Removing thread.h -- it has been obsolete for quite a while.

24 years agoAdded comment/docstring/revision header.
Gregory P. Smith [Fri, 12 May 2000 01:58:29 +0000 (01:58 +0000)]
Added comment/docstring/revision header.

24 years agoFixed 'select_scheme()' so it doesn't override a directory attribute that's
Gregory P. Smith [Fri, 12 May 2000 01:54:50 +0000 (01:54 +0000)]
Fixed 'select_scheme()' so it doesn't override a directory attribute that's
already been set (eg. by a command-line option).

24 years agoAdded --skip-build option, so lazy debuggers/testers (mainly me) don't
Gregory P. Smith [Fri, 12 May 2000 01:46:47 +0000 (01:46 +0000)]
Added --skip-build option, so lazy debuggers/testers (mainly me) don't
have to wade through all the 'build' output when testing installation.

24 years agoCaught up with renaming in 'install_misc' base class.
Gregory P. Smith [Fri, 12 May 2000 01:34:33 +0000 (01:34 +0000)]
Caught up with renaming in 'install_misc' base class.

24 years agoDeleted some cruft.
Gregory P. Smith [Fri, 12 May 2000 01:32:30 +0000 (01:32 +0000)]
Deleted some cruft.
Caught up with renaming in 'install_misc' base class.
Changed 'run()' to chmod installed scripts under Unix.

24 years agoIn 'install_misc' class:
Gregory P. Smith [Fri, 12 May 2000 01:31:37 +0000 (01:31 +0000)]
In 'install_misc' class:
  - renamed '_copydata()' to 'copy_files()'
  - changed it to record complete output filenames
  - dropped '_outputdata()' in favour of much simpler 'get_outputs()'

24 years agoDoc patch from Bastein Kleineidam: start to describe the 'install' command
Gregory P. Smith [Fri, 12 May 2000 00:58:18 +0000 (00:58 +0000)]
Doc patch from Bastein Kleineidam: start to describe the 'install' command
family, including the new 'install_scripts' and 'install_data' commands.

24 years agoPatch from Bastien Kleineidam:
Gregory P. Smith [Fri, 12 May 2000 00:52:23 +0000 (00:52 +0000)]
Patch from Bastien Kleineidam:
adds the 'install_data' and 'install_scripts' commands; these two
are trivial thanks to the 'install_misc' base class in cmd.py.
(Minor tweaks and commentary by me; the code is untested so far.)

24 years agoCall 'parse_config_files()' at the appropriate point.
Gregory P. Smith [Fri, 12 May 2000 00:42:19 +0000 (00:42 +0000)]
Call 'parse_config_files()' at the appropriate point.
Tweaked error-generating code.

24 years agoPreliminary support for config files:
Gregory P. Smith [Fri, 12 May 2000 00:41:33 +0000 (00:41 +0000)]
Preliminary support for config files:
  - added 'find_config_files()' and 'parse_config_files()' methods
  - added 'command_options' attribute
Comment/docstring updates.

24 years agoMade 'check_environ()' "public" by stripping the leading underscore;
Gregory P. Smith [Fri, 12 May 2000 00:40:00 +0000 (00:40 +0000)]
Made 'check_environ()' "public" by stripping the leading underscore;
added a global '_environ_checked' so we know if it's already been
called.

24 years agoFix from Lyle Johnson: add the '--compiler' option.
Gregory P. Smith [Fri, 12 May 2000 00:34:12 +0000 (00:34 +0000)]
Fix from Lyle Johnson: add the '--compiler' option.
Also added creation of 'implib_dir', a temporary directory specific to
  MSVC++ -- but I checked in two ways of fixing it (Lyle's and mine),
  because I'm not sure which is right.

24 years agoFix from Lyle Johnson: add the '--compiler' option.
Gregory P. Smith [Fri, 12 May 2000 00:33:14 +0000 (00:33 +0000)]
Fix from Lyle Johnson: add the '--compiler' option.

24 years agoThe addition of rint() (by Peter Schneider-Kamp; I forgot to mention
Guido van Rossum [Thu, 11 May 2000 18:42:27 +0000 (18:42 +0000)]
The addition of rint() (by Peter Schneider-Kamp; I forgot to mention
that before) in the previous patch has one problem; rint() is not in
the C math library on all platforms (e.g. not for VC++).  Make it
conditional on HAVE_RINT.

24 years agoAdd check for rint() in math library.
Guido van Rossum [Thu, 11 May 2000 18:41:32 +0000 (18:41 +0000)]
Add check for rint() in math library.

24 years agoRemove stdwin references
Guido van Rossum [Thu, 11 May 2000 18:29:05 +0000 (18:29 +0000)]
Remove stdwin references

24 years agoRemoving junk
Guido van Rossum [Thu, 11 May 2000 18:28:03 +0000 (18:28 +0000)]
Removing junk

24 years agoremoving more stdwin users
Guido van Rossum [Thu, 11 May 2000 18:27:21 +0000 (18:27 +0000)]
removing more stdwin users

24 years agoAdded a few new names...
Guido van Rossum [Thu, 11 May 2000 18:20:30 +0000 (18:20 +0000)]
Added a few new names...

24 years agoAdded math.rint() -- round according to current IEEE754 mode
Guido van Rossum [Thu, 11 May 2000 18:19:42 +0000 (18:19 +0000)]
Added math.rint() -- round according to current IEEE754 mode