How to import all things defined the files in a module directory in __init__.py?

Chris Angelico rosuav at gmail.com
Fri Sep 23 22:10:50 EDT 2016


On Sat, Sep 24, 2016 at 11:42 AM, Lawrence D’Oliveiro
<lawrencedo99 at gmail.com> wrote:
> On Friday, September 23, 2016 at 4:25:21 AM UTC+12, Chris Angelico wrote:
>> For reference, the Decimal module (ignoring the C accelerator) is over six
>> thousand lines of code, as a single module. Now, that might be pushing the
>> boundaries a bit ...
>
> What “boundaries” do you think that might be pushing? 6000 lines doesn’t sound unreasonable to me at all.

It's a large and complex module, and about at the boundary of being
broken up a bit. So it's likely to be the largest file in the stdlib
(not counting tests).

ChrisA



More information about the Python-list mailing list