]> granicus.if.org Git - python/log
python
25 years agoCatch up with latest changes in CCompiler:
Greg Ward [Wed, 29 Sep 1999 12:29:10 +0000 (12:29 +0000)]
Catch up with latest changes in CCompiler:
  - add 'extra_preargs' and 'extra_postargs' parameters (and use them!)
  - got rid of 'build_info' kludge parameter
  - added 'compiler_type' class attribute
  - respect reordered arguments to 'gen_lib_options()'
Also added 'output_dir' parameter (catching up with older change in
  CCompiler) -- BUT this is presently ignored by all methods!
Deleted some more docstrings redundant with CCompiler.
Dropped generated of "/DEF:" argument --- that's now done by
  the 'build_ext' command.

25 years agoCatch up with latest changes in CCompiler:
Greg Ward [Wed, 29 Sep 1999 12:22:50 +0000 (12:22 +0000)]
Catch up with latest changes in CCompiler:
  - add 'extra_preargs' and 'extra_postargs' parameters (and use them!)
  - added 'compiler_type' class attribute
  - respect reordered arguments to 'gen_lib_options()'

25 years agoAdded 'extra_preargs' and 'extra_postargs' parameters to most methods,
Greg Ward [Wed, 29 Sep 1999 12:20:55 +0000 (12:20 +0000)]
Added 'extra_preargs' and 'extra_postargs' parameters to most methods,
  which allowed us to get rid of the 'build_info' used in some places
  (a temporary kludge to support MSVC++ "def" files).
Deleted big comment whining about that kludge.
Added 'compiler_type' class attribute.
Overhauled 'new_compiler()': now takes 'compiler' argument along with
  'plat' (both optional with sensible defaults), and looks them both up
  in the new 'default_compiler' and 'compiler_class' dictionaries to
  figure out where to get the concrete compiler class from.
Reordered arguments to 'gen_lib_options()' to match the order in
  which the arguments are generated (ie. -L before -l).

25 years agoMore tweaks to 'mkpath()':
Greg Ward [Wed, 29 Sep 1999 12:14:16 +0000 (12:14 +0000)]
More tweaks to 'mkpath()':
  - deal with empty tail from os.path.split() (eg. from trailing slash,
    or backslash, or whatever)
  - check PATH_CREATED hash inside loop as well

25 years agoAdded 'ready' flag and 'ensure_ready()' method to Command: together
Greg Ward [Wed, 29 Sep 1999 12:12:19 +0000 (12:12 +0000)]
Added 'ready' flag and 'ensure_ready()' method to Command: together
  they make sure that 'set_final_options()' has been called, but isn't
  called redundantly.
Changed Distribution to call 'ensure_ready()' where it used to call
  'set_final_options()', and in a few extra places as well.
Lots of comment/docstring revisions and additions in both classes.
New one-liner utility methods in Command: 'find_peer()', 'spawn()'.

25 years agoPatch by Tim Peters fixing PR#88:
Guido van Rossum [Mon, 27 Sep 1999 17:12:47 +0000 (17:12 +0000)]
Patch by Tim Peters fixing PR#88:

Integer division can crash under Windows.

25 years agoPatch by Tim Peters fixing PR#89:
Guido van Rossum [Mon, 27 Sep 1999 17:11:52 +0000 (17:11 +0000)]
Patch by Tim Peters fixing PR#89:

long(+/- infinity) returns nonsense.

25 years agoInitial checkin of IDE scripts. (jvr)
Just van Rossum [Sun, 26 Sep 1999 12:25:06 +0000 (12:25 +0000)]
Initial checkin of IDE scripts. (jvr)

25 years agoAdded support for global default font settings. (jvr)
Just van Rossum [Sun, 26 Sep 1999 12:21:32 +0000 (12:21 +0000)]
Added support for global default font settings. (jvr)

25 years ago1) added "typingcasesens" keyword arg to constructor, and support for case sensitive...
Just van Rossum [Sun, 26 Sep 1999 12:20:08 +0000 (12:20 +0000)]
1) added "typingcasesens" keyword arg to constructor, and support for case sensitive typing in lists.
2) minor cleanups
(jvr)

