[issue18893] invalid exception handling in Lib/ctypes/macholib/dyld.py

2013-09-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: Your analysis looks correct to me, that is raise e is supposed to raise the exception caught by the first try block. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18893

[issue18904] Unnecessary test in file descriptor inheritance test

2013-09-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18904 ___ ___

[issue18745] Test enum in test_json is ignorant of infinity value

2013-09-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 50e583f20d78 by Ethan Furman in branch 'default': Close #18745: Improve enum tests in test_json for infinities and NaN. http://hg.python.org/cpython/rev/50e583f20d78 -- nosy: +python-dev resolution: - fixed stage: patch review -

[issue9709] test_distutils warning: initfunc exported twice on Windows

2013-09-02 Thread Stefan Krah
Stefan Krah added the comment: Is the distutils freeze still in place? If not, I'll commit initfunc2.patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9709 ___

[issue18828] urljoin behaves differently with custom and standard schemas

2013-09-02 Thread Berker Peksag
Berker Peksag added the comment: How about adding a codecs.register like public API for 3.4+? import urllib.parse urllib.parse.schemes.register('redis', 'rtmp') or: urllib.parse.urljoin('redis://localhost:6379/0', '/1', scheme='redis') or just:

[issue18709] SSL module fails to handle NULL bytes inside subjectAltNames general names (CVE-2013-4238)

2013-09-02 Thread Matěj Stuchlík
Matěj Stuchlík added the comment: Doing 'valgrind --suppressions=valgrind-python.supp ./python Lib/tests/regrtest.py test_ssl.py' I'm getting ==11944== LEAK SUMMARY: ==11944==definitely lost: 32 bytes in 1 blocks ==11944==indirectly lost: 392 bytes in 16 blocks ==11944== possibly

[issue15018] Incomplete Python LDFLAGS and CPPFLAGS used for extension modules on posix

2013-09-02 Thread koobs
Changes by koobs koobs.free...@gmail.com: -- nosy: +koobs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15018 ___ ___ Python-bugs-list mailing

[issue18709] SSL module fails to handle NULL bytes inside subjectAltNames general names (CVE-2013-4238)

2013-09-02 Thread Christian Heimes
Christian Heimes added the comment: I can't reproduce the memory leak. valgrind's output doesn't show suspicious memory leaks. ./configure --with-pydebug --config-cache valgrind --suppressions=Misc/valgrind-python.supp ./python Lib/test/test_ssl.py Python 3.4 tip -- ==26085==

[issue18900] Add the random.distrib module

2013-09-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In light of Raymond's comments on code bloat in issue18844, perhaps this module could be added to PyPi to see whether or not there's interest in this kind of functionality? Agree. At first look there are no module which provides such features on PyPI.

[issue18709] SSL module fails to handle NULL bytes inside subjectAltNames general names (CVE-2013-4238)

2013-09-02 Thread Matěj Stuchlík
Matěj Stuchlík added the comment: Oh, I only checked the particular commit that fixed this issue in 2.6 (50803d881a92). I am not getting any leaks in 2.6 tip either, so I guess it was fixed somewhere along the way. Sorry for the confusion! -- ___

[issue18550] internal_setblocking() doesn't check return value of fcntl()

2013-09-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: oops. This should be the right patch. -- Added file: http://bugs.python.org/file31554/issue-18550.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18550

[issue18693] help() not helpful with enum

2013-09-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: That help() is confused by __dir__ is documented in #16938. AFAIK help is fairly fragile in its expectations of the attributes present on classes and the correspondence between dir(cls) and list(cls.__dict__), and that is something that could be fixed in

[issue13323] urllib2 does not correctly handle multiple www-authenticate headers in an HTTP response

2013-09-02 Thread Sigmund Augdal
Sigmund Augdal added the comment: Can someone please apply this patch or provide a reason why it should not be applied? -- nosy: +Sigmund.Augdal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13323

[issue15310] urllib: Support for multiple WWW-Authenticate headers and/or multiple challenges per header

2013-09-02 Thread Sigmund Augdal
Sigmund Augdal added the comment: I'm also affected by this. Could someone please apply the patch or provide some reason why it could not be applied? -- nosy: +Sigmund.Augdal ___ Python tracker rep...@bugs.python.org

