[issue46280] About vulnerabilities in Cpython native code

2022-01-06 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: > You mention here that your tool automatically "repairs" the code. Could you > >submit a sample PR with the repairs that your tool does so we can evaluate > it? I second this. I obviously, am assuming good intentions from the aut

[issue25299] TypeError: __init__() takes at least 4 arguments (4 given)

2019-08-13 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: paul.j3, The fix looks promising. Do you want to open a PR with this fix? -- nosy: +nanjekyejoannah ___ Python tracker <https://bugs.python.org/issue25

[issue1615158] POSIX capabilities support

2019-08-13 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah ___ Python tracker <https://bugs.python.org/issue1615158> ___ ___ Python-bugs-list mailing list Unsub

[issue20861] datetime argument handling inconsistent; should accept logical integers, not coercible values

2019-08-13 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah ___ Python tracker <https://bugs.python.org/issue20861> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20861] datetime argument handling inconsistent; should accept logical integers, not coercible values

2019-08-13 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: Could be related to some discussions in this PR: https://github.com/python/cpython/pull/14842 -- ___ Python tracker <https://bugs.python.org/issue20

[issue20861] datetime argument handling inconsistent; should accept logical integers, not coercible values

2019-08-13 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +vstinner ___ Python tracker <https://bugs.python.org/issue20861> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37866] PyModule_GetState Segmentation fault when called Py_Initialize

2019-08-15 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +eric.snow, ncoghlan, vstinner ___ Python tracker <https://bugs.python.org/issue37866> ___ ___ Python-bugs-list mailin

[issue37872] Move statitics in Python/import.c to top of the file

2019-08-16 Thread Joannah Nanjekye
New submission from Joannah Nanjekye : Following a PR review here: https://github.com/python/cpython/pull/15057 by @ericsnowcurrently i.e : Please move both these statics to the top of the file (next to CACHEDIR) as globals. To keep the diff in the above PR simple, I am tracking this

[issue37872] Move statitics in Python/import.c to top of the file

2019-08-16 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: Relevant comment from @gnprice. I think it would be better to make that as a separate change. This style where they're block-local is the way the existing code works, which keeps the diff simple. It's also the way that every use of _Py_IDE

[issue37872] Move statitics in Python/import.c to top of the file

2019-08-16 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: Keeping this until the PR https://github.com/python/cpython/pull/15057 is merged. -- ___ Python tracker <https://bugs.python.org/issue37

[issue24754] argparse add_argument with action="store_true", type=bool should not crash

2019-08-16 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: See issue25299 also. -- nosy: +nanjekyejoannah ___ Python tracker <https://bugs.python.org/issue24754> ___ ___ Python-bug

[issue25299] TypeError: __init__() takes at least 4 arguments (4 given)

2019-08-16 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: > this argument defaults to "None" Am leaning to the fact that this works as required. The documentation does not just say defaults to none. It says: With the 'store_const' and 'append_const' actions, the const keyword a

[issue37878] sub-ineterpreters : Document PyThreadState_DeleteCurrent() ?

2019-08-16 Thread Joannah Nanjekye
New submission from Joannah Nanjekye : I just noticed that PyThreadState_DeleteCurrent()in Python/pystate.c is not documented. Relevant documentation should go in Doc/c-api/init.rst If no one objects to this. -- assignee: docs@python components: Documentation keywords: easy messages

[issue37878] Sub-ineterpreters : Document PyThreadState_DeleteCurrent() ?

2019-08-16 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- title: sub-ineterpreters : Document PyThreadState_DeleteCurrent() ? -> Sub-ineterpreters : Document PyThreadState_DeleteCurrent() ? ___ Python tracker <https://bugs.python.org/issu

[issue37878] Sub-Interpreters : Document PyThreadState_DeleteCurrent()

2019-08-16 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- title: Sub-ineterpreters : Document PyThreadState_DeleteCurrent() ? -> Sub-Interpreters : Document PyThreadState_DeleteCurrent() ___ Python tracker <https://bugs.python.org/issu

[issue37878] Sub-Interpreters : Document PyThreadState_DeleteCurrent()

2019-08-16 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch pull_requests: +15034 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15315 ___ Python tracker <https://bugs.python.org/issu

