Re: Users banned

2018-07-17 Thread Thomas Jollans
On 18/07/18 00:10, Jon Ribbens wrote: > On 2018-07-17, Thomas Jollans wrote: >> On 2018-07-16 01:29, Jon Ribbens wrote: >>> Do you have any reason to believe the message at the top of the >>> thread purporting to ban users was genuinely from the moderators? >>> Because there are obvious reasons to

Re: Users banned

2018-07-17 Thread Jon Ribbens
On 2018-07-17, Thomas Jollans wrote: > On 2018-07-16 01:29, Jon Ribbens wrote: >> Do you have any reason to believe the message at the top of the >> thread purporting to ban users was genuinely from the moderators? >> Because there are obvious reasons to believe otherwise. > > Care to elaborate?

Re: Users banned

2018-07-17 Thread Thomas Jollans
On 2018-07-16 01:29, Jon Ribbens wrote: > On 2018-07-15, Chris Angelico wrote: >> On Mon, Jul 16, 2018 at 7:35 AM, Marko Rauhamaa wrote: >>> Christian Gollwitzer : Am 15.07.18 um 19:25 schrieb Ethan Furman: > The following users are now banned from Python List: > ... > BartC

Re: Users banned

2018-07-17 Thread Jon Ribbens
On 2018-07-17, Steven D'Aprano wrote: > But neither of these are prohibited by the CoC, neither of these should > be banning offense, and even if they were, he should have had a formal > warning first. > > Preferably TWO formal warnings: the first privately, the second publicly, > and only on t

Re: Users banned

2018-07-16 Thread Steven D'Aprano
On Mon, 16 Jul 2018 20:03:39 +0100, Steve Simmons wrote: > +1  Seems to me Bart is being banned for "being a dick" and "talking > rubbish" (my words/interpretation) with irritating persistence. I know that when I first started here, I often talked rubbish. The difference is, I was willing to lis

Re: Users banned

2018-07-16 Thread Terry Reedy
On 7/16/2018 3:27 PM, Grant Edwards wrote: On 2018-07-16, Steve Simmons wrote: +1  Seems to me Bart is being banned for "being a dick" and "talking rubbish" (my words/interpretation) with irritating persistence. Wonder how many of the non-banned members have been guilty of the same thing in on

Re: Users banned

2018-07-16 Thread Grant Edwards
On 2018-07-16, Steve Simmons wrote: > +1  Seems to me Bart is being banned for "being a dick" and "talking > rubbish" (my words/interpretation) with irritating persistence. Wonder > how many of the non-banned members have been guilty of the same thing in > one way or another. I'm sure many of

Re: Users banned

2018-07-16 Thread Steve Simmons
On 16/07/2018 03:13, Devin Jeanpierre wrote: On Sun, Jul 15, 2018 at 5:09 PM Jim Lee wrote: That is, of course, the decision of the moderators - but I happen to agree with both Christian and Ethan. Banning for the simple reason of a dissenting opinion is censorship, pure and simple. While Bar

Re: Users banned

2018-07-15 Thread Devin Jeanpierre
On Sun, Jul 15, 2018 at 5:09 PM Jim Lee wrote: > That is, of course, the decision of the moderators - but I happen to > agree with both Christian and Ethan. Banning for the simple reason of a > dissenting opinion is censorship, pure and simple. While Bart may have > been prolific in his argument

Re: Users banned

2018-07-15 Thread Jim Lee
On 07/15/18 14:53, Chris Angelico wrote: On Mon, Jul 16, 2018 at 7:35 AM, Marko Rauhamaa wrote: Christian Gollwitzer : Am 15.07.18 um 19:25 schrieb Ethan Furman: The following users are now banned from Python List: ... BartC I don't really think that this is appropriate. Bart may have dev

Re: Users banned

2018-07-15 Thread Jon Ribbens
On 2018-07-15, Chris Angelico wrote: > On Mon, Jul 16, 2018 at 7:35 AM, Marko Rauhamaa wrote: >> Christian Gollwitzer : >>> Am 15.07.18 um 19:25 schrieb Ethan Furman: The following users are now banned from Python List: ... BartC >>> >>> I don't really think that this is appropriat

Re: Users banned

2018-07-15 Thread Chris Angelico
On Mon, Jul 16, 2018 at 7:35 AM, Marko Rauhamaa wrote: > Christian Gollwitzer : > >> Am 15.07.18 um 19:25 schrieb Ethan Furman: >>> The following users are now banned from Python List: >>> ... >>> BartC >> >> I don't really think that this is appropriate. Bart may have deviant >> optinions, mostly

