]> granicus.if.org Git - python/log
python
24 years agoFix for implicit tuple + default arguments, courtesy of Michael Hudson.
Jeremy Hylton [Mon, 19 Feb 2001 23:52:49 +0000 (23:52 +0000)]
Fix for implicit tuple + default arguments, courtesy of Michael Hudson.
SF patch #103749

24 years agoConfigParser.optionxform(): Document this since it is available for
Fred Drake [Mon, 19 Feb 2001 22:37:24 +0000 (22:37 +0000)]
ConfigParser.optionxform():  Document this since it is available for
    sub-classes and application code to override.

24 years agoClean up the "docs".
Tim Peters [Mon, 19 Feb 2001 21:44:53 +0000 (21:44 +0000)]
Clean up the "docs".

24 years agoWrap a bunch of long lines.
Fred Drake [Mon, 19 Feb 2001 21:16:00 +0000 (21:16 +0000)]
Wrap a bunch of long lines.

24 years agoFix a few small typos in the docstrings.
Fred Drake [Mon, 19 Feb 2001 19:30:05 +0000 (19:30 +0000)]
Fix a few small typos in the docstrings.

get_close_matches():  Do not use %-interpolation for strings when
    concatenation is more efficient.

24 years agoMichael Hudson <mwh21@cam.ac.uk>:
Fred Drake [Mon, 19 Feb 2001 19:22:00 +0000 (19:22 +0000)]
Michael Hudson <mwh21@cam.ac.uk>:
New material on defining extension types.  Thanks!

(Small markup adjustments made, but this is mostly as received.)

24 years agoNo longer needed since the main Makefile is "flat".
Fred Drake [Mon, 19 Feb 2001 19:20:17 +0000 (19:20 +0000)]
No longer needed since the main Makefile is "flat".

24 years agoConvert to a "flat" Makefile.
Fred Drake [Mon, 19 Feb 2001 19:19:26 +0000 (19:19 +0000)]
Convert to a "flat" Makefile.

24 years agoAdd an option allowing the user to determine where the output HTML is built.
Fred Drake [Mon, 19 Feb 2001 19:18:09 +0000 (19:18 +0000)]
Add an option allowing the user to determine where the output HTML is built.
Provide a way to set the paper size by name instead of only supporting
separate options for each size.

24 years agoFix markup so this document will format.
Fred Drake [Mon, 19 Feb 2001 19:14:50 +0000 (19:14 +0000)]
Fix markup so this document will format.

24 years agoThis never saw much use, so remove it.
Fred Drake [Mon, 19 Feb 2001 19:11:12 +0000 (19:11 +0000)]
This never saw much use, so remove it.

24 years agoSF Patch # 103839 byt dougfort: Allow ';' in attributes
Guido van Rossum [Mon, 19 Feb 2001 18:39:09 +0000 (18:39 +0000)]
SF Patch # 103839 byt dougfort: Allow ';' in attributes

sgmllib does not recognize HTML attributes containing the semicolon
';' character. This may be in accordance with the HTML spec, but there
are sites that use it (excite.com) and the browsers I regularly use
(IE5, Netscape, Opera) all handle it. Doug Fort Downright Software LLC

24 years agoRevert SF patch #103655
Neil Schemenauer [Mon, 19 Feb 2001 18:18:48 +0000 (18:18 +0000)]
Revert SF patch #103655

24 years agoRevert SF patch #103655. Martin Löwis says:
Neil Schemenauer [Mon, 19 Feb 2001 18:17:33 +0000 (18:17 +0000)]
Revert SF patch #103655.  Martin Löwis says:

-shared does the following things:
- invoke the linker with -G -dy -z text (the latter only if
  -mimpure-text was not given)
- drop crt1.o from the list of objects being linked
- drop -lc from the list of libraries being linked
OTOH, -G is just passed through to the linker.

The things that -shared does are necessary: crt1.o defines _start, and
requires main, so it should not be present in a shared library.
Likewise, -z text should be used to detect position-dependent code at
compile time.

24 years agoMake the top-level index.html depend on the individual document index.html
Fred Drake [Mon, 19 Feb 2001 17:52:07 +0000 (17:52 +0000)]
Make the top-level index.html depend on the individual document index.html
files so that the date is properly updated on the front page.

