]> granicus.if.org Git - python/log
python
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.

25 years agoRemoved; no longer needed now that the other tools can handle entity
Fred Drake [Thu, 26 Aug 1999 18:05:23 +0000 (18:05 +0000)]
Removed; no longer needed now that the other tools can handle entity
references directly.

25 years agofeed(): Added support for ESIS '&' lines.
Fred Drake [Thu, 26 Aug 1999 18:04:32 +0000 (18:04 +0000)]
feed():  Added support for ESIS '&' lines.

25 years agoRemove use of fixgenents.sh; no longer needed.
Fred Drake [Thu, 26 Aug 1999 17:57:18 +0000 (17:57 +0000)]
Remove use of fixgenents.sh; no longer needed.

25 years agoSpecify: \geq --> &geq;
Fred Drake [Thu, 26 Aug 1999 17:56:47 +0000 (17:56 +0000)]
Specify:        \geq    --> &geq;
                \leq    --> &leq;
                \LaTeX  --> LaTeX       (just text)
                \TeX    --> TeX         (just text)

25 years agoConversion.subconvert(): Added support for "entityref" parameters
Fred Drake [Thu, 26 Aug 1999 17:54:16 +0000 (17:54 +0000)]
Conversion.subconvert():  Added support for "entityref" parameters
        (must be named in the conversion spec.).

TableParser.start_entityref():  New method.  Use to support creating
        entity references via the conversion specification.

25 years agowrite_esis(): Added support for ENTITY_REFERENCE nodes.
Fred Drake [Thu, 26 Aug 1999 17:51:56 +0000 (17:51 +0000)]
write_esis():  Added support for ENTITY_REFERENCE nodes.

25 years agoconvert(): Add support for ESIS '&' lines, and make sure we don't
Fred Drake [Thu, 26 Aug 1999 17:50:26 +0000 (17:50 +0000)]
convert():  Add support for ESIS '&' lines, and make sure we don't
            silently ignore unrecognized lines.

25 years agoposix_putenv(): Constrain memory leakage when setting the same
Fred Drake [Thu, 26 Aug 1999 17:23:54 +0000 (17:23 +0000)]
posix_putenv():  Constrain memory leakage when setting the same
        environment variable repeatedly.  I posted this to the list
        some time ago, but only now got around to asking g--d- what he
        thought about it.

25 years agoDoco update from Sjoerd Mullender.
Guido van Rossum [Thu, 26 Aug 1999 15:57:44 +0000 (15:57 +0000)]
Doco update from Sjoerd Mullender.

25 years agoSjoerd Mullender writes:
Guido van Rossum [Thu, 26 Aug 1999 15:52:33 +0000 (15:52 +0000)]
Sjoerd Mullender writes:

"""
Added some optional arguments to the XMLParser __init__ method to
specify that selected non-standard constructs are to be accepted.
Also removed the documentation for handle_entityrefs since it isn't
used.
"""

The version is incremented to 0.3.

25 years agoSjoerd Mullender writes:
Guido van Rossum [Thu, 26 Aug 1999 15:50:43 +0000 (15:50 +0000)]
Sjoerd Mullender writes:

"""
Extended chunk so that it can also handle formats that are almost
according to EA IFF 85.  In particular, added options to handle
little-endian and to handle formats that include the header size in
the chunk size value.

Fixed a bug where the header size was included in the chunk size, which
it isn't according to EA IFF 85.

Added a new method getsize() to get the size of the chunk (excluding
header).

Fixed chunk documentation (TIFF doesn't look like it uses chunks).
Converted wave to use chunk.  Wave uses EA IFF 85 chunks except that
it uses little-endian encoding of integer data.

Removed __del__ methods from aifc and wave since I got an
AttributeError there upon exit.
"""

25 years agoAdded paragraph explaining that except clauses can't be empty; that
Fred Drake [Tue, 24 Aug 1999 22:14:57 +0000 (22:14 +0000)]
Added paragraph explaining that except clauses can't be empty; that
pass can be used if needed.  By Dan Wolfe <wolfeman@apple.com>.

25 years agoAdded sentence "All exceptions must have an executable block."; from
Fred Drake [Tue, 24 Aug 1999 22:14:01 +0000 (22:14 +0000)]
Added sentence "All exceptions must have an executable block."; from
Dan Wolfe <wolfeman@apple.com>.

