Re: Python 3.6, Fedora, and the "C" locale

2016-12-10 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Dec 10, 2016 at 05:41:45PM -0500, Neal Gompa wrote: > On Sat, Dec 10, 2016 at 3:40 PM, Zbigniew Jędrzejewski-Szmek > wrote: > > On Sat, Dec 10, 2016 at 11:56:44PM +1000, Nick Coghlan wrote: > >> Along similar lines, what do folks think of the idea of patching > >> Python 3.6 in Fedora to a

Re: Python 3.6, Fedora, and the "C" locale

2016-12-10 Thread Neal Gompa
On Sat, Dec 10, 2016 at 3:40 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Sat, Dec 10, 2016 at 11:56:44PM +1000, Nick Coghlan wrote: >> Along similar lines, what do folks think of the idea of patching >> Python 3.6 in Fedora to assume UTF-8 if it's told that it should use >> ASCII to communicate wi

Re: Python 3.6, Fedora, and the "C" locale

2016-12-10 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Dec 10, 2016 at 11:56:44PM +1000, Nick Coghlan wrote: > Along similar lines, what do folks think of the idea of patching > Python 3.6 in Fedora to assume UTF-8 if it's told that it should use > ASCII to communicate with the OS? +1 Non-utf8 environments are nowadays a rarity, OTOH misconfig

Re: Making sudo pip Safe

2016-12-10 Thread Donald Stufft
> On Dec 10, 2016, at 8:10 AM, Nick Coghlan wrote: > > P.S. For folks wondering what the problem with "--user" is on > Debian/Ubuntu, as far as I know it's mainly the fact that > "~/.local/bin" isn't on PATH by default, so scripts installed via > "--user" aren't automatically available. FWIW,

Python 3.6, Fedora, and the "C" locale

2016-12-10 Thread Nick Coghlan
Hi folks, One of the minor irritations with running Python 3 applications in Fedora containers is that those containers still default to the "C" local by default - you have to force "C.UTF-8" or "en_US.UTF-8" in order to tell Python that it should use UTF-8 for communicating with system interfaces

Re: Making sudo pip Safe

2016-12-10 Thread Neal Gompa
On Sat, Dec 10, 2016 at 8:10 AM, Nick Coghlan wrote: > On 10 December 2016 at 03:09, Orion Poplawski wrote: >> Debian deals with this by having dist-packages >> (https://wiki.debian.org/Python). Is this not worth adopting? > > This would be my main question as well, as tinkering with sys.prefix

Re: Making sudo pip Safe

2016-12-10 Thread Nick Coghlan
On 10 December 2016 at 03:09, Orion Poplawski wrote: > Debian deals with this by having dist-packages > (https://wiki.debian.org/Python). Is this not worth adopting? This would be my main question as well, as tinkering with sys.prefix can have a host of unintended side effects. As far as I can s

Re: Python EGG guidelines need updating

2016-12-10 Thread Nick Coghlan
On 9 December 2016 at 04:35, Orion Poplawski wrote: > Python folks - > > The FPC needs your help with cleaning up these guidelines: > > https://fedoraproject.org/wiki/Packaging:Python_Eggs > > I have a draft here: > > https://fedoraproject.org/wiki/PackagingDrafts:Python_Eggs > > that makes use