[Python-ideas] Implicit submodule imports

Daniel Holth dholth at gmail.com
Thu Sep 25 12:34:05 CEST 2014


Have you tried apipkg?
On Sep 25, 2014 6:22 AM, "Tennessee Leeuwenburg" <tleeuwenburg at gmail.com>
wrote:

> I love it. +1 :).
>
> On 25 September 2014 20:16, Thomas Gläßle <t_glaessle at gmx.de> wrote:
>
>>
>> Nathaniel Smith wrote on 09/25/2014 07:07 AM:
>> > What I'd really like is for module attribute lookup to start
>> > supporting the descriptor protocol. This would be super-easy to work
>> > with and fast (you only pay the extra overhead for the attributes
>> > which have been hooked). -n
>>
>> I'm not sure, I picture this the same way you intended, but I believe
>> supporting the descriptor protocol is too confusing and breaks too much
>> code in many cases. You wouldn't normally expect to execute x.__get__,
>> etc on module attribute access if you are just trying to export some
>> object x that happens to be a descriptor.
>>
>>
>>
>> _______________________________________________
>> Python-ideas mailing list
>> Python-ideas at python.org
>> https://mail.python.org/mailman/listinfo/python-ideas
>> Code of Conduct: http://python.org/psf/codeofconduct/
>>
>
>
>
> --
> --------------------------------------------------
> Tennessee Leeuwenburg
> http://myownhat.blogspot.com/
> "Don't believe everything you think"
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140925/91595f59/attachment.html>


More information about the Python-ideas mailing list