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

24 years agoDialogWindows now have a self.dlg in addition to self.wid.
Jack Jansen [Wed, 14 Feb 2001 17:07:04 +0000 (17:07 +0000)]
DialogWindows now have a self.dlg in addition to self.wid.

24 years agoThe new touched() was far too expensive. Re-enabled the old one, the ae-based one...
Jack Jansen [Wed, 14 Feb 2001 17:06:32 +0000 (17:06 +0000)]
The new touched() was far too expensive. Re-enabled the old one, the ae-based one is available as touched_ae(). Have to read up on the subject of telling the finder about changes.

24 years agoAlso create alias to PythonCoreCarbon.
Jack Jansen [Wed, 14 Feb 2001 17:04:51 +0000 (17:04 +0000)]
Also create alias to PythonCoreCarbon.
Got rid of lots of 68k stuff.

24 years agoStarted on the 2.1a2 installer.
Jack Jansen [Wed, 14 Feb 2001 16:58:21 +0000 (16:58 +0000)]
Started on the 2.1a2 installer.

24 years agoTest section name using some strange characters, including a backslash
Fred Drake [Wed, 14 Feb 2001 15:30:31 +0000 (15:30 +0000)]
Test section name using some strange characters, including a backslash
(SF bug #132288).

24 years agoBe much more permissive in what we accept in section names; there has been
Fred Drake [Wed, 14 Feb 2001 15:24:17 +0000 (15:24 +0000)]
Be much more permissive in what we accept in section names; there has been
at least one addition to the set of accepted characters for every release
since this module was first added; this should take care of the problem
in a more substantial way.

This closes SF bug #132288.

24 years agoRe-add DOS line-endings and mark the files binary.
Thomas Wouters [Wed, 14 Feb 2001 09:43:47 +0000 (09:43 +0000)]
Re-add DOS line-endings and mark the files binary.

24 years agoMiranda newlines: if anything at all was written to stdout, supply a
Tim Peters [Wed, 14 Feb 2001 06:35:35 +0000 (06:35 +0000)]
Miranda newlines:  if anything at all was written to stdout, supply a
newline at the end if there isn't one already.  Expected output has no
way to indicate that a trailing newline was not expected, and in the
interpreter shell *Python* supplies the trailing newline before printing
the next prompt.

24 years agoFeeble attempt to repair obsolete info about hex escapes.
Tim Peters [Wed, 14 Feb 2001 04:03:51 +0000 (04:03 +0000)]
Feeble attempt to repair obsolete info about hex escapes.

24 years agoReflect change in traceback format:
Fred Drake [Wed, 14 Feb 2001 03:20:18 +0000 (03:20 +0000)]
Reflect change in traceback format:
"innermost last" --> "most recent call last"

24 years agoFinished the section on weak references
Andrew M. Kuchling [Wed, 14 Feb 2001 02:44:18 +0000 (02:44 +0000)]
Finished the section on weak references
Mentioned doctest, difflib, sys._getframe(), and the change to use
   PyImport_ImportModule() everywhere in C code
No more XXX!

24 years agoFix two typos
Andrew M. Kuchling [Wed, 14 Feb 2001 02:39:11 +0000 (02:39 +0000)]
Fix two typos

24 years agoChange doctest exception example to one whose detail hasn't changed since 1.5.2.
Tim Peters [Wed, 14 Feb 2001 00:43:21 +0000 (00:43 +0000)]
Change doctest exception example to one whose detail hasn't changed since 1.5.2.

24 years agoAdapted unweave to Matthias' fixes. It's still off-by-one-space in some cases.
Jack Jansen [Tue, 13 Feb 2001 22:58:56 +0000 (22:58 +0000)]
Adapted unweave to Matthias' fixes. It's still off-by-one-space in some cases.

24 years agoUpdate to properly explain that the default Unicode encoding is ASCII, &c.
Ka-Ping Yee [Tue, 13 Feb 2001 22:20:22 +0000 (22:20 +0000)]
Update to properly explain that the default Unicode encoding is ASCII, &c.

24 years agoTeach doctest about newer "(most recent call last)" traceback spelling.
Tim Peters [Tue, 13 Feb 2001 20:54:42 +0000 (20:54 +0000)]
Teach doctest about newer "(most recent call last)" traceback spelling.

24 years agoAdded a comment explaining why this file must really have #!
Guido van Rossum [Tue, 13 Feb 2001 13:13:33 +0000 (13:13 +0000)]
Added a comment explaining why this file must really have #!
/usr/local/bin/python and not #! /usr/bin/env python.

24 years agoRelated to SF bug 132008 (PyList_Reverse blows up).
Tim Peters [Mon, 12 Feb 2001 22:13:26 +0000 (22:13 +0000)]
Related to SF bug 132008 (PyList_Reverse blows up).
_testcapimodule.c
    make sure PyList_Reverse doesn't blow up again
getargs.c
    assert args isn't NULL at the top of vgetargs1 instead of
    waiting for a NULL-pointer dereference at the end

24 years agoFix core dump whenever PyList_Reverse() was called.
Guido van Rossum [Mon, 12 Feb 2001 22:06:02 +0000 (22:06 +0000)]
Fix core dump whenever PyList_Reverse() was called.

This fixes SF bug #132008, reported by Warren J. Hack.

The copyright for this patch (and this patch only) belongs to CNRI, as
part of the (yet to be issued) 1.6.1 release.

This is now checked into the HEAD branch.  Tim will check in a test
case to check for this specific bug, and an assertion in
PyArgs_ParseTuple() to catch similar bugs in the future.

24 years agoThe bulk of the credit for these changes goes to Bastian Kleineidam
Skip Montanaro [Mon, 12 Feb 2001 20:58:30 +0000 (20:58 +0000)]
The bulk of the credit for these changes goes to Bastian Kleineidam
* restores urllib as the file fetcher (closes bug #132000)
* allows checking URLs with empty paths (closes patches #103511 and 103721)
* properly handle user agents with versions (e.g., SpamMeister/1.5)
* added several more tests

24 years agoJon Nelson <jnelson@users.sourceforge.net>:
Fred Drake [Mon, 12 Feb 2001 19:12:55 +0000 (19:12 +0000)]
Jon Nelson <jnelson@users.sourceforge.net>:
Make the documentation tools work with Python 1.5.2.
[Slightly modified from submitted patch. --FLD]

This closes SF bug #132005.

24 years agoPyTuple_*() functions take PyObject* parameters, not PyTupleObject* values.
Fred Drake [Mon, 12 Feb 2001 17:38:18 +0000 (17:38 +0000)]
PyTuple_*() functions take PyObject* parameters, not PyTupleObject* values.
This closes SF bug #131304.