Re: [Distutils] [Python-Dev] shal we redefine module and package?

2008-05-01 Thread zooko
On Apr 30, 2008, at 5:11 PM, [EMAIL PROTECTED] wrote: I have a less disruptive counterproposal. How about just starting to refer to directories (or folders, or zip entries) with '__init__.py' in them as package modules? A package is-a module anyway. That's a good idea. I belive a

Re: [Distutils] [Python-Dev] shal we redefine module and package?

2008-04-30 Thread Nick Coghlan
zooko wrote: Folks: Here's an experiment you can perform. Round up a Python programmer and ask him the following three questions: Q1. You type import foo and it works. What kind of thing is foo? foo is a package or a module. Not enough information is provide here to say which. Q2.

Re: [Distutils] [Python-Dev] shal we redefine module and package?

2008-04-30 Thread glyph
On 10:53 pm, [EMAIL PROTECTED] wrote: zooko wrote: Unfortunately these answers aren't quite right. A package is actually a directory containing an __init__.py file, and a distribution is actually what you think of when you say package -- a reusable package of Python code that you can, for

Re: [Distutils] [Python-Dev] shal we redefine module and package?

2008-04-30 Thread Greg Ewing
Nick Coghlan wrote: zooko wrote: Q1. You type import foo and it works. What kind of thing is foo? foo is a package or a module. Not enough information is provide here to say which. Actually, it could be anything! But it's *probably* a module (or package, but a package is also a module,