homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author flox
Recipients effbot, flox, pitrou, r.david.murray, scoder
Date 2010年03月08日.09:19:12
SpamBayes Score 0.0001863205
Marked as misclassified No
Message-id <1268039953.77.0.386935486295.issue8047@psf.upfronthosting.co.za>
In-reply-to
Content
With ET 1.3, you should have an explicit keyword argument "xml_declaration":
# ----
 if xml_declaration or (xml_declaration is None and
 encoding not in ("utf-8", "us-ascii")):
 if method == "xml":
 write("<?xml version='1.0' encoding='%s'?>\n" % encoding)
# ----
In ET 1.2.6, the same snippet looks like:
# ----
 if encoding != "utf-8" and encoding != "us-ascii":
 file.write("<?xml version='1.0' encoding='%s'?>\n" % encoding)
# ----
History
Date User Action Args
2010年03月08日 09:19:13floxsetrecipients: + flox, effbot, pitrou, scoder, r.david.murray
2010年03月08日 09:19:13floxsetmessageid: <1268039953.77.0.386935486295.issue8047@psf.upfronthosting.co.za>
2010年03月08日 09:19:12floxlinkissue8047 messages
2010年03月08日 09:19:12floxcreate

AltStyle によって変換されたページ (->オリジナル) /