Re: [Python-Dev] Guidance regarding tests for the standard lib

2013-08-13 Thread Terry Reedy
On 8/13/2013 7:51 PM, Steven D'Aprano wrote: http://bugs.python.org/issue18606 Tests at end of statistics.patch. and I'm about to submit a patch containing my updated code and tests, but I've run into a problem with testing. My existing tests use unittest, and follow the basic boilerplate do

Re: [Python-Dev] Deprecating the formatter module

2013-08-13 Thread Steven D'Aprano
On 13/08/13 23:36, Brett Cannon wrote: On Tue, Aug 13, 2013 at 6:34 AM, Serhiy Storchaka wrote: 12.08.13 22:22, Brett Cannon написав(ла): I have created http://bugs.python.org/**issue18716to deprecate the formatter module for removal in Python 3.6 unless

Re: [Python-Dev] Guidance regarding tests for the standard lib

2013-08-13 Thread Nick Coghlan
On 13 Aug 2013 19:40, "Victor Stinner" wrote: > > Send the patch somewhere (ex: attach it to an email, or to the bug > tracker, as you want), or give the error message, if you want some > help. > > > Ask for a pronouncement on the PEP first, and then fix the test breakage later? > > Sometimes, it'

Re: [Python-Dev] Guidance regarding tests for the standard lib

2013-08-13 Thread Victor Stinner
Send the patch somewhere (ex: attach it to an email, or to the bug tracker, as you want), or give the error message, if you want some help. > Ask for a pronouncement on the PEP first, and then fix the test breakage > later? Sometimes, it's possible to pronounce on a PEP without a working impleme

Re: [Python-Dev] Guidance regarding tests for the standard lib

2013-08-13 Thread Ethan Furman
On 08/13/2013 04:51 PM, Steven D'Aprano wrote: My question is, is it acceptable to post the code and tests to the tracker as-is, and ask for a pronouncement on the PEP first, and then fix the test breakage later? Certainly. -- ~Ethan~ ___ Python-De

Re: [Python-Dev] Guidance regarding tests for the standard lib

2013-08-13 Thread Ethan Furman
On 08/13/2013 04:51 PM, Steven D'Aprano wrote: I have raise a tracker item and PEP for adding a statistics module to the standard library: http://bugs.python.org/issue18606 http://www.python.org/dev/peps/pep-0450/ The bug-tracker doesn't think you've submitted a CLA yet. If you haven't yo

[Python-Dev] Guidance regarding tests for the standard lib

2013-08-13 Thread Steven D'Aprano
Hi, I have raise a tracker item and PEP for adding a statistics module to the standard library: http://bugs.python.org/issue18606 http://www.python.org/dev/peps/pep-0450/ and I'm about to submit a patch containing my updated code and tests, but I've run into a problem with testing. My exist

Re: [Python-Dev] SSL issues in Python stdlib and 3rd party code

2013-08-13 Thread Terry Reedy
On 8/13/2013 5:06 AM, Christian Heimes wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 CVE-2013-4238 has been signed to NULL bytes in subjectAltName issue. assigned... http://bugs.python.org/issue18709 http://www.openwall.com/lists/oss-security/2013/08/13/2 Should we assign a C

Re: [Python-Dev] Dealing with import lock deadlock in Import Hooks

2013-08-13 Thread Antoine Pitrou
Le Tue, 13 Aug 2013 17:28:42 +0900, Arnaud Fontaine a écrit : > Antoine Pitrou writes: > > On Tue, 13 Aug 2013 11:06:51 +0900 Arnaud Fontaine > > wrote: > >> I suggested the same in my initial email, but I was wondering if > >> there could be any issue by releasing the lock in > >> find_module()

Re: [Python-Dev] Dealing with import lock deadlock in Import Hooks

2013-08-13 Thread Arnaud Fontaine
Antoine Pitrou writes: > On Tue, 13 Aug 2013 11:06:51 +0900 Arnaud Fontaine > wrote: >> I suggested the same in my initial email, but I was wondering if there >> could be any issue by releasing the lock in find_module()/load_module() >> until the module is actually added to sys.modules. > > Well

Re: [Python-Dev] Deprecating the formatter module

2013-08-13 Thread Nick Coghlan
On 13 Aug 2013 09:39, "Brett Cannon" wrote: > > > > > On Tue, Aug 13, 2013 at 6:34 AM, Serhiy Storchaka wrote: >> >> 12.08.13 22:22, Brett Cannon написав(ла): >> >>> I have created http://bugs.python.org/issue18716 to deprecate the >>> formatter module for removal in Python 3.6 unless someone con

Re: [Python-Dev] Deprecating the formatter module

2013-08-13 Thread Brett Cannon
On Tue, Aug 13, 2013 at 6:34 AM, Serhiy Storchaka wrote: > 12.08.13 22:22, Brett Cannon написав(ла): > > I have created > http://bugs.python.org/**issue18716to > deprecate the >> formatter module for removal in Python 3.6 unless someone convinces me >> otherwi

Re: [Python-Dev] Dealing with import lock deadlock in Import Hooks

2013-08-13 Thread Brett Cannon
On Mon, Aug 12, 2013 at 10:10 PM, Arnaud Fontaine < arnaud.fonta...@nexedi.com> wrote: > Brett Cannon writes: > > On Mon, Aug 12, 2013 at 5:12 AM, Arnaud Fontaine < > arnaud.fonta...@nexedi.com wrote: > >> Yes, I saw the bug report and its patch implementing the import lock per > >> module (menti

Re: [Python-Dev] Deprecating the formatter module

2013-08-13 Thread Serhiy Storchaka
12.08.13 22:22, Brett Cannon написав(ла): I have created http://bugs.python.org/issue18716 to deprecate the formatter module for removal in Python 3.6 unless someone convinces me otherwise that deprecation and removal is the wrong move. The formatter module doesn't look such buggy as the audioo

Re: [Python-Dev] Deprecating the formatter module

2013-08-13 Thread Phil Elson
On 12 August 2013 22:01, Ryan wrote: > Keep it, but put better documentation. It's needed. There are many a useful package outside of the standard library. If this is genuinely useful in some specialist use cases then I'm sure the code will find its way to a github repo and be maintained as a

Re: [Python-Dev] SSL issues in Python stdlib and 3rd party code

2013-08-13 Thread Christian Heimes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 CVE-2013-4238 has been signed to NULL bytes in subjectAltName issue. http://bugs.python.org/issue18709 http://www.openwall.com/lists/oss-security/2013/08/13/2 Should we assign a CVE to issue in ssl.match_hostname(), too? Even more projects have