25 years agoAdded additional index entries.
Fred Drake [Tue, 24 Aug 1999 20:16:29 +0000 (20:16 +0000)]
Added additional index entries.
Minor markup nits.

25 years agowhrandom should come immediately after random, not before.
Fred Drake [Mon, 23 Aug 1999 20:12:11 +0000 (20:12 +0000)]
whrandom should come immediately after random, not before.

25 years agoClarified start parameter to Py_CompileString, documented
Fred Drake [Mon, 23 Aug 1999 18:57:25 +0000 (18:57 +0000)]
Clarified start parameter to Py_CompileString, documented
Py_eval_input, Py_file_input, and Py_single_input.

Problems reported by Aaron Brancotti <aaron@icona.it>.

25 years agoRemoved availabe() method again: even on PPC it sometimes returns 1 while
Jack Jansen [Mon, 23 Aug 1999 11:45:40 +0000 (11:45 +0000)]
Removed availabe() method again: even on PPC it sometimes returns 1 while
quicktime isn't available. Use gestalt in stead for this functionality.

25 years agoReturn MacOS.Error in stead of RuntimeError in case of failure so the user
Jack Jansen [Mon, 23 Aug 1999 11:37:51 +0000 (11:37 +0000)]
Return MacOS.Error in stead of RuntimeError in case of failure so the user
gets a reasonable explanation in stead of a large negative number.

25 years agoPort inet_ntoa and inet_aton to Windows:
Guido van Rossum [Fri, 20 Aug 1999 19:11:27 +0000 (19:11 +0000)]
Port inet_ntoa and inet_aton to Windows:

- fix unescaped newline in string literal
- removed unused err variable
- Windows doesn't have inet_aton; use inet_addr instead

25 years agoAdd calls to self.protocol("WM_DELETE_WINDOW", self.destroy) to the Tk
Guido van Rossum [Fri, 20 Aug 1999 18:26:06 +0000 (18:26 +0000)]
Add calls to self.protocol("WM_DELETE_WINDOW", self.destroy) to the Tk
and Toplevel class constructors.  This means that if the window
manager closes the window, the Python-side Tkinter data structures
will be destroyed correctly.  (Most apps do this anyway, and it's
recommended practice; I see no reason why making it the default
behavior could be bad.)

25 years agoPatch by Ben Gertzfield to add inet_aton() and inet_ntoa() calls.
Guido van Rossum [Fri, 20 Aug 1999 18:21:51 +0000 (18:21 +0000)]
Patch by Ben Gertzfield to add inet_aton() and inet_ntoa() calls.

25 years agorewrite_descriptor(): Fix bug that dropped the first TEXT node from
Fred Drake [Fri, 20 Aug 1999 14:28:29 +0000 (14:28 +0000)]
rewrite_descriptor():  Fix bug that dropped the first TEXT node from
                       <description> elements.  Add another sanity
                       check to make sure a special case only becomes
                       involved for <opcodedesc> and <opcodedescni>
                       elements.

fixup_paras_helper():  Clean up control flow.

Everywhere that checks node.nodeType==ELEMENT and node.tagName now
just check node.nodeName (nodeName is guaranteed for all node types
and will be special values that don't conflict with GIs for
non-ELEMENT nodes).  Simplifies a number of tests and improves
readability in a lot of places.

25 years agoOops, better update the date on the .TH line.
Fred Drake [Fri, 20 Aug 1999 13:30:49 +0000 (13:30 +0000)]
Oops, better update the date on the .TH line.

25 years agoVarious updates, mostly to add information to the SEE ALSO and
Fred Drake [Fri, 20 Aug 1999 13:10:20 +0000 (13:10 +0000)]
Various updates, mostly to add information to the SEE ALSO and
INTERNET RESOURCES sections based on c.l.py comments.

25 years agoA nit to make Fred proud.
Barry Warsaw [Thu, 19 Aug 1999 21:17:08 +0000 (21:17 +0000)]
A nit to make Fred proud.

25 years agoOops, call 'os.path.join()'!
Greg Ward [Thu, 19 Aug 1999 20:02:10 +0000 (20:02 +0000)]
Oops, call 'os.path.join()'!