25 years agoadded do_setwindowfont() menu callback: brings up a font selection dialog. (jvr)
Just van Rossum [Sun, 26 Sep 1999 12:18:19 +0000 (12:18 +0000)]
added do_setwindowfont() menu callback: brings up a font selection dialog. (jvr)

25 years agoadded getdefaultfont() function. Returns default font settings. (jvr)
Just van Rossum [Sun, 26 Sep 1999 12:17:04 +0000 (12:17 +0000)]
added getdefaultfont() function. Returns default font settings. (jvr)

25 years ago1 - added "set default window font" menu
Just van Rossum [Sun, 26 Sep 1999 12:16:22 +0000 (12:16 +0000)]
1 - added "set default window font" menu
2 - updated scripts folder location
(jvr)

25 years agominor cleanup, avoiding rare traceback (jvr)
Just van Rossum [Sun, 26 Sep 1999 12:11:50 +0000 (12:11 +0000)]
minor cleanup, avoiding rare traceback (jvr)

25 years ago"make clobber" should remove modindex.html as well.
Fred Drake [Fri, 24 Sep 1999 13:51:19 +0000 (13:51 +0000)]
"make clobber" should remove modindex.html as well.

Added realclean and distclean as synonyms for clobber.

25 years agoicons/ should not be ignored here now that this is it's real home.
Fred Drake [Fri, 24 Sep 1999 13:48:38 +0000 (13:48 +0000)]
icons/ should not be ignored here now that this is it's real home.

25 years agoAdded --about option to specify the file to load "About this
Fred Drake [Thu, 23 Sep 1999 16:55:09 +0000 (16:55 +0000)]
Added --about option to specify the file to load "About this
document..." text from, defaulting to ../html/about.dat.

25 years agoTell mkhowto to use stdabout.dat for the documents it processes here.
Fred Drake [Thu, 23 Sep 1999 16:54:06 +0000 (16:54 +0000)]
Tell mkhowto to use stdabout.dat for the documents it processes here.

25 years agoRemove some <SPAN> elements that were used only to carry a CLASS
Fred Drake [Thu, 23 Sep 1999 16:53:09 +0000 (16:53 +0000)]
Remove some <SPAN> elements that were used only to carry a CLASS
attribute; stick the CLASS on an existing element.

Use a variable for the name of the file to get "About this
document..." text from.

25 years agoRemove the "Comments and Questions" section, allowing this to be used
Fred Drake [Thu, 23 Sep 1999 16:48:54 +0000 (16:48 +0000)]
Remove the "Comments and Questions" section, allowing this to be used
for non-standard Python documentation.

25 years agoVersion of about.dat that should only be used for the standard
Fred Drake [Thu, 23 Sep 1999 16:48:05 +0000 (16:48 +0000)]
Version of about.dat that should only be used for the standard
documentation.

25 years agoRemove some <SPAN> elements that were used only to carry a CLASS
Fred Drake [Thu, 23 Sep 1999 16:45:08 +0000 (16:45 +0000)]
Remove some <SPAN> elements that were used only to carry a CLASS
attribute; stick the CLASS on an existing element.

25 years agoOops, missed this one!
Fred Drake [Thu, 23 Sep 1999 15:38:14 +0000 (15:38 +0000)]
Oops, missed this one!

25 years agoimg_tag(): Tighten up the generated SRC attribute a bit; if the image
Fred Drake [Thu, 23 Sep 1999 15:29:45 +0000 (15:29 +0000)]
img_tag():  Tighten up the generated SRC attribute a bit; if the image
            relative URL starts with "./", remove "./".

25 years agodo_cmd_rfc(): Simplify the generated markup.
Fred Drake [Wed, 22 Sep 1999 19:58:51 +0000 (19:58 +0000)]
do_cmd_rfc():  Simplify the generated markup.

25 years agoAdded --image-type option to allow use of either GIF or PNG images.
Fred Drake [Wed, 22 Sep 1999 19:55:35 +0000 (19:55 +0000)]
Added --image-type option to allow use of either GIF or PNG images.

Job.warning():  New method; use this instead of writing to sys.stderr
                directly.  Ensures warnings are also sent to the log
                file.

