Eric S. Raymond
5ff63d6780
Correction to test main.
2001-02-09 05:38:46 +00:00
Eric S. Raymond
f296019cc5
Correction after second code path test.
2001-02-09 05:37:25 +00:00
Eric S. Raymond
9eb54d9828
String method conversion.
2001-02-09 05:19:09 +00:00
Eric S. Raymond
b49f4a4b15
String method conversion.
2001-02-09 05:07:04 +00:00
Eric S. Raymond
20e4423ade
String method conversion.
2001-02-09 04:52:11 +00:00
Fred Drake
5ed1dac4c0
Update documentation for pyexpat (xml.parsers.expat), to reflect the new
...
support for Expat 1.95.*.
2001-02-08 15:40:33 +00:00
Fred Drake
85d835f0ab
set_error(): Handle construction of pyexpat.error exceptions. They
...
now carry a 'code' attribute that gives the Expat error
number.
Added support for additional handlers for Expat 1.95.*, including
XmlDeclHandler, EntityDeclHandler, ElementDeclHandler, and
AttlistDeclHandler. Associated constants are in the 'model'
sub-object.
Added two new attributes to the parser object: ordered_attributes and
specified_attributes. These are used to control how attributes are
reported and which attributes are reported.
2001-02-08 15:39:08 +00:00
Jack Jansen
5c734e8165
Replaced by :Lib:cfmfile.py.
2001-02-08 13:17:23 +00:00
Skip Montanaro
352674d01c
a few more __all__ lists
2001-02-07 23:14:30 +00:00
Skip Montanaro
cc012e92b2
test for presence of __builtins__ in names before deleting it, enabling this
...
to work with Jython (ugh! I hate that name!). This closes patch 103665.
2001-02-07 22:46:55 +00:00
Andrew M. Kuchling
b38175ef3d
Remove the optional integer argument to SSL_write; now it will always send
...
the entire string passed to it
2001-02-07 20:41:17 +00:00
Andrew M. Kuchling
3c044942ab
BeOS doesn't have a libm.a, either; noted by Donn Cave
2001-02-06 23:37:23 +00:00
Andrew M. Kuchling
8820a535c1
Patch #103636 : Allow writing strings containing null bytes to an SSL socket
2001-02-06 22:58:05 +00:00
Andrew M. Kuchling
22aa6447b4
Patch #103523 , to make mpz module compile with Cygwin
2001-02-06 22:33:45 +00:00
Andrew M. Kuchling
3cbdbfbf9c
Part of patch #103544 : fix detection of BSDDB on BSD systems
2001-02-06 22:26:30 +00:00
Andrew M. Kuchling
9a3fd8c82f
Patch #103578 ] _tkinter build fix for he current Debian unstable tcl/tk 8.3
...
packages
2001-02-06 22:15:27 +00:00
Jack Jansen
69e7f11aa8
Added DlgObj_WhichDialog, analoguous to WhichWindow, and use this to get at dialogs.
2001-02-06 16:14:54 +00:00
Jack Jansen
d6b2aeb10d
QDFlushPortBuffer() has an optional region argument.
2001-02-06 16:13:50 +00:00
Neil Schemenauer
ac959779f0
Install shared modules enabled by Setup* in $(DESTSHARED) not
...
$(DESTSHARED)/Modules.
2001-02-06 14:50:27 +00:00
Martin v. Löwis
76192ee4f5
Support older PYTHON_API_VERSIONs for backwards compatibility.
2001-02-06 09:34:40 +00:00
Martin v. Löwis
fe28ca09a5
Add xml declaration into toxml testcase.
2001-02-06 01:16:48 +00:00
Martin v. Löwis
b417be2ad9
Do not allow empty qualifiedName in createDocument.
...
Rearrange pulldom to create documents with root element.
Provide clear methods so that the ContentHandler releases its hold on the
document.
2001-02-06 01:16:06 +00:00
Skip Montanaro
269b83bc05
added several more __all__ lists
2001-02-06 01:07:02 +00:00
Martin v. Löwis
46fa39ab1d
Add toprettyxml method into minidom, closes patch #103471 .
2001-02-06 00:14:08 +00:00
Guido van Rossum
9e1fe1ec67
A couple of changes to make this more conformant. MvL and Uche agree.
...
This will make it incompatible with the version found in Python 2.0.
Does this need to be done to PyXML too?
Changes that might break existing code are marked with (!) below.
- Formatting nit: no spaces inside parentheses: foo( a ) -> foo(a).
- Break long lines.
- (!) Fix getAttribute() and getAttributeNS() to return "" instead of
raising KeyError when the attribute is not found.
- (!) Fix getAttributeNodeNS() to return None instead of raising
KeyError. (Curiously, getAttributeNode() already did this.)
- Added hasAttributes(), which returns true iff the node has any
attributes. )This is DOM level 3.)
- (!) In createDocument(), if the qualified name is not empty,
actually create and insert the first element with that name (this
will become doc.documentElement). MvL believes that it should be an
error to specify an empty qualified name; I'm not going there today,
since it would require making a matching change to pulldom. Maybe
MvL will do this.
- In Document.writexml(), insert an xml declaration at the top. (This
doesn't include the encoding since there's no way to specify the
encoding. If that's preferred, all writexml() methods should be
fixed to support an optional encoding argument that they pass to
each other -- and they should use it to encode all text they write,
too. Later.)
2001-02-05 19:17:50 +00:00
Guido van Rossum
795ad56b31
Don't get fooled by an empty prefix with a valid namespaceURI -- in
...
this case, the code used to generate invalid tags and attribute names
with a leading colon, e.g. <:tag> or <tag :attr="foo">.
2001-02-05 18:50:15 +00:00
Andrew M. Kuchling
1b26b6a5f1
Patch #103587 : Fix typo that broke the install_data command; caught by
...
Uche Ogbuji
2001-02-05 17:43:11 +00:00
Jeremy Hylton
0872d9d2c2
Fixed UnboundLocalError for nested scopes
2001-02-05 17:36:46 +00:00
Jeremy Hylton
de6024872a
Fix test 9 (caught by ?!ng)
...
Add tests for unbound locals (Nick Mathewson)
2001-02-05 17:35:20 +00:00
Jeremy Hylton
2524d699f5
SF patch 103596 by Nick Mathewson: rause UnboundLocalError for
...
uninitialized free variables
2001-02-05 17:23:16 +00:00
Jack Jansen
ecdaadb7c6
Also recognize DragRef as a method-argument.
2001-02-05 13:47:13 +00:00
Andrew M. Kuchling
6a360bd3a7
Wrote section on nested scopes, and moved it to the front
...
Began a section on weak references
Various rewrites and paragraph refills
Added: non-recursive makefiles, repr() of strings now uses \n, raw socket I/O
Bumped version number
2001-02-05 02:47:52 +00:00
Martin v. Löwis
e214baa209
Fix binfmt_register documentation to always register the right magic.
2001-02-04 22:37:56 +00:00
Fred Drake
4e3f2752c5
Improve diagnostic output when an external command returns a non-zero exit
...
code, showing the transcript for that command.
This closes SF bug #129740 .
2001-02-04 15:20:26 +00:00
Tim Peters
f36fb69fd2
Another _testXXX -> _testcapiXXX renaming.
2001-02-04 09:18:21 +00:00
Tim Peters
d66595fe42
Renamed _testXXX to _testcapiXXX. Jack is my hero -- good call!
2001-02-04 03:09:53 +00:00
Neil Schemenauer
693291ba23
Superseded by $(srcdir)/Makefile.pre.in.
2001-02-03 17:18:21 +00:00
Neil Schemenauer
e0d435777c
Tweak clean targets yet again.
2001-02-03 17:16:29 +00:00
Guido van Rossum
ba38123b75
Clarify the news item about "from M import X" if "M is not a real
...
module" after a complaint from Tim.
2001-02-03 15:06:40 +00:00
Fred Drake
cf2636696d
Fix markup typo in a {verbatim} environment (there should not be any!);
...
caught by Eric Raymond.
2001-02-03 14:35:38 +00:00
Fred Drake
40e43bfaf7
Document Node.isSameNode().
2001-02-03 01:20:01 +00:00
Fred Drake
f891404e1a
Move the whrandom section back to the documented modules section; this
...
gives people a chance to see the depracation notice.
2001-02-03 01:17:41 +00:00
Fred Drake
269625f67a
Revise the deprecation note for the whrandom module to be correct and a
...
little more formal.
2001-02-03 01:12:44 +00:00
Fred Drake
f0e08ef9cb
Remove an now-false statement about there being only one type flag
...
defined.
2001-02-03 01:11:26 +00:00
Jack Jansen
dc2ac8d39f
Accept Dialogs and Windows where Grafports are expected (such as in SetPort) and do a MacOSX compatible cast. Bit of a hack, but good enough for now.
2001-02-02 22:41:48 +00:00
Jack Jansen
340eb88fa8
On MacOSX StackSpace() may lie because it doesn't know about the stack rlimit. For now we set a hard limit of 256K (default rlimit is 512K).
2001-02-02 22:40:28 +00:00
cvs2svn
f8cdb5c56f
This commit was manufactured by cvs2svn to create tag 'r21a2'.
2001-02-02 21:24:51 +00:00
Tim Peters
b16c56f0ba
Teach Windows build and installer about new _symtable module/DLL.
2001-02-02 21:24:51 +00:00
Tim Peters
231e22facb
Repair legit compiler warning.
2001-02-02 21:10:53 +00:00
Jeremy Hylton
b1cbc1e36b
bump the magic number; the compiler has changed since 2.1a1
2001-02-02 20:13:24 +00:00