[issue25299] TypeError: __init__() takes at least 4 arguments (4 given)

2019-08-17 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: Since both the docs and implementation now match, I suggest we close this and open a new issue suggesting to change the implementation back to make const=None when action='store_const'. -- stage: needs patch -

[issue37880] For argparse add_argument with action='store_const', const should default to None.

2019-08-17 Thread Joannah Nanjekye
New submission from Joannah Nanjekye : Currently, when `parser.add_argument()` is given argument with `action='store_const'` and no `const` argument , it throws an exception : >>> from argparse import ArgumentParser >>> parser = ArgumentParser() &g

[issue25299] TypeError: __init__() takes at least 4 arguments (4 given)

2019-08-17 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: Opened issue37880 to track this change. -- ___ Python tracker <https://bugs.python.org/issue25299> ___ ___ Python-bugs-list m

[issue16468] argparse only supports iterable choices

2019-08-18 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah ___ Python tracker <https://bugs.python.org/issue16468> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37878] Sub-Interpreters : Document PyThreadState_DeleteCurrent()

2019-08-19 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: >From what I know the GIL is released by calling PyEval_ReleaseThread() or >PyEval_SaveThread(). I see we can use PyThreadState_Delete() to clean up-specifically destroy thread state but does not release the GIL and requires a thread state. On the

[issue37888] Sub-interpreters : Confusing docs about state after calling Py_NewInterpreter()

2019-08-19 Thread Joannah Nanjekye
New submission from Joannah Nanjekye : In the documentation for Py_NewInterpreter(): It is said that : The return value points to the first thread state created in the new sub-interpreter. This thread state is made in the current thread state. I think changing : This thread state is made

[issue18153] python imaplib - error 'unexpected response'

2019-08-24 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- title: python imaplib - error 'unexpected repsonse' -> python imaplib - error 'unexpected response' ___ Python tracker <https://

[issue31956] Add start and stop parameters to the array.index()

2019-08-24 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: There is a pending PR here : https://github.com/python/cpython/pull/4435 by phaqui. @phaqui do you want to finish your PR ? -- nosy: +nanjekyejoannah ___ Python tracker <https://bugs.python.org/issue31

[issue15542] Documentation incorrectly suggests __init__ called after direct __new__ call

2019-08-24 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch pull_requests: +15164 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15478 ___ Python tracker <https://bugs.python.org/issu

[issue15542] Documentation incorrectly suggests __init__ called after direct __new__ call

2019-08-24 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: Since this has taken long on the tracker, I just opened a PR with proposed changes from Aaron. -- nosy: +nanjekyejoannah ___ Python tracker <https://bugs.python.org/issue15

[issue23061] Update pep8 to specify explicitly 'module level' imports at top of file

2019-08-24 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: Since this is a PEP related issue, it should be moved to the PEP Github repository here : https://github.com/python/peps . If it still exists. -- nosy: +nanjekyejoannah ___ Python tracker <ht

[issue13341] Incorrect documentation for "u" PyArg_Parse format unit

2019-08-24 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: This is has taken years but am curious, are we allowed to patch Python 2 given its EOL is almost due. -- nosy: +nanjekyejoannah ___ Python tracker <https://bugs.python.org/issue13

[issue20806] os.times document points to wrong section of non-Linux manual

2019-08-24 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch pull_requests: +15165 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15479 ___ Python tracker <https://bugs.python.org/issu

[issue20806] os.times document points to wrong section of non-Linux manual

2019-08-24 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: I opened a PR for this. @david please review. -- nosy: +nanjekyejoannah stage: patch review -> ___ Python tracker <https://bugs.python.org/issu

[issue20806] os.times document points to wrong section of non-Linux manual

2019-08-25 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: Serhiy, This sounds good. I will update the PR. -- ___ Python tracker <https://bugs.python.org/issue20806> ___ ___ Pytho

[issue23933] Struct module should accept arrays

2019-08-25 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- title: Struct module should acept arrays -> Struct module should accept arrays ___ Python tracker <https://bugs.python.org/issu

[issue32847] Add DirectoryNotEmptyError subclass of OSError

