policy 2.3 para 2

2002-02-09 Thread Julian Gilbey
I have a suggestion, which may already have been thought of.

Need: a python-module (pure Python) providing package should provide
byte-compiled versions for all installed python versions (as long as
there are no version dependency issues)

Parallel: an emacs-module providing package should provide
byte-compiled versions for all installed emacs versions (as long as
there are no version dependency issues)

Why not take the emacsen-common method and code and use this for
python?  It probably won't work for C-extension modules, but it could
make life easier for pure Python ones.

Thoughts?  (Please cc me!)

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

 Julian Gilbey, Dept of Maths, Debian GNU/Linux Developer
  Queen Mary, Univ. of London see http://people.debian.org/~jdg/
   http://www.maths.qmul.ac.uk/~jdg/   or http://www.debian.org/
Visit http://www.thehungersite.com/ to help feed the hungry




Re: policy 2.3 para 2

2002-02-09 Thread Donovan Baarda
On Sat, Feb 09, 2002 at 07:41:31PM +, Julian Gilbey wrote:
 I have a suggestion, which may already have been thought of.
 
 Need: a python-module (pure Python) providing package should provide
 byte-compiled versions for all installed python versions (as long as
 there are no version dependency issues)

Actually, it is slightly more complex than this. For starters, forgetting
that not all python modules are compatible with all versions of python,
there is a second need;

Need-2: installing a new version of Python should byte-compile all
pre-installed Python modules for the newly installed Python version.

This makes it a bit tricky because it's hard to know where the compile all
for all scripts should go; in the versioned Python packages, in the
Python default wrapper, or in the modules themselves. The moment you think
it's obvious, you dig deeper and find it introduces some dependancy nastys.

 Parallel: an emacs-module providing package should provide
 byte-compiled versions for all installed emacs versions (as long as
 there are no version dependency issues)
 
 Why not take the emacsen-common method and code and use this for
 python?  It probably won't work for C-extension modules, but it could
 make life easier for pure Python ones.

I'm not 100% sure of the details of the emacsen approach, but doesn't it use
some sort of module-registration database? I can't help but think that it's
a bit sad that you need to introduce _another_ database of installed stuff
when you already have the dpkg database. However, perhaps that's the only
way to get a truely perfect solution.

-- 
--
ABO: finger [EMAIL PROTECTED] for more info, including pgp key
--




Where is the Debian Python Policy?

2002-02-09 Thread Donovan Baarda
G'day,

just thought I'd have another look at the current policy and I couldn't find
it. Where is it again?

Can we get a link to it put on the Debian devel page?

http://www.debian.org/devel/


-- 
--
ABO: finger [EMAIL PROTECTED] for more info, including pgp key
--