[issue13323] urllib2 does not correctly handle multiple www-authenticate headers in an HTTP response

2013-09-02 Thread Senthil Kumaran
Senthil Kumaran added the comment: Sigmund: Sorry for the delay. I shall act on this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13323 ___

[issue12892] UTF-16 and UTF-32 codecs should reject (lone) surrogates

2013-09-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch which combines both Kang-Hao's patches, synchronized with tip, fixed and optimized. Unfortunately even optimized this patch slowdown encoding/decoding some data. Here are some benchmark results (benchmarking tools are here:

[issue18818] Empty PYTHONIOENCODING is not the same as nonexistent

2013-09-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- keywords: +needs review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18818 ___ ___

[issue9709] test_distutils warning: initfunc exported twice on Windows

2013-09-02 Thread Éric Araujo
Éric Araujo added the comment: The feature freeze was lifted at PyCon 2013. This patch can be committed in the default branch. Could you add a test? -- assignee: tarek - eric.araujo versions: -3rd party, Python 2.7, Python 3.3 ___ Python tracker

[issue9709] test_distutils warning: initfunc exported twice on Windows

2013-09-02 Thread Éric Araujo
Éric Araujo added the comment: Ignore my comment about a test, you already replied to that :) Please commit. -- assignee: eric.araujo - skrah stage: needs patch - commit review ___ Python tracker rep...@bugs.python.org

[issue8821] Range check on unicode repr

2013-09-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - works for me stage: - committed/rejected status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8821 ___

[issue12892] UTF-16 and UTF-32 codecs should reject (lone) surrogates

2013-09-02 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: You should be able to squeeze out some extra cycles by avoiding the bit calculations using a simple range check for ch = 0xd800: +# if STRINGLIB_MAX_CHAR = 0xd800 +if (((ch1 ^ 0xd800) + (ch1 ^ 0xd800) + (ch1 ^

[issue18905] pydoc -p 0 says the server is available at localhost:0

2013-09-02 Thread Wieland Hoffmann
New submission from Wieland Hoffmann: In Python 3 one can use `pydoc -p 0` to start a pydoc HTTP server on an arbitrary unused port. This works (somewhat) in Python 2 as well, except that pydoc doesn't tell you which port it's listening on. Applying the attached patch makes pydoc print the

[issue12892] UTF-16 and UTF-32 codecs should reject (lone) surrogates

2013-09-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, I were blind. Thank you Marc-Andre. Here is corrected patch. Unfortunately it 1.4-1.5 times slower on UTF-16 encoding UCS2 strings than previous wrong patch. -- Added file: http://bugs.python.org/file31557/utf_16_32_surrogates_3.patch

[issue12892] UTF-16 and UTF-32 codecs should reject (lone) surrogates

2013-09-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file31555/utf_16_32_surrogates_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12892 ___

[issue18726] json functions have too many positional parameters

2013-09-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: But what you will do with discrepancies between Python 2, Python 3 and simplejson? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18726 ___

[issue18906] Create a way to always run tests in subprocesses within regrtest

2013-09-02 Thread Eli Bendersky
New submission from Eli Bendersky: There were numerous discussions and issues in the past about the cross-test dependencies that sometimes exist because some tests need to muck with import caches (both on the Python and C level). Some examples:

[issue18906] Create a way to always run tests in subprocesses within regrtest

2013-09-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - needs patch type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18906 ___

[issue18726] json functions have too many positional parameters

2013-09-02 Thread Ezio Melotti
Ezio Melotti added the comment: I have not seen any requests for this change. That's probably because either people have not realized that their code might be buggy, or because they have not realized that keyword-only args might be a solution to this problem (or maybe they did but didn't

[issue16938] pydoc confused by __dir__

2013-09-02 Thread Ethan Furman
Changes by Ethan Furman et...@stoneleaf.us: -- nosy: +eli.bendersky, ethan.furman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16938 ___ ___

[issue18828] urljoin behaves differently with custom and standard schemas

2013-09-02 Thread Madison May
Madison May added the comment: If nothing else, we should document the work around for this issue. import urllib.parse urllib.parse.uses_relative.append('redis') urllib.parse.uses_netloc.append('redis') urllib.parse.urljoin('redis://localhost:6379/0', '/1') 'redis://localhost:6379/1'