2019-08-25 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch pull_requests: +15186 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15496 ___ Python tracker <https://bugs.python.org/issu

[issue37878] Sub-Interpreters : Document PyThreadState_DeleteCurrent()

2019-08-28 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: I updated the PR to make the function internal. -- ___ Python tracker <https://bugs.python.org/issue37878> ___ ___ Python-bug

[issue20806] os.times document points to wrong section of non-Linux manual

2019-08-28 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: I updated the PR to reference times(2) and times(3) along with an MSDN link. -- ___ Python tracker <https://bugs.python.org/issue20

[issue37970] urllib.parse docstrings incomplete

2019-08-29 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: > Also, the note about not splitting netloc is misleading; the components > of > netloc (username, password, hostname, and port) are available as >extra > attributes of the returned SplitResult. Also, the docs in urllib.parse.rst should als

[issue32847] Add DirectoryNotEmptyError subclass of OSError

2019-08-29 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah ___ Python tracker <https://bugs.python.org/issue32847> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37973] improve docstrings of sys.float_info

2019-08-29 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: See also #37970 -- nosy: +nanjekyejoannah ___ Python tracker <https://bugs.python.org/issue37973> ___ ___ Python-bugs-list m

[issue37973] improve docstrings of sys.float_info

2019-08-29 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: I just referenced another area that may need help updating/improving doc strings. -- ___ Python tracker <https://bugs.python.org/issue37

[issue15088] PyGen_NeedsFinalizing is public, but undocumented

2019-09-05 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- pull_requests: +15356 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15702 ___ Python tracker <https://bugs.python.org/issu

[issue15088] PyGen_NeedsFinalizing is public, but undocumented

2019-09-05 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: My searches show references to this function in CPython cloned repositories. From @pitrous's views, I think it is better to deprecate it with a removal notice for a later release. I have deprecated the Function instead and will be removed in the

[issue14689] make PYTHONWARNINGS variable work in libpython

2019-09-05 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: @petere do you want to open a PR with your patch here: https://github.com/python/cpython/pulls -- nosy: +nanjekyejoannah ___ Python tracker <https://bugs.python.org/issue14

[issue38037] Assertion failed: object has negative ref count

2019-09-06 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: I will look after my next meeting which is in 10 minutes. In the meantime have you perused this PR : https://github.com/python/cpython/pull/15701 If it can solve this? -- ___ Python tracker <ht

[issue21024] PyTypeObject tp_doc is char* instead of const char*

2019-09-08 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: tp_doc is now const char*. So this should be closed. -- nosy: +nanjekyejoannah ___ Python tracker <https://bugs.python.org/issue21

[issue27718] help('signal') incomplete (e.g: signal.signal not visible)

2019-09-08 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah ___ Python tracker <https://bugs.python.org/issue27718> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16649] Add a PyCF_DISPLAY_EXPRESSION_RESULTS flag

2019-09-08 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah ___ Python tracker <https://bugs.python.org/issue16649> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37488] Document the "gotcha" behaviors in utcnow() and utcfromtimestamp()

2019-09-09 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch pull_requests: +15426 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15773 ___ Python tracker <https://bugs.python.org/issu

[issue15733] PEP 3121, 384 Refactoring applied to winapi module

2019-09-09 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch pull_requests: +15427 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15773 ___ Python tracker <https://bugs.python.org/issu

[issue1615158] POSIX capabilities support

2019-09-09 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- pull_requests: +15463 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15815 ___ Python tracker <https://bugs.python.org/issue1

[issue38109] Missing constants in Lib/stat.py

2019-09-11 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +pitrou, vstinner ___ Python tracker <https://bugs.python.org/issue38109> ___ ___ Python-bugs-list mailing list Unsub

[issue10108] ExpatError not property wrapped

2019-09-14 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah ___ Python tracker <https://bugs.python.org/issue10108> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21023] PyTypeObject tp_name is char* instead of const char*

2019-09-14 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: This is nolonger an issue. All references to tp_name are as below. const char *tp_name; -- nosy: +nanjekyejoannah ___ Python tracker <https://bugs.python.org/issue21

[issue27218] improve tracing performance with f_trace set to Py_None

