Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #32644 > unrolled thread

Re: How to improve the usability of nested packages

Started byTerry Reedy <tjreedy@udel.edu>
First post2012-11-02 13:56 -0400
Last post2012-11-02 13:56 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: How to improve the usability of nested packages Terry Reedy <tjreedy@udel.edu> - 2012-11-02 13:56 -0400

#32644 — Re: How to improve the usability of nested packages

FromTerry Reedy <tjreedy@udel.edu>
Date2012-11-02 13:56 -0400
SubjectRe: How to improve the usability of nested packages
Message-ID<mailman.3215.1351879000.27098.python-list@python.org>
nested package == subpackage

> or would you maybe structure the library entirely different?

Based on my limited experience with subpackages* plus reports on this 
list about problems, such as yours, I have concluded that subpackages 
are an attractive nuisance that are generally more trouble than they are 
worth. I suggest you consider sticking with your original flat (no 
subpackage) design. (But maybe someone knows better than me how to make 
subpackages work ;-).

* In my current project, I started with all modules in subpackages but 
have since moved them into the package and deleted the subpackages.

-- 
Terry Jan Reedy

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web