[issue18553] os.isatty() is not Unix only

2013-09-02 Thread Dmi Baranov
Dmi Baranov added the comment: isatty is a part of of POSIX sub-system at Windows 5.x (AKA 2000) [1] (file handling equivalents [2]). I think, we need to remove availability note here. [1] http://msdn.microsoft.com/en-us/library/f4s0ddew.aspx [2]

[issue18828] urljoin behaves differently with custom and standard schemas

2013-09-02 Thread Madison May
Madison May added the comment: How about adding a codecs.register like public API for 3.4+? A codecs style register function seems like an excellent solution to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18828

[issue18850] xml.etree.ElementTree accepts control chars.

2013-09-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Isn't this a duplicate of issue5166? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18850 ___ ___

[issue12892] UTF-16 and UTF-32 codecs should reject (lone) surrogates

2013-09-02 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 02.09.2013 18:56, Serhiy Storchaka wrote: Oh, I were blind. Thank you Marc-Andre. Here is corrected patch. Unfortunately it 1.4-1.5 times slower on UTF-16 encoding UCS2 strings than previous wrong patch. I think it would be faster to do this in

[issue18726] json functions have too many positional parameters

2013-09-02 Thread Bob Ippolito
Bob Ippolito added the comment: Other than when subclassing (which is actively discouraged), I haven't seen anyone try and use positional args for these APIs. I simply don't think this is an issue in practice. If you go far enough back in simplejson history, these module-global functions were

[issue18907] urllib2.open FTP open times out at 20 secs despite timeout parameter

2013-09-02 Thread John Nagle
New submission from John Nagle: urllib2.open for an FTP url does not obey the timeout parameter. Attached test program times out on FTP open after 21 seconds, even though the specified timeout is 60 seconds. Timing is consistent; times have ranged from 21.03 to 21.05 seconds. Python

[issue18907] urllib2.open FTP open times out at 20 secs despite timeout parameter

2013-09-02 Thread John Nagle
John Nagle added the comment: Reproduced problem in Python 3.3 (Win32). Error message there is: Open of ftp://ftp.sec.gov/edgar/daily-index failed after 21.08 seconds: urlopen error ftp error: TimeoutError(10060, 'A connection attempt failed because the connected party did not properly

[issue13107] Text width in optparse.py can become negative

2013-09-02 Thread Dmi Baranov
Dmi Baranov added the comment: I think ugly look is better than silence here. Elazar, can you touch a optparse too (with some tests - test.support.EnvironmentVarGuard context manager will be helpful here)? -- nosy: +dmi.baranov ___ Python tracker

[issue18808] Thread.join returns before PyThreadState is destroyed

2013-09-02 Thread Zsolt Cserna
Changes by Zsolt Cserna zsolt.cse...@morganstanley.com: -- nosy: +csernazs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18808 ___ ___

[issue12892] UTF-16 and UTF-32 codecs should reject (lone) surrogates

2013-09-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: No, it isn't faster. I tested this variant, it is 1.5x slower. And simple range checking actually is slower. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12892

[issue13107] Text width in optparse.py can become negative

2013-09-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think ugly look is better than silence here. Agree. We have two possibilities: 1. Decrease an indentation. There is a lot of blank spaces below option's names. 2. Set some minimal width (10 or 20 characters) and let lines wrap out. For better look we

[issue18726] json functions have too many positional parameters

2013-09-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If no one uses positional arguments then converting parameters to keyword-only will not break any code. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18726

[issue18726] json functions have too many positional parameters

2013-09-02 Thread Bob Ippolito
Bob Ippolito added the comment: My evidence is only anecdotal. I haven't actively searched for code that uses json/simplejson to try and find cases that are using positional arguments. One way to test this assumption would be to release a version of simplejson that deprecates using positional

[issue18893] invalid exception handling in Lib/ctypes/macholib/dyld.py

2013-09-02 Thread Madison May
Madison May added the comment: Seems like a simple fix -- patch attached. -- keywords: +patch nosy: +madison.may Added file: http://bugs.python.org/file31560/issue18893.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18893

[issue18850] xml.etree.ElementTree accepts control chars.

