Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #76510 > unrolled thread

'is not' or '!='

Started by"ElChino" <elchino@cnn.cn>
First post2014-08-18 22:35 +0200
Last post2014-08-21 21:42 +0200
Articles 4 on this page of 44 — 20 participants

Back to article view | Back to comp.lang.python


Contents

  'is not' or '!=' "ElChino" <elchino@cnn.cn> - 2014-08-18 22:35 +0200
    Re: 'is not' or '!=' MRAB <python@mrabarnett.plus.com> - 2014-08-18 21:53 +0100
    Re: 'is not' or '!=' Marko Rauhamaa <marko@pacujo.net> - 2014-08-18 23:53 +0300
      Re: 'is not' or '!=' "ElChino" <elchino@cnn.cn> - 2014-08-18 22:58 +0200
        Re: 'is not' or '!=' Ethan Furman <ethan@stoneleaf.us> - 2014-08-18 14:42 -0700
        Re: 'is not' or '!=' Ethan Furman <ethan@stoneleaf.us> - 2014-08-18 15:19 -0700
        Re: 'is not' or '!=' Chris Kaynor <ckaynor@zindagigames.com> - 2014-08-18 15:04 -0700
          Re: 'is not' or '!=' Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2014-08-19 11:49 +0200
        Re: 'is not' or '!=' Martin S <shieldfire@gmail.com> - 2014-08-19 14:42 +0200
        Re: 'is not' or '!=' Skip Montanaro <skip@pobox.com> - 2014-08-19 08:12 -0500
          Re: 'is not' or '!=' Marko Rauhamaa <marko@pacujo.net> - 2014-08-19 20:29 +0300
            Re: 'is not' or '!=' Tim Chase <python.list@tim.thechases.com> - 2014-08-19 12:34 -0500
              Re: 'is not' or '!=' Marko Rauhamaa <marko@pacujo.net> - 2014-08-19 21:18 +0300
            Re: 'is not' or '!=' Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-20 04:26 +1000
              Re: 'is not' or '!=' Marko Rauhamaa <marko@pacujo.net> - 2014-08-19 21:52 +0300
                Re: 'is not' or '!=' Marko Rauhamaa <marko@pacujo.net> - 2014-08-20 00:00 +0300
                  Re: 'is not' or '!=' Ian Kelly <ian.g.kelly@gmail.com> - 2014-08-19 16:21 -0600
                    Re: 'is not' or '!=' Marko Rauhamaa <marko@pacujo.net> - 2014-08-20 02:02 +0300
                  Re: 'is not' or '!=' Rustom Mody <rustompmody@gmail.com> - 2014-08-20 22:03 -0700
                    Re: 'is not' or '!=' Marko Rauhamaa <marko@pacujo.net> - 2014-08-21 08:56 +0300
              Re: 'is not' or '!=' Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-08-19 20:05 +0100
              Re: 'is not' or '!=' Terry Reedy <tjreedy@udel.edu> - 2014-08-19 18:23 -0400
        Re: 'is not' or '!=' Ian Kelly <ian.g.kelly@gmail.com> - 2014-08-19 10:42 -0600
          Re: 'is not' or '!=' Marko Rauhamaa <marko@pacujo.net> - 2014-08-19 20:36 +0300
        Re: 'is not' or '!=' Skip Montanaro <skip@pobox.com> - 2014-08-19 13:44 -0500
      Re: 'is not' or '!=' alister <alister.nospam.ware@ntlworld.com> - 2014-08-19 09:35 +0000
      Re: 'is not' or '!=' Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2014-08-19 11:53 +0200
    Re: 'is not' or '!=' Rustom Mody <rustompmody@gmail.com> - 2014-08-18 19:29 -0700
      Re: 'is not' or '!=' Steven D'Aprano <steve@pearwood.info> - 2014-08-19 08:36 +0000
        Re: 'is not' or '!=' Chris Angelico <rosuav@gmail.com> - 2014-08-19 18:47 +1000
        Re: 'is not' or '!=' Tim Chase <python.list@tim.thechases.com> - 2014-08-19 05:36 -0500
        Re: 'is not' or '!=' Ben Finney <ben+python@benfinney.id.au> - 2014-08-20 09:24 +1000
          Re: 'is not' or '!=' Rustom Mody <rustompmody@gmail.com> - 2014-08-19 21:01 -0700
            Re: 'is not' or '!=' Steven D'Aprano <steve@pearwood.info> - 2014-08-20 04:59 +0000
              Re: 'is not' or '!=' Rustom Mody <rustompmody@gmail.com> - 2014-08-19 22:25 -0700
                Re: 'is not' or '!=' Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-20 21:05 +1000
                  Re: 'is not' or '!=' Chris Angelico <rosuav@gmail.com> - 2014-08-20 21:17 +1000
                    Re: 'is not' or '!=' Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2014-08-21 20:31 +0200
                  Re: 'is not' or '!=' Tim Chase <python.list@tim.thechases.com> - 2014-08-20 06:26 -0500
                  Re: 'is not' or '!=' Chris Angelico <rosuav@gmail.com> - 2014-08-20 21:33 +1000
                  Re: 'is not' or '!=' Robert Kern <robert.kern@gmail.com> - 2014-08-20 12:40 +0100
                  Re: 'is not' or '!=' Rustom Mody <rustompmody@gmail.com> - 2014-08-20 05:01 -0700
    Re: 'is not' or '!=' Dan Stromberg <drsalists@gmail.com> - 2014-08-21 12:24 -0700
      Re: 'is not' or '!=' "ElChino" <elchino@cnn.cn> - 2014-08-21 21:42 +0200

