Re: [Python-Dev] Platform extension for distutils on other interpreters than CPython

2010-02-25 Thread Nick Coghlan
Maciej Fijalkowski wrote: > On Wed, Feb 24, 2010 at 6:35 AM, Nick Coghlan wrote: >> Tarek Ziadé wrote: >>> That makes me wonder : why don't we have a sys.implementation variable ? >>> (cython/jython/pypi), since we can have several values for cython in >>> sys.platform > > Hello. > > So I propos

Re: [Python-Dev] Platform extension for distutils on other interpreters than CPython

2010-02-24 Thread Maciej Fijalkowski
On Wed, Feb 24, 2010 at 11:17 AM, Glyph Lefkowitz wrote: > > On Feb 23, 2010, at 2:10 PM, Tarek Ziadé wrote: > >> On Tue, Feb 23, 2010 at 1:50 PM, Maciej Fijalkowski wrote: >>> Hello. >>> >>> I would like to have a feature on platform module (or sys or >>> somewhere) that can tell distutils or di

Re: [Python-Dev] Platform extension for distutils on other interpreters than CPython

2010-02-24 Thread Glyph Lefkowitz
On Feb 23, 2010, at 2:10 PM, Tarek Ziadé wrote: > On Tue, Feb 23, 2010 at 1:50 PM, Maciej Fijalkowski wrote: >> Hello. >> >> I would like to have a feature on platform module (or sys or >> somewhere) that can tell distutils or distutils2 that this platform >> (be it PyPy or Jython) is not able

Re: [Python-Dev] Platform extension for distutils on other interpreters than CPython

2010-02-24 Thread Maciej Fijalkowski
On Wed, Feb 24, 2010 at 6:35 AM, Nick Coghlan wrote: > Tarek Ziadé wrote: >> That makes me wonder : why don't we have a sys.implementation variable ? >> (cython/jython/pypi), since we can have several values for cython in >> sys.platform > Hello. So I propose to have a sys.implementation which w

Re: [Python-Dev] Platform extension for distutils on other interpreters than CPython

2010-02-24 Thread Nick Coghlan
Tarek Ziadé wrote: > That makes me wonder : why don't we have a sys.implementation variable ? > (cython/jython/pypi), since we can have several values for cython in > sys.platform You might want to try and catch up with Christian Heimes. He was going to write a PEP to add one, but must have been c

Re: [Python-Dev] Platform extension for distutils on other interpreters than CPython

2010-02-23 Thread Tarek Ziadé
On Tue, Feb 23, 2010 at 2:44 PM, Maciej Fijalkowski wrote: > On Tue, Feb 23, 2010 at 2:27 PM, Tarek Ziadé wrote: >> On Tue, Feb 23, 2010 at 2:10 PM, Tarek Ziadé wrote: >>> On Tue, Feb 23, 2010 at 1:50 PM, Maciej Fijalkowski >>> wrote: Hello. I would like to have a feature on pla

Re: [Python-Dev] Platform extension for distutils on other interpreters than CPython

2010-02-23 Thread Maciej Fijalkowski
On Tue, Feb 23, 2010 at 2:27 PM, Tarek Ziadé wrote: > On Tue, Feb 23, 2010 at 2:10 PM, Tarek Ziadé wrote: >> On Tue, Feb 23, 2010 at 1:50 PM, Maciej Fijalkowski wrote: >>> Hello. >>> >>> I would like to have a feature on platform module (or sys or >>> somewhere) that can tell distutils or distut

Re: [Python-Dev] Platform extension for distutils on other interpreters than CPython

2010-02-23 Thread Tarek Ziadé
On Tue, Feb 23, 2010 at 2:10 PM, Tarek Ziadé wrote: > On Tue, Feb 23, 2010 at 1:50 PM, Maciej Fijalkowski wrote: >> Hello. >> >> I would like to have a feature on platform module (or sys or >> somewhere) that can tell distutils or distutils2 that this platform >> (be it PyPy or Jython) is not abl

Re: [Python-Dev] Platform extension for distutils on other interpreters than CPython

2010-02-23 Thread Tarek Ziadé
On Tue, Feb 23, 2010 at 2:03 PM, Daniel Stutzbach wrote: > On Tue, Feb 23, 2010 at 12:50 PM, Maciej Fijalkowski > wrote: >> >> I would like to have a feature on platform module (or sys or >> somewhere) that can tell distutils or distutils2 that this platform >> (be it PyPy or Jython) is not able

Re: [Python-Dev] Platform extension for distutils on other interpreters than CPython

2010-02-23 Thread Tarek Ziadé
On Tue, Feb 23, 2010 at 1:50 PM, Maciej Fijalkowski wrote: > Hello. > > I would like to have a feature on platform module (or sys or > somewhere) that can tell distutils or distutils2 that this platform > (be it PyPy or Jython) is not able to compile any C module. The > purpose of this is to make

Re: [Python-Dev] Platform extension for distutils on other interpreters than CPython

2010-02-23 Thread Frank Wierzbicki
On Tue, Feb 23, 2010 at 1:50 PM, Maciej Fijalkowski wrote: > Hello. > > I would like to have a feature on platform module (or sys or > somewhere) that can tell distutils or distutils2 that this platform > (be it PyPy or Jython) is not able to compile any C module. The > purpose of this is to make

Re: [Python-Dev] Platform extension for distutils on other interpreters than CPython

2010-02-23 Thread Daniel Stutzbach
On Tue, Feb 23, 2010 at 12:50 PM, Maciej Fijalkowski wrote: > I would like to have a feature on platform module (or sys or > somewhere) that can tell distutils or distutils2 that this platform > (be it PyPy or Jython) is not able to compile any C module. The > purpose of this is to make distutils

[Python-Dev] Platform extension for distutils on other interpreters than CPython

2010-02-23 Thread Maciej Fijalkowski
Hello. I would like to have a feature on platform module (or sys or somewhere) that can tell distutils or distutils2 that this platform (be it PyPy or Jython) is not able to compile any C module. The purpose of this is to make distutils bail out in more reasonable manner than a compilation error i