[issue14040] Deprecate some of the module file formats

2012-02-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've now committed the suffix removal patch with a what's new entry. Thanks! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue14040] Deprecate some of the module file formats

2012-02-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 42f61304f77d by Antoine Pitrou in branch 'default': Issue #14040: Remove rarely used file name suffixes for C extensions (under POSIX mainly). http://hg.python.org/cpython/rev/42f61304f77d -- nosy: +python-dev

[issue14040] Deprecate some of the module file formats

2012-02-19 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue14040] Deprecate some of the module file formats

2012-02-19 Thread Martin v . Löwis
Martin v. Löwis added the comment: I'm in favour of the removesuffixes.patch. However, it will need to be accompanied with a whatsnew change. -- ___ Python tracker ___

[issue14040] Deprecate some of the module file formats

2012-02-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch simply removing the suffixes. -- Added file: http://bugs.python.org/file24564/removesuffixes.patch ___ Python tracker ___ _

[issue14040] Deprecate some of the module file formats

2012-02-18 Thread Brett Cannon
Brett Cannon added the comment: I like Martin's suggestion of simply throwing an error. But then again I also really like his idea of simply not warning since it's easier. =) -- ___ Python tracker ___

[issue14040] Deprecate some of the module file formats

2012-02-18 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue14040] Deprecate some of the module file formats

2012-02-18 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue14040] Deprecate some of the module file formats

2012-02-18 Thread Martin v . Löwis
Martin v. Löwis added the comment: In this case, I propose to drop the feature without deprecation. It is very easy to adjust the build process of packages that still use the feature, and even end users can rename the files. If you want to improve ease-of-use, you could still do the stat call

[issue14040] Deprecate some of the module file formats

2012-02-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch with tests. -- Added file: http://bugs.python.org/file24559/impsuffix2.patch ___ Python tracker ___ ___

[issue14040] Deprecate some of the module file formats

2012-02-17 Thread Ralf Schmitt
Changes by Ralf Schmitt : -- nosy: +schmir ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue14040] Deprecate some of the module file formats

2012-02-17 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Feb 17, 2012, at 01:36 PM, Antoine Pitrou wrote: >Stating module files of the form "xxxmodule.so" consumes all 1/3 of stat >calls at startup. Looking at the site-packages folders on my machine, both >for 2.7 and 3.2, reveals no C extension that follows such

[issue14040] Deprecate some of the module file formats

2012-02-17 Thread Brett Cannon
Brett Cannon added the comment: Patch looks fine, although there aren't any tests. At least for importlib you can simply use a finder test for extension modules to verify the warning is triggered. That way you can create an empty module with the expected naming rather than worry about compili

[issue14040] Deprecate some of the module file formats

2012-02-17 Thread Nadeem Vawda
Changes by Nadeem Vawda : -- nosy: +nadeem.vawda ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue14040] Deprecate some of the module file formats

2012-02-17 Thread Antoine Pitrou
New submission from Antoine Pitrou : Stating module files of the form "xxxmodule.so" consumes all 1/3 of stat calls at startup. Looking at the site-packages folders on my machine, both for 2.7 and 3.2, reveals no C extension that follows such naming. This patch deprecates such module namings,