2019-09-15 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch pull_requests: +15767 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/16157 ___ Python tracker <https://bugs.python.org/issu

[issue15729] PyStructSequence_NewType enhancement

2019-09-15 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: All enhancements specified in this issue have since been done. PyStructSequence_NewType() calls PyType_FromSpecWithBases() which sets the needed flags and even the qualname: PyObject * PyType_FromSpecWithBases(PyType_Spec *spec, PyObject *bases

[issue20066] PyStructSequence_NewType() not setting proper heap allocation flag?

2019-09-15 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: As commented in issue15729, the Py_TPFLAGS_HEAPTYPE flag is now set in PyType_FromSpecWithBases() which is called by PyStructSequence_NewType(). I think this is no longer an issue. -- nosy: +nanjekyejoannah

[issue37878] Sub-Interpreters : Document PyThreadState_DeleteCurrent()

2019-09-24 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: Update, Some user of this function just complained on the merged pull requests here : https://github.com/python/cpython/pull/15315#issuecomment-534522962. Do we revert and deprecate ? cc @victor -- ___ Python

[issue38266] Revert bpo-37878: Make PyThreadState_DeleteCurrent() Internal

2019-09-24 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: I am okay with the revert but @victor may still have some reservations on this. -- ___ Python tracker <https://bugs.python.org/issue38

[issue38266] Revert bpo-37878: Make PyThreadState_DeleteCurrent() Internal

2019-09-27 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: +1 for moving from Include/pystate.h to Include/cpython/pystate.h -- ___ Python tracker <https://bugs.python.org/issue38

[issue38266] Revert bpo-37878: Make PyThreadState_DeleteCurrent() Internal

2019-09-27 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: I will handle this later today. -- ___ Python tracker <https://bugs.python.org/issue38266> ___ ___ Python-bugs-list mailin

[issue38266] Revert bpo-37878: Make PyThreadState_DeleteCurrent() Internal

2019-10-03 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch pull_requests: +16148 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16558 ___ Python tracker <https://bugs.python.org/issu

[issue37878] Sub-Interpreters : Document PyThreadState_DeleteCurrent()

2019-10-03 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- pull_requests: +16149 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/16558 ___ Python tracker <https://bugs.python.org/issu

[issue36225] Lingering subinterpreters should be implicitly cleared on shutdown

2019-10-03 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: I remember julien wanting to check this out during a discussion we had at the sprints hence the loop in. -- nosy: +mdk ___ Python tracker <https://bugs.python.org/issue36

[issue37878] Sub-Interpreters : Document PyThreadState_DeleteCurrent()

2019-10-04 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: > Oh, I didn't notice something in the review: the revert moved > >PyThreadState_DeleteCurrent() definition from Include/pystate.h to > >Include/cpython/pystate.h. Previously, it was defined in > > Include/pystate.h, see the c

[issue38379] finalizer resurrection in gc

2019-10-07 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah ___ Python tracker <https://bugs.python.org/issue38379> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38388] Pickle protocol v 5 needs to be documented

2019-10-07 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah ___ Python tracker <https://bugs.python.org/issue38388> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32498] urllib.parse.unquote raises incorrect errormessage when string parameter is bytes

2019-10-11 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: > Should I update the Status and Resolution of the issue here, or wait for some > kind of confirmation? The status is changed after the patch is merged. The person that merges will usually change the status of the issue or If he/she forgets, anyon

[issue38445] os.path.exists() takes bool as argument and returns True

2019-10-11 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +vstinner ___ Python tracker <https://bugs.python.org/issue38445> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38468] Refactor python-config.in - use getvar()

2019-10-13 Thread Joannah Nanjekye
New submission from Joannah Nanjekye : Use getvar for all still existing sysconfig.get_config_var() calls. -- messages: 354591 nosy: nanjekyejoannah priority: normal severity: normal status: open title: Refactor python-config.in - use getvar() versions: Python 3.9

[issue38468] Refactor python-config.in - use getvar()

2019-10-13 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch pull_requests: +16323 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16749 ___ Python tracker <https://bugs.python.org/issu

[issue38468] Refactor python-config.in - use getvar()

2019-10-15 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: New changeset 3cd21aa6a1467723ccc85e6411a6cbe7fa81ef76 by Joannah Nanjekye in branch 'master': bpo-38468 : Refactor python-config (#16749) https://github.com/python/cpython/commit/3cd21aa6a1467723ccc85e6411a6cb

[issue38468] Refactor python-config.in - use getvar()

2019-10-15 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue37838] typing.get_type_hints not working with forward-declaration and decorated functions

2019-10-27 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: @benedwards14 Feel free to open a PR. @netbnd said anyone can take on the issue since he may take long to revert with a PR. -- nosy: +nanjekyejoannah ___ Python tracker <https://bugs.python.org/issue37

[issue37838] typing.get_type_hints not working with forward-declaration and decorated functions

2019-10-27 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: Actually there is a patch. So please @netbnd please open a PR https://github.com/python/cpython -- ___ Python tracker <https://bugs.python.org/issue37

[issue11176] [doc] give more meaningful argument names in argparse documentation

2021-05-27 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: Can you give the original authors some credit too on the PR, if you built on their work, please? We usually do it by putting co-author: in the PR comment. -- nosy: +nanjekyejoannah ___ Python tracker <ht

[issue44045] canonicalize "upper-case" -> "uppercase"; "lower-case" -> "lowercase"

2021-05-28 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: New changeset 2138b2edaf5acb3b9c162a9ba620923e286239a8 by Jürgen Gmach in branch 'main': bpo-44045: fix spelling of uppercase vs upper-case (GH-25985) https://github.com/python/cpython/commit/2138b2edaf5acb3b9c162a9ba620923e286239a8 -

[issue43750] Undefined constant PACKET_MULTIHOST referred to in package socket

2021-05-29 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: New changeset 5f28752f5b51a1866f2428eeaf6082266723c78d by Zackery Spytz in branch 'main': bpo-43750: Fix incorrect reference to PACKET_MULTIHOST in the docs (GH-25241) https://github.com/python/cpython/commit/5f28752f5b51a1866f2428eeaf6082

[issue39560] PyUnicode_FromKindAndData kind transformation is not documented

2021-06-03 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: New changeset 4eed2821d40373345ed133b2b8d912fef59acab7 by Zackery Spytz in branch 'main': bpo-39560: Document PyUnicode_FromKindAndData() kind transformation (GH-23848) https://github.com/python/cpython/commit/4eed2821d40373345ed133b2b8d912

[issue39560] PyUnicode_FromKindAndData kind transformation is not documented

2021-06-03 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- stage: patch review -> resolved ___ Python tracker <https://bugs.python.org/issue39560> ___ ___ Python-bugs-list mai

[issue44310] lru_cache memory leak

2021-06-04 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah, pablogsal ___ Python tracker <https://bugs.python.org/issue44310> ___ ___ Python-bugs-list mailin

[issue44310] Document that lru_cache uses hard references

2021-06-05 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: I saw the thread but the idea was rejected by @rhettinger who seems to suggest the changes in the documentation this time himself. Maybe he has changed his mind, in which case he can explain the circumstances of his decisions if he wants

[issue42194] Docs for argparse.BooleanOptionalAction missing "New in version 3.9"

2021-06-05 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: Am inclined to merge the former PR because yours is just an exact replica. Please note that we can merge such small fixes without the author signing the CLA but the author is advised to sign the CLA for future contributions. Source: informed by other core

[issue37880] For argparse add_argument with action='store_const', const should default to None.

2021-06-12 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: @jack__d, please feel free to work on a PR. Also, do not hesitate to ask any questions along the way. Thanks for contributing to CPython. -- ___ Python tracker <https://bugs.python.org/issue37

[issue44389] Modules/_ssl.c, repeated 'SSL_OP_NO_TLSv1_2'

2021-06-12 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: New changeset cb7230c7a7d6d497e54c25e9ba640eec79de10f2 by Erlend Egeberg Aasland in branch 'main': bpo-44389: Remove duplicate SSL_OP_NO_TLSv1_2 flag (GH-26680) https://github.com/python/cpython/commit/cb7230c7a7d6d497e54c25e9ba640e

[issue16845] warnings.simplefilter should validate input

2021-06-13 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: @Bonifacio2, As commented on the PR, I think opening a PR with a patch close to what @berker.peksag suggested looks more elaborate, IMHO. Thanks for your contribution. -- nosy: +nanjekyejoannah ___ Python

[issue44526] Doc typo in "What’s New In Python 3.10" (x/y-axis)

2021-06-29 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: Since this is the intended behavior, we can just close the issue. -- nosy: +nanjekyejoannah ___ Python tracker <https://bugs.python.org/issue44

[issue44526] Doc typo in "What’s New In Python 3.10" (x/y-axis)

2021-06-29 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: I mean intended wording -- ___ Python tracker <https://bugs.python.org/issue44526> ___ ___ Python-bugs-list mailin

[issue26329] os.path.normpath("//") returns //

2021-07-12 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: New changeset 66c5853406bbcccecf35372795078c0641a5f385 by Furkan Onder in branch 'main': bpo-26329: update os.path.normpath documentation (GH-20138) https://github.com/python/cpython/commit/66c5853406bbcccecf35372795078c

[issue45555] Object stays alive for weak reference if an exception happens in constructor

2021-10-22 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: I can reproduce the described scenario. I will nosy Pablo and Neil for another eye. I suggest that if it's not a bug, then maybe the docs should be updated to explain this behavior. The only part that talks about exceptions in the documentatio

[issue44665] asyncio.create_task() documentation should mention user needs to keep reference to the task

2021-10-22 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch nosy: +nanjekyejoannah nosy_count: 2.0 -> 3.0 pull_requests: +27437 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29163 ___ Python tracker <https://bugs.p

[issue44665] asyncio.create_task() documentation should mention user needs to keep reference to the task

2021-10-22 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: @bernat and ncoghlan, please see if the wording I have used in the linked PR helps to clarify this. -- stage: patch review -> ___ Python tracker <https://bugs.python.org/issu

[issue42538] AsyncIO strange behaviour

2021-10-22 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: I opened a documentation PR agreeing with @ncoghlan, that adds this behavior. See https://bugs.python.org/issue44665 -- nosy: +nanjekyejoannah ___ Python tracker <https://bugs.python.org/issue42

[issue42538] AsyncIO strange behaviour

2021-10-22 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: I meant, "that describes the behaviour" -- ___ Python tracker <https://bugs.python.org/issue42538> ___ ___ Python-b

[issue39838] Possible unnecessary redifinition of _POSIX_C_SOURCE

2021-10-22 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: Closing this, someone else can reopen if they see the same. -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/i

[issue24151] test_pydoc fails

2021-10-22 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: I wonder if this is worth keeping open, since it's old and no one has reproduced it. I propose closing or OP to share environment details. -- nosy: +nanjekyejoannah ___ Python tracker <https://bugs.py

[issue45578] Missing tests for he dis module

2021-10-22 Thread Joannah Nanjekye
New submission from Joannah Nanjekye : I don't see any tests for the following: dis.distb dis.findlabels They are documented, I wonder if it was intentional. dis.findlabels is also not dicumented. -- components: Tests messages: 404805 nosy: nanjekyejoannah priority: normal sev

[issue45578] Missing tests for the dis module

2021-10-22 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- title: Missing tests for he dis module -> Missing tests for the dis module ___ Python tracker <https://bugs.python.org/issu

[issue45578] Missing tests for the dis module

2021-10-22 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: maybe the latter is not a public function. -- ___ Python tracker <https://bugs.python.org/issue45578> ___ ___ Python-bug

[issue45578] Missing tests for the dis module

2021-10-22 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: It looks like it actually -- ___ Python tracker <https://bugs.python.org/issue45578> ___ ___ Python-bugs-list mailin

[issue15795] Zipfile.extractall does not preserve file permissions

2021-10-23 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: I left a review on the PR requesting for some tests, if it makes sense. -- nosy: +nanjekyejoannah ___ Python tracker <https://bugs.python.org/issue15

[issue14067] Avoid more stat() calls in importlib

2021-10-23 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: I wonder if the circumstances changed since this is an old issue? the method looks to have a deprecation warning and changed a bit too, I stand to be corrected. -- nosy: +nanjekyejoannah ___ Python tracker

  1   2   3   4   >