[issue23802] patch: __deepcopy__ memo dict argument usage

2020-08-18 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


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

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



[issue41510] Mentions of pdb.set_trace() in library/functions and library/sys incorrectly states that set_trace expects no arguments

2020-08-14 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
nosy: +ronaldoussoren

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



[issue41353] Indicate supported sound header formats

2020-07-20 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
keywords: +patch
pull_requests: +20719
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/21575

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



[issue41353] Indicate supported sound header formats

2020-07-20 Thread Joannah Nanjekye


New submission from Joannah Nanjekye :

The documentation for the sndhdr module does not have supported file formats. 
Something like below could help:

+++
| Value  | Sound header format|
+++
| ``'aifc'`` | Compressed Audio Interchange Files |
+++
| ``'aiff'`` | Audio Interchange Files|
+++
| ``'au'``   | AU Files   |
+++
| ``'hcom'`` | HCOM Files |
+++
| ``'sndr'`` | SNDR Files |
+++
| ``'sndt'`` | SNDT Files |
+++
| ``'voc'``  | VOC Files  |
+++
| ``'wav'``  | WAV Files  |
+++
| ``'8svx'`` | 8SVX Files |
+++
| ``'sb'``   | SB Files   |
+++
| ``'ub'``   | UB Files   |
+++
| ``'ul'``   | uLAW Audio Files   |
+++

--
messages: 374047
nosy: nanjekyejoannah
priority: normal
severity: normal
status: open
title: Indicate supported sound header formats

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



[issue41353] Indicate supported sound header formats

2020-07-20 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
assignee:  -> docs@python
components: +Documentation
nosy: +docs@python
type:  -> enhancement

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



[issue41283] The parameter name for imghdr.what in the documentation is wrong

2020-07-20 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
pull_requests: +20716
pull_request: https://github.com/python/cpython/pull/21573

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



[issue41283] The parameter name for imghdr.what in the documentation is wrong

2020-07-20 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:


New changeset 5241e189e77972d3a07acbbb3f0c0cbc2aeeb681 by Ammar Askar in branch 
'master':
bpo-41283: Fix mismatched argument name for imghdr.what (GH-21501)
https://github.com/python/cpython/commit/5241e189e77972d3a07acbbb3f0c0cbc2aeeb681


--
nosy: +nanjekyejoannah

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



[issue1823] Possible to set invalid Content-Transfer-Encoding on email.mime.multipart.MIMEMultipart

2020-07-17 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

I agree with @Victor. I removed the easy tag on this easy

--
nosy: +nanjekyejoannah

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



[issue1823] Possible to set invalid Content-Transfer-Encoding on email.mime.multipart.MIMEMultipart

2020-07-17 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
keywords:  -easy

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



[issue32192] Provide importlib.util.lazy_import helper function

2020-07-13 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:


New changeset 8dd32fe645c9503cf8e6be4b1580c3a59b450168 by Joannah Nanjekye in 
branch 'master':
bpo-32192: A basic lazy importer example (GH-21330)
https://github.com/python/cpython/commit/8dd32fe645c9503cf8e6be4b1580c3a59b450168


--

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



[issue23802] patch: __deepcopy__ memo dict argument usage

2020-07-09 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:


New changeset 3cbade7d309ab1ea97ec286d19d506df30bd1ab7 by Joannah Nanjekye in 
branch 'master':
bpo-23802: patch: __deepcopy__ memo dict argument usage (GH-21326)
https://github.com/python/cpython/commit/3cbade7d309ab1ea97ec286d19d506df30bd1ab7


--

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



[issue41225] Add a test for get_id() in the symtable module

2020-07-07 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
components: +Tests
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.10

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



[issue41224] Document is_annotate() in symtable and update doc strings

2020-07-07 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


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

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



[issue41224] Document is_annotate() in symtable and update doc strings

2020-07-07 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:


New changeset a95ac779e6bca0d87819969e361627182b83292c by Joannah Nanjekye in 
branch 'master':
bpo-41224: Document is_annotated() in symtable module and update doc strings 
(GH-21369)
https://github.com/python/cpython/commit/a95ac779e6bca0d87819969e361627182b83292c


--

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



[issue41234] Remove symbol.sym_name

2020-07-07 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
keywords: +patch
pull_requests: +20526
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/21381

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



