Re: [Python-Dev] Choosing a best practice solution for Python/extensionmodules

2009-02-20 Thread Raymond Hettinger
ed as dominant. - Original Message - From: Brett Cannon To: Raymond Hettinger Cc: Python Dev Sent: Friday, February 20, 2009 12:41 PM Subject: Re: [Python-Dev] Choosing a best practice solution for Python/extensionmodules On Fri, Feb 20, 2009 at 12:33, Raymond Hett

Re: [Python-Dev] Choosing a best practice solution for Python/extensionmodules

2009-02-20 Thread Brett Cannon
On Fri, Feb 20, 2009 at 12:33, Raymond Hettinger wrote: > [Brett] > >> With io getting rewritten as an extension module, I think it's time to try >> to come up with a good best practice scenario for how to be able to control >> when a module uses a pure Python implementation and when it uses ext

Re: [Python-Dev] Choosing a best practice solution for Python/extensionmodules

2009-02-20 Thread Raymond Hettinger
[Brett] With io getting rewritten as an extension module, I think it's time to try to come up with a good best practice scenario for how to be able to control when a module uses a pure Python implementation and when it uses extension module optimizations. This is really only important for test