Re: Users banned

2018-07-15 Thread Marko Rauhamaa
Christian Gollwitzer : > Am 15.07.18 um 19:25 schrieb Ethan Furman: >> The following users are now banned from Python List: >> ... >> BartC > > I don't really think that this is appropriate. Bart may have deviant > optinions, mostly he thinks that his own work is superior to Python - > but he has

Re: Users banned

2018-07-15 Thread Christian Gollwitzer
Am 15.07.18 um 19:25 schrieb Ethan Furman: The following users are now banned from Python List: ... BartC I don't really think that this is appropriate. Bart may have deviant optinions, mostly he thinks that his own work is superior to Python - but he has always argued in a calm and technic

Re: Users of namedtuple: do you use the _source attribute?

2017-07-19 Thread Rick Johnson
On Tuesday, July 18, 2017 at 12:59:36 AM UTC-5, Terry Reedy wrote: > Yes, No. The developers of the class agree that a trailing > underscore convention would have been better. 'source_' > etc. Which, while encroaching on the "this-is-a-reserved-symbol_" convention, would relieve the current "_st

Re: Users of namedtuple: do you use the _source attribute?

2017-07-18 Thread Thomas Nyberg
On 07/19/2017 05:12 AM, Steve D'Aprano wrote: > On Wed, 19 Jul 2017 08:39 am, Gregory Ewing wrote: > Um... well, people want to do all sorts of wild and wacky things... but why > would you define a named tuple with *private* fields? Especially since that > privateness isn't enforced when you access

Re: Users of namedtuple: do you use the _source attribute?

2017-07-18 Thread Steve D'Aprano
On Wed, 19 Jul 2017 08:39 am, Gregory Ewing wrote: > Steve D'Aprano wrote: >> "source_" is already a public name, which means that users could want to >> create fields with that name for some reason, > > They could equally well want to define their own private > field called "_source". Um... wel

Re: Users of namedtuple: do you use the _source attribute?

2017-07-18 Thread Gregory Ewing
Steve D'Aprano wrote: "source_" is already a public name, which means that users could want to create fields with that name for some reason, They could equally well want to define their own private field called "_source". IMO a better thing to do would have been to name it "__source__". Dunder

Re: Users of namedtuple: do you use the _source attribute?

2017-07-18 Thread Steve D'Aprano
On Tue, 18 Jul 2017 03:58 pm, Terry Reedy wrote: >> On Monday, July 17, 2017 at 12:20:04 PM UTC-5, Steve D'Aprano wrote: >>> collections.namedtuple generates a new class using exec, >>> and records the source code for the class as a _source >>> attribute. Although it has a leading underscore, it

Re: Users of namedtuple: do you use the _source attribute?

2017-07-18 Thread Cameron Simpson
On 18Jul2017 02:57, Steve D'Aprano wrote: collections.namedtuple generates a new class using exec, and records the source code for the class as a _source attribute. Although it has a leading underscore, it is actually a public attribute. The leading underscore distinguishes it from a named fiel

Re: Users of namedtuple: do you use the _source attribute?

2017-07-17 Thread Terry Reedy
On 7/17/2017 10:27 PM, Rick Johnson wrote: On Monday, July 17, 2017 at 12:20:04 PM UTC-5, Steve D'Aprano wrote: collections.namedtuple generates a new class using exec, and records the source code for the class as a _source attribute. Although it has a leading underscore, it is actually a publi

Re: Users of namedtuple: do you use the _source attribute?

2017-07-17 Thread Michele Simionato
Il giorno lunedì 17 luglio 2017 19:20:04 UTC+2, Steve D'Aprano ha scritto: > collections.namedtuple generates a new class using exec, and records the > source > code for the class as a _source attribute. > > Although it has a leading underscore, it is actually a public attribute. The > leading un

Re: Users of namedtuple: do you use the _source attribute?

2017-07-17 Thread Rick Johnson
On Monday, July 17, 2017 at 12:20:04 PM UTC-5, Steve D'Aprano wrote: > collections.namedtuple generates a new class using exec, > and records the source code for the class as a _source > attribute. Although it has a leading underscore, it is > actually a public attribute. The leading underscore >

Re: Users of namedtuple: do you use the _source attribute?