[issue41234] Remove symbol.sym_name

2020-07-07 Thread Joannah Nanjekye


New submission from Joannah Nanjekye :

symbol.sym_name was already removed yet still documented in library/symbol.rst.

I suggest completely removing the docs too since the module is non-existing.

--
components: Library (Lib)
messages: 373261
nosy: nanjekyejoannah
priority: normal
severity: normal
status: open
title: Remove symbol.sym_name
type: enhancement
versions: Python 3.10

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



[issue39417] Link to "Python Packaging User Guide: Creating and using virtual environments" is broken

2020-07-07 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

Looks like this should be closed as the submitted PR was merged. Just following 
up for consesus.

--
nosy: +nanjekyejoannah

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



[issue23802] patch: __deepcopy__ memo dict argument usage

2020-07-07 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

The Pr should sort this. I will merge it tommorrow if there is no objection.

--

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



[issue41225] Add a test for get_id() in the symtable module

2020-07-06 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
keywords: +patch
pull_requests: +20515
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/21370

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



[issue41225] Add a test for get_id() in the symtable module

2020-07-06 Thread Joannah Nanjekye


New submission from Joannah Nanjekye :

The method get_id() in the symtable module is implemented and documented but 
not tested.

--
messages: 373201
nosy: nanjekyejoannah
priority: normal
severity: normal
status: open
title: Add a test for get_id() in the symtable module

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



[issue41224] Document is_annotate() in symtable and update doc strings

2020-07-06 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
keywords: +patch
pull_requests: +20514
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/21369

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



[issue41224] Document is_annotate() in symtable and update doc strings

2020-07-06 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
title: Document is_annotated() in the symtable module -> Document is_annotate() 
in symtable and update doc strings

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



[issue41224] Document is_annotated() in the symtable module

2020-07-06 Thread Joannah Nanjekye


New submission from Joannah Nanjekye :

The function is_annotated() in symtable is not documented. Am using this
opportunity to also add docstrings to the methods that didnot have them already.

--
assignee: docs@python
components: Documentation
messages: 373200
nosy: docs@python, nanjekyejoannah
priority: normal
severity: normal
status: open
title: Document is_annotated() in the symtable module
type: enhancement
versions: Python 3.10

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



[issue39375] Document os.environ[x] = y and os.putenv() as thread unsafe

2020-07-06 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
nosy: +nanjekyejoannah

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



[issue41014] warning: 'sqlite3_trace' is deprecated

2020-07-06 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

I think the same reasoning in the discussion from this thread: 
https://bugs.python.org/issue41018 applies to this too.

--
nosy: +nanjekyejoannah

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



[issue37724] [[Errno 17] File exists: ] # Try create directories that are not part of the archive with

2020-07-06 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

This is marked 2.7 is it still relevant?

--
nosy: +nanjekyejoannah

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



[issue28681] Clarify multiple function names in the tutorial

2020-07-05 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:


New changeset 6790f9badda47c7aa0fe4b0b5f090d6ca0c477d5 by Miss Islington (bot) 
in branch '3.8':
bpo-28681: Clarify multiple function names in the tutorial (GH-21340) (GH-21344)
https://github.com/python/cpython/commit/6790f9badda47c7aa0fe4b0b5f090d6ca0c477d5


--

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



[issue28681] Clarify multiple function names in the tutorial

2020-07-05 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:


New changeset 00c09f06a4cf1e352c6ab0c9b9e6074e52f44ae1 by Miss Islington (bot) 
in branch '3.9':
bpo-28681: Clarify multiple function names in the tutorial (GH-21340) (GH-21343)
https://github.com/python/cpython/commit/00c09f06a4cf1e352c6ab0c9b9e6074e52f44ae1


--

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



[issue26205] Better specify number of nested scopes

2020-07-05 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:


New changeset 3f4a9fd912fc6d4f5ee2b49bfef979cc7d457848 by Miss Islington (bot) 
in branch '3.9':
bpo-26205: Specify the number of nested scopes (GH-21324) (GH-21341)
https://github.com/python/cpython/commit/3f4a9fd912fc6d4f5ee2b49bfef979cc7d457848


--

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



[issue26205] Better specify number of nested scopes

2020-07-05 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:


