[Python-Dev] sys.setdefaultencoding() vs. csv module + unicode

2007-06-13 Thread Kumar McMillan
I'm seeing conflicting opinions on whether to put sys.setdefaultencoding('utf-8') in sitecustomize.py or not ([1] vs. [2]) and frankly I'm confused. The csv module says it's not unicode safe but the 2.5 docs [3] have a workaround for this. While the workaround says nothing about sys.setdefaultenc

Re: [Python-Dev] Deallocation of a pointer not malloced, any tips?

2007-04-24 Thread Kumar McMillan
On 4/20/07, Josiah Carlson <[EMAIL PROTECTED]> wrote: > You may want the python-list mailing list or the equivalent > comp.lang.python newsgroup, unless this is a bug with Python itself (you > may try running Python 2.4.4, which is the next bugfix of the Python 2.4 > series). yes, seems like it's

[Python-Dev] Deallocation of a pointer not malloced, any tips?

2007-04-20 Thread Kumar McMillan
I get this warning from my test suite when I introduced a segment of code: python(18603,0xa000d000) malloc: *** Deallocation of a pointer not malloced: 0x310caa3; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to s