Re: [Python-Dev] module reorg (was: 1.6 job list)

For separate modules, yes. For packages this is different. As a point in case think of MacPython: it could stuff all mac-specific packages under the toplevel "mac", but it would probably be nicer if it could extend the existing namespace. It is a bit silly if mac users have to do "from mac.text.encoding import macbinary" but "from text.encoding import binhex", just because BinHex support happens to live in the core (purely for historical reasons). But maybe this holds only for the platform distributions, then it shouldn't be as much of a problem as there aren't that many. -- Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++ Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++ www.oratrix.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm

On Tue, 28 Mar 2000, Jack Jansen wrote:
Assuming that you use an archive like those found in my "small" distro or Gordon's distro, then this is no problem. The archive simply recognizes and maps "text.encoding.macbinary" to its own module. Another way to say it: stop thinking in terms of the filesystem as the sole mechanism for determining placement in the package hierarchy. Cheers, -g -- Greg Stein, http://www.lyra.org/

On Tue, 28 Mar 2000, Jack Jansen wrote:
Assuming that you use an archive like those found in my "small" distro or Gordon's distro, then this is no problem. The archive simply recognizes and maps "text.encoding.macbinary" to its own module. Another way to say it: stop thinking in terms of the filesystem as the sole mechanism for determining placement in the package hierarchy. Cheers, -g -- Greg Stein, http://www.lyra.org/
participants (2)
-
Greg Stein
-
Jack Jansen