]> granicus.if.org Git - python/log
python
22 years agoAdded support for some of the more recently defined macros and
Fred Drake [Thu, 27 Jun 2002 18:38:06 +0000 (18:38 +0000)]
Added support for some of the more recently defined macros and
environments.

22 years agoClean up some markup.
Fred Drake [Thu, 27 Jun 2002 18:30:34 +0000 (18:30 +0000)]
Clean up some markup.

22 years agodis.dis() also supports modules
Neal Norwitz [Wed, 26 Jun 2002 22:32:47 +0000 (22:32 +0000)]
dis.dis() also supports modules

22 years agoDisabled non-carbon builds (for the moment still optional) and made
Jack Jansen [Wed, 26 Jun 2002 22:06:08 +0000 (22:06 +0000)]
Disabled non-carbon builds (for the moment still optional) and made
these scripts work with the new precompiled headers.

22 years agoWhitespace normalization (remove tabs)
Neal Norwitz [Wed, 26 Jun 2002 22:05:33 +0000 (22:05 +0000)]
Whitespace normalization (remove tabs)

22 years agoFix various typos reported to python-docs.
Fred Drake [Wed, 26 Jun 2002 21:52:26 +0000 (21:52 +0000)]
Fix various typos reported to python-docs.

22 years agoFix typo reported to python-docs.
Fred Drake [Wed, 26 Jun 2002 21:25:15 +0000 (21:25 +0000)]
Fix typo reported to python-docs.

22 years agoMake the prototype match the declaration in the GUSI header files.
Jack Jansen [Wed, 26 Jun 2002 20:43:24 +0000 (20:43 +0000)]
Make the prototype match the declaration in the GUSI header files.

22 years agoUndefine DPRINTF before defining it, there was a conflict with some other
Jack Jansen [Wed, 26 Jun 2002 20:41:30 +0000 (20:41 +0000)]
Undefine DPRINTF before defining it, there was a conflict with some other
definition.

22 years agoUndefine TRUE and FALSE before redefining them.
Jack Jansen [Wed, 26 Jun 2002 20:40:42 +0000 (20:40 +0000)]
Undefine TRUE and FALSE before redefining them.

22 years agoGot rid of an extraneous semicolon.
Jack Jansen [Wed, 26 Jun 2002 20:39:20 +0000 (20:39 +0000)]
Got rid of an extraneous semicolon.

22 years agoChanged some prototypes to match the exact definition in some faraway Apple
Jack Jansen [Wed, 26 Jun 2002 20:37:40 +0000 (20:37 +0000)]
Changed some prototypes to match the exact definition in some faraway Apple
header files. If we're building with precompiled headers these are in scope.

22 years agoIn plugin projects use (by default) the new mwerks_shcarbon_pch
Jack Jansen [Wed, 26 Jun 2002 20:36:12 +0000 (20:36 +0000)]
In plugin projects use (by default) the new mwerks_shcarbon_pch
header file in stead of mwerks_carbonplugin_config.h.

22 years agoClose the project after generating it, so we don't keep a gazillion project
Jack Jansen [Wed, 26 Jun 2002 20:35:18 +0000 (20:35 +0000)]
Close the project after generating it, so we don't keep a gazillion project
files open when we're rebuilding them all.

22 years ago- Got rid of non-carbon builds
Jack Jansen [Wed, 26 Jun 2002 20:17:02 +0000 (20:17 +0000)]
- Got rid of non-carbon builds
- Use precompiled headers
- Rationalize config file names.

22 years agoFixed a few showstoppers in the process of making MacPython use setup.py to build...
Jack Jansen [Wed, 26 Jun 2002 15:44:30 +0000 (15:44 +0000)]
Fixed a few showstoppers in the process of making MacPython use setup.py to build it's exension modules (in stead of relying on a private mechanism). It definitely doesn't work yet, but it looks promising.

22 years agoFixed various MacPython-specific issues found by attempting to use the standard core...
Jack Jansen [Wed, 26 Jun 2002 15:42:49 +0000 (15:42 +0000)]
Fixed various MacPython-specific issues found by attempting to use the standard core setup.py for MacPython.

