• Contributing to cpython

    From ramvikram singh@21:1/5 to All on Wed Dec 7 01:54:24 2022
    Greetings,
    I learnt python this year and visiting the python issue tab for the last
    two months, but there is a problem which I am facing I understand the issue after reading the few times but I can't think about how to modify the code
    as per the issue. Could you please help me with this?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Barry@21:1/5 to All on Tue Dec 6 21:45:08 2022
    On 6 Dec 2022, at 20:55, ramvikram singh <[email protected]> wrote:

    Greetings,
    I learnt python this year and visiting the python issue tab for the last
    two months, but there is a problem which I am facing I understand the issue after reading the few times but I can't think about how to modify the code
    as per the issue. Could you please help me with this?

    no one can help as you have not explained what the issue is.

    Barry

    --
    https://mail.python.org/mailman/listinfo/python-list


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thomas Passin@21:1/5 to ramvikram singh on Tue Dec 6 17:05:19 2022
    On 12/6/2022 3:24 PM, ramvikram singh wrote:
    Greetings,
    I learnt python this year and visiting the python issue tab for the last
    two months, but there is a problem which I am facing I understand the issue after reading the few times but I can't think about how to modify the code
    as per the issue. Could you please help me with this?

    There is a page about contributing work on code to Python at

    https://devguide.python.org

    It starts out:

    "This guide is a comprehensive resource for contributing to Python – for
    both new and experienced contributors."

    You should study this guide carefully. If you don't know how to use
    git, clone a repo, work with git branches, what a pull request is, and
    so forth, you need to get some basic familiarity with working with those
    tools and concepts. You should be able to file new issues on GitHub
    and contribute to their discussion thread. If you want to actually
    contribute code, you should be able to build Python yourself, as covered
    in the guide.

    After that, you should remember that while help is welcome, the Python
    code base has a long history and a change that seems obvious to you may
    not work because of other constraints on that part of the codebase. I
    once suggested a change in a particular function for finding executable
    files so that it would look in some other locations too. I learnt that
    this function was intended for internal use by distutils, and that it
    needed its quirks to work properly in its intended use. No one wanted
    to take a chance on changing it.

    I'm not saying you cannot or should not try to contribute useful
    changes. I'm only saying that you need to get prepared - do your
    homework - first, and to not be discouraged if your first efforts are
    not accepted.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From ramvikram singh@21:1/5 to All on Wed Dec 7 09:48:21 2022
    the issue is that after reading the issue I am not able to think how to
    modify the code, this is where I am stuck

    On Wed, Dec 7, 2022 at 1:54 AM ramvikram singh <[email protected]>
    wrote:

    Greetings,
    I learnt python this year and visiting the python issue tab for the last
    two months, but there is a problem which I am facing I understand the issue after reading the few times but I can't think about how to modify the code
    as per the issue. Could you please help me with this?


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thomas Passin@21:1/5 to ramvikram singh on Wed Dec 7 00:12:13 2022
    On 12/6/2022 11:18 PM, ramvikram singh wrote:
    the issue is that after reading the issue I am not able to think how to modify the code, this is where I am stuck

    On Wed, Dec 7, 2022 at 1:54 AM ramvikram singh <[email protected]> wrote:

    Greetings,
    I learnt python this year and visiting the python issue tab for the last
    two months, but there is a problem which I am facing I understand the issue >> after reading the few times but I can't think about how to modify the code >> as per the issue. Could you please help me with this?


    No one can help you because you have said nothing about the issue. It
    is as if I were to write "I am having a problem with my car. Can you
    help me?". And before you can think about modifying the code, you need
    to understand what the issue is, why it is happening, how that could be changed, and why that would be a safe kind of change to make. After
    that, you would be prepared to think about details of the code. And
    that thinking would need to include ways in which you could verify that
    you can make the problem occur and how you can test to make sure that it
    is fixed after changes to the code.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)