24 years agoChecked in with Andrew's blessing, I leave the comments with which
Thomas Heller [Mon, 19 Feb 2001 17:48:03 +0000 (17:48 +0000)]
Checked in with Andrew's blessing, I leave the comments with which
this was posted to distutils-sig in.

Here is what I've hacked together over some spare time
at the weekend. I would appreciate feedback, as I've told
before I'm neither a great author, nor native english speaker,
nor anything else.

Mostly I've completed (and written) docs for bdist_wininst
(where I'm an experert for), also I've started some stuff
for the data_files and scripts option.

Should I continue in this way? Would others like to jump in?

24 years agoAdded entries for difflib documentation.
Fred Drake [Mon, 19 Feb 2001 16:32:40 +0000 (16:32 +0000)]
Added entries for difflib documentation.

24 years agoDocumentation for the difflib module, converted from the module docstrings.
Fred Drake [Mon, 19 Feb 2001 16:31:02 +0000 (16:31 +0000)]
Documentation for the difflib module, converted from the module docstrings.

24 years agoAdd simple section for assert, including assert w/ lambdas
Jeremy Hylton [Mon, 19 Feb 2001 15:54:52 +0000 (15:54 +0000)]
Add simple section for assert, including assert w/ lambdas

24 years agoWhen running python -O, do not include blocks defined in asserts in
Jeremy Hylton [Mon, 19 Feb 2001 15:50:51 +0000 (15:50 +0000)]
When running python -O, do not include blocks defined in asserts in
the symbol table pass.  These blocks were already ignored by the code
gen pass.  Both passes must visit the same set of blocks in the same
order.

Fixes SF buf 132820

24 years agoAdd test for syntax error on "x = 1 + 1".
Jeremy Hylton [Mon, 19 Feb 2001 15:35:26 +0000 (15:35 +0000)]
Add test for syntax error on "x = 1 + 1".
Move check_syntax() function into test_support.

24 years agofix long line
Jeremy Hylton [Mon, 19 Feb 2001 15:34:10 +0000 (15:34 +0000)]
fix long line

24 years agoTolerate ill-formed trees in symtable_assign(). Fixes SF bug 132510.
Jeremy Hylton [Mon, 19 Feb 2001 15:33:10 +0000 (15:33 +0000)]
Tolerate ill-formed trees in symtable_assign().  Fixes SF bug 132510.

24 years agoDOMException._get_code():
Fred Drake [Mon, 19 Feb 2001 14:57:02 +0000 (14:57 +0000)]
DOMException._get_code():
    New method; this is the "alternate" access to the exception code.
    (Useful for Python DOM implementations that support the accessor
    method approach to retrieving attribute values.)

24 years agoEnhancements to the bdist_wininst command:
Thomas Heller [Mon, 19 Feb 2001 09:20:30 +0000 (09:20 +0000)]
Enhancements to the bdist_wininst command:
--bitmap command line option allows to use a different bitmap file instead
of the build-in python powered logo.
--title lets you specify the text to display on the background.

The editbox in the first screen now longer is
selected (highlighted), it had the WS_TABSTOP flag.

This is the patch
http://sourceforge.net/patch/?func=detailpatch&patch_id=103687&group_id=5470
with two changes:
1. No messagebox displayed when the compilation to .pyc or .pyo files
failes, this will only confuse the user (and it will fail under certain
cases, where sys.path contains garbage).
2. A debugging print statement was removed from bdist_wininst.py.

24 years agoThis patch makes the default compiler determination more flexible
Marc-André Lemburg [Mon, 19 Feb 2001 09:20:04 +0000 (09:20 +0000)]
This patch makes the default compiler determination more flexible
and also takes the sys.platform name into account. This helps on
platforms where there are multiple possible compiler backends (the
one with which Python itself was compiled is preferred over others
in this case).

The patch uses this new technique to enable using cygwin compiler
per default for cygwin compiled Pythons.

Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.

24 years agoMore typos. libwinsound.tex typo noted by Peter Funk (thanks!).
Tim Peters [Mon, 19 Feb 2001 08:36:41 +0000 (08:36 +0000)]
More typos.  libwinsound.tex typo noted by Peter Funk (thanks!).

24 years agoRepair tab/space screwup.
Tim Peters [Mon, 19 Feb 2001 07:33:23 +0000 (07:33 +0000)]
Repair tab/space screwup.

24 years agoTake a tour of hell's seedier neighborhoods to try to make winsound.Beep()
Tim Peters [Mon, 19 Feb 2001 07:06:36 +0000 (07:06 +0000)]
Take a tour of hell's seedier neighborhoods to try to make winsound.Beep()
do something non-useless on Win9X boxes.  WinME unknown to me.  Someone with
NT/2000 make sure it still works there!

24 years agoThe usual.
Neil Schemenauer [Mon, 19 Feb 2001 04:50:49 +0000 (04:50 +0000)]
The usual.

24 years agoUse -G option for linking shared libraries on Solaris (SF patch #103656).
Neil Schemenauer [Mon, 19 Feb 2001 04:47:42 +0000 (04:47 +0000)]
Use -G option for linking shared libraries on Solaris (SF patch #103656).
Compile shared object files using -fPIC option when using GCC on Solaris (SF
patch #103865).  Closes bug #132783.  Move config.c generated by makesetup to
the Modules directory.

24 years agoFix bug in clean target (closes SF patch 103864 and bug 132879). The clobber
Neil Schemenauer [Mon, 19 Feb 2001 04:35:11 +0000 (04:35 +0000)]
Fix bug in clean target (closes SF patch 103864 and bug 132879).  The clobber
target now removes some configure files (like it did before).

24 years agoreorganized PyUnicode_DecodeUnicodeEscape a bit (in order to make it
Fredrik Lundh [Sun, 18 Feb 2001 22:13:49 +0000 (22:13 +0000)]
reorganized PyUnicode_DecodeUnicodeEscape a bit (in order to make it
less likely that bug #132817 ever appears again)

24 years agorenamed internal functions to avoid name clashes under OpenVMS
Fredrik Lundh [Sun, 18 Feb 2001 22:06:17 +0000 (22:06 +0000)]
renamed internal functions to avoid name clashes under OpenVMS
(fixes bug #132815)

24 years agodetect attempts to repeat anchors (fixes bug #130748)
Fredrik Lundh [Sun, 18 Feb 2001 21:04:48 +0000 (21:04 +0000)]
detect attempts to repeat anchors (fixes bug #130748)

24 years agosre_{parse, compile} no longer define __all__.
Tim Peters [Sun, 18 Feb 2001 14:44:42 +0000 (14:44 +0000)]
sre_{parse, compile} no longer define __all__.

24 years ago- restored 1.5.2 compatibility (sorry, eric)
Fredrik Lundh [Sun, 18 Feb 2001 12:05:16 +0000 (12:05 +0000)]
- restored 1.5.2 compatibility (sorry, eric)
- removed __all__ cruft from internal modules (sorry, skip)
- don't assume ASCII for string escapes (sorry, per)

24 years agostupid typo (for some reason, this only caused problems on OpenVMS).
Fredrik Lundh [Sun, 18 Feb 2001 11:41:49 +0000 (11:41 +0000)]
stupid typo (for some reason, this only caused problems on OpenVMS).

24 years agoFixed misspelling.
Tim Peters [Sun, 18 Feb 2001 08:48:49 +0000 (08:48 +0000)]
Fixed misspelling.

24 years agoBug #132921: None treated differently in cmp() / sort() in 2.1a2.
Tim Peters [Sun, 18 Feb 2001 08:28:33 +0000 (08:28 +0000)]
Bug #132921:  None treated differently in cmp() / sort() in 2.1a2.
Just mentioning that in the NEWS file.

24 years agoMove docstrings out of function table to constants defined near the
Fred Drake [Sun, 18 Feb 2001 05:20:18 +0000 (05:20 +0000)]
Move docstrings out of function table to constants defined near the
function implementations.

24 years agoBug #132313 error message confusing for assignment in lambda.
Tim Peters [Sun, 18 Feb 2001 04:45:10 +0000 (04:45 +0000)]
Bug #132313 error message confusing for assignment in lambda.
They're actually complaining about something more specific, an assignment
in a lambda as an actual argument, so that Python parses the
lambda as if it were a keyword argument.  Like f(lambda x: x[0]=42).
The "lambda x: x[0]" part gets parsed as if it were a keyword, being
bound to 42, and the resulting error msg didn't make much sense.

24 years agoremoved __all__ from several modules
Skip Montanaro [Sun, 18 Feb 2001 03:30:53 +0000 (03:30 +0000)]
removed __all__ from several modules

24 years agoremoved __all__ - should probably rename makedict to _makedict unless it is
Skip Montanaro [Sun, 18 Feb 2001 03:13:08 +0000 (03:13 +0000)]
removed __all__ - should probably rename makedict to _makedict unless it is
to be exported

24 years agoadd module-level constants to __all__
Skip Montanaro [Sun, 18 Feb 2001 03:10:09 +0000 (03:10 +0000)]
add module-level constants to __all__

24 years ago- Removed debug
Jack Jansen [Sat, 17 Feb 2001 23:39:35 +0000 (23:39 +0000)]
- Removed debug
- Make sure splash screens are visible

24 years agoConfigurePython now comes in two flavors: ConfigurePythonClassic and ConfigurePythonC...
Jack Jansen [Sat, 17 Feb 2001 23:31:48 +0000 (23:31 +0000)]
ConfigurePython now comes in two flavors: ConfigurePythonClassic and ConfigurePythonCarbon, which copy the respective interpreters to PythonInterpreter and rebuild all the applets. This allows MacOS9 users to switch back and forth.

24 years agoAllow selecting a template in findtemplate(), so Classic programs can build Carbon...
Jack Jansen [Sat, 17 Feb 2001 23:30:19 +0000 (23:30 +0000)]
Allow selecting a template in findtemplate(), so Classic programs can build Carbon applets and vice-versa.

24 years ago2.1a2 distribution files.
Jack Jansen [Sat, 17 Feb 2001 22:12:43 +0000 (22:12 +0000)]
2.1a2 distribution files.

24 years agoAdded a note that this file is incorrect for 2.1a2.
Jack Jansen [Sat, 17 Feb 2001 22:04:13 +0000 (22:04 +0000)]
Added a note that this file is incorrect for 2.1a2.

24 years ago2.1a2 distribution files.
Jack Jansen [Sat, 17 Feb 2001 22:03:42 +0000 (22:03 +0000)]
2.1a2 distribution files.

24 years agoBug #132850 unix line terminator on windows.
Tim Peters [Sat, 17 Feb 2001 22:02:34 +0000 (22:02 +0000)]
Bug #132850 unix line terminator on windows.
Miserable hack to replace the previous miserable hack in maybe_pyc_file.

24 years agoMore changes to attempt to get the menubar back on exit. Without success:-(
Jack Jansen [Sat, 17 Feb 2001 22:02:07 +0000 (22:02 +0000)]
More changes to attempt to get the menubar back on exit. Without success:-(

24 years agoMade version string shorter for Carbon so it fits on one line.
Jack Jansen [Sat, 17 Feb 2001 22:00:43 +0000 (22:00 +0000)]
Made version string shorter for Carbon so it fits on one line.

24 years agoMore modifications to bring the script output in line with the real thing.
Jack Jansen [Sat, 17 Feb 2001 22:00:18 +0000 (22:00 +0000)]
More modifications to bring the script output in line with the real thing.

24 years agoBug #132816: Compiler warning in PYEXPAT.C for extra ';'
Tim Peters [Sat, 17 Feb 2001 18:12:50 +0000 (18:12 +0000)]
Bug #132816:  Compiler warning in PYEXPAT.C for extra ';'
Removed trailing ";" in instances of "};" closing code blocks.

24 years agoIn the example showing the irrelevance of start columns, restore that the
Tim Peters [Sat, 17 Feb 2001 18:03:25 +0000 (18:03 +0000)]
In the example showing the irrelevance of start columns, restore that the
start columns differ (editing had pushed them all into column 0).

24 years agoAdd entries for the doctest documentation.
Fred Drake [Sat, 17 Feb 2001 17:33:25 +0000 (17:33 +0000)]
Add entries for the doctest documentation.

24 years agoMake a variety of minor markup adjustments.
Fred Drake [Sat, 17 Feb 2001 17:32:41 +0000 (17:32 +0000)]
Make a variety of minor markup adjustments.

Close some environments so that this will actually format.

24 years agoSF patch #103808: doctest.py docs
Tim Peters [Sat, 17 Feb 2001 05:58:44 +0000 (05:58 +0000)]
SF patch #103808: doctest.py docs
Checking in Moshe's patch after rewrapping some paragraphs (to consume
fewer columns) and repairing that I/2.**J lost the I.

24 years agoSet PYTHONPATH when running setup.py in order to override any ambient
Andrew M. Kuchling [Sat, 17 Feb 2001 05:33:50 +0000 (05:33 +0000)]
Set PYTHONPATH when running setup.py in order to override any ambient
    value for it, as suggested in bug #129854.  This prevents an old
    PYTHONPATH confusing setup.py (say, if it results in Python finding
    an old version of the Distutils)

24 years agoChange temp names created by listcomps from [%d] to _[%d], so the one-liner
Tim Peters [Sat, 17 Feb 2001 05:30:26 +0000 (05:30 +0000)]
Change temp names created by listcomps from [%d] to _[%d], so the one-liner
    [k for k in dir() if k[0] != "_"]
can be used to get the non-private names (used to contain "[1]").

24 years agoSplit the rpath argument into multiple paths, turning it into a list.
Andrew M. Kuchling [Sat, 17 Feb 2001 04:48:41 +0000 (04:48 +0000)]
Split the rpath argument into multiple paths, turning it into a list.
    This partially fixes bug #128930.

24 years agoFix typo
Andrew M. Kuchling [Sat, 17 Feb 2001 00:42:56 +0000 (00:42 +0000)]
Fix typo
Makefile.pre.in was added in 1.4

24 years agoFix two typos, and add some omitted \option{} markup
Andrew M. Kuchling [Sat, 17 Feb 2001 00:38:48 +0000 (00:38 +0000)]
Fix two typos, and add some omitted \option{} markup

24 years agoHack to make this still work with Python 1.5.2. ;-(
Fred Drake [Fri, 16 Feb 2001 22:13:48 +0000 (22:13 +0000)]
Hack to make this still work with Python 1.5.2.  ;-(

24 years agoSteven Majewski's instructions for building the toolbox modules for
Jack Jansen [Fri, 16 Feb 2001 21:48:24 +0000 (21:48 +0000)]
Steven Majewski's instructions for building the toolbox modules for
incorporating them in a vanilla Python under MacOSX (i.e. in a
non-MacPython-Python). Not complete and up-to-date right now, but
that'll be fixed shortly.

24 years agoRemove the old version of my_StartElementHandler(). This was conditionally
Fred Drake [Fri, 16 Feb 2001 20:46:26 +0000 (20:46 +0000)]
Remove the old version of my_StartElementHandler().  This was conditionally
compiled only for some versions of Expat, but was no longer needed as the
new implementation works for all versions.  Keeping it created multiple
definitions for Expat 1.2, which caused compilation to fail.

24 years agoRemove trailing comma from 'why_code' enum, which was introduced by the
Thomas Wouters [Fri, 16 Feb 2001 11:52:31 +0000 (11:52 +0000)]
Remove trailing comma from 'why_code' enum, which was introduced by the
continue-inside-try patch. Partly fixes SF bug #132597.

24 years agoRemove outdated information. Merge now dead BeOS/README-readline. I'm not
Neil Schemenauer [Fri, 16 Feb 2001 04:35:20 +0000 (04:35 +0000)]
Remove outdated information.  Merge now dead BeOS/README-readline.  I'm not
sure if that information is still relevant though.

24 years agoAdd more information regarding the altinstall target.
Neil Schemenauer [Fri, 16 Feb 2001 04:18:08 +0000 (04:18 +0000)]
Add more information regarding the altinstall target.

24 years agoRemove confusing explaination about altinstall target and refer to
Neil Schemenauer [Fri, 16 Feb 2001 04:16:34 +0000 (04:16 +0000)]
Remove confusing explaination about altinstall target and refer to
the README file.

24 years agoAdd Include to the list of source directories.
Neil Schemenauer [Fri, 16 Feb 2001 04:11:41 +0000 (04:11 +0000)]
Add Include to the list of source directories.

24 years agoSimplify linking on AIX and BeOS (SF patch #103679).
Neil Schemenauer [Fri, 16 Feb 2001 04:09:05 +0000 (04:09 +0000)]
Simplify linking on AIX and BeOS (SF patch #103679).

24 years agoBuild grammar files in their proper place rather than moving them. This should
Neil Schemenauer [Fri, 16 Feb 2001 03:59:53 +0000 (03:59 +0000)]
Build grammar files in their proper place rather than moving them.  This should
allow building with a read-only source tree (although I haven't tried it).

24 years agoTake output filenames as arguments instead of hard-coding them.
Neil Schemenauer [Fri, 16 Feb 2001 03:57:53 +0000 (03:57 +0000)]
Take output filenames as arguments instead of hard-coding them.

24 years agoThe usual.
Neil Schemenauer [Fri, 16 Feb 2001 03:37:54 +0000 (03:37 +0000)]
The usual.

24 years agoSimplify linking on BeOS. Rename some files. Closes SF patch #103679.
Neil Schemenauer [Fri, 16 Feb 2001 03:36:53 +0000 (03:36 +0000)]
Simplify linking on BeOS.  Rename some files.  Closes SF patch #103679.

24 years agoLinking just got simpiler on AIX and BeOS (closes SF patch #103679).
Neil Schemenauer [Fri, 16 Feb 2001 03:31:13 +0000 (03:31 +0000)]
Linking just got simpiler on AIX and BeOS (closes SF patch #103679).

24 years agoRemove a hard coded Python version, and a now incorrect relative path. Closes
Neil Schemenauer [Fri, 16 Feb 2001 03:27:35 +0000 (03:27 +0000)]
Remove a hard coded Python version, and a now incorrect relative path.  Closes
SF patch #103680.

24 years agoMoved BeOS/ar-fake and BeOS/linkmodule to Modules/ar_beos and
Neil Schemenauer [Fri, 16 Feb 2001 03:24:50 +0000 (03:24 +0000)]
Moved BeOS/ar-fake and BeOS/linkmodule to Modules/ar_beos and
Modules/ld_so_beos.  Closes SF patch #103679.

24 years agoMoved BeOS/README to Misc/BeOS-NOTES.
Neil Schemenauer [Fri, 16 Feb 2001 03:23:11 +0000 (03:23 +0000)]
Moved BeOS/README to Misc/BeOS-NOTES.

24 years agoNo longer relevant.
Neil Schemenauer [Fri, 16 Feb 2001 03:22:12 +0000 (03:22 +0000)]
No longer relevant.

24 years agoWhitespace normalization.
Tim Peters [Thu, 15 Feb 2001 23:56:39 +0000 (23:56 +0000)]
Whitespace normalization.

24 years agoA few more tweaks (there were a couple of files missing on my work machine).
Jack Jansen [Thu, 15 Feb 2001 22:58:12 +0000 (22:58 +0000)]
A few more tweaks (there were a couple of files missing on my work machine).

24 years agoWaste 1.3 extra's modified for waste 2.0 (and missing from MW's distribution of 2.0).
Jack Jansen [Thu, 15 Feb 2001 22:56:41 +0000 (22:56 +0000)]
Waste 1.3 extra's modified for waste 2.0 (and missing from MW's distribution of 2.0).

24 years agobunch more __all__ lists
Skip Montanaro [Thu, 15 Feb 2001 22:15:14 +0000 (22:15 +0000)]
bunch more __all__ lists
also modified check_all function to suppress all warnings since they aren't
relevant to what this test is doing (allows quiet checking of regsub, for
instance)

24 years agomention the use of the maxtries attribute of FancyURLopener in bounding
Skip Montanaro [Thu, 15 Feb 2001 17:00:40 +0000 (17:00 +0000)]
mention the use of the maxtries attribute of FancyURLopener in bounding
redirection recursion.

24 years agoprovide simple recovery/escape from apparent redirect recursion. If the
Skip Montanaro [Thu, 15 Feb 2001 16:56:36 +0000 (16:56 +0000)]
provide simple recovery/escape from apparent redirect recursion.  If the
number of entries into http_error_302 exceeds the value set for the maxtries
attribute (which defaults to 10), the recursion is exited by calling
the http_error_500 method (or if that is not defined, http_error_default).

24 years agoDocument default blocksize for storbinary().
Guido van Rossum [Thu, 15 Feb 2001 13:53:40 +0000 (13:53 +0000)]
Document default blocksize for storbinary().

24 years agoProvide a default for the blocksize arg of storbinary().
Guido van Rossum [Thu, 15 Feb 2001 13:50:36 +0000 (13:50 +0000)]
Provide a default for the blocksize arg of storbinary().

SF patch #103517 by mfx.

24 years agoRewrite AIX blurb to make clear threads are the default, and add note about
Thomas Wouters [Thu, 15 Feb 2001 11:45:29 +0000 (11:45 +0000)]
Rewrite AIX blurb to make clear threads are the default, and add note about
setting the non-C++ compiler to a threadsafe one as well.

24 years agoAdd a few more missing prototypes to the SunOS 4.1.4 section (no SF
Thomas Wouters [Thu, 15 Feb 2001 08:46:56 +0000 (08:46 +0000)]
Add a few more missing prototypes to the SunOS 4.1.4 section (no SF
bugreport, just an IRC one by Marion Delgado.) These prototypes are
necessary because the functions are tossed around, not just called.

24 years agoMake some clarifications and corrections based on comments from Guido.
Fred Drake [Thu, 15 Feb 2001 05:37:51 +0000 (05:37 +0000)]
Make some clarifications and corrections based on comments from Guido.
Fix a few markup nits.
Work around a LaTeX2HTML nuisance.

24 years agoBe more careful to avoid spurious output from the shell script that
Fred Drake [Wed, 14 Feb 2001 21:26:31 +0000 (21:26 +0000)]
Be more careful to avoid spurious output from the shell script that
unpacks the development version of the docs on SF.

24 years agoCommit this so CVS doesn't keep noticing the next version number.
Fred Drake [Wed, 14 Feb 2001 20:53:07 +0000 (20:53 +0000)]
Commit this so CVS doesn't keep noticing the next version number.

24 years agoAdd a note to Node.isSameNode() that it is based on the DOM Level 3 working
Fred Drake [Wed, 14 Feb 2001 20:39:15 +0000 (20:39 +0000)]
Add a note to Node.isSameNode() that it is based on the DOM Level 3 working
draft.  I'm not sure that's important, but Uche thinks it is.

24 years agoUpdated to reflect the additional information and interfaces exported in
Fred Drake [Wed, 14 Feb 2001 18:54:32 +0000 (18:54 +0000)]
Updated to reflect the additional information and interfaces exported in
pyexpat.c revision 2.40.

24 years agoxmlparseobject: Remove the unused conv_attrs field, added an
Fred Drake [Wed, 14 Feb 2001 18:29:45 +0000 (18:29 +0000)]
xmlparseobject:  Remove the unused conv_attrs field, added an
    in_callback field that's set to true whenever a callback into an
    event handler is true.  Needed for:

set_error():  Add line number of offset information to the exception
    as attributes, so users don't need to parse the text of the
    message.

set_error_attr():  New helper function for set_error().

xmlparse_GetInputContext():  New function of the parser object;
    returns the document source for an event during a callback, None
    at all other times.

xmlparse_SetParamEntityParsing():  Make the signature consistent with
    the other parser methods (use xmlparseobject* for self instead of
    PyObject*).

initpyexpat():  Don't lose the reference to the exception class!

call_with_frame(),
getcode():  Re-indent to be consistent with the rest of the file.

24 years agoPatch #103748 from Toby Dickenson: fix typo in test_zlib that turns one
Andrew M. Kuchling [Wed, 14 Feb 2001 17:46:20 +0000 (17:46 +0000)]
Patch #103748 from Toby Dickenson: fix typo in test_zlib that turns one
    test case into a no-op because ''.join('hello world') == 'hello world'