Re: Compiling Python 3.6.1 on macOS 10.12.5

2017-07-10 Thread Chris Warrick
Why are you trying to compile Python manually? You should use Homebrew to install Python in 99% of cases. (The package is python3) -- Chris Warrick -- https://mail.python.org/mailman/listinfo/python-list

Re: Write this accumuator in a functional style

2017-07-10 Thread Wolfgang Maier
On 07/11/2017 08:11 AM, Steven D'Aprano wrote: I have a colleague who is allergic to mutating data structures. Yeah, I know, he needs to just HTFU but I thought I'd humour him. Suppose I have an iterator that yields named tuples: Parrot(colour='blue', species='Norwegian', status='tired and shag

Re: Write this accumuator in a functional style

2017-07-10 Thread Gregory Ewing
Steven D'Aprano wrote: Help me humour my colleague. class Parrot: def __init__(self, color, species, status): self.color = color self.species = species self.status = status def __repr__(self): return "%s/%s/%s" % (self.species, self.color, self.status)

Write this accumuator in a functional style

2017-07-10 Thread Steven D'Aprano
I have a colleague who is allergic to mutating data structures. Yeah, I know, he needs to just HTFU but I thought I'd humour him. Suppose I have an iterator that yields named tuples: Parrot(colour='blue', species='Norwegian', status='tired and shagged out') and I want to collect them by colour:

Re: What's with all of the Case Solution and Test Bank nonsense posts?

2017-07-10 Thread Michael Torrie
On 07/10/2017 02:06 PM, Pete Forman wrote: >> What's the meaning of "https news service" then? If it's netnews, it's >> NNTP, not HTTP. If it just happens to be a web app that carries >> information from a newsgroup, then that's not a news service, it's a >> web forum, and there's no such thing as

Re: Compiling Python 3.6.1 on macOS 10.12.5

2017-07-10 Thread INADA Naoki
> Killed: 9 It looks like not segmentation fault. Maybe, RAM shortage? INADA Naoki On Mon, Jul 10, 2017 at 10:24 PM, Nigel Palmer wrote: > Hi > > I am trying to compile Python 3.6.1 on macOS 10.12.5 with xcode 8.8.3 using > the instructions at > https://docs.python.org/devguide/setup.html

ANN: A new version (0.4.1) of python-gnupg has been released.

2017-07-10 Thread Vinay Sajip via Python-list
A new version of the Python module which wraps GnuPG has been released. What Changed? = This is an enhancement and bug-fix release, and all users are encouraged to upgrade. See the project website [1] for more information. Brief summary: * Updated message handling logic to no longer

Compiling Python 3.6.1 on macOS 10.12.5

2017-07-10 Thread Nigel Palmer
Hi I am trying to compile Python 3.6.1 on macOS 10.12.5 with xcode 8.8.3 using the instructions at https://docs.python.org/devguide/setup.html#build-dependencies but I am getting the error ./python.exe -E -S -m sysconfig --generate-posix-vars ;\ if test $? -ne 0 ; then \

Re: What's with all of the Case Solution and Test Bank nonsense posts?

2017-07-10 Thread Pete Forman
Chris Angelico writes: > On Tue, Jul 11, 2017 at 4:12 AM, Michael Torrie wrote: >> On 07/10/2017 11:05 AM, Paul Rubin wrote: >>> Michael Torrie writes: > can you get a newsreader to work with a https news service? No. A newsreader works with NNTP protocol. >>> >>> Traditionally NNTP o

Re: What's with all of the Case Solution and Test Bank nonsense posts?

2017-07-10 Thread Chris Angelico
On Tue, Jul 11, 2017 at 4:12 AM, Michael Torrie wrote: > On 07/10/2017 11:05 AM, Paul Rubin wrote: >> Michael Torrie writes: can you get a newsreader to work with a https news service? >>> No. A newsreader works with NNTP protocol. >> >> Traditionally NNTP over SSL was done on port 563. So

Re: What's with all of the Case Solution and Test Bank nonsense posts?

2017-07-10 Thread Michael Torrie
On 07/10/2017 11:05 AM, Paul Rubin wrote: > Michael Torrie writes: >>> can you get a newsreader to work with a https news service? >> No. A newsreader works with NNTP protocol. > > Traditionally NNTP over SSL was done on port 563. Some feeds now also > provide it on 443 to get around client-sid

Re: What's with all of the Case Solution and Test Bank nonsense posts?

2017-07-10 Thread Paul Rubin
Michael Torrie writes: >> can you get a newsreader to work with a https news service? > No. A newsreader works with NNTP protocol. Traditionally NNTP over SSL was done on port 563. Some feeds now also provide it on 443 to get around client-side firewall hassles. -- https://mail.python.org/mail

Re: What's with all of the Case Solution and Test Bank nonsense posts?

2017-07-10 Thread pyotr filipivich
timetowal...@gmail.com on Sun, 9 Jul 2017 16:39:44 -0700 (PDT) typed in comp.lang.python the following: >I use https://groups.google.com/forum/#!forum/comp.lang.python to look over >message posts. > >What's with all of the Case Solution and Test Bank nonsense posts? >Is is possible to have these

Re: What's with all of the Case Solution and Test Bank nonsense posts?

2017-07-10 Thread Jon Ribbens
On 2017-07-10, John Black wrote: > In article , > jon+use...@unequivocal.eu says... >> On 2017-07-10, John Black wrote: >> > While you're at it, throw these rules in and the group will appear very >> > clean and on topic. >> > >> > Subject contains "PEDOFILO" >> > Or >> > Subject contains "MAI"

Re: Test 0 and false since false is 0

2017-07-10 Thread Grant Edwards
On 2017-07-09, Paul D. DeRocco wrote: >> From: Sayth Renshaw >> >> I have been reading this solution >> > >>> after = sorted(before, key=lambda x: x == 0 and type(x) == int) >> >> it is really good, however I don't understand it enough to >> reimplement something like that myself yet. >> >> T

ezdxf type of spline

2017-07-10 Thread amka1791
Hi, Can someone says please to me which kind are the splines of the ezdxf python module ? Is it bezier curves ? Thanks, dylan -- https://mail.python.org/mailman/listinfo/python-list

Re: What's with all of the Case Solution and Test Bank nonsense posts?

2017-07-10 Thread John Black
In article , jon+use...@unequivocal.eu says... > > On 2017-07-10, John Black wrote: > > While you're at it, throw these rules in and the group will appear very > > clean and on topic. > > > > Subject contains "PEDOFILO" > > Or > > Subject contains "MAI" > > Or > > Subject contains "SEGRETO" > [

Re: What's with all of the Case Solution and Test Bank nonsense posts?

2017-07-10 Thread Michael Torrie
On 07/09/2017 09:29 PM, Chris Roy-Smith wrote: > can you get a newsreader to work with a https news service? No. A newsreader works with NNTP protocol. Some Usenet servers offer SSL support over port 443, but that's certainly not https. I've never heard of an https news service before. Unless yo

Re: What's with all of the Case Solution and Test Bank nonsense posts?

2017-07-10 Thread Jon Ribbens
On 2017-07-09, Michael Torrie wrote: > I'm sure Google could filter them if it chose. Behind the group, > though, is the Usenet newsgroup, which is unmoderated and decentralized, > and you can't filter there. ... unless the group were changed to be moderated, which it really ought to be, being a

Re: What's with all of the Case Solution and Test Bank nonsense posts?

2017-07-10 Thread Jon Ribbens
On 2017-07-10, John Black wrote: > While you're at it, throw these rules in and the group will appear very > clean and on topic. > > Subject contains "PEDOFILO" > Or > Subject contains "MAI" > Or > Subject contains "SEGRETO" [snip >100 lines of rules] Or just "subject does not contain any lower-

Re: What's with all of the Case Solution and Test Bank nonsense posts?

2017-07-10 Thread Larry Martell
On Sun, Jul 9, 2017 at 10:37 PM, wrote: > On Sunday, July 9, 2017 at 8:53:18 PM UTC-5, Steve D'Aprano wrote: >> On Mon, 10 Jul 2017 11:41 am, voteswithf...@gmail.com wrote: >> >> > On Sunday, July 9, 2017 at 7:59:45 PM UTC-5, timetowalk wrote: >> >> >> I will need to read about filtering messages

Re: AUCPR of individual features using Random Forest (Error: unhashable Type)

2017-07-10 Thread Steve D'Aprano
Hi mscs15059 and welcome! (If you'd rather be known with a more friendly name, you can either sign your messages at the end, or configure your email or news software to show your name.) On Mon, 10 Jul 2017 09:47 pm, mscs15...@itu.edu.pk wrote: > I have a data set of 19 features (v1---v19) and on

AUCPR of individual features using Random Forest (Error: unhashable Type)

2017-07-10 Thread mscs15059
I have a data set of 19 features (v1---v19) and one class label (c1) , I can eaily get the precision recall value of all variables with the class label, but I want the AUCPR of individual features with the class label The data is in this form V1 V2 V3V4 V5 V6 V7 V8 V9 V1

Re: What's with all of the Case Solution and Test Bank nonsense posts?

2017-07-10 Thread Wanderer
On Sunday, July 9, 2017 at 8:59:45 PM UTC-4, timetowalk wrote: > On Sunday, July 9, 2017 at 8:05:59 PM UTC-4, Michael Torrie wrote: > > On 07/09/2017 05:39 PM, timetowal...@gmail.com wrote: > > > I use https://groups.google.com/forum/#!forum/comp.lang.python to look > > > over message posts. > > >