2013-09-02 Thread Eli Bendersky
Eli Bendersky added the comment: As Serhiy points out, this is a duplicate of #5166 -- superseder: - ElementTree and minidom don't prevent creation of not well-formed XML ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18850

[issue18850] xml.etree.ElementTree accepts control chars.

2013-09-02 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- resolution: - duplicate stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18850 ___

[issue5166] ElementTree and minidom don't prevent creation of not well-formed XML

2013-09-02 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- nosy: +eli.bendersky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5166 ___ ___ Python-bugs-list

[issue18907] urllib2.open FTP open times out at 20 secs despite timeout parameter

2013-09-02 Thread Charles-François Natali
Charles-François Natali added the comment: Actually, I think urllib (actually ftplib) handles the timeout correctly. Here's the result on my Linux box (replacing the server with localhost, with a firewall rule to drop packets to ftp port): $ ./python ~/edgartimeouttest3.py Open of

[issue18906] Create a way to always run tests in subprocesses within regrtest

2013-09-02 Thread Eli Bendersky
Eli Bendersky added the comment: A question that comes up is how should a module signal to regrtest that it needs to be run in a subprocess? The most natural approach is to have a special attribute set in the module's global dict (for example: __REGRTEST_SUBPROCESS__ = True); however, there's

[issue18906] Create a way to always run tests in subprocesses within regrtest

2013-09-02 Thread Nick Coghlan
Nick Coghlan added the comment: An easier hack is likely just a new always run in subprocess container with submodule names in regrtest.py. It's not elegant, but it will work. -- ___ Python tracker rep...@bugs.python.org

[issue18906] Create a way to always run tests in subprocesses within regrtest

2013-09-02 Thread Nick Coghlan
Nick Coghlan added the comment: Although the well, don't do that then alternative also sounds reasonable, and better localises the information about how the test should run. -- ___ Python tracker rep...@bugs.python.org

[issue18906] Create a way to always run tests in subprocesses within regrtest

2013-09-02 Thread Eli Bendersky
Eli Bendersky added the comment: An easier hack is likely just a new always run in subprocess container with submodule names in regrtest.py. It's not elegant, but it will work. True, that's also an option. I had it in mind in the beginning, but it's too hacky for my tastes :-) Not doing

[issue18906] Create a way to always run tests in subprocesses within regrtest

2013-09-02 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- Removed message: http://bugs.python.org/msg196813 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18906 ___

[issue18906] Create a way to always run tests in subprocesses within regrtest

2013-09-02 Thread Eli Bendersky
Eli Bendersky added the comment: An easier hack is likely just a new always run in subprocess container with submodule names in regrtest.py. It's not elegant, but it will work. True, that's also an option. I had it in mind in the beginning, but it's too hacky for my tastes :-) Not doing

[issue17930] Search not needed in combinations_with_replacement

2013-09-02 Thread Tim Peters
Tim Peters added the comment: I'm closing this. While it makes a big difference for a cwr coded in Python, it turn out to be minor in C. The extra complications (more state to remember and update across next() invocations) isn't worth the minor speedup in C. -- resolution: -

[issue18908] Enum docs: sections leak out

2013-09-02 Thread Elazar Gershuni
New submission from Elazar Gershuni: Inner sections leak out from enum to the general datatypes index: http://docs.python.org/3.4/library/datatypes.html (sections 8.14 - 8.17) -- assignee: docs@python components: Documentation messages: 196816 nosy: docs@python, elazar priority: normal

[issue18908] Enum docs: sections leak out

2013-09-02 Thread Elazar Gershuni
Elazar Gershuni added the comment: here's a patch. -- keywords: +patch Added file: http://bugs.python.org/file31561/enumcontain.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18908 ___

[issue18908] Enum docs: sections leak out

2013-09-02 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- nosy: +eli.bendersky, ethan.furman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18908 ___ ___

[issue18908] Enum docs: sections leak out

2013-09-02 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- stage: - patch review versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18908 ___

[issue18908] Enum docs: sections leak out

2013-09-02 Thread Elazar Gershuni
Changes by Elazar Gershuni elaz...@gmail.com: Added file: http://bugs.python.org/file31562/enumindent.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18908 ___

[issue18908] Enum docs: sections leak out

