Fred Drake
7486c6b0ef
Comment out a separator line, since all the others are commented out,
...
and it would look kind of silly if typeset.
2000-10-12 02:49:12 +00:00
Andrew M. Kuchling
6032c48b47
Add new section on the XML package. (This was the only major new 2.0 feature
...
left that wasn't covered. The article is therefore now essentially complete.)
A few minor changes
2000-10-12 02:37:14 +00:00
Thomas Wouters
0be483fd4d
Do a better job at staying on-screen :P (Sorry, it's late here.) I'm
...
assuming here that the ANSI-C adjacent-string-concatenation technique is
allowable, now that Python requires an ANSI C compiler.
2000-10-11 23:26:11 +00:00
Thomas Wouters
8fb62a2e9a
Adjust debugging code in the implementation of the DUP_TOPX bytecode, use
...
Py_FatalError() instead, and clarify the message somewhat. As discussed on
python-dev.
2000-10-11 23:20:09 +00:00
Lars Gustäbel
f27f5ab31f
Added additional test cases for pulldom modifications.
2000-10-11 22:36:00 +00:00
Lars Gustäbel
bc1b5c81a5
Added parent attribute with getters and setters on XMLFilterBase.
2000-10-11 22:35:00 +00:00
Lars Gustäbel
d178ba666b
Added non-ns start and end element methods.
...
Moved appendChild calls from DOMEventStream to PullDOM (parser indep).
Removed duplicated sibling pointer setting (duplicated in appendChild).
2000-10-11 22:34:04 +00:00
Fred Drake
93615657ec
Document the exceptions that now get raised on invalid parameters.
2000-10-11 22:27:51 +00:00
Fred Drake
cb953d72d2
Test the exception-raising for error cases in copy_reg.
2000-10-11 22:17:35 +00:00
Fred Drake
78a6a36964
In the module docstring, clarify that this is used to register pickle
...
support for extension types, not classes.
pickle(): If the type is a class or if the reduction function is not
callable, raise a TypeError.
constructor(): If the constructor is not callable, raise TypeError.
This (partially) closes SourceForge patch #101859 .
2000-10-11 22:16:45 +00:00
Fred Drake
06fdd2d9e8
Another gcc -Wall warning squashed:
...
MPZ_divm(): Initialize mpzden to NULL, since it could be Py_XDECREF()ed
without being initialized.
2000-10-11 21:53:34 +00:00
Fred Drake
4747a18ef9
Remove one more gcc -Wall warning.
2000-10-11 21:44:02 +00:00
Guido van Rossum
4bbea05c4e
Jack Jansen reported that the regression test failed on the Mac where
...
string.letters was much more than expected.
Solution: explicit is better than implicit; don't rely on
string.letters.
2000-10-11 21:34:53 +00:00
Barry Warsaw
7e3e1c1ece
Added test cases for extended printing to an instance. This picked up
...
a bug in JPython where the instance had to have a flush() method.
2000-10-11 21:26:03 +00:00
Fred Drake
6fe9bacb8c
Make sure methods of ZipFile objects are in alphabetical order; the logical
...
groupings are still maintained. Based on a comment by Steve Holden
<sholden@holdenweb.com>.
2000-10-11 18:56:00 +00:00
Trent Mick
0a7af4058f
Use suggested workaround for PyOS_CheckStack causing failure of test_[s]re.py
...
on Win64.
This closes bug http://sourceforge.net/bugs/?func=detailbug&group_id=5470&bug_id=116516
2000-10-11 17:18:11 +00:00
Fred Drake
48fba733b9
Remove the last gcc -Wall warning about possible use of an uninitialized
...
variable. w should be initialized before entering the bytecode
interpretation loop since we only need one initialization to satisfy the
compiler.
2000-10-11 13:54:07 +00:00
Tim Peters
35ba689cab
Attempt to fix bogus gcc -Wall warnings reported by Marc-Andre Lemburg,
...
by making the DUP_TOPX code utterly straightforward. This also gets rid
of all normal-case internal DUP_TOPX if/branches, and allows replacing one
POP() with TOP() in each case, so is a good idea regardless.
2000-10-11 07:04:49 +00:00
Fred Drake
5428c7db41
Fix the docstring for new.function().
...
Based on a comment from Detlef Lannert
<lannert@lannert.rz.uni-duesseldorf.de>.
2000-10-10 22:07:18 +00:00
Fred Drake
2c4f554b78
Fixed a large number of small problems, mostly noted by Detlef Lannert
...
<lannert@lannert.rz.uni-duesseldorf.de>.
2000-10-10 22:00:03 +00:00
Fred Drake
e693df94ed
Avoid a couple of "value computed is not used" warnings from gcc -Wall;
...
these computations are required for their side effects in traversing the
variable arguments list.
Reported by Marc-Andre Lemburg <mal@lemburg.com>.
2000-10-10 21:10:35 +00:00
Fred Drake
66c9f0781d
Note that the UserString/MutableString classes are far less efficient
...
than the built-in string types (suggested by Moshe Zadka
<moshez@math.huji.ac.il>).
Clarified what "can be converted to a string" means.
Fixed a few markup nits.
2000-10-10 20:58:48 +00:00
Fred Drake
ef52f601ed
Revise the examples not to use the "from socket import *", and adjust
...
one comment in the example for clarity.
2000-10-10 20:36:29 +00:00
Fred Drake
0fc6a67307
Remove duplicated text from urlopen() description, noted by Ka-Ping
...
Yee <ping@lfw.org> and probably others as well.
2000-10-10 20:23:10 +00:00
Fred Drake
77b76b6db6
Substantially revise to handle the fact that Python CVS is no longer in a
...
file-system accessible repository. Add a little bit of smarts to convert
the cvsroot to an anonymous cvsroot the real one requires an authenticated
login to SourceForge; this avoids the SSH startup delay when doing the
checkout or export to get a fresh copy of the tree.
2000-10-10 19:35:40 +00:00
Fred Drake
3ece71327f
Make it clear that copy_reg.pickle() should not be used for classes, but
...
only for extension types.
This partially fixes SourceForge bug #116295 .
2000-10-10 18:36:02 +00:00
Fred Drake
f8ca7d88c6
Fixed lots of small nits caught by Ka-Ping Yee <ping@lfw.org>.
2000-10-10 17:03:45 +00:00
Fred Drake
2d34cd3ecf
Minor nit fixes based on suggestions from Ka-Ping Yee <ping@lfw.org>.
...
Added "See also" section with relevant RFC references.
2000-10-10 17:02:34 +00:00
Fred Drake
25407882ea
Better synopsis based on suggestion from Ka-Ping Yee <ping@lfw.org>.
2000-10-10 16:59:53 +00:00
Fred Drake
4d3714b5c6
Better synopses based on suggestions from Ka-Ping Yee <ping@lfw.org>.
2000-10-10 16:56:41 +00:00
Fred Drake
6ff7aec2ab
Move the documentation for the mutex module to be with the threading
...
and queue-management modules, since that is where the general context
for use in most cases.
2000-10-10 16:46:36 +00:00
Guido van Rossum
ea761c0d9e
Place the full text of the CNRI license verbatim in the LICENSE file.
...
Who know where the handle will point to tomorrow?
2000-10-10 14:49:44 +00:00
cvs2svn
841815e2b2
This commit was manufactured by cvs2svn to create tag 'r20c1'.
2000-10-09 23:43:55 +00:00
Tim Peters
cfc4178e84
When the classes in wave.py opened files themselves, their .close() methods
...
didn't bother to close the files. This caused the new test_wave test to fail
under Windows, as Windows won't let you delete a file that's open. Fixed
that by ensuring the wave read & write classes' .close() and __del__ methods
close files that were opened by their constructors.
2000-10-09 23:43:55 +00:00
Guido van Rossum
e8d2f5589b
The usual.
2000-10-09 22:14:43 +00:00
Jeremy Hylton
eebb1c6cd1
The Usual.
2000-10-09 21:48:02 +00:00
Jeremy Hylton
cc46bd2365
the usual
2000-10-09 21:34:51 +00:00
Jeremy Hylton
6040aaa9a2
add note explaining what a release candidate is
2000-10-09 21:27:22 +00:00
Fred Drake
95fdec4073
This file is no longer used.
2000-10-09 21:26:12 +00:00
Tim Peters
46446d6242
Repaired IDLE Unicode bug description.
...
Added tokenize.py bugfix info.
2000-10-09 21:19:31 +00:00
Fred Drake
ff7183920f
Another generated file...
2000-10-09 20:22:28 +00:00
Fred Drake
c9a5cc1a98
Remove macro that mentions DL_EXPORT_HEADER; it caused a spurious warning
...
from autoheader and is not useful anymore.
(Approved by Donn Cave.)
2000-10-09 20:18:32 +00:00
Guido van Rossum
56fe7f8649
WAVE test + bugfix contributor.
2000-10-09 20:07:00 +00:00
Guido van Rossum
16b198e10e
wave test output
2000-10-09 20:06:50 +00:00
Guido van Rossum
a00afc1ead
Simple test suite for wave.py by Jean-Claude Rimbault (with some
...
changes to avoid using assert).
2000-10-09 20:05:59 +00:00
Fred Drake
13a3069c2b
Paul Prescod <paul@prescod.net>:
...
Correct the chaining between siblings.
2000-10-09 20:04:16 +00:00
Guido van Rossum
eca576c68b
Fix by Jean-Claude Rimbault [ Bug #116271 ] -- the WAVE header was
...
never written properly because the '4' length indicators for the 's'
format characters were missing.
2000-10-09 20:01:53 +00:00
Fred Drake
ebe73025cd
Move the test for confirmation that all nodes have been freed into the
...
driver code, so that each test gets this; it had been done inconsistently.
Remove the lines that set the variables holding dom objects to None; not
needed since the interpreter cleans up locals on function return.
2000-10-09 19:57:39 +00:00
Guido van Rossum
5c2c6046eb
And another.
2000-10-09 19:52:41 +00:00
Guido van Rossum
5839e5861b
Checking in three Darwin-specific patches.
...
Tony Lownds: [ Patch #101816 ] Fixes shared modules on Mac OS X
1. Mac OS X is recognized by the Next-ish host recognition code as
"Darwin/1.2"
2. When specifying just --with-dyld, modules can compile as shared
3. --with-dyld and --with-next-framework, modules can compile as
shared
4. --with-suffix=.exe, and Lib/plat-darwin1.2 is being made, the regen
script invokes python as python.exe
[I had to reformat this patch a bit to make it work. Please test!]
Dan Wolfe: [ Patch #101823 ] Fix Darwin POSIX Thread redefinition
The patch below fixes the redefinition problem in Darwin with
_POSIX_THREADS. I'm not sure if this is the correct long term fix but
for now it fixes the problem and the fix is specific to Darwin.
Dan Wolfe: [ Patch #101824 ] On Darwin, remove unrecognized option
`-OPT:Olimit=0'
After many, many, many compiles, I finally got itchy of this warning
cluttering up the output... so I scratched (Darwin configs only) and
it's gone! :-)
2000-10-09 19:52:35 +00:00