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

24 years agoAdded options that use square brackets in their names; this ensures that
Fred Drake [Mon, 12 Feb 2001 17:23:20 +0000 (17:23 +0000)]
Added options that use square brackets in their names; this ensures that
GNOME-style internationalized options can be parsed using ConfigParser
(SF bug #131635).

Converted the tests to use test_support.verify() instead of output
comparison to work.

24 years agoAllow square brackets in the option names; this makes it possible to use
Fred Drake [Mon, 12 Feb 2001 17:18:11 +0000 (17:18 +0000)]
Allow square brackets in the option names; this makes it possible to use
ConfigParser with GNOME-ish config files that use the internationalization
conventions found in GNOME.

This closes SF bug #131635.

24 years agoRichard Fish <rfish@users.sourceforge.net>:
Fred Drake [Mon, 12 Feb 2001 16:48:13 +0000 (16:48 +0000)]
Richard Fish <rfish@users.sourceforge.net>:
Fix the .binary() method of mpz objects for 64-bit systems.

[Also removed a lot of trailing whitespace elsewhere in the file. --FLD]

This closes SF patch #103547.

24 years agoGot rid of full pathnames in "generated from" comments, so that these files are the...
Jack Jansen [Mon, 12 Feb 2001 16:09:44 +0000 (16:09 +0000)]
Got rid of full pathnames in "generated from" comments, so that these files are the same no mater which machine they've been generated on.

24 years agoAdd a "description" meta tag that includes a version number.
Fred Drake [Mon, 12 Feb 2001 16:04:24 +0000 (16:04 +0000)]
Add a "description" meta tag that includes a version number.

24 years agoIn symtable_update_free_vars() do not modify the dictionary while
Jeremy Hylton [Mon, 12 Feb 2001 16:01:03 +0000 (16:01 +0000)]
In symtable_update_free_vars() do not modify the dictionary while
iterating over it using PyDict_Next().

This bug fix brought to you by the letters b, c, d, g, h, ... and the
reporter Ping.

24 years agoJon Nelson <jnelson@users.sourceforge.net>:
Fred Drake [Mon, 12 Feb 2001 15:30:22 +0000 (15:30 +0000)]
Jon Nelson <jnelson@users.sourceforge.net>:
Make the documentation tools compatibile with Python 2.0.

24 years agoBrought in line with current config.h.in.
Jack Jansen [Mon, 12 Feb 2001 14:59:13 +0000 (14:59 +0000)]
Brought in line with current config.h.in.

24 years agoNot sure what changed, probably an artefact of the new modules and/or new gusi.
Jack Jansen [Mon, 12 Feb 2001 14:57:59 +0000 (14:57 +0000)]
Not sure what changed, probably an artefact of the new modules and/or new gusi.

24 years agoThe interpreters built are now called PythonInterpreterClassic and PythonInterpreterC...
Jack Jansen [Mon, 12 Feb 2001 14:52:47 +0000 (14:52 +0000)]
The interpreters built are now called PythonInterpreterClassic and PythonInterpreterCarbon. The fullbuild script takes care of copying either of these to PythonInterpreter.

24 years agoAdded modules _testcapi, _weakref, _symtable.
Jack Jansen [Mon, 12 Feb 2001 14:50:52 +0000 (14:50 +0000)]
Added modules _testcapi, _weakref, _symtable.

24 years agoAdded buttons for building interpreter, carbon standalone.
Jack Jansen [Mon, 12 Feb 2001 14:46:53 +0000 (14:46 +0000)]
Added buttons for building interpreter, carbon standalone.
Added modules _testcapi, _weakref, _symtable.

24 years agoThis change makes imputil more closely emulate the standard import
Thomas Heller [Mon, 12 Feb 2001 09:17:06 +0000 (09:17 +0000)]
This change makes imputil more closely emulate the standard import
mechanism to support self-modifying modules.

24 years agotest_pty started failing on Windows, but if and only if test___all__ was
Tim Peters [Mon, 12 Feb 2001 03:27:31 +0000 (03:27 +0000)]
test_pty started failing on Windows, but if and only if test___all__ was
run first.  Indirectly due to Skip adding check_all("pty") to test___all__:
that caused the expected ImportError due to pty.py trying to import the
non-existent FCNTL to get handled by test___all__, leaving a partial
module object for pty in sys.modules, which caused the later import of
pty via test_pty to succeed.  Then test_tpy died with an AttributeError,
due to trying to access attributes of pty that didn't exist.  regrtest
viewed that as a failure rather than the appropriate "test skipped".
Fixed by deleting partial module objects in test___all__ when test___all__
handles an ImportError.

24 years ago__all__ for several more modules
Skip Montanaro [Mon, 12 Feb 2001 02:00:42 +0000 (02:00 +0000)]
__all__ for several more modules

24 years agoCreate separate section for changes to the standard library
Andrew M. Kuchling [Sun, 11 Feb 2001 16:55:39 +0000 (16:55 +0000)]
Create separate section for changes to the standard library
Make note about difflib and doctest
Bump version number

24 years agoUgly fix for SF bug 131239 (-x flag busted).
Tim Peters [Sun, 11 Feb 2001 04:35:39 +0000 (04:35 +0000)]
Ugly fix for SF bug 131239 (-x flag busted).
Bug was introduced by tricks played to make .pyc files executable
via cmdline arg.  Then again, -x worked via a trick to begin with.
If anyone can think of a portable way to test -x, be my guest!

24 years agoBit the bullet and added a private GUSISIOUX for Python. This makes the delayconsole...
Jack Jansen [Sun, 11 Feb 2001 01:26:28 +0000 (01:26 +0000)]
Bit the bullet and added a private GUSISIOUX for Python. This makes the delayconsole and keepopen code neater. Also tells Sioux to behave better with events, and handles cmd-. during print better. The pythonpreferences have also changed due to this.

24 years agoOops, repr didn't allocate the memory it used...
Jack Jansen [Sun, 11 Feb 2001 01:12:53 +0000 (01:12 +0000)]
Oops, repr didn't allocate the memory it used...