2013-09-02 Thread Elazar Gershuni
Changes by Elazar Gershuni elaz...@gmail.com: Added file: http://bugs.python.org/file31563/enumplusminor.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18908 ___

[issue18908] Enum docs: sections leak out

2013-09-02 Thread Elazar Gershuni
Changes by Elazar Gershuni elaz...@gmail.com: Added file: http://bugs.python.org/file31564/enumplusminor.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18908 ___

[issue18908] Enum docs: sections leak out

2013-09-02 Thread Elazar Gershuni
Changes by Elazar Gershuni elaz...@gmail.com: Removed file: http://bugs.python.org/file31563/enumplusminor.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18908 ___

[issue17862] itertools.chunks(iterable, size, fill=None)

2013-09-02 Thread Jakub Stasiak
Jakub Stasiak added the comment: I'm just gonna leave my implementation of chunk function (not sure about the name yet) here, it's basically what itertools.chunks from the previous patch is but it works for arbitrary iterables + few tests and documentation. The last chunk is currently

[issue18909] Segfaults on win-amd64 due to corrupt pointer to Tkapp_Interp

2013-09-02 Thread Christoph Gohlke
New submission from Christoph Gohlke: Using 64 bit CPython 2.6.6, 2.7.5, 3.2.5 or 3.3.2, numpy 1.7.1 and matplotlib 1.3.0 on Windows 8 64 bit, the following script segfaults most of the times: ``` # allocate ~4GB fragmented data import numpy a = [numpy.zeros(2**i, 'uint8') for i in range(1,

[issue18909] Segfaults on win-amd64 due to corrupt pointer to Tkapp_Interp

2013-09-02 Thread Christoph Gohlke
Changes by Christoph Gohlke cgoh...@uci.edu: Added file: http://bugs.python.org/file31568/fix_tkapp_interpaddr-win-amd64-py3.3.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18909 ___

[issue18909] Segfaults on win-amd64 due to corrupt pointer to Tkapp_Interp

2013-09-02 Thread Christoph Gohlke
Changes by Christoph Gohlke cgoh...@uci.edu: Added file: http://bugs.python.org/file31566/tkapp_interpaddr_crash_win-amd64.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18909 ___

[issue18909] Segfaults on win-amd64 due to corrupt pointer to Tkapp_Interp

2013-09-02 Thread Christoph Gohlke
Changes by Christoph Gohlke cgoh...@uci.edu: -- keywords: +patch Added file: http://bugs.python.org/file31567/fix_tkapp_interpaddr-win-amd64-py2.7.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18909

[issue18910] IDLE: Unit test for textView.py

2013-09-02 Thread Phil Webster
New submission from Phil Webster: Started writing the tests for textView.py. -- components: IDLE files: test_textview.patch keywords: patch messages: 196820 nosy: JayKrish, Todd.Rovito, philwebster, terry.reedy priority: normal severity: normal status: open title: IDLE: Unit test for

[issue18219] csv.DictWriter is slow when writing files with large number of columns

2013-09-02 Thread Mikhail Traskin
Mikhail Traskin added the comment: Peter, thank you for letting me know that views work with list, I was not aware of this. This is indeed the best solution and it also keeps the DictWriter interface unchanged. Terry, attached patch contains the DictWriter change and a test case in

[issue18553] os.isatty() is not Unix only

2013-09-02 Thread Andrew Svetlov
Andrew Svetlov added the comment: Agree -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18553 ___ ___ Python-bugs-list mailing

[issue17997] ssl.match_hostname(): sub string wildcard should not match IDNA prefix

2013-09-02 Thread Toshio Kuratomi
Toshio Kuratomi added the comment: So, is this a security issue? I've been wondering if I should apply the attached patch to the backports-ssl_match_hostname module on pypi. I was hoping there'd be some information here as to whether this will be going into the stdlib in the future. Thus

[issue18911] minidom does not encode correctly when calling Document.writexml

2013-09-02 Thread Brian Vanderburg
New submission from Brian Vanderburg: When I have unicode data to save, it seems that it does not save correctly, giving an encode error. I know this exists on 2.7 and from checking the code in xml/dom/minidom.py it looks like it does in 3.2 as well. The method call that seem to be