This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sangeetamchauhan
Recipients sangeetamchauhan, tim.peters
Date 2019-09-09.06:06:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAEO0aX9Vshh82S8Q1qEvxPgUmh5G77V1N1AdfTo7ifuf3U5gqQ@mail.gmail.com>
In-reply-to <1568004468.71.0.362903428178.issue38060@roundup.psfhosted.org>
Content
Sorry to disturb you again. The examples you have explained... I already
knew it and i am satisfied with that... but i think i am not able to
explain you about the problem.. Please see the attached file again for
reference.....pleeeeeaassseeeee.
Please last time answer me....
 first i have mailed this problem but i got answer that i should send it to
python tracker

[image: image.png]

On Mon, Sep 9, 2019 at 10:17 AM Tim Peters <report@bugs.python.org> wrote:

>
> Tim Peters <tim@python.org> added the comment:
>
> I'm sorry you're not satisfied with the answer, but I'm a bona fide expert
> on this and you're not going to get anyone to agree with your confusion
> here ;-)
>
> But the bug tracker is not the right place for tutorials.  Please take
> this up on, e.g., the Python mailing list instead.  There is no bug here.
>
> One hint:  in
>
>     EXPR1 or EXPR2
>
> bool(EXPR1) is _always_ evaluated first.  It makes no difference at all to
> this whether EXPR1 is "x < y" or "1 + 2 + 3" or "9".  Trying to make a
> special case out of "a numerical value" is entirely in your own head:  the
> language does nothing of the sort.
>
>    9 or (ANYTHING_AT_ALL)
>
> always results in 9, for the same reason
>
>    4+5 or (ANYTHING_AT_ALL)
>
> always results in 9.  Whether the left-hand expression evaluating to 9 is
> a literal or a complex expression is irrelevant.
>
> In the same way, e.g.,
>
>    x = 9
> and
>    x = 4+6
>
> both bind x to 9.  A numeric literal is just as much "an expression" as
> any other kind of expression.  "Single value" has nothing to do with this.
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue38060>
> _______________________________________
>
Files
File name Uploaded
image.png sangeetamchauhan, 2019-09-09.06:06:59
History
Date User Action Args
2019-09-09 06:06:59sangeetamchauhansetrecipients: + sangeetamchauhan, tim.peters
2019-09-09 06:06:59sangeetamchauhanlinkissue38060 messages
2019-09-09 06:06:59sangeetamchauhancreate