From owner-freebsd-python@FreeBSD.ORG  Sat Apr 20 23:26:41 2013
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: freebsd-python@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 903EC60A
 for <freebsd-python@freebsd.org>; Sat, 20 Apr 2013 23:26:41 +0000 (UTC)
 (envelope-from john@saltant.com)
Received: from homiemail-a85.g.dreamhost.com (caiajhbdcahe.dreamhost.com
 [208.97.132.74]) by mx1.freebsd.org (Postfix) with ESMTP id 76FC91299
 for <freebsd-python@freebsd.org>; Sat, 20 Apr 2013 23:26:41 +0000 (UTC)
Received: from homiemail-a85.g.dreamhost.com (localhost [127.0.0.1])
 by homiemail-a85.g.dreamhost.com (Postfix) with ESMTP id 19585BC032;
 Sat, 20 Apr 2013 16:26:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=saltant.com; h=message-id
 :date:from:mime-version:to:cc:subject:references:in-reply-to
 :content-type:content-transfer-encoding; s=saltant.com; bh=QsmPL
 gSLCCmzN8pAvL/dA8zcWos=; b=hPN8tEwD/aplHRGkM8UZts0JpX3S1X439OLC4
 AaJiz/AFK6KSGM2t+CIIpJEeEeyhIy8oUB9+0MzgiB/HFnG894Zah0dPr7rqJOj0
 xdSbH75Ux5mFVMiRdGrLcAhZdNv3pu6M8mwk0HLERKPZqNb8Y4RiowDwdXhK5J7o
 4It34I=
Received: from imago.y.saltant.net (y.saltant.net [96.227.187.16])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: john@saltant.com)
 by homiemail-a85.g.dreamhost.com (Postfix) with ESMTPSA id C2889BC031;
 Sat, 20 Apr 2013 16:26:34 -0700 (PDT)
Message-ID: <51732429.9060806@saltant.com>
Date: Sat, 20 Apr 2013 19:26:33 -0400
From: "John W. O'Brien" <john@saltant.com>
Organization: Saltant Solutions
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
 rv:17.0) Gecko/20130329 Thunderbird/17.0.5
MIME-Version: 1.0
To: Geoffrey Mainland <mainland@apeiron.net>
Subject: Re: [CFT] math/py-pandas: Update to 0.11.0rc1
References: <51699935.3040300@saltant.com> <5172F08F.4080900@saltant.com>
 <517322F9.8040306@apeiron.net>
In-Reply-To: <517322F9.8040306@apeiron.net>
X-Enigmail-Version: 1.5.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: freebsd-python@freebsd.org
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Apr 2013 23:26:41 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/20/2013 07:21 PM, Geoffrey Mainland wrote:
> On 4/20/13 8:46 PM, John W. O'Brien wrote:
>> freebsd-python@: Looping in math/py-matplotlib maintainer See the
>> earlier part of this thread for background.
>> 
>> A pandas dev and I just discovered that one of the pandas test 
>> failures is induced because the value sys.getdefaultencoding()
>> returns changes upon importing matplotlib.pyplot.
>> 
>> https://github.com/pydata/pandas/issues/3360#issuecomment-16709420
>>
>>
>> 
Could you help me assess whether this is expected behavior, and, if
>> so, how we could expect it and accommodate it in pandas. If you
>> think this is a bug in matplotlib, I will open a PR.
>> 
>> Regards, John
> 
> Hi John,
> 
> I'm sorry, I don't think I understand. The github link you sent
> above identifies PyGTK as the culprit---it sets the default
> encoding. This doesn't seem to be a problem with the FreeBSD port,
> or even a problem with matplotlib, but is a problem with PyGTK. Is
> this not accurate?

You're right, of course. I discovered that after sending my earlier
message. In fact, I was just composing a reply to retract my question
and let matplotlib off the hook.

I'm surprised that this PyGTK problem doesn't show up more often. Have
you run into it before with MPL?

Cheers,
John
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEcBAEBAgAGBQJRcyQnAAoJEBRzAKlhyP/Ff0gH/1WP1WHW3AWmmxZ9rqqQqGZQ
8A6EPlplsvJXdvlXksCArPf7F6sGIbNeL+heV+FEu9oYp+Qmkth1CPPvl250jw+W
CVhym944iRP9uqQiCIWUxpPwT5sWkxGcmnlpaHTi9O/wVLg0aQDe9lu6iFQYVQ7h
zbWwckGuU42EWUHsJExWPUYx4AWTTk3DJNXKCg+7YhVGvgj0ClmP6vJPF7zsXsHI
xSMX6EsgQINggo6q/WwDT87sHTgPhNWZTQzinZADJ+x68Q0SD5zoojW+QNRLIinW
fBu6KtaPpry1GWKGPXzLgPaAWVtAHF0MQ3OZ1ZxtRE+2suWElj0ZtlH91UF177I=
=LHtf
-----END PGP SIGNATURE-----