Splitting up large python module impact on performance?

Ed Kellett e+python-list at kellett.im
Wed Jun 13 03:56:14 EDT 2018


On 2018-06-13 05:24, Chris Angelico wrote:
> Oh wait, your code isn't anything remotely sane. But for the rest of
> us, large files aren't a problem.

I don't like large files--I think mostly because files are an
organisational tool, they're quite good at that job, and one might as
well use them. But slightly more concretely, Python encourages us to use
module scope for things like imports, which can easily get messy and
confusing when files are large. A find feature isn't a replacement for a
global scope that's small enough to remember.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20180613/9caeb5a5/attachment.sig>


More information about the Python-list mailing list