[issue45498] [doc] Fix a code example, non declared variable being printed

2021-10-16 Thread Lahfa Samy


New submission from Lahfa Samy :

I was looking through the documentation at examples for reading CSV files and 
noticed that an undefined variable was printed in a code example, this affects 
Python version from 3.6 till 3.110a1 (dev version of the documentation).

It got me kind of confused, because a for loop does not really declare 
variables.
The fix is really simple, just printing the variable that is declared.

--
assignee: docs@python
components: Documentation
files: csv-example-fix.patch
keywords: patch
messages: 404115
nosy: AkechiShiro, docs@python
priority: normal
severity: normal
status: open
title: [doc] Fix a code example, non declared variable being printed
type: enhancement
versions: Python 3.10, Python 3.11, Python 3.6, Python 3.7, Python 3.8, Python 
3.9
Added file: https://bugs.python.org/file50365/csv-example-fix.patch

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



[issue45498] [doc] Fix a code example, non declared variable being printed

2021-10-16 Thread Lahfa Samy


Change by Lahfa Samy :


--
pull_requests: +27281
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/28999

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



[issue45498] [doc] Fix a code example, non declared variable being printed

2021-10-16 Thread Lahfa Samy


Change by Lahfa Samy :


--
stage: patch review -> resolved
status: open -> closed

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



[issue39879] Update language reference to specify that dict is insertion-ordered.

2020-03-14 Thread Lahfa Samy


Lahfa Samy  added the comment:

Hi, 

I would like to take this issue as my first contribution to Python, I'm 
currently subscribed to the python-core-mentorship list.
I do not know exactly how to submit a patch for an issue.

Kind regards.

--
nosy: +AkechiShiro

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



[issue39879] Update language reference to specify that dict is insertion-ordered.

2020-03-14 Thread Lahfa Samy


Change by Lahfa Samy :


--
keywords: +patch
pull_requests: +18351
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/19006

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



[issue39879] Update language reference to specify that dict is insertion-ordered.

2020-03-15 Thread Lahfa Samy


Lahfa Samy  added the comment:

Following the guide, I've send a patch with the fix, I'm waiting for a review. 
Once the patch will be reviewed and accepted. My patch will need to be 
backported from 3.9 to 3.7.

--

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



[issue28859] os.path.ismount sometimes raises FileNotFoundError on Windows

2020-03-17 Thread Lahfa Samy


Lahfa Samy  added the comment:

Nishant Misra are you still working on this issue, if not could I take it from 
now on, as my first issue and contribution to Python?

--
nosy: +AkechiShiro

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



[issue39879] Update language reference to specify that dict is insertion-ordered.

2020-03-17 Thread Lahfa Samy


Lahfa Samy  added the comment:

Hi Furkan, would you mind to combine your revised PR with mine so that we can 
do as suggested by Zachary?

--

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



[issue39879] Update language reference to specify that dict is insertion-ordered.

2020-03-18 Thread Lahfa Samy


Lahfa Samy  added the comment:

Thank you for your quick work, I have successfully merged your changes in the 
branch of the first PR, now awaiting review from Zachary.

--

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