Page 3 of 3 — ← Prev page 1 2 [3]


#76656

FromRobert Kern <robert.kern@gmail.com>
Date2014-08-20 12:40 +0100
Message-ID<mailman.13200.1408534815.18130.python-list@python.org>
In reply to#76652
On 2014-08-20 12:26, Tim Chase wrote:
> On 2014-08-20 21:17, Chris Angelico wrote:
>> That's true, but how easy is it to annotate a file with each line's
>> author (or, at least, to figure out who wrote some particular line
>> of code)? It's easy enough with 'git blame' or 'hg blame', and it
>> wouldn't surprise me if bzr had a similar feature; but that's all
>> the current generation of version control systems. I don't think
>> cvs or svn offered that kind of feature.
>
> Just for the record, at least SVN has "svn blame" which will annotate
> with the committer's name/id.  I use it all the time at $DAYJOB.  I've
> managed to avoid CVS, so I can't speak to that.

cvs annotate

http://compbio.soe.ucsc.edu/cvsdoc/cvs-manual/cvs_74.html

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco

[toc] | [prev] | [next] | [standalone]


#76658

FromRustom Mody <rustompmody@gmail.com>
Date2014-08-20 05:01 -0700
Message-ID<8a1fdabe-ec2e-4d3e-862a-01e29363148b@googlegroups.com>
In reply to#76652
On Wednesday, August 20, 2014 4:35:42 PM UTC+5:30, Steven D'Aprano wrote:
> Rustom Mody wrote:

> > It is interesting (and insidious) how technology shapes our thinking
> > patterns.  Before git, 

> Pardon me, but git did not invent revision control. There are dozens of
> revision control software applications, including:

> Mercurial: released April 2005
> Git: released April 2005
> GNU Bazaar: released March 2005
> Subversion: 2000
> Clearcase: 1992
> CVS: 1990

> Even venerable old cvs tracked authors.

Ok I was mistaken -- only remembering from rcs where one had to put
a 'cookie' containing rcs-variables that would be substituted.

Which variables you put would decide which pieces of info were
available; the info was in-band, if at all.  Nowadays its all there, its
out-of-band and the natural usage therefore is different.

[toc] | [prev] | [next] | [standalone]


#76746

FromDan Stromberg <drsalists@gmail.com>
Date2014-08-21 12:24 -0700
Message-ID<mailman.13256.1408649055.18130.python-list@python.org>
In reply to#76510
On Mon, Aug 18, 2014 at 1:35 PM, ElChino <elchino@cnn.cn> wrote:
> A newbie question to you; what is the difference between statements like:
>  if x is not None:
> and
> if x != None:
>
> Without any context, which one should be preferred?
> IMHO, the latter is more readable.

You've got some good answers.

I'd like to point out that this might make a good entry in a Python FAQ list...

[toc] | [prev] | [next] | [standalone]


#76747

From"ElChino" <elchino@cnn.cn>
Date2014-08-21 21:42 +0200
Message-ID<lt5i30$7c6$1@dont-email.me>
In reply to#76746
"Dan Stromberg" <drsalists@gmail.com> wrote:

> You've got some good answers.

I've counted around 210 messages in this thread!!

> I'd like to point out that this might make a good entry in a Python FAQ list...

Ok.

[toc] | [prev] | [standalone]


Page 3 of 3 — ← Prev page 1 2 [3]

Back to top | Article view | comp.lang.python


csiph-web