Nutchanon Ninyawee wrote:
> Hi, Python community
> I would like to discuss with you about the idea of "bidirectional Aliasing".
> I am not good at English wording. I will try my best to communicate the idea
> Link is a language feature that allows multiple variable names to always
> refer to the
> same underlying object define in a namespace.
> For now, if the variable a link with b. I will denote as a >< b or link('a',
> 'b')
> a = 2
> a >< alpha # link 'a' with 'alpha'
> b = 3
> print(balpha) # print 9
> alpha = 3
> print(ba) # print 27
> This also able to apply to function name, class property and method.
> More in detail on this link
> https://dev.to/circleoncircles/python-ideas-link-bidirectional-aliasing-in-p...
> Look forward to hearing from you
> Nutchanon
Thank you for all constructive and considerate responses.
I refined my proposal. [This is the updated
one.](https://dev.to/circleoncircles/rewrite-link-bidirectional-aliasing-in-python-ekl)
The update aims to clarify more about the behaviors and rationale.
I guessed that this idea will stop here since the implementation ways are still
unclear and the thread became inactive.
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/7LRCRA4N3EQNG5WVF4XKN74EQVZNZFHB/
Code of Conduct: http://python.org/psf/codeofconduct/