New changeset 7ceb3e3ffc8ee00551df2245544eb60f7debf3af by Miss Islington (bot) 
in branch '3.8':
bpo-26205: Specify the number of nested scopes (GH-21324) (GH-21342)
https://github.com/python/cpython/commit/7ceb3e3ffc8ee00551df2245544eb60f7debf3af


--

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



[issue28681] Clarify multiple function names in the tutorial

2020-07-05 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:


New changeset d12af71047f0eae86440654d3ea74c032c7c3558 by Joannah Nanjekye in 
branch 'master':
bpo-28681: Clarify multiple function names in the tutorial (GH-21340)
https://github.com/python/cpython/commit/d12af71047f0eae86440654d3ea74c032c7c3558


--

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



[issue26205] Better specify number of nested scopes

2020-07-05 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

Merged, this can be closed if there is consesus.

--

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



[issue26205] Better specify number of nested scopes

2020-07-05 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:


New changeset 9ed3cd8ba052b395ab50692bb65988b065d68e27 by Joannah Nanjekye in 
branch 'master':
bpo-26205: Specify the number of nested scopes (GH-21324)
https://github.com/python/cpython/commit/9ed3cd8ba052b395ab50692bb65988b065d68e27


--

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



[issue26205] Inconsistency concerning nested scopes

2020-07-05 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

PR updated with your change. @Terry

--

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



[issue28681] About function renaming in the tutorial

2020-07-05 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
nosy: +nanjekyejoannah
nosy_count: 8.0 -> 9.0
pull_requests: +20488
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/21340

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



[issue41018] warning: 'Tk_MainWindow' is deprecated: first deprecated

2020-07-05 Thread Joannah Nanjekye


New submission from Joannah Nanjekye :

I find this issue to be less descriptive. Maybe a sentence to complement the 
title can help others understand even better.

--
nosy: +nanjekyejoannah

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



[issue31305] 'pydoc -w import' report "no Python documentation found for 'import'"

2020-07-05 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

Given EOL is this still relevant? as it is marked 2.7

--
nosy: +nanjekyejoannah

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



[issue32192] Provide importlib.util.lazy_import helper function

2020-07-04 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
keywords: +patch
nosy: +nanjekyejoannah
nosy_count: 5.0 -> 6.0
pull_requests: +20480
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/21330

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



[issue23802] patch: __deepcopy__ memo dict argument usage

2020-07-04 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
nosy: +nanjekyejoannah
nosy_count: 3.0 -> 4.0
pull_requests: +20476
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/21326

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



[issue12165] Nonlocal does not include global; clarify doc

2020-07-04 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
nosy: +nanjekyejoannah
stage:  -> needs patch

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



[issue26205] Inconsistency concerning nested scopes

2020-07-04 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
keywords: +patch
nosy: +nanjekyejoannah
nosy_count: 8.0 -> 9.0
pull_requests: +20474
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/21324

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



[issue14189] C API documentation must document if returned object is a borrowed reference or strong reference

2020-07-04 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
nosy: +nanjekyejoannah

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



[issue31898] Add a `recommended-packages.txt` file

2020-07-04 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
nosy: +nanjekyejoannah

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



[issue38731] bad input crashes py_compile library

2020-07-03 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

The regression is tracked here: https://bugs.python.org/issue40456

And a PR is under review here: https://github.com/python/cpython/pull/17134

Also, this issue is a duplicate to this: https://bugs.python.org/issue40456

One of these should be closed.

--

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



[issue41133] Insufficient description of cyclic garbage collector for C API

2020-07-01 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
nosy: +nanjekyejoannah, pablogsal

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



[issue32604] [subinterpreters] PEP 554 implementation: add interpreters module

2020-06-10 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
pull_requests: +19974
pull_request: https://github.com/python/cpython/pull/20777

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



[issue32604] [subinterpreters] PEP 554 implementation: add interpreters module

2020-06-09 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:


New changeset bae872f1fe9b3a0d3e3b8800a2ac8d6b440d6e4d by Joannah Nanjekye in 
branch 'master':
bpo-32604: Recommit "bpo-32604: PEP 554 for use in test suite (GH-19985)" 
(GH-20611)
https://github.com/python/cpython/commit/bae872f1fe9b3a0d3e3b8800a2ac8d6b440d6e4d


--

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



[issue40876] Clarify error message in csv module

2020-06-05 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