25 years agoTell what the result objects are (based on comment from the list).
Fred Drake [Thu, 19 Aug 1999 17:00:38 +0000 (17:00 +0000)]
Tell what the result objects are (based on comment from the list).

25 years agoScrit by Marc-Andre Lemburg to generate htmlentitydefs.py.
Guido van Rossum [Thu, 19 Aug 1999 16:00:41 +0000 (16:00 +0000)]
Scrit by Marc-Andre Lemburg to generate htmlentitydefs.py.

25 years agoNew version by Mark-Andre Lemburg (generated by a script, parseentities.py).
Guido van Rossum [Thu, 19 Aug 1999 15:59:35 +0000 (15:59 +0000)]
New version by Mark-Andre Lemburg (generated by a script, parseentities.py).

25 years agoAdded item regarding random/whrandom.
Fred Drake [Thu, 19 Aug 1999 15:37:35 +0000 (15:37 +0000)]
Added item regarding random/whrandom.

25 years agoAdded disclaimer to the sleep() function.
Guido van Rossum [Thu, 19 Aug 1999 14:42:54 +0000 (14:42 +0000)]
Added disclaimer to the sleep() function.

25 years agoIn floatsleep(), when using select(), ignore EINTR error.
Guido van Rossum [Thu, 19 Aug 1999 14:40:27 +0000 (14:40 +0000)]
In floatsleep(), when using select(), ignore EINTR error.

25 years agoPatches by Michael Reilly to correctly deal with ftp URLs of the form
Guido van Rossum [Wed, 18 Aug 1999 21:51:10 +0000 (21:51 +0000)]
Patches by Michael Reilly to correctly deal with ftp URLs of the form
ftp://user@host//root/path: the double slash in the pathname means to
go to the root directory even if the initial directory isn't the root.

25 years agoBump to version 1.1
Barry Warsaw [Wed, 18 Aug 1999 20:18:20 +0000 (20:18 +0000)]
Bump to version 1.1

25 years ago__update(): Jeremy Hylton reports occurances of sunaudiodev.error
Barry Warsaw [Wed, 18 Aug 1999 20:17:42 +0000 (20:17 +0000)]
__update(): Jeremy Hylton reports occurances of sunaudiodev.error
(interrupted system call) when getting the device information.  I've
never seen it, but this patch should take care of the problem.

If we get that exception and we're polling, just return since we'll
wake up again soon and get the right information.  If we're not
polling, try 4 times and then give up.

