Fred Drake
eff9a87fcc
Lots of small markup adjustments for consistency with the rest of the
...
documentation.
2000-10-26 16:41:03 +00:00
Fred Drake
35f8d46f94
Update a comment to be correct.
2000-10-26 14:57:29 +00:00
Fred Drake
9c6850510c
Remove bogus stdout redirection and use of sys.__stdout__; use
...
augmented print statement instead.
2000-10-26 03:56:46 +00:00
Fred Drake
33e2c3ece3
Remove bogus stdout redirection and use of sys.__stdout__; use
...
augmented print statement instead.
2000-10-26 03:49:15 +00:00
Fred Drake
bce920129c
Typo: shorted --> shorter
...
This closes bug #117706 .
2000-10-25 23:22:54 +00:00
Guido van Rossum
c8fcdcba36
Patch 102114, Bug 11725. On OpenBSD (but apparently not on the other
...
BSDs) you need a leading underscore in the dlsym() lookup name.
2000-10-25 22:07:45 +00:00
Guido van Rossum
add8d86325
Fix two typos in __imul__. Closes Bug #117745 .
2000-10-25 21:58:20 +00:00
Guido van Rossum
e752baae71
Add IDLE wish: access items of arrays
2000-10-25 21:18:12 +00:00
Fred Drake
53143bec9b
Since LookupError can be raised by sys.setdefaultencoding(), we should not
...
document it as only being a base class, not matter how unlikely this is
to affect normal users.
2000-10-25 21:05:29 +00:00
Fred Drake
1dba66cb72
Marc-Andre Lemburg <mal@lemburg.com> noted that the encode() string method
...
was added in 2.0.
2000-10-25 21:03:55 +00:00
Fred Drake
8940fafabd
Additions from Marc-Andre Lemburg <mal@lemburg.com>, documenting
...
getdefaultencoding() and setdefaultencoding().
2000-10-25 21:02:55 +00:00
Fred Drake
1491cace2a
Several additions and updates based on text from Marc-Andre Lemburg
...
<mal@lemburg.com>.
Lots of markup reformatting to make it easier for me to read & maintain.
2000-10-25 20:59:52 +00:00
Jeremy Hylton
7cff7fe21f
Many changes.
...
Reformatting -- long lines, "[ ]" -> "[]", a few indentation nits.
Replace calls to Node function (which constructed ast nodes) with
calls to actual constructors imported from ast module.
Optimize com_node (most frequently used method) for the common case --
the appropriate method is found in _dispatch.
Fix com_augassign to use class object's rather than node names
(rendered invalid by recent changes to ast)
Remove expensive tests for sequence-ness in com_stmt and
com_append_stmt. These tests should never fail; if they do, something
is really broken and exception will be raised elsewhere.
Fix com_stmt and com_append_stmt to use isinstance rather than
testing's type slot of ast node (this slot disappeared with recent
changes to ast).
2000-10-25 18:10:32 +00:00
Jeremy Hylton
628d289d12
Generated from rev 1.1 of ast.txt
2000-10-25 18:02:59 +00:00
Jeremy Hylton
66d2c1f7e5
Small optimizations in dispatch method: 1) lookup node's __class__ once
...
and store in local; 2) define _preorder to be dispatch (rather than
method that called dispatch).
2000-10-25 18:02:02 +00:00
Jeremy Hylton
821eee3321
Support for generation of ast.py from simple description of node
...
structure (ast.txt). Usage is python astgen.py > ast.py.
2000-10-25 17:59:17 +00:00
Fred Drake
6caae14fbd
Try to clarify when the Modules/Setup file should be edited. Added
...
information about the --with-pydebug option to configure.
This closes bug #117070 .
2000-10-25 17:51:02 +00:00
Guido van Rossum
1378bd5b0b
Also point TK_LIBRARY to the appropriate directory.
...
Changed the landmark to tclIndex, which should occur in both.
2000-10-25 17:42:13 +00:00
Fred Drake
7497bd3e3d
Rename $PYTHON_VERSION to $PACKAGE_VERSION; this is the version number for
...
whatever is being documented, not necessarily Python. (These tools are
also used for the How-To documents, etc.)
get_version_text(): New function. Returns HTML fragment describing the
software version and documentation date.
bot_navigation_panel(): Include the result of get_version_text() at the
end, so the information is available on every page.
2000-10-25 16:18:10 +00:00
Fred Drake
d04592a46b
Rename $PYTHON_VERSION to $PACKAGE_VERSION; this is the version number for
...
whatever is being documented, not necessarily Python. (These tools are
also used for the How-To documents, etc.)
2000-10-25 16:15:13 +00:00
Fred Drake
e4359952c0
Remove some HTML from the PYTHONDOCS fragment defined here.
2000-10-25 16:12:04 +00:00
Fred Drake
6a11960ed4
Minor addition; add a little formatting to the release information that
...
will be added to Doc/perl/l2hinit.perl shortly.
2000-10-25 16:10:46 +00:00
Fred Drake
7ceab739d0
Make this actually work now that the tool is checked in here instead of
...
just sitting around in my working directory.
2000-10-24 19:59:55 +00:00
Fred Drake
661ea26b3d
Ka-Ping Yee <ping@lfw.org>:
...
Changes to error messages to increase consistency & clarity.
This (mostly) closes SourceForge patch #101839 .
2000-10-24 19:57:45 +00:00
Guido van Rossum
bd6f4fba1b
Insert the current directory to the front of sys.path -- and remove it
...
at the end. This fixes a problem where
python Lib/test/test_import.py
failed while "make test" succeeded.
2000-10-24 17:16:32 +00:00
Lars Gustäbel
0702507ea2
Added a test case for the saxutils.prepare_input_source setSystemId bug.
2000-10-24 16:00:22 +00:00
Lars Gustäbel
4ced5e7675
Fix bug in prepare_input_source (patched by Paul P., sourceforge.net down
...
now, so can't find number).
2000-10-24 15:53:12 +00:00
Lars Gustäbel
cfd3bd838c
Updated output.
2000-10-24 15:36:28 +00:00
Lars Gustäbel
2fc5294911
Added some more tests here and there.
2000-10-24 15:35:07 +00:00
Fred Drake
277a21150b
Added entries for the xml.dom.minidom module.
2000-10-24 02:35:42 +00:00
Fred Drake
669d36f02c
Paul Prescod <paul@prescod.net>:
...
Documentation for the xml.dom.minidom module & Python DOM API.
FLD: I have revised the markup in some places and added a few minor
details to Paul's text, but that's it. Given the substantial
structural differences with the bulk of the presentation, I will be
making additional revisions over the next few days.
2000-10-24 02:34:45 +00:00
Fred Drake
f61eac425a
Remove second horizontal line below table headers; it is just too
...
distracting.
2000-10-24 02:18:30 +00:00
Fred Drake
9880062ee6
Remove some obsolete files, and update the README.
2000-10-23 20:50:23 +00:00
Fred Drake
d038ca830f
Make reindent.py happy (convert everything to 4-space indents!).
2000-10-23 18:31:14 +00:00
Fred Drake
16f6329e61
Make reindent.py happy (lots of trailing whitespace removed).
2000-10-23 18:09:50 +00:00
Fred Drake
098b55ab44
Make reindent happy, but not in the way it planned!
2000-10-23 17:30:23 +00:00
Fred Drake
004d5e6880
Make reindent.py happy (convert everything to 4-space indents!).
2000-10-23 17:22:08 +00:00
Fred Drake
2e6d25c5bb
Use 4-space indents.
2000-10-23 17:00:30 +00:00
Fred Drake
2ec80faae5
Clean up the temporary file when done with it.
2000-10-23 16:59:35 +00:00
Fred Drake
dce5641856
Make sure the temporary file is cleaned up even when we raise TestSkipped.
2000-10-23 16:38:20 +00:00
Fred Drake
44b6bd2179
Added note saying to use test_support.TESTFN for a temporary filename,
...
and be clear that you need to clean it up when done.
2000-10-23 16:37:14 +00:00
Fred Drake
8902442e2f
Added exception to the rule that the buffer returned by PyString_AsString()
...
and PyString_AsStringAndSize() for strings that were just created using
PyString_FromStringAndSize(NULL, n).
This closes bug #117377 .
Added warning about passing NULL to the concrete object functions; many of
them use the appropriate Py<Type>_Check() test, but do not check for NULL.
"de-allocated" --> "deallocated"
2000-10-23 16:00:54 +00:00
Fred Drake
246f65f2bb
Correct the name of a parameter in the description of the register()
...
function.
This closes bug #117467 .
2000-10-23 15:41:13 +00:00
Fred Drake
0aaed272a7
Added test for regression on SourceForge bug #117490 .
2000-10-23 13:39:15 +00:00
Fred Drake
de3518e7ca
Maildir.__init__(): Make sure self.boxes is set.
...
This closes SourceForge bug #117490 .
2000-10-23 13:37:01 +00:00
Jack Jansen
185f42d917
struct.pack has become picky about h (short) and H (unsigned short).
2000-10-22 21:59:23 +00:00
Jack Jansen
339ecc61f8
Updated because developer option isn't distributed separately anymore.
2000-10-22 21:57:12 +00:00
Jack Jansen
5c35f5aeee
Removed, no longer pertinent.
2000-10-22 21:55:03 +00:00
Jack Jansen
87f204ad77
Final version used for 2.0 distribution.
2000-10-22 21:54:33 +00:00
Fred Drake
0579eb042c
More names.
2000-10-22 03:23:58 +00:00