[issue37464] multiple comparison

2019-07-01 Thread Chandan Kumar


New submission from Chandan Kumar :

a=1.0
b=0.0
c=0.0
if (a> d and b):
 print('hi')
else:
 print("bye")

its going to else part
a=1.0
b=0.1
c=0.2
then its going to if part
a==1.0
b=0
c=0.1
then again its going to else part

--
assignee: docs@python
components: Documentation
messages: 346972
nosy: Chandan, docs@python
priority: normal
severity: normal
status: open
title: multiple comparison
type: enhancement
versions: Python 3.7

___
Python tracker 
<https://bugs.python.org/issue37464>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37464] multiple comparison

2019-07-01 Thread Chandan Kumar


Change by Chandan Kumar :


--
type: enhancement -> behavior

___
Python tracker 
<https://bugs.python.org/issue37464>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21196] Name mangling example in Python tutorial

2014-04-10 Thread Chandan Kumar

New submission from Chandan Kumar:

The example used for demonstrating name mangling could be better if two 
versions of code are shown - one with name mangling and one without.  I have 
modified the original example to incorporate this (see attached).

--
assignee: docs@python
components: Documentation
files: name_mangling_works.py
messages: 215872
nosy: chandan, docs@python, rhettinger
priority: normal
severity: normal
status: open
title: Name mangling example in Python tutorial
type: enhancement
Added file: http://bugs.python.org/file34781/name_mangling_works.py

___
Python tracker 
<http://bugs.python.org/issue21196>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21196] Name mangling example in Python tutorial

2014-04-10 Thread Chandan Kumar

Chandan Kumar added the comment:

Adding the second code sample, since only one attachment allowed at one go.

--
Added file: http://bugs.python.org/file34782/without_name_mangling.py

___
Python tracker 
<http://bugs.python.org/issue21196>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21196] Name mangling example in Python tutorial

2014-04-10 Thread Chandan Kumar

Chandan Kumar added the comment:

Here is a link to the documentation section in question: 
https://docs.python.org/2/tutorial/classes.html#private-variables-and-class-local-references

--

___
Python tracker 
<http://bugs.python.org/issue21196>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21196] Name mangling example in Python tutorial

2014-04-13 Thread Chandan Kumar

Chandan Kumar added the comment:

Uploading the patch for the improvement to the name mangling section of the 
Python tutorial.  Please note that the modification is much smaller than I 
proposed earlier.

--
keywords: +patch
Added file: http://bugs.python.org/file34814/docs_name_mangling.patch

___
Python tracker 
<http://bugs.python.org/issue21196>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19180] some RFC references could be updated

2017-02-18 Thread Chandan kumar

Chandan kumar added the comment:

I have updated the RFC references from [0] to [2]. I am not able to find out 
the TLS links mentioned in the https://docs.python.org/3.4/library/ssl.html. I 
have attached the pull request.

--
nosy: +chkumar246

___
Python tracker 
<http://bugs.python.org/issue19180>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10938] Provide links to system specific strftime/ptime docs

2017-02-18 Thread Chandan kumar

Changes by Chandan kumar :


--
pull_requests: +119

___
Python tracker 
<http://bugs.python.org/issue10938>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22671] Typo in class io.BufferedIOBase docs

2014-12-19 Thread Chandan kumar

Changes by Chandan kumar :


--
nosy: +Chandan.kumar

___
Python tracker 
<http://bugs.python.org/issue22671>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com