[Python-ideas] Make `import a.b.c as m` is equivalent to `m = sys.modules['a.b.c']`
Victor Varvariuc
victor.varvariuc at gmail.com
Sun Apr 9 07:13:20 EDT 2017
The issue: http://bugs.python.org/issue30024 <http://bugs.python.org/issue30024>
> On 9 Apr 2017, at 10:05, Nick Coghlan <ncoghlan at gmail.com> wrote:
>
> On 9 April 2017 at 16:13, Victor Varvariuc <victor.varvariuc at gmail.com> wrote:
>> I think there are can be several ways to achieve the result.
>>
>> The question is if what I've presented is a valid concern. I think this would make the language more consistent and help reducing number of errors related to import without breaking old code.
>>
>> May I create an issue in the bug tracker?
>
> Aye, go ahead - I would previously have advised against it, but given
> at least one relatively low impact path to resolution, it's worth
> filing it as an enhancement request.
>
> Cheers,
> Nick.
>
> --
> Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170409/0ab385e2/attachment.html>
More information about the Python-ideas
mailing list