22 years agoApply SF 562987 modernizing Cookie to subclass from dict instead of UserDict
Raymond Hettinger [Wed, 26 Jun 2002 15:19:01 +0000 (15:19 +0000)]
Apply SF 562987 modernizing Cookie to subclass from dict instead of UserDict

22 years agoSuppress the variable verbose output from test.xmltests; the inclusion of
Fred Drake [Wed, 26 Jun 2002 15:16:16 +0000 (15:16 +0000)]
Suppress the variable verbose output from test.xmltests; the inclusion of
timing information in the output makes the determination of success bogus.

22 years agoTurns out GetArgv() options can be 4-tuples too, with the last value being the defaul...
Jack Jansen [Wed, 26 Jun 2002 15:14:48 +0000 (15:14 +0000)]
Turns out GetArgv() options can be 4-tuples too, with the last value being the default (or something like that). Cater for this.

Also put in a safeguard against very long help strings.

22 years agoThis module broke on the Mac (where it can't work, but distutils seems to import...
Jack Jansen [Wed, 26 Jun 2002 15:00:29 +0000 (15:00 +0000)]
This module broke on the Mac (where it can't work, but distutils seems to import it anyway) because it imported pwd and grp. Moved the import to inside the routine where they're used.

22 years agoAdd some acks
Andrew M. Kuchling [Wed, 26 Jun 2002 13:28:19 +0000 (13:28 +0000)]
Add some acks

22 years agoDescribe textwrap module
Andrew M. Kuchling [Wed, 26 Jun 2002 13:23:55 +0000 (13:23 +0000)]
Describe textwrap module

22 years agoFix bug #573916. Sender and recipients reversed in email example.
Raymond Hettinger [Wed, 26 Jun 2002 07:51:32 +0000 (07:51 +0000)]
Fix bug #573916.  Sender and recipients reversed in email example.

22 years agoAlso look up variable names in __builtins__ if not found in globals.
Ka-Ping Yee [Wed, 26 Jun 2002 07:10:56 +0000 (07:10 +0000)]
Also look up variable names in __builtins__ if not found in globals.
Don't show hidden fields of exception values (names starting with '_').

22 years agoadd seealso link to the bisect module
Skip Montanaro [Wed, 26 Jun 2002 05:22:08 +0000 (05:22 +0000)]
add seealso link to the bisect module

22 years agoadd /F's PriorityQueue example
Skip Montanaro [Wed, 26 Jun 2002 05:07:28 +0000 (05:07 +0000)]
add /F's PriorityQueue example

22 years agoShutdown subprocess debugger and associated Proxies/Adapters when closing
Kurt B. Kaiser [Wed, 26 Jun 2002 02:32:09 +0000 (02:32 +0000)]
Shutdown subprocess debugger and associated Proxies/Adapters when closing
the Idle debugger.

M PyShell.py       : Call RemoteDebugger.close_remote_debugger()
M RemoteDebugger.py: Add close_remote_debugger(); further polish code used
                     to start the debugger sections.
M rpc.py           : Add comments on Idlefork methods register(), unregister()
                     comment out unused methods
M run.py           : Add stop_the_debugger(); polish code

22 years agoAdd a reminder
Andrew M. Kuchling [Wed, 26 Jun 2002 00:03:05 +0000 (00:03 +0000)]
Add a reminder

22 years agoAdd a reminder
Andrew M. Kuchling [Tue, 25 Jun 2002 23:57:17 +0000 (23:57 +0000)]
Add a reminder

22 years agoSilence compiler warning
Jeremy Hylton [Tue, 25 Jun 2002 19:26:34 +0000 (19:26 +0000)]
Silence compiler warning

22 years agoAdd convenience module to run all the XML tests.
Fred Drake [Tue, 25 Jun 2002 19:20:10 +0000 (19:20 +0000)]
Add convenience module to run all the XML tests.

22 years agoTalk about interfaces rather than implementation classes where appropriate.
Fred Drake [Tue, 25 Jun 2002 17:10:50 +0000 (17:10 +0000)]
Talk about interfaces rather than implementation classes where appropriate.
Add hyperlinks to make the documentation on the Attributes and AttributesNS
interfaces more discoverable.
Closes SF bug #484603.

22 years agoAdded some more links to the "See also" section.
Fred Drake [Tue, 25 Jun 2002 16:58:58 +0000 (16:58 +0000)]
Added some more links to the "See also" section.

22 years agoWhen talking about interfaces, use the interface names, not the names
Fred Drake [Tue, 25 Jun 2002 16:25:01 +0000 (16:25 +0000)]
When talking about interfaces, use the interface names, not the names
of the implementation classes.  (Remove the "Impl" from two names.)

22 years agoFix typo
Raymond Hettinger [Tue, 25 Jun 2002 15:26:59 +0000 (15:26 +0000)]
Fix typo

22 years agoClose bug 480337: Dict used before dicts explained. Added explanation
Raymond Hettinger [Tue, 25 Jun 2002 15:13:18 +0000 (15:13 +0000)]
Close bug 480337:  Dict used before dicts explained.  Added explanation
and examples of the dict() constructor.

22 years agoClose bug 417930 by clarifying augmented assignment docs
Raymond Hettinger [Tue, 25 Jun 2002 13:36:41 +0000 (13:36 +0000)]
Close bug 417930 by clarifying augmented assignment docs

22 years agoNot sure how I forgot to check these in - thought I did all the files in one
Skip Montanaro [Tue, 25 Jun 2002 05:53:48 +0000 (05:53 +0000)]
Not sure how I forgot to check these in - thought I did all the files in one
fell swoop.  Anyway, this just deletes a couple checks for dbm-type header
files that are now performed in setup.py.  See patch 553108 for details.

22 years agoFix SF bug 568269 by enclosing 'computername' in a raw string
Raymond Hettinger [Tue, 25 Jun 2002 04:53:05 +0000 (04:53 +0000)]
Fix SF bug 568269 by enclosing 'computername' in a raw string

22 years agoMinor English grammar correction
Raymond Hettinger [Tue, 25 Jun 2002 04:04:14 +0000 (04:04 +0000)]
Minor English grammar correction

22 years agoRemove all EditorWindow BREAK tags when closing Debugger
Kurt B. Kaiser [Tue, 25 Jun 2002 03:28:38 +0000 (03:28 +0000)]
Remove all EditorWindow BREAK tags when closing Debugger

22 years agoFix spacing in loop example
Raymond Hettinger [Tue, 25 Jun 2002 03:17:03 +0000 (03:17 +0000)]
Fix spacing in loop example

22 years agoFix SF bug 546434 -- buffer slice type inconsistent.
Raymond Hettinger [Tue, 25 Jun 2002 00:25:30 +0000 (00:25 +0000)]
Fix SF bug 546434 -- buffer slice type inconsistent.

22 years agofix incorrect size calc. in IMAP4_SSL.read
Piers Lauder [Mon, 24 Jun 2002 23:35:37 +0000 (23:35 +0000)]
fix incorrect size calc. in IMAP4_SSL.read

22 years agoIn the Extension() call, add runtime_library_dirs so that a useful
Barry Warsaw [Mon, 24 Jun 2002 20:27:33 +0000 (20:27 +0000)]
In the Extension() call, add runtime_library_dirs so that a useful
-R/--rpath flag gets passed to the linker.  Source builds of
BerkeleyDB do their default installs in locations not normally on
ld.so's search path.

22 years agoClear associated breakpoints when closing an edit window.
Kurt B. Kaiser [Mon, 24 Jun 2002 17:03:37 +0000 (17:03 +0000)]
Clear associated breakpoints when closing an edit window.

M Debugger.py      : Added clear_file_breaks()
M EditorWindow.py  : Clear breaks when closed, commments->docstrings,
                     comment out some debugging print statements
M PyShell.py       : comments->docstrings ; clarify extending EditorWindow
                     methods.
M RemoteDebugger.py: Add clear_all_file_breaks() functionality,
                     clarify some comments.

22 years agoFix SF bug 572567: Memory leak in object comparison.
Raymond Hettinger [Mon, 24 Jun 2002 13:08:16 +0000 (13:08 +0000)]
Fix SF bug 572567: Memory leak in object comparison.

22 years agoSF # 572928 One word change for lib/libgettext.tex
Neal Norwitz [Mon, 24 Jun 2002 02:22:39 +0000 (02:22 +0000)]
SF # 572928 One word change for lib/libgettext.tex

Fix typo.

22 years ago- Got rid of non-carbon stuff
Jack Jansen [Sun, 23 Jun 2002 22:09:45 +0000 (22:09 +0000)]
- Got rid of non-carbon stuff
- Use precompiled headers
- Rationalized naming scheme

22 years agoRandom tweaks & updates.
Michael W. Hudson [Sun, 23 Jun 2002 16:29:36 +0000 (16:29 +0000)]
Random tweaks & updates.

22 years agoFix IMAP4_SSL read and send methods to take account of short data
Piers Lauder [Sun, 23 Jun 2002 10:47:13 +0000 (10:47 +0000)]
Fix IMAP4_SSL read and send methods to take account of short data

22 years agoConvert the example C code to ANSI rather than K&R.
Fred Drake [Sat, 22 Jun 2002 01:42:00 +0000 (01:42 +0000)]
Convert the example C code to ANSI rather than K&R.
This matches the Python C style guide (PEP 7).
Closes SF patch #571489.

22 years agoCorrect the RE equivalent of scanf()'s %x and %X patterns.
Fred Drake [Sat, 22 Jun 2002 01:07:37 +0000 (01:07 +0000)]
Correct the RE equivalent of scanf()'s %x and %X patterns.
Closes SF bug #572169.

22 years agoPatch #557719 by Tony Lownds, slightly massaged by me: streamline the
Jack Jansen [Fri, 21 Jun 2002 14:48:38 +0000 (14:48 +0000)]
Patch #557719 by Tony Lownds, slightly massaged by me: streamline the
OSX framework build process. Things fixed/modified:
- the filesystem case-sensitivity test now works for builds outside
  the source directory
- various other fixes for building outside the source directory
- python.app now has a target in the main Makefile
- WASTE and AquaTk are found more automatically

22 years agoTypo fix.
Greg Ward [Fri, 21 Jun 2002 12:33:08 +0000 (12:33 +0000)]
Typo fix.

22 years agoAdd a check that the bug Jeremy just fixed in _PyTuple_Resize() is
Guido van Rossum [Fri, 21 Jun 2002 02:14:10 +0000 (02:14 +0000)]
Add a check that the bug Jeremy just fixed in _PyTuple_Resize() is
fixed.

(Jeremy, how did you discover that?)

22 years agoMention private vars in __slots__.
Guido van Rossum [Fri, 21 Jun 2002 01:29:25 +0000 (01:29 +0000)]
Mention private vars in __slots__.

22 years agoFix for SF bug 571885
Jeremy Hylton [Thu, 20 Jun 2002 23:13:17 +0000 (23:13 +0000)]
Fix for SF bug 571885

When resizing a tuple, zero out the memory starting at the end of the
old tuple not at the beginning of the old tuple.

22 years ago- Got rid of newmodule.c
Jack Jansen [Thu, 20 Jun 2002 22:56:22 +0000 (22:56 +0000)]
- Got rid of newmodule.c
- These are the final projects that support classic.

22 years agoSF 569257 -- Name mangle double underscored variable names in __slots__.
Raymond Hettinger [Thu, 20 Jun 2002 22:23:15 +0000 (22:23 +0000)]
SF 569257 -- Name mangle double underscored variable names in __slots__.

22 years agoCorrected return type and value information for PyUnicode_Count() and
Fred Drake [Thu, 20 Jun 2002 22:07:04 +0000 (22:07 +0000)]
Corrected return type and value information for PyUnicode_Count() and
PyUnicode_Find().
This closes SF bug #566631.

22 years agoFix the docstring for sys.getrefcount().
Fred Drake [Thu, 20 Jun 2002 21:36:19 +0000 (21:36 +0000)]
Fix the docstring for sys.getrefcount().
Closes SF bug #571759.

22 years agoDisable the test for importing very long lists for MacPython: it triggers
Jack Jansen [Thu, 20 Jun 2002 21:34:35 +0000 (21:34 +0000)]
Disable the test for importing very long lists for MacPython: it triggers
an out-of-memory condition (and a hang on OSX). Filed a bug report
(#571845) to make sure this is eventually fixed.

22 years agoMake the docs for string.capitalize() match those of str.capitalize()
Fred Drake [Thu, 20 Jun 2002 21:18:46 +0000 (21:18 +0000)]
Make the docs for string.capitalize() match those of str.capitalize()
(which makes it more clear).
Closes SF bug #571767.

22 years agoAdd a note that divmod() with complex numbers is deprecated.
Fred Drake [Thu, 20 Jun 2002 21:10:25 +0000 (21:10 +0000)]
Add a note that divmod() with complex numbers is deprecated.

22 years agoAdded reference to the Expat home page.
Fred Drake [Thu, 20 Jun 2002 21:06:03 +0000 (21:06 +0000)]
Added reference to the Expat home page.

22 years agoTry to improve the explanation of the "raise" statement and how its arguments
Fred Drake [Thu, 20 Jun 2002 20:55:29 +0000 (20:55 +0000)]
Try to improve the explanation of the "raise" statement and how its arguments
are interpreted.
This closes SF bug #532467.

22 years agoOpen the source file in universal newline mode.
Jack Jansen [Thu, 20 Jun 2002 20:42:07 +0000 (20:42 +0000)]
Open the source file in universal newline mode.

22 years agoClean up docstrings:
Fred Drake [Thu, 20 Jun 2002 18:31:21 +0000 (18:31 +0000)]
Clean up docstrings:
- Include a blank line between the signature line and the description
  (Guido sez).
- Don't include "-> None" for API functions that always return None
  because they don't have a meaningful return value.

22 years agoRemoved the generator future-stmt -- not needed for 2.3.
Tim Peters [Thu, 20 Jun 2002 14:52:37 +0000 (14:52 +0000)]
Removed the generator future-stmt -- not needed for 2.3.

22 years agoSimplify the production for argument list, making sure that it
Fred Drake [Thu, 20 Jun 2002 14:23:15 +0000 (14:23 +0000)]
Simplify the production for argument list, making sure that it
actually allows all the legal syntax, and nothing else.  Previously,
it did not allow a call like func(arg, **dictionary).
This closes (again!) SF bug #493243.

22 years agoSF 563530 added missing methods for emulating numeric types
Raymond Hettinger [Thu, 20 Jun 2002 06:12:37 +0000 (06:12 +0000)]
SF 563530 added missing methods for emulating numeric types

22 years ago1. Debugger Breakpoints, finish implementation
Kurt B. Kaiser [Thu, 20 Jun 2002 04:01:47 +0000 (04:01 +0000)]
1. Debugger Breakpoints, finish implementation
2. Debugger Clear Breakpoints, implement
3. Nice yellow breakpoints for Chui  :)

22 years agoI get failures half of the time that I run this, so I'll disable
Guido van Rossum [Thu, 20 Jun 2002 03:40:16 +0000 (03:40 +0000)]
I get failures half of the time that I run this, so I'll disable
running this as part of the regular test suite again, until I have
time to figure out why.

22 years agoSF 570727 indexer() class no longer needed since lists now support slicing
Raymond Hettinger [Thu, 20 Jun 2002 03:38:12 +0000 (03:38 +0000)]
SF 570727 indexer() class no longer needed since lists now support slicing

22 years agoFix the bug described in
Michael W. Hudson [Wed, 19 Jun 2002 15:44:15 +0000 (15:44 +0000)]
Fix the bug described in

http://mail.python.org/pipermail/python-dev/2002-June/025461.html

with test cases.

Also includes extended slice support for arrays, which I thought I'd
already checked in but obviously not.

22 years agoMention pymemcompat.h.
Guido van Rossum [Tue, 18 Jun 2002 21:20:13 +0000 (21:20 +0000)]
Mention pymemcompat.h.

22 years agoMinor tweaks to existing items (radian/degree, and UTF-16 readers..
Guido van Rossum [Tue, 18 Jun 2002 20:43:18 +0000 (20:43 +0000)]
Minor tweaks to existing items (radian/degree, and UTF-16 readers..

22 years agoTypo: bites --> bytes
Fred Drake [Tue, 18 Jun 2002 20:38:05 +0000 (20:38 +0000)]
Typo: bites --> bytes
(Hanging around small kids too much...;)

22 years agoAdd description of the deadlock problem with child processes and pipes, and
Fred Drake [Tue, 18 Jun 2002 20:30:37 +0000 (20:30 +0000)]
Add description of the deadlock problem with child processes and pipes, and
hints about how to work around it.
Closes SF bug #530637.

22 years agoAdd a note about "as" not being a keyword, though it has special meaning
Fred Drake [Tue, 18 Jun 2002 19:17:14 +0000 (19:17 +0000)]
Add a note about "as" not being a keyword, though it has special meaning
when used as part of the import statement.

Note that both "as" and "None" becoming keywords in the future.

Closes SF bug #553262.

22 years agoDefine NDEBUG for releae builds, just like Python.
Jeremy Hylton [Tue, 18 Jun 2002 19:08:40 +0000 (19:08 +0000)]
Define NDEBUG for releae builds, just like Python.

XXX Why doesn't distutils on Windows use the same set of flags as Python?

22 years agoNote the limitation that mime_decode_header() only works for Latin-1.
Fred Drake [Tue, 18 Jun 2002 18:51:30 +0000 (18:51 +0000)]
Note the limitation that mime_decode_header() only works for Latin-1.
Closes SF bug #551912.

22 years agoAdd implementation of _compile() and use default compile() method.
Jeremy Hylton [Tue, 18 Jun 2002 18:48:55 +0000 (18:48 +0000)]
Add implementation of _compile() and use default compile() method.

22 years agoAdd a default implementation of compile() to the base class.
Jeremy Hylton [Tue, 18 Jun 2002 18:42:41 +0000 (18:42 +0000)]
Add a default implementation of compile() to the base class.

The default implementation calls _compile() to compile individual
files.  This method must be implemented by the subclass.  This change
factors out most of the remaining common code in all the compilers
except mwerks.

22 years agoPlayed contortionist games with the argument_list production so it
Fred Drake [Tue, 18 Jun 2002 18:42:01 +0000 (18:42 +0000)]
Played contortionist games with the argument_list production so it
might be easier to understand.
This relates to SF bug #493243, which will be closed.

22 years agoOnly import msvccompiler on win32 platforms.
Jeremy Hylton [Tue, 18 Jun 2002 18:40:54 +0000 (18:40 +0000)]
Only import msvccompiler on win32 platforms.

22 years agoMichael fixed the race conditions and removed the sleeps.
Guido van Rossum [Tue, 18 Jun 2002 18:35:13 +0000 (18:35 +0000)]
Michael fixed the race conditions and removed the sleeps.
This is his SF patch 569697.  I renamed main() to test_main() again so
that this is run as part of the standard test suite.

22 years ago\productioncont: Replace leading spaces with   so that it's
Fred Drake [Tue, 18 Jun 2002 18:30:28 +0000 (18:30 +0000)]
\productioncont:  Replace leading spaces with   so that it's
    possible to control the indentation of continuation lines.

cfuncline_helper():  Only mark the argument names are <var>, not the
    whole argument list.  This leaves the argument types in the same
    font as the return type.  Based on a casual suggestion from
    Guido.

22 years agoRefactor the generation of signature lines for funcdesc, methoddesc,
Fred Drake [Tue, 18 Jun 2002 18:24:16 +0000 (18:24 +0000)]
Refactor the generation of signature lines for funcdesc, methoddesc,
and friends.  This was part of the changes to the presentation of
signature lines, but does not include any of the aspects that people
questioned.

22 years agoPatch from SF bug 570483 (Tim Northover).
Guido van Rossum [Tue, 18 Jun 2002 16:49:45 +0000 (16:49 +0000)]
Patch from SF bug 570483 (Tim Northover).

In a fresh interpreter, type.mro(tuple) would segfault, because
PyType_Ready() isn't called for tuple yet.  To fix, call
PyType_Ready(type) if type->tp_dict is NULL.

22 years agoPatch from SF bug 570483 (Tim Northover).
Guido van Rossum [Tue, 18 Jun 2002 16:44:57 +0000 (16:44 +0000)]
Patch from SF bug 570483 (Tim Northover).

In a fresh interpreter, type.mro(tuple) would segfault, because
PyType_Ready() isn't called for tuple yet.  To fix, call
PyType_Ready(type) if type->tp_dict is NULL.

22 years agoCorect speling and add \n\ to line ends in new docstring for access().
Guido van Rossum [Tue, 18 Jun 2002 16:22:43 +0000 (16:22 +0000)]
Corect speling and add \n\ to line ends in new docstring for access().

22 years agoClarified documentation for os.access().
Fred Drake [Tue, 18 Jun 2002 16:15:51 +0000 (16:15 +0000)]
Clarified documentation for os.access().
Patch contributed by Sean Reifschneider.
Closes SF patch #570618.

22 years agoMechanically translated string method calls to string methods.
Fred Drake [Tue, 18 Jun 2002 15:37:05 +0000 (15:37 +0000)]
Mechanically translated string method calls to string methods.

Instead of splitting a string and looping over it to call s.split(),
use list comprehensions for readability.

22 years agoSF patch #552837, submitted by Robert Pyron:
Fred Drake [Tue, 18 Jun 2002 15:21:21 +0000 (15:21 +0000)]
SF patch #552837, submitted by Robert Pyron:

1. BUGFIX: In function makefile(), strip blanks from the nodename.
   This is necesary to match the behavior of parser.makeref() and
   parser.do_node().
2. BUGFIX fixed KeyError in end_ifset (well, I may have just made
   it go away, rather than fix it)
3. BUGFIX allow @menu and menu items inside @ifset or @ifclear
4. Support added for:
      @uref        URL reference
      @image       image file reference (see note below)
      @multitable  output an HTML table
      @vtable
5. Partial support for accents, to match MAKEINFO output
6. I added a new command-line option, '-H basename', to specify
   HTML Help output. This will cause three files to be created
   in the current directory:
      `basename`.hhp  HTML Help Workshop project file
      `basename`.hhc  Contents file for the project
      `basename`.hhk  Index file for the project
   When fed into HTML Help Workshop, the resulting file will be
   named `basename`.chm.
7. A new class, HTMLHelp, to accomplish item 6.
8. Various calls to HTMLHelp functions.
A NOTE ON IMAGES: Just as 'outputdirectory' must exist before
running this program, all referenced images must already exist
in outputdirectory.

FLD: wrapped some long lines.

22 years agoClarified description of error handling for shutil.rmtree().
Fred Drake [Tue, 18 Jun 2002 14:31:04 +0000 (14:31 +0000)]
Clarified description of error handling for shutil.rmtree().
This closes SF patch #569832.

22 years agoAbout the new but unreferenced new_class, Guido sez:
Michael W. Hudson [Tue, 18 Jun 2002 12:38:06 +0000 (12:38 +0000)]
About the new but unreferenced new_class, Guido sez:

> Looks like an experiment by Oren Tirosh that didn't get nuked.  I
> think you can safely lose it.

It's gone.

22 years agoUpdate description of the Expat library.
Fred Drake [Mon, 17 Jun 2002 17:55:30 +0000 (17:55 +0000)]
Update description of the Expat library.
Closes SF bug #556370.