Job.log():  New method; write a message to the log file.  Use from
            .message() and .warning().

25 years agoSome updates to allow ../tools/mkhowto to add various bits to the
Fred Drake [Wed, 22 Sep 1999 19:50:51 +0000 (19:50 +0000)]
Some updates to allow ../tools/mkhowto to add various bits to the
supplemental l2h initialization file it creates and still get all the
right behavior.  In particular, it can change the image type and icon
location and not get inconsistent results.

Some code to help suppress various navigational pages; this might be
interesting when generating HTML to create HTML Help documents, since
the navigation support creates confusing hits in the full text
search.  HTML Help also provides a lot of the navigational
infrastructure, so duplicating it makes it more tedious to use.

25 years agomain(): wrap the device.setinfo() call around an exception handler.
Barry Warsaw [Wed, 22 Sep 1999 15:45:51 +0000 (15:45 +0000)]
main(): wrap the device.setinfo() call around an exception handler.
It's possible to get a sunaudiodev.error (errno == EINVAL), although
I'm not exactly sure why, this at least won't crash the application.

25 years agoAdded docstring and RCS id (apparently some Windows tar extractors
Greg Ward [Wed, 22 Sep 1999 15:24:04 +0000 (15:24 +0000)]
Added docstring and RCS id (apparently some Windows tar extractors
ignore zero-byte files: grr...).

25 years agoPNG version of the icons, converted from the GIFs
Fred Drake [Wed, 22 Sep 1999 14:38:25 +0000 (14:38 +0000)]
PNG version of the icons, converted from the GIFs
by Michael Hudson <mwh21@cam.ac.uk>.

25 years agoDitched the whole notion of "alias options": this meant dropping the
Greg Ward [Tue, 21 Sep 1999 18:41:36 +0000 (18:41 +0000)]
Ditched the whole notion of "alias options": this meant dropping the
  'alias_options' table and getting rid of some hairy code in the
  Distribution constructor.
Resurrected the distribution options that describe the modules present
  in the module distribution ('py_modules', 'ext_modules'), and added
  a bunch more: 'packages', 'package_dir', 'ext_package', 'include_dirs',
  'install_path'.
Updated some comments.
Added 'warn()' method to Command.
'Command.get_command_name()' now stores generated command name in
  self.command_name.

25 years agoAdded 'write_file()' function.
Greg Ward [Tue, 21 Sep 1999 18:37:51 +0000 (18:37 +0000)]
Added 'write_file()' function.
Added global cache PATH_CREATED used by 'mkpath()' to ensure it doesn't
  try to create the same path more than once in a session (and, more
  importantly, to ensure that it doesn't print "creating X" more than
  once for each X per session!).

25 years agoIn 'link_shared_object()', try to be less sensitive to missing input files
Greg Ward [Tue, 21 Sep 1999 18:36:15 +0000 (18:36 +0000)]
In 'link_shared_object()', try to be less sensitive to missing input files
in dry-run mode.

25 years agoTypecheck elements of 'macros' parameter in 'gen_preprocess_options().
Greg Ward [Tue, 21 Sep 1999 18:35:09 +0000 (18:35 +0000)]
Typecheck elements of 'macros' parameter in 'gen_preprocess_options().

25 years agoAdded docstring, brought __all__ up-to-date.
Greg Ward [Tue, 21 Sep 1999 18:33:09 +0000 (18:33 +0000)]
Added docstring, brought __all__ up-to-date.

25 years agoAdded 'install_path' option for giving non-packagized module
Greg Ward [Tue, 21 Sep 1999 18:31:14 +0000 (18:31 +0000)]
Added 'install_path' option for giving non-packagized module
  distributions their own directory (and .pth file).
Overhauled how we determine installation directories in
  'set_final_options()' to separate platform-dependence and take
  'install_path' option into account.
Added 'create_path_file()' to create path config file when 'install_path'
  given.
Only run 'install_py' and 'install_ext' when, respectively, there are
  some pure Python modules and some extension modules in the distribution.

25 years agoOnly run build_py if we have pure Python modules, and build_ext if we
Greg Ward [Tue, 21 Sep 1999 18:27:55 +0000 (18:27 +0000)]
Only run build_py if we have pure Python modules, and build_ext if we
have extension modules.

25 years agoSome option changes:
Greg Ward [Tue, 21 Sep 1999 18:27:12 +0000 (18:27 +0000)]
Some option changes:
  - rename 'dir' to 'build_dir'
  - take 'package' from distribution option 'ext_package'
  - take 'extensions' from distribution option 'ext_modules'
  - take 'include_dirs' from distribution
Name keyword args explictly when calling CCompiler methods.
Overhauled how we generate extension filenames (in 'extension_filename()
  and 'build_extension()') to take 'package' option into account.

25 years agoBasically a complete rewrite to support dealing with modules in whole
Greg Ward [Tue, 21 Sep 1999 18:22:34 +0000 (18:22 +0000)]
Basically a complete rewrite to support dealing with modules in whole
packages and searching for source files by 'package_dir'.

25 years agoAdded section about where to send comments, questions, & bug reports.
Fred Drake [Tue, 21 Sep 1999 15:45:06 +0000 (15:45 +0000)]
Added section about where to send comments, questions, & bug reports.

25 years agoparser__pickler(): Don't drop the third argument to
Fred Drake [Mon, 20 Sep 1999 22:32:18 +0000 (22:32 +0000)]
parser__pickler():  Don't drop the third argument to
        parser_ast2tuple().  Create an temporary empty dictionary to
        use.  Bug reported by Mark Favas <m.favas@per.dem.csiro.au>.

Fix a couple of comments.

25 years agoAdded comment with web location of bsddb windows port.
Guido van Rossum [Mon, 20 Sep 1999 13:28:18 +0000 (13:28 +0000)]
Added comment with web location of bsddb windows port.

25 years agoPeter Haight discovered that this code uses a mutable default for cnf
Guido van Rossum [Mon, 20 Sep 1999 00:39:47 +0000 (00:39 +0000)]
Peter Haight discovered that this code uses a mutable default for cnf
and then (under certain circumstances) can clobber the default!
He also submitted this patch as PR#82.

25 years agoTim Peters fixed PR#75: very long lines cause incorrect tracebacks.
Guido van Rossum [Sat, 18 Sep 1999 20:49:39 +0000 (20:49 +0000)]
Tim Peters fixed PR#75: very long lines cause incorrect tracebacks.

25 years agoErik Lindvall contributed a BSD/OS 4 patch for LDSHARED.
Guido van Rossum [Fri, 17 Sep 1999 15:40:40 +0000 (15:40 +0000)]
Erik Lindvall contributed a BSD/OS 4 patch for LDSHARED.

25 years agoos.name: Note that 'java' is one of the registered names.
Fred Drake [Fri, 17 Sep 1999 14:38:39 +0000 (14:38 +0000)]
os.name:  Note that 'java' is one of the registered names.

25 years agoAdded documentation for inet_aton() and inet_ntoa(), from Ben
Fred Drake [Thu, 16 Sep 1999 15:50:00 +0000 (15:50 +0000)]
Added documentation for inet_aton() and inet_ntoa(), from Ben
Gertzfield <che@debian.org> (with minor changes).

(Should have been here instead of in the branch in the first place,
since these weren't in for the 1.5.2 release.)

25 years agoTim Peters writes:
Guido van Rossum [Wed, 15 Sep 1999 22:48:09 +0000 (22:48 +0000)]
Tim Peters writes:

For a long time I've seen absurd tracebacks under -O (e.g., negative
line numbers), but very rarely.  Since I was looking at tracebacks
anyway, thought I'd track it down.  Turns out to be Guido's only
predictable blind spot <wink -- "char" is signed on some non-GvR
systems>.  Patch follows.

25 years agoAfter much hemming and hawing, we decided to roll back Fred's change.
Guido van Rossum [Wed, 15 Sep 1999 22:15:23 +0000 (22:15 +0000)]
After much hemming and hawing, we decided to roll back Fred's change.
It breaks Mailman, it was actually documented in the docstring, so it
was an intentional deviation from the usual del semantics.  Let's
document the original behavior in Doc/lib/librfc822.tex.

25 years ago(1) On Linux, we really need to trust the configure script to select
Guido van Rossum [Wed, 15 Sep 1999 22:01:40 +0000 (22:01 +0000)]
(1) On Linux, we really need to trust the configure script to select
the right variant of gethostbyname_r for us, since not all Linuxes are
equal in this respect.  Reported by Laurent Pointal.

(2) On BeOS, Chris Herborth reports that instead of arpa/inet.h you
must include net/netdb.h to get the inet_ntoa() and inet_addr()
prototypes.

25 years agoTypo: the method called is do_SPAM, not handle_SPAM.
Guido van Rossum [Wed, 15 Sep 1999 15:28:25 +0000 (15:28 +0000)]
Typo: the method called is do_SPAM, not handle_SPAM.

25 years agoPut Sam Rushing's original RCS ID string back, without dollars around it.
Guido van Rossum [Tue, 14 Sep 1999 20:17:50 +0000 (20:17 +0000)]
Put Sam Rushing's original RCS ID string back, without dollars around it.

25 years agoPut Sam Rushing's original RCS ID string back, without dollars around it.
Guido van Rossum [Tue, 14 Sep 1999 20:16:00 +0000 (20:16 +0000)]
Put Sam Rushing's original RCS ID string back, without dollars around it.

25 years agoAdded "import string" to a couple of examples that describe string
Fred Drake [Tue, 14 Sep 1999 18:00:49 +0000 (18:00 +0000)]
Added "import string" to a couple of examples that describe string
module functions, to clarify that the import is not automatic.
Suggested by Koray Oner <Koray.Oner@Eng.Sun.COM>.

25 years agoChanged selection of installation directories (in 'set_final_options()')
Greg Ward [Mon, 13 Sep 1999 13:58:34 +0000 (13:58 +0000)]
Changed selection of installation directories (in 'set_final_options()')
so that pure Python modules are installed to the platform-specific
directory if there are any extension modules in this distribution.

25 years agoStraightened up the selection of installation directories for platform-
Greg Ward [Mon, 13 Sep 1999 13:57:26 +0000 (13:57 +0000)]
Straightened up the selection of installation directories for platform-
  specific files; it was somewhat broken, and the comments were dead
  wrong.
Now runs 'install_ext' command after 'install_py'.

25 years agoAdded support for 'package' option, including where to link the
Greg Ward [Mon, 13 Sep 1999 13:55:34 +0000 (13:55 +0000)]
Added support for 'package' option, including where to link the
actual extension module to.

25 years agoComment addition.
Greg Ward [Mon, 13 Sep 1999 13:54:06 +0000 (13:54 +0000)]
Comment addition.

25 years agoNow run 'build_ext'.
Greg Ward [Mon, 13 Sep 1999 13:52:12 +0000 (13:52 +0000)]
Now run 'build_ext'.
Default platform-specific build directory changed to 'build/platlib'.

25 years agoTim Peters discovered a bug in the Python-supplied getopt():
Guido van Rossum [Mon, 13 Sep 1999 13:45:32 +0000 (13:45 +0000)]
Tim Peters discovered a bug in the Python-supplied getopt():
it doesn't recognize a lone dash as a non-flag argument.
Now it does.

25 years agoAdded 'output_dir' parameter to 'compile()' and 'link_shared_object().
Greg Ward [Mon, 13 Sep 1999 03:12:53 +0000 (03:12 +0000)]
Added 'output_dir' parameter to 'compile()' and 'link_shared_object().
Changed those two methods to only compile/link if necessary (according
  to simplistic timestamp checks).
Added 'output_dir' to 'object_filenames()' and 'shared_object_filename()'.

25 years agoNew command -- install_ext to install extension modules.
Greg Ward [Mon, 13 Sep 1999 03:10:25 +0000 (03:10 +0000)]
New command -- install_ext to install extension modules.

25 years agoAdded 'newer_pairwise()' and 'newer_group()'.
Greg Ward [Mon, 13 Sep 1999 03:09:38 +0000 (03:09 +0000)]
Added 'newer_pairwise()' and 'newer_group()'.
Terminology change in 'newer()'.
Made 'copy_tree' respect dry_run flag a little better.
Added 'move_file()'.

25 years agoAdded 'output_dir' attribute, and 'output_dir' parameter to several method
Greg Ward [Mon, 13 Sep 1999 03:07:24 +0000 (03:07 +0000)]
Added 'output_dir' attribute, and 'output_dir' parameter to several method
  signatures, and updated some docstrings to reflect it.
Some comments added.
Added 'announce()' and 'move_file()' methods.

25 years agoFixed some goofs in 'alias_options'.
Greg Ward [Mon, 13 Sep 1999 03:03:01 +0000 (03:03 +0000)]
Fixed some goofs in 'alias_options'.
Error message tweak in Command.set_option().
Added Command.get_peer_option().
Added Command.move_file() wrapper.

25 years agoMessage.__delitem__(): If the key doesn't exist in the dictionary,
Fred Drake [Fri, 10 Sep 1999 20:54:53 +0000 (20:54 +0000)]
Message.__delitem__():  If the key doesn't exist in the dictionary,
        raise KeyError instead of failing silently!

25 years agoFix for PR#74 -- use int() instead of eval() to extract the exponent.
Guido van Rossum [Fri, 10 Sep 1999 14:34:48 +0000 (14:34 +0000)]
Fix for PR#74 -- use int() instead of eval() to extract the exponent.

25 years agocanonic(): This used to be equivalent to str() but that caused too
Barry Warsaw [Thu, 9 Sep 1999 23:24:33 +0000 (23:24 +0000)]
canonic(): This used to be equivalent to str() but that caused too
much breakage (esp. in JPython which holds absolute path names in
co_filename already).  This implementation uses os.path.abspath() as a
slightly better way to canonicalize path names.  It implements a
cache.

25 years agoPdb.lineinfo(): Don't use os.popen('egrep ...') to find the line in
Barry Warsaw [Thu, 9 Sep 1999 16:32:41 +0000 (16:32 +0000)]
Pdb.lineinfo(): Don't use os.popen('egrep ...') to find the line in
the file that a function is defined on.  Non-portable to Windows and
JPython.  Instead, new find_function() uses re module on a similar
(simple-minded) pattern.

25 years agoIt appears that inet_aton() doesn't really exist except in libresolv;
Guido van Rossum [Thu, 9 Sep 1999 15:42:59 +0000 (15:42 +0000)]
It appears that inet_aton() doesn't really exist except in libresolv;
the proper function to call is inet_addr().  Since we already had code
to do that (for MS-Windows), this simplifies things a lot!

25 years agoMake the maxsize constructor argument default to 0 (an unlimited queue size).
Guido van Rossum [Thu, 9 Sep 1999 14:54:28 +0000 (14:54 +0000)]
Make the maxsize constructor argument default to 0 (an unlimited queue size).

25 years agoAdded keyword parameter support to all public interfaces; keyword
Fred Drake [Thu, 9 Sep 1999 14:21:52 +0000 (14:21 +0000)]
Added keyword parameter support to all public interfaces; keyword
names match the documentation.

Removed broken code that supports the __methods__ attribute on ast
objects; the right magic was added to Py_FindMethod() since this was
originally written.  <ast-object>.__methods__ now works, so dir() and
rlcompleter are happy.

25 years agoName the parameter to expr() and suite() "source" instead of "string".
Fred Drake [Thu, 9 Sep 1999 14:16:36 +0000 (14:16 +0000)]
Name the parameter to expr() and suite() "source" instead of "string".

25 years agoA few new TODO entries.
Guido van Rossum [Thu, 9 Sep 1999 14:16:02 +0000 (14:16 +0000)]
A few new TODO entries.

25 years agocall_trace(): A fix for PR#73, if an exception occurred in the
Barry Warsaw [Wed, 8 Sep 1999 16:26:33 +0000 (16:26 +0000)]
call_trace(): A fix for PR#73, if an exception occurred in the
tracefunc (or profilefunc -- we're not sure which), zap the global
trace and profile funcs so that we can't get into recursive loop when
instantiating the resulting class based exception.

25 years agoChanged to reflect the new "command options" regime -- in particular,
Greg Ward [Wed, 8 Sep 1999 02:42:30 +0000 (02:42 +0000)]
Changed to reflect the new "command options" regime -- in particular,
we no longer explicitly pull distribution options out of our Distribution
object, but rather let the Distribution put them into the command object.

25 years agoCareful rethink of command options, distribution options, distribution
Greg Ward [Wed, 8 Sep 1999 02:41:09 +0000 (02:41 +0000)]
Careful rethink of command options, distribution options, distribution
  attributes, etc.  Biggest change was to the Distribution constructor
  -- it now looks for an 'options' attribute, which contains values
  (options) that are explicitly farmed out to the commands.  Also,
  certain options supplied to Distribution (ie. in the 'setup()' call in
  setup.py) are now "command option aliases", meaning they are dropped
  right into a certain command rather than being distribution options.
  This is handled by a new Distribution class attribute,
  'alias_options'.
Various comment changes to reflect the new way-of-thinking.
Added 'get_command_name()' method to Command -- was assuming its
  existence all along as 'command_name()', so changed the code that
  needs it to call 'get_command_name()'.

25 years agoDitched redundant docstrings and comments (overlap with ccompiler.py).
Greg Ward [Wed, 8 Sep 1999 02:36:01 +0000 (02:36 +0000)]
Ditched redundant docstrings and comments (overlap with ccompiler.py).
Ditched redundant '_gen_preprocess_options()' and '_gen_lib_options()'
  -- now provided by ccompiler.py.
Fixed some filename extension variables -- added missing period.
Cosmetic tweaks.

25 years agoDitched '_gen_preprocess_options()' and '_gen_lib_options()' -- they're
Greg Ward [Wed, 8 Sep 1999 02:32:19 +0000 (02:32 +0000)]
Ditched '_gen_preprocess_options()' and '_gen_lib_options()' -- they're
  now provided (minus the leading underscore) by the ccompiler module.
Fix 'compile()' to return the list of object files generated.
Cosmetic tweaks/delete cruft.

25 years agoos.name is "posix" or "nt" or we don't care.
Greg Ward [Wed, 8 Sep 1999 02:29:08 +0000 (02:29 +0000)]
os.name is "posix" or "nt" or we don't care.
Added big comment about the kludginess of passing 'build_options'
  to the link methods and how to fix it.
Added 'gen_preprocess_options()' and 'gen_lib_options()' convenience
  functions -- the two cases are very similar for Unix C Compilers and
  VC++, so I figured I might as well unify the implementations.

25 years ago[from 1999/08/28]
Greg Ward [Wed, 8 Sep 1999 02:23:28 +0000 (02:23 +0000)]
[from 1999/08/28]
Apparently os.name is "nt" or "posix" or we don't care.
Cosmetic tweaks.

25 years agoFixed memory leak in ratecv, in response to PR#72. By Sjoerd Mullender.
Guido van Rossum [Tue, 7 Sep 1999 14:24:05 +0000 (14:24 +0000)]
Fixed memory leak in ratecv, in response to PR#72.  By Sjoerd Mullender.

25 years agoFixed 'return EOFError' that should be 'raise EOFError', caught by
Andrew M. Kuchling [Mon, 6 Sep 1999 16:34:51 +0000 (16:34 +0000)]
Fixed 'return EOFError' that should be 'raise EOFError', caught by
Skip Montanaro's return-value patches.

25 years agoCorrect typo in AddressList.__getitem__. By Moshe Zadka.
Guido van Rossum [Fri, 3 Sep 1999 13:23:49 +0000 (13:23 +0000)]
Correct typo in AddressList.__getitem__.  By Moshe Zadka.

25 years agoFix indent error in __format(): del context[objid] at the end should
Guido van Rossum [Thu, 2 Sep 1999 15:09:44 +0000 (15:09 +0000)]
Fix indent error in __format(): del context[objid] at the end should
be executed in all cases, not just when it's not a list, tuple or
dict.  Discovered by Christian Tismer.

25 years agoPatch from Perry Stoll: caught up with changes in CCompiler necessary (?)
Greg Ward [Sun, 29 Aug 1999 18:23:32 +0000 (18:23 +0000)]
Patch from Perry Stoll: caught up with changes in CCompiler necessary (?)
for MSVCCompiler.

25 years agoPatch from Perry Stoll: tweaks to Windows support.
Greg Ward [Sun, 29 Aug 1999 18:22:13 +0000 (18:22 +0000)]
Patch from Perry Stoll: tweaks to Windows support.

25 years agoPatch from Perry Stoll: support for Windows.
Greg Ward [Sun, 29 Aug 1999 18:20:56 +0000 (18:20 +0000)]
Patch from Perry Stoll: support for Windows.

25 years agoPatch from Perry Stoll: import types module.
Greg Ward [Sun, 29 Aug 1999 18:20:32 +0000 (18:20 +0000)]
Patch from Perry Stoll: import types module.

25 years agoPatch from Perry Stoll: typo fix, make sure we only compile .py files.
Greg Ward [Sun, 29 Aug 1999 18:19:37 +0000 (18:19 +0000)]
Patch from Perry Stoll: typo fix, make sure we only compile .py files.

25 years agoPatch from Perry Stoll: OK for list of modules to be empty.
Greg Ward [Sun, 29 Aug 1999 18:19:01 +0000 (18:19 +0000)]
Patch from Perry Stoll: OK for list of modules to be empty.

25 years agoPatch from Perry Stoll: pass 'build_info' to link method.
Greg Ward [Sun, 29 Aug 1999 18:18:26 +0000 (18:18 +0000)]
Patch from Perry Stoll: pass 'build_info' to link method.

25 years agoPatch from Perry Stoll:
Greg Ward [Sun, 29 Aug 1999 18:17:36 +0000 (18:17 +0000)]
Patch from Perry Stoll:
  - fix some broken abstract methods
  - kludge: add 'build_info' parameter to link methods
  - add 'object_name()' and 'shared_library_name()'
  - support for MSVCCompiler class on NT/Win95

25 years agoAdded msvccompiler module exactly as supplied by Perry Stoll.
Greg Ward [Sun, 29 Aug 1999 18:15:07 +0000 (18:15 +0000)]
Added msvccompiler module exactly as supplied by Perry Stoll.

25 years agoPatch by Mark Hammond to avoid certain header files on Windows/CE.
Guido van Rossum [Fri, 27 Aug 1999 20:39:37 +0000 (20:39 +0000)]
Patch by Mark Hammond to avoid certain header files on Windows/CE.

25 years agoTiny patch by Mark Hammond to avoid sys/types.h if we don't have it
Guido van Rossum [Fri, 27 Aug 1999 20:33:52 +0000 (20:33 +0000)]
Tiny patch by Mark Hammond to avoid sys/types.h if we don't have it
(for Windows/CE).

25 years agoAdded descriptions of the t#, w, and w# PyArg_ParseTuple() format
Fred Drake [Fri, 27 Aug 1999 15:28:15 +0000 (15:28 +0000)]
Added descriptions of the t#, w, and w# PyArg_ParseTuple() format
characters; these are the ones for the buffer interface.

25 years agoAdd Python Documentation entry to Help menu.
Guido van Rossum [Thu, 26 Aug 1999 23:06:22 +0000 (23:06 +0000)]
Add Python Documentation entry to Help menu.

25 years agoFind the help.txt file relative to __file__ or ".", not in sys.path.
Guido van Rossum [Thu, 26 Aug 1999 23:06:05 +0000 (23:06 +0000)]
Find the help.txt file relative to __file__ or ".", not in sys.path.
(Suggested by Moshe Zadka, but implemented differently.)

Add <<python-docs>> event which, on Unix, brings up Netscape pointing
to http://www.python.doc/current/ (a local copy would be nice but its
location can't be predicted).  Windows solution TBD.

25 years agoUpdate the instructions slightly.
Fred Drake [Thu, 26 Aug 1999 18:08:13 +0000 (18:08 +0000)]
Update the instructions slightly.

Add a new section describing what each of the tools does, in general
terms.