[issue21196] Name mangling example in Python tutorial

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: Thanks Chandan Kumar and Berker Peksag. The documentation has been clarified. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.6 ___ Python tracker

[issue21196] Name mangling example in Python tutorial

2018-10-19 Thread miss-islington
miss-islington added the comment: New changeset b0f7fa1dda61ae7519deed816993ac5d55870958 by Miss Islington (bot) in branch '2.7': bpo-21196: Clarify name mangling rules in tutorial (GH-5667) https://github.com/python/cpython/commit/b0f7fa1dda61ae7519deed816993ac5d55870958 --

[issue21196] Name mangling example in Python tutorial

2018-10-19 Thread miss-islington
miss-islington added the comment: New changeset efc09a9701543f7180fc7ea0b6c45cf198c29cb8 by Miss Islington (bot) in branch '3.6': bpo-21196: Clarify name mangling rules in tutorial (GH-5667) https://github.com/python/cpython/commit/efc09a9701543f7180fc7ea0b6c45cf198c29cb8 --

[issue21196] Name mangling example in Python tutorial

2018-10-19 Thread miss-islington
miss-islington added the comment: New changeset 3e5bcd12f661bdf363c025b52a3d515829e64ed2 by Miss Islington (bot) in branch '3.7': bpo-21196: Clarify name mangling rules in tutorial (GH-5667) https://github.com/python/cpython/commit/3e5bcd12f661bdf363c025b52a3d515829e64ed2 -- nosy:

[issue21196] Name mangling example in Python tutorial

2018-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +9329 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21196] Name mangling example in Python tutorial

2018-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +9328 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21196] Name mangling example in Python tutorial

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 13ae4d44381a647aadd09b70b24833052659be41 by Victor Stinner (Berker Peksag) in branch 'master': bpo-21196: Clarify name mangling rules in tutorial (GH-5667) https://github.com/python/cpython/commit/13ae4d44381a647aadd09b70b24833052659be41

[issue21196] Name mangling example in Python tutorial

2018-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +9327 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21196] Name mangling example in Python tutorial

2018-06-06 Thread Tim Peters
Tim Peters added the comment: Berker Peksag's change (PR 5667) is very simple and, I think, helpful. -- nosy: +tim.peters ___ Python tracker ___

[issue21196] Name mangling example in Python tutorial

2018-06-06 Thread Ned Deily
Ned Deily added the comment: What should we do with this issue? Raymond, it sounds like you think the proposed PR should not be merged, is that right? If so, should the issue and PR be closed? Other opinions? I would like to resolve this so we can either merge or close PR 5667. Thanks!

[issue21196] Name mangling example in Python tutorial

2018-02-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't think we should advertise how to manually mangle the names. That isn't a best practice. The feature is automatic for a reason. -- ___ Python tracker

[issue21196] Name mangling example in Python tutorial

2018-02-13 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +5469 ___ Python tracker ___ ___

[issue21196] Name mangling example in Python tutorial

2018-02-13 Thread Cheryl Sabella
Cheryl Sabella added the comment: Chandan or Berker, Any interest in making a Github pull request for this patch? -- nosy: +csabella versions: +Python 3.7, Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker

[issue21196] Name mangling example in Python tutorial

2016-06-02 Thread Berker Peksag
Berker Peksag added the comment: I think the text is fine, but the example is not needed. I've updated Chandan's patch to remove the example and tweak the text a bit. -- nosy: +berker.peksag versions: +Python 3.6 -Python 3.4 Added file: http://bugs.python.org/file43108/issue21196.diff

[issue21196] Name mangling example in Python tutorial

2014-04-14 Thread Chandan Kumar
Chandan Kumar added the comment: Uploading the patch for the improvement to the name mangling section of the Python tutorial. Please note that the modification is much smaller than I proposed earlier. -- keywords: +patch Added file:

[issue21196] Name mangling example in Python tutorial

2014-04-11 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the report and proposed fix! Could you upload a patch file that we could directly apply to the documentation instead of Python files? More information about how to do that is found here: https://docs.python.org/devguide/#quick-start If you need any

[issue21196] Name mangling example in Python tutorial

2014-04-10 Thread Chandan Kumar
New submission from Chandan Kumar: The example used for demonstrating name mangling could be better if two versions of code are shown - one with name mangling and one without. I have modified the original example to incorporate this (see attached). -- assignee: docs@python

[issue21196] Name mangling example in Python tutorial

2014-04-10 Thread Chandan Kumar
Chandan Kumar added the comment: Adding the second code sample, since only one attachment allowed at one go. -- Added file: http://bugs.python.org/file34782/without_name_mangling.py ___ Python tracker rep...@bugs.python.org

[issue21196] Name mangling example in Python tutorial

2014-04-10 Thread Chandan Kumar
Chandan Kumar added the comment: Here is a link to the documentation section in question: https://docs.python.org/2/tutorial/classes.html#private-variables-and-class-local-references -- ___ Python tracker rep...@bugs.python.org