PR merged. We can close this. Thanks Ram.

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

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



[issue40876] Clarify error message in csv module

2020-06-05 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:


New changeset 235f918f44bb89e27190db2f1823d191dbd4ad28 by Ram Rachum in branch 
'master':
bpo-40876: Clarify error message in the csv module (GH-20653)
https://github.com/python/cpython/commit/235f918f44bb89e27190db2f1823d191dbd4ad28


--
nosy: +nanjekyejoannah

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



[issue32604] [subinterpreters] PEP 554 implementation: add interpreters module

2020-06-03 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
pull_requests: +19839
pull_request: https://github.com/python/cpython/pull/20611

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



[issue40783] test_interpreters test_interpreters leaked [216, 216, 216] references

2020-05-26 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

Yes, We can track it under here: https://bugs.python.org/issue32604#msg369454

Following up when my schedule improves this week.

--

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



[issue40552] Enhance for loop and copy example in tutorial

2020-05-22 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

Thanks for the PR Antoine Wecxsteen. I will close this.

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

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



[issue40552] Enhance for loop and copy example in tutorial

2020-05-22 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:


New changeset 6fad3e6b49f6a9f8b8a6635c41371e4451479f86 by Antoine in branch 
'master':
bpo-40552 Add 'users' variable in code sample (tutorial 4.2). (GH-19992)
https://github.com/python/cpython/commit/6fad3e6b49f6a9f8b8a6635c41371e4451479f86


--
nosy: +nanjekyejoannah

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



[issue32604] [subinterpreters] PEP 554 implementation: add interpreters module

2020-05-20 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

I will look at this tommorrow. Am abit busy today. Thanks Victor

--

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



[issue32604] [subinterpreters] PEP 554 implementation: add interpreters module

2020-05-19 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:


New changeset 9d17cbf33df7cfb67ca0f37f6463ba5c18676641 by Joannah Nanjekye in 
branch 'master':
bpo-32604: PEP 554 for use in test suite (GH-19985)
https://github.com/python/cpython/commit/9d17cbf33df7cfb67ca0f37f6463ba5c18676641


--

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



[issue40635] Documentation for socket.getfqdn incorrect?

2020-05-15 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
nosy: +christian.heimes

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



[issue38872] Document exec symbol for codeop.compile_command

2020-05-14 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:


New changeset eb5ce324f724a59c51d7a76d1dd49b550cdf386b by Miss Islington (bot) 
in branch '3.8':
bpo-38872: Document exec symbol for codeop.compile_command (GH-20047) (GH-20098)
https://github.com/python/cpython/commit/eb5ce324f724a59c51d7a76d1dd49b550cdf386b


--

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



[issue32604] [subinterpreters] Expose the subinterpreters C-API in Python for testing use.

2020-05-14 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
pull_requests: +19406
pull_request: https://github.com/python/cpython/pull/19985

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



[issue32604] [subinterpreters] Expose the subinterpreters C-API in Python for testing use.

2020-05-14 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
nosy: +nanjekyejoannah
nosy_count: 12.0 -> 13.0
pull_requests: +19405
pull_request: https://github.com/python/cpython/pull/18817

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



[issue38872] Document exec symbol for codeop.compile_command

2020-05-14 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:


New changeset c1203b75ffe429b28cb2e2480deb0d0b8d3a941c by Miss Islington (bot) 
in branch '3.7':
bpo-38872: Document exec symbol for codeop.compile_command (GH-20047) (#20099)
https://github.com/python/cpython/commit/c1203b75ffe429b28cb2e2480deb0d0b8d3a941c


--

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



[issue38872] Document exec symbol for codeop.compile_command

2020-05-14 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


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

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



[issue38872] Document exec symbol for codeop.compile_command

2020-05-14 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:


New changeset 7ba1f75f3f02b4b50ac6d7e17d15e467afa36aac by Joannah Nanjekye in 
branch 'master':
bpo-38872: Document exec symbol for codeop.compile_command (GH-20047)
https://github.com/python/cpython/commit/7ba1f75f3f02b4b50ac6d7e17d15e467afa36aac


--

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



[issue38872] Document exec symbol for codeop.compile_command

2020-05-11 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
keywords: +patch
nosy: +nanjekyejoannah
nosy_count: 4.0 -> 5.0
pull_requests: +19356
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/20047

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



[issue40502] PyNode_New() does not initialize n->n_col_offset

2020-05-08 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


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

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



[issue40502] PyNode_New() does not initialize n->n_col_offset

2020-05-08 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:


New changeset d10091aa171250c67a5079abfe26b8b3964ea39a by Joannah Nanjekye in 
branch 'master':
bpo-40502: Initialize n->n_col_offset (GH-19988)
https://github.com/python/cpython/commit/d10091aa171250c67a5079abfe26b8b3964ea39a


--

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



[issue40502] PyNode_New() does not initialize n->n_col_offset

2020-05-07 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
keywords: +patch
nosy: +nanjekyejoannah
nosy_count: 1.0 -> 2.0
pull_requests: +19304
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/19988

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



[issue39881] Multiple Interpreters in the Stdlib (PEP 554) - High-level Implementation

2020-05-07 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
pull_requests: +19301
pull_request: https://github.com/python/cpython/pull/19985

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



[issue40537] Typo in Doc/library/sqlite3.rst

2020-05-06 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


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

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



[issue40537] Typo in Doc/library/sqlite3.rst

2020-05-06 Thread Joannah Nanjekye


New submission from Joannah Nanjekye :

>From this:

Now you want to store the point in a single SQLite column.  First you'll have to
choose one of the supported types first to be used for representing the point.

First looks repeated.

--
assignee: docs@python
components: Documentation
messages: 368295
nosy: docs@python, nanjekyejoannah
priority: normal
severity: normal
status: open
title: Typo in  Doc/library/sqlite3.rst
versions: Python 3.9

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



[issue39470] Indicate that os.makedirs is equivalent to Path.mkdir

2020-05-04 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


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

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



[issue39470] Indicate that os.makedirs is equivalent to Path.mkdir

2020-05-04 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:


New changeset f25fb6ebfec894c01bc927c9aae7924ffc826d11 by Joannah Nanjekye in 
branch 'master':
bpo-39470: Indicate that ``os.makedirs`` is equivalent to ``Path.mkdir`` 
(GH-18216)
https://github.com/python/cpython/commit/f25fb6ebfec894c01bc927c9aae7924ffc826d11


--

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



[issue40434] Update of reasoning why there is no case statement

2020-05-01 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

> PEP 275 actually links to PEP 3103 to explain why it is rejected

Well, am not very convinced if consensus was reached on range tests so I will 
refrain for someone else's opinion as it is not as apparent to me yet.

--

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



[issue40434] Update of reasoning why there is no case statement

2020-04-29 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

What is your reasoning on referencing just  one of the PEPs and not both of 
them?

--
nosy: +nanjekyejoannah

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



[issue40441] Plural typo in Design and History FAQ

2020-04-29 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

After merging the associated PR, I believe this is resolved. Thanks Alex for 
reporting and solving this

--
nosy: +nanjekyejoannah
stage:  -> resolved

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



[issue40045] Make "dunder" method documentation easier to locate

2020-03-27 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

I think this is resolved. Someone can re-open if they feel discontent. Thanks 
@javadmokhtari for the patch.

--
stage: patch review -> resolved

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



[issue40045] Make "dunder" method documentation easier to locate

2020-03-27 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:


New changeset c3622b2dcc9278900a7e3cbef12edfa83a8728ed by Miss Islington (bot) 
in branch '3.7':
bpo-40045: Make "dunder" method documentation easier to locate (GH-19153) 
(GH-19199)
https://github.com/python/cpython/commit/c3622b2dcc9278900a7e3cbef12edfa83a8728ed


--

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



[issue40045] Make "dunder" method documentation easier to locate

2020-03-27 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:


New changeset bb852266b77ffeeb09a42847c907829eec6d5cb5 by Miss Islington (bot) 
in branch '3.8':
bpo-40045: Make "dunder" method documentation easier to locate (GH-19153) 
(GH-19198)
https://github.com/python/cpython/commit/bb852266b77ffeeb09a42847c907829eec6d5cb5


--

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



[issue40045] Make "dunder" method documentation easier to locate

2020-03-27 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:


New changeset 5f9c131c099d6675d1a9d0228497865488afd548 by Javad Mokhtari in 
branch 'master':
bpo-40045: Make "dunder" method documentation easier to locate (#19153)
https://github.com/python/cpython/commit/5f9c131c099d6675d1a9d0228497865488afd548


--
nosy: +nanjekyejoannah

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



[issue39291] "pathlib.Path.link_to()" and "pathlib.Path.symlink_to()" have reversed usage

2020-03-12 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

Am hesitant on re-opening this.

I think it sounds more meaningful to open a new issue for the new
suggestion that requires deprecating this
current behavior and introducing the new intended functionality.

Best,
Joannah

On Thu, Mar 12, 2020 at 8:40 PM Barney Gale  wrote:

>
> Barney Gale  added the comment:
>
> Per discussion on the mailing list, I'd like to request that this bug be
> re-opened.
>
>
> https://mail.python.org/archives/list/python-...@python.org/thread/7QPLYW36ZK6QTW4SV4FI6C343KYWCPAT/
>
> --
> nosy: +barneygale
>
> ___
> Python tracker 
> <https://bugs.python.org/issue39291>
> ___
>

-- 
Best,
Joannah Nanjekye

*"You think you know when you learn, are more sure when you can write, even
more when you can teach, but certain when you can program." Alan J. Perlis*

--

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



[issue39881] Multiple Interpreters in the Stdlib (PEP 554) - High-level Implementation

2020-03-06 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
keywords: +patch
pull_requests: +18175
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/18817

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



[issue39881] Multiple Interpreters in the Stdlib (PEP 554) - High-level Implementation

2020-03-06 Thread Joannah Nanjekye


New submission from Joannah Nanjekye :

This is to track the high-level implementation of PEP 554.

Please see the PEP here: https://www.python.org/dev/peps/pep-0554/

*** Note: PEP not accepted yet.

--
assignee: nanjekyejoannah
components: Interpreter Core
messages: 363561
nosy: eric.snow, nanjekyejoannah, ncoghlan, vstinner
priority: normal
severity: normal
status: open
title: Multiple Interpreters in the Stdlib (PEP 554) - High-level Implementation
versions: Python 3.9

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



[issue39838] Possible unnecessary redifinition of _POSIX_C_SOURCE

2020-03-03 Thread Joannah Nanjekye


New submission from Joannah Nanjekye :

Please note the compile warning:

./pyconfig.h:1590: warning: "_POSIX_C_SOURCE" redefined
 #define _POSIX_C_SOURCE 200809L
 
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
 from /usr/include/string.h:26,
 from /workspace/cpython/Modules/expat/xmltok.c:34:
/usr/include/features.h:295: note: this is the location of the previous 
definition
 # define _POSIX_C_SOURCE 199506L

There must be a way of avoiding this warning.

--
components: Interpreter Core
messages: 363286
nosy: nanjekyejoannah
priority: normal
severity: normal
status: open
title: Possible unnecessary redifinition of _POSIX_C_SOURCE
type: compile error
versions: Python 3.9

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



[issue39836] Implement PyObject_GetMemoryView

2020-03-03 Thread Joannah Nanjekye


New submission from Joannah Nanjekye :

We have a memory-view object represented with the following structure:

typedef struct {
PyObject_VAR_HEAD
_PyManagedBufferObject *mbuf; /* managed buffer */
Py_hash_t hash;   /* hash value for read-only views */
int flags;/* state flags */
Py_ssize_t exports;   /* number of buffer re-exports */
Py_buffer view;   /* private copy of the exporter's view */
PyObject *weakreflist;
Py_ssize_t ob_array[1];   /* shape, strides, suboffsets */
} PyMemoryViewObject;

It would be good to have the implementation for PyObject_GetMemoryView which 
returns a memory-view object as was originally intended in PEP 3118 i.e :

PyObject *PyObject_GetMemoryView(PyObject *obj)

--
components: C API
messages: 363265
nosy: nanjekyejoannah
priority: normal
severity: normal
status: open
title: Implement PyObject_GetMemoryView
type: enhancement
versions: Python 3.9

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



[issue39835] Implement PyObject_CopyToObject

2020-03-03 Thread Joannah Nanjekye


New submission from Joannah Nanjekye :

I suggest implementing a C-API for copying data into a buffer exported by an 
obj. i.e 


int PyObject_CopyToObject(PyObject *obj, void *buf, Py_ssize_t len,
  char fortran)

as was intended in PEP 3118. The documentation there says this functionality 
should:

"Copy len bytes of data pointed to by the contiguous chunk of memory pointed to 
by buf into the buffer exported by obj. Return 0 on success and return -1 and 
raise an error on failure. If the object does not have a writable buffer, then 
an error is raised. If fortran is 'F', then if the object is multi-dimensional, 
then the data will be copied into the array in Fortran-style (first dimension 
varies the fastest). If fortran is 'C', then the data will be copied into the 
array in C-style (last dimension varies the fastest). If fortran is 'A', then 
it does not matter and the copy will be made in whatever way is more efficient."

--
components: C API
messages: 363264
nosy: nanjekyejoannah
priority: normal
severity: normal
status: open
title: Implement PyObject_CopyToObject
type: enhancement
versions: Python 3.9

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



[issue39153] Clarify refcounting semantics of PyDict_SetItem[String]

2020-01-27 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


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

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



[issue39470] Indicate that os.makedirs is equivalent to Path.mkdir

2020-01-27 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
keywords: +patch
pull_requests: +17596
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/18216

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



[issue39470] Indicate that os.makedirs is equivalent to Path.mkdir

2020-01-27 Thread Joannah Nanjekye


New submission from Joannah Nanjekye :

:func:`os.makedirs` is equivalent to ``mkdir -p`` and :meth:`Path.mkdir()` when 
given an optional *exist_ok* argument.

--
messages: 360808
nosy: nanjekyejoannah
priority: normal
severity: normal
status: open
title: Indicate that os.makedirs is equivalent to Path.mkdir

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



[issue39282] python-config --embed documentation

2020-01-27 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

Leaving this for @victor to decide since he is the PR author.

--
nosy: +nanjekyejoannah, vstinner

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



[issue35943] PyImport_GetModule() can return partially-initialized module

2020-01-21 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

> Do you mean that there is a risk that the backport introduces a regression in 
> another part of the code? If yes, I would suggest to not backport the change 
> to *stable* branches.

My worry are the many changes that are required to ceval to make this back port 
work. Not that I think we can not successfully backport things. we can.

--

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



[issue35943] PyImport_GetModule() can return partially-initialized module

2020-01-15 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

The changes required to successfully do this backport are many and affect 
critical areas. I am not in a hurry to do this. If anyone else wants to take 
this up quickly, please do.

--

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



[issue39143] Implementing sub-generation steps in the gc

2019-12-28 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

> About "5 bits", no, we don't have 'em.  Even the relatively modest > ugliness 
> we have now makes it impossible to port Python to a word->addressed machine 
> (I'm not sure any still exist!).  Nothing in C >guarantees the last 2 or 3 
> bits of a pointer "are 0".  We're already >using two words to store 2 
> persistent pointers, one persistent flag, a >full-width transient reference 
> count, and two transient flags.

In view of this, +1 for avoiding the extra bits for age storage. The steps 
scheme will work best in this case.

--

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



[issue39143] Implementing sub-generation steps in the gc

2019-12-28 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

>
I suppose we would need to experiment, but for what I have seen I think two or 
three :) What do you think?


IMO, I think experimenting with two steps is good enough.

--

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



[issue39143] Implementing sub-generation steps in the gc

2019-12-28 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

>5 bit *per object* is a lot because it scales with the number of objects. It 
>will quickly obliterate >any gain that we get from some objects being 
>deallocated sooner (which is what we are trying >to achieve). Using 
>inter-generations has a constant cost that is negligible. 

I agree but this may not require us falling back to a two word header per 
object as was the original worry. If it is a worse tradeoff to managing steps 
then I would suggest to stick to the steps. Again in the end it is about what 
tradeoffs are willing to work with.

 >I am not sure what you mean with "changing the age >threshold for objects 
 >looks simpler than >creating and managing steps". If you mean changing >the 
 >generational threshold, I think that >does not fix the problem as it only 
 >delays or speeds up >collections but the problem is >scale-invariant with the 
 >number of objects.

I meant that for any need for increase in promotion delay, we need to add a 
step and manage it which is more complex than for example when tracking ages, 
incase of a change we only change the age threshold which looks simpler to 
implement.

>I will propose maybe to only do sub-steps for the first generation (as many 
>papers suggest >that is where the bigger gains are).

Correct, since the premise is we just want to delay promotion of young objects 
to an older generation so that they have enough time to die. The steps should 
reasonably be in the first generation.

How many semi-spaces do you think of having in this generation? Most systems 
have and recommend two.

--

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



[issue32599] Add dtrace hook for PyCFunction_Call

2019-12-28 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
nosy: +nanjekyejoannah

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



[issue39123] PyThread_xxx() not available when using limited API

2019-12-28 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
nosy: +nanjekyejoannah, vstinner

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



[issue39143] Implementing sub-generation steps in the gc

2019-12-28 Thread Joannah Nanjekye

Joannah Nanjekye  added the comment:

> What threshold is this?

> This is the different thresholds for the generations that you can get using 
> gc.get_threshold(). >They are in relationship to the number of objects in 
> every generation (there are slightly different >rules for the latest 
> generation).

I think we are on the same frequency in terms of threshold. Promotion is 
currently based on number of objects accumulated in the generation if I 
interpreted your explanation right.


>I am not sure what you mean with "copy" here. Moving objects from generations 
>or spaces is >just updating the pointers of the linked lists. Objects are not 
>"copied" but "moved". 

Yes, in terms of implementation so am thinking there must be a cost in moving 
these objects. IIRC the GC handbook you referenced may have noted this too..I 
stand to be corrected though on this.

>The reason I am proposing sub-generation steps is that making the object 
>header bigger is a >price too high to pay for this problem. We have recently 
>gone to notable efforts to reduce one >word per object by complicating the 
>code substantially using tagged pointers, so recording the >age in the object 
>seems the opposite direction. 

I think we only need about 5 bits to store the age of each object ,  do we 
really need to increase the object back to two word per object ?

>As I mentioned before, recording per-object age will be probably a no-go (the 
>solution to this >problem will yield memory gains because objects won't suffer 
>"generational nepotism" but >making the object header bigger will annihilate 
>those gains) so that is the reason I proposed >generational sub-steps.

Am actually in favour of this Shaw’s steps scheme though it may also mean the 
more delays we want, the more steps we need to create and manage while changing 
the age threshold for objects looks simpler than creating and managing steps.

--

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



[issue39143] Implementing sub-generation steps in the gc

2019-12-28 Thread Joannah Nanjekye

Joannah Nanjekye  added the comment:

> The most common reason is that when promotions of the youngest generations 
> happen, 
>some very young objects that just arrived in the generation are >promoted 
>because we have >reached a threshold, and its death will be >delayed.

What threshold is this? Is it based on the number of objects in the young 
generation in that if the number of objects in the young generation reaches 
some value, then promotion occurs. If this is the case, we can use another 
scheme for the start before exploring steps IMHO.

Using Shaw’s Bucket Brigade Scheme  of semi-spaces or generational steps is 
good but this means a generation with n steps guarantees n scavenges before an 
object is promoted to the next generation. The surviving objects are copied 
between these pairs of semispaces b times before they are promoted to the next 
step. An n-bucket scheme guarantees that objects will be promoted to the old 
generation If they have survived between nb and nb-1 scavenges. For example, a 
2 bucket scheme, objects are copied up to three times before being promoted to 
the next generation. This method is good but we will still incur the overhead 
of copying objects between the semi-spaces.

I have looked at a similar problem before for a different runtime and instead 
think to consider basing promotion on the number of collections survived by 
objects in the young generation. This requires using five bits from one of two 
header words of each object to record its age. The objects that reach the 
collection threshold are promoted to the old generation. This will give the 
young objects enough time to die thereby reducing how often objects are 
promoted to the old generation. This in turn reduces the frequency of major 
collections hence reduced pause times.

I would only consider the generational semi-spaces after we have explored 
basing promotion on the age of an object in a generation. If this doesn't work, 
then we can use the bucket brigade scheme.

--
nosy: +nanjekyejoannah

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



[issue39044] Segfault on build for the master branch

2019-12-13 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

Confirmedforgeting to run makedistclean was the problem.

--

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



[issue39044] Segfault on build for the master branch

2019-12-13 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

Actually my master had some segfaulting changes that I had moved to it in 
error. Thanks.

Closing this.

--
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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



[issue39044] Segfault on build for the master branch

2019-12-13 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
nosy: +pablogsal, vstinner

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



  1   2   3   4   >