25 years agoTypo in comment (on Mac, it's the *resource* fork that's not copied,
Guido van Rossum [Wed, 18 Aug 1999 20:03:17 +0000 (20:03 +0000)]
Typo in comment (on Mac, it's the *resource* fork that's not copied,
the data fork *is* copied).

25 years agoPatches by Michael Reilly to correctly deal with ftp URLs of the form
Guido van Rossum [Wed, 18 Aug 1999 17:40:33 +0000 (17:40 +0000)]
Patches by Michael Reilly to correctly deal with ftp URLs of the form
ftp://user@host//root/path: the double slash in the pathname means to
go to the root directory even if the initial directory isn't the root.

25 years agoAdd Tim Peters' shuffle() algorithm.
Guido van Rossum [Wed, 18 Aug 1999 13:53:28 +0000 (13:53 +0000)]
Add Tim Peters' shuffle() algorithm.

25 years agoImplements the 'build_ext' command for building C/C++ extension modules.
Greg Ward [Sat, 14 Aug 1999 23:57:49 +0000 (23:57 +0000)]
Implements the 'build_ext' command for building C/C++ extension modules.

25 years agoModule to spawn sub-commands in a platform-independent way.
Greg Ward [Sat, 14 Aug 1999 23:57:17 +0000 (23:57 +0000)]
Module to spawn sub-commands in a platform-independent way.
Initial revision only includes support for POSIX-style fork-and-exec.

25 years agoChanged to use 'spawn()', now that it exists.
Greg Ward [Sat, 14 Aug 1999 23:53:53 +0000 (23:53 +0000)]
Changed to use 'spawn()', now that it exists.
Added 'verbose' and 'dry_run' parameters to constructor.
Changed 'compile()', 'link_*()' to default lists arguments to None
  rather than empty list.
Added implementations of the filename-mangling methods mandated by
  the CCompiler interface.

25 years agoAdded 'verbose' and 'dry_run' flags to CCompiler constructor and
Greg Ward [Sat, 14 Aug 1999 23:50:50 +0000 (23:50 +0000)]
Added 'verbose' and 'dry_run' flags to CCompiler constructor and
  'new_compiler()' factory function.
Added 'runtime_library_dirs' list (for -R linker option) and methods
  to manipulate it.
Deleted some obsolete comments.
Added all the filename manglign methods: 'object_filenames()',
  'shared_object_filename()', 'library_filename()',
  'shared_library_filename()'.
Added 'spawn()' method (front end to the "real" spawn).

25 years agoComment tweak.
Greg Ward [Sat, 14 Aug 1999 23:47:21 +0000 (23:47 +0000)]
Comment tweak.

25 years agoBetter detection of bad entries in option table.
Greg Ward [Sat, 14 Aug 1999 23:44:37 +0000 (23:44 +0000)]
Better detection of bad entries in option table.
Better error messages for bad entries in option table.

25 years agoAdded DistutilsExecError, DistutilsValueError.
Greg Ward [Sat, 14 Aug 1999 23:43:45 +0000 (23:43 +0000)]
Added DistutilsExecError, DistutilsValueError.

25 years agoInitial implementation
Barry Warsaw [Fri, 13 Aug 1999 20:59:48 +0000 (20:59 +0000)]
Initial implementation

25 years agoExplain the possible range of values for the pid parameter to
Fred Drake [Fri, 13 Aug 1999 13:36:33 +0000 (13:36 +0000)]
Explain the possible range of values for the pid parameter to
waitpid().

25 years agoInitial revision
Barry Warsaw [Wed, 11 Aug 1999 21:40:38 +0000 (21:40 +0000)]
Initial revision

25 years agoMoshe noticed an inconsistency in his comment, so I'm rephrasing it to
Guido van Rossum [Wed, 11 Aug 1999 14:55:43 +0000 (14:55 +0000)]
Moshe noticed an inconsistency in his comment, so I'm rephrasing it to
be clearer.

25 years agoPatch inspired by Moshe Zadka to search for the Icons directory in the
Guido van Rossum [Wed, 11 Aug 1999 02:01:00 +0000 (02:01 +0000)]
Patch inspired by Moshe Zadka to search for the Icons directory in the
same directory as __file__, rather than searching for it along sys.path.
This works better when idle is a package.

25 years agoPatch by Paul Sokolovsky to support the get() method.
Guido van Rossum [Wed, 11 Aug 1999 01:54:05 +0000 (01:54 +0000)]
Patch by Paul Sokolovsky to support the get() method.

25 years ago(py-shell): Set the default shell if not set yet. It's sometimes
Barry Warsaw [Tue, 10 Aug 1999 21:49:00 +0000 (21:49 +0000)]
(py-shell): Set the default shell if not set yet.  It's sometimes
convenient to call py-shell before the first Python file has been
visited.

25 years agoAllow comment characters (#) to be escaped:
Greg Ward [Tue, 10 Aug 1999 20:09:38 +0000 (20:09 +0000)]
Allow comment characters (#) to be escaped:
  - did away with 'comment_re' option -- it's just not that simple anymore
  - heavily revised the main logic in 'readline()' to accomodate this
Beefed up 'warn()': 'line' can be list or tuple, and 'msg' is
  automatically converted to a string.

25 years agoAdded __del__ method to GzipFile class that will flush and close the
Andrew M. Kuchling [Tue, 10 Aug 1999 13:19:30 +0000 (13:19 +0000)]
Added __del__ method to GzipFile class that will flush and close the
object, if required.

25 years agoIn note mentioning [].remove()'s exception, tell what exception is
Fred Drake [Mon, 9 Aug 1999 17:05:12 +0000 (17:05 +0000)]
In note mentioning [].remove()'s exception, tell what exception is
raised.  Prompted by Barry's whining.  ;-0

25 years agoPatch by Marc-Andre Lemburg to add a bunch more symbols.
Guido van Rossum [Mon, 9 Aug 1999 14:40:40 +0000 (14:40 +0000)]
Patch by Marc-Andre Lemburg to add a bunch more symbols.