2017-07-17 Thread Steve D'Aprano
On Tue, 18 Jul 2017 05:44 am, Rob Gaddi wrote: > That said, it sure feels (as someone who hasn't tried it) like there's a > straightforward namedtuple implementation that calls type() directly > rather than having to exec. I know that exec-gunshyness is overblown, > but is there a simple answer a

Re: Users of namedtuple: do you use the _source attribute?

2017-07-17 Thread Ethan Furman
On 07/17/2017 12:44 PM, Rob Gaddi wrote: On 07/17/2017 09:57 AM, Steve D'Aprano wrote: collections.namedtuple generates a new class using exec, and records the source code for the class as a _source attribute. Although it has a leading underscore, it is actually a public attribute. The leadin

Re: Users of namedtuple: do you use the _source attribute?

2017-07-17 Thread Gregory Ewing
Steve D'Aprano writes: Is there anyone here who uses the namedtuple _source attribute? I didn't know it existed either, and if I did I would have assumed it was an implementation detail and would never have written code that relied on it. I certainly won't miss it if it disapppears. -- Greg -

Re: Users of namedtuple: do you use the _source attribute?

2017-07-17 Thread Ben Finney
Steve D'Aprano writes: > collections.namedtuple generates a new class using exec, and records > the source code for the class as a _source attribute. The documentation tells me that ‘_source’ is “New in version 3.3.” I wasn't aware that the ‘namedtuple’ interface had changed since it was introd

Re: Users of namedtuple: do you use the _source attribute?

2017-07-17 Thread Rob Gaddi
On 07/17/2017 09:57 AM, Steve D'Aprano wrote: collections.namedtuple generates a new class using exec, and records the source code for the class as a _source attribute. Although it has a leading underscore, it is actually a public attribute. The leading underscore distinguishes it from a named f

RE: Users of namedtuple: do you use the _source attribute?

2017-07-17 Thread Dan Strohl via Python-list
I have never used it personally. It always looked interesting, but I never ran into a need to generate the source for it. -Original Message- From: Python-list [mailto:python-list-bounces+d.strohl=f5@python.org] On Behalf Of Steve D'Aprano Sent: Monday, July 17, 2017 9:58 AM To: pyth

Re: users of pycurl here?

2005-10-10 Thread Michele Simionato
Yes, it works fine, thanks (still I am a bit surprised there is not ftpparse.py but only an _ftpparse.so). Michele Simionato -- http://mail.python.org/mailman/listinfo/python-list

Re: users of pycurl here?

2005-10-10 Thread Fredrik Lundh
Michele Simionato wrote: > the README says "for a usage example, see the sanity.py test > script" but there is not such a script in the distribution :-( looks like a distutils glitch... try this one: # $Id$ # minimal sanity check import string TESTS = [ "# examples taken from ftpparse.c",

Re: users of pycurl here?

2005-10-10 Thread Michele Simionato
The Effbot wrote: > here's a robust parser for various LIST output formats: > >http://cr.yp.to/ftpparse.html > > (google for "ftpparse" to find python bindings for that module) Well, I have downloaded the one from your site (ftpparse-1.1-20021124) and I have given a python setup.py install. No

Re: users of pycurl here?

2005-10-07 Thread Fredrik Lundh
Michele Simionato wrote: > I am having a hard time in finding out how to retrieve information > about the *size* of files I want to download from an FTP site. Should I > send a QUOTE SIZE command to the ftp server or is there an easier way? SIZE isn't a standard FTP command, so that only works fo

RE: users of pycurl here?

2005-10-07 Thread Michael . Coll-Barth
How about doing an 'ls -la' once you have connected to the server? That returns a listing of the files with the size in bytes. -Original Message- From: Michele Simionato I am having a hard time in finding out how to retrieve information about the *size* of files I want to download from

Re: Users

2004-12-09 Thread Peter Hansen
python1 wrote: Do you know of a way to list the users on a Win2K machine? I can't seem to find a module for this. As a starting point, I played a moment and found this: >>> import win32net >>> dir(win32net) ['NetFileClose', 'NetFileEnum', 'NetFileGetInfo', ... 'NetUserEnum', 'NetUserGetGroups', 'N

Re: Users

2004-12-09 Thread python1
Tim Golden wrote: [python1] | Do you know of a way to list the users on a Win2K machine? I | can't seem to find a module for this. Interpretation 1: who is in the user database of a given machine? Sorry for the ambiguity. Yes #1 is correct. I'll try the code you've listed... Thanks. Investigate

RE: Users

2004-12-09 Thread Tim Golden
[python1] | Do you know of a way to list the users on a Win2K machine? I | can't seem to find a module for this. Interpretation 1: who is in the user database of a given machine? Investigate the win32net module. Something like this: import win32net import win32netcon MACHINE_NAME = 'VOGBP200'