Re: [Python-Dev] Proposing PEP 386 for addition

2009-12-13 Thread Ben Finney
Tarek Ziadé  writes:

> I've started to add another section in the PEP to summarize this
> discussion but then I realized that we are already giving the answer
> in the PEP in the "Requisites and current status"
>
> I made it clearer though, by adding an extra sentence with an example.

Thank you.

> Requesite #2 :
> """
> 2. most projects need special meaning versions for "pre-releases"
> (such as

I don't think “most projects need” is supported by evidence.

Fortunately, for the argument in the PEP, you don't need “most projects
need” to be true; you only need “a significant number of projects”. It
could be a small minority, but if it is a significantly large minority
that still justifies addressing the need.

So, change this to “a significant number of projects need” and I think
it's a fair statement.

> Let me know if you think this is enough and addresses your concern,

Thank you for working to make this a good PEP.

-- 
 \   Moriarty: “Forty thousand million billion dollars? That money |
  `\must be worth a fortune!” —The Goon Show, _The Sale of |
_o__)   Manhattan_ |
Ben Finney

___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Unittest/doctest formatting differences in 2.7a1?

2009-12-13 Thread Lennart Regebro
Issue submitted: http://bugs.python.org/issue7490

-- 
Med Vaemjelig Groet
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Proposing PEP 386 for addition

2009-12-13 Thread Tarek Ziadé
On Sun, Dec 13, 2009 at 9:53 AM, Ben Finney  wrote:
> Tarek Ziadé  writes:
>
>> I've started to add another section in the PEP to summarize this
>> discussion but then I realized that we are already giving the answer
>> in the PEP in the "Requisites and current status"
>>
>> I made it clearer though, by adding an extra sentence with an example.
>
> Thank you.
>
>> Requesite #2 :
>> """
>> 2. most projects need special meaning versions for "pre-releases"
>> (such as
>
> I don't think “most projects need” is supported by evidence.
>
> Fortunately, for the argument in the PEP, you don't need “most projects
> need” to be true; you only need “a significant number of projects”. It
> could be a small minority, but if it is a significantly large minority
> that still justifies addressing the need.
>
> So, change this to “a significant number of projects need” and I think
> it's a fair statement.
>
>> Let me know if you think this is enough and addresses your concern,
>
> Thank you for working to make this a good PEP.

Done. Thanks for your help.

Tarek
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Proposing PEP 386 for addition

2009-12-13 Thread Tarek Ziadé
On Fri, Dec 11, 2009 at 11:23 AM, Nick Coghlan  wrote:
[..]
>
> Eric's suggestion of NormalizedVersion sounds best to me - it exactly
> describes the intended role of the class.
>

Done. Steve Steiner added a nice functional test that tries the scheme
on *all* pypi versions:

MacZiade:distutilsver tarek$ nosetests -s .
Loading saved pypi data...
Results:

Total Packages  :  8654
Already Match   :  7604.0 (87.87%)
Have Suggestion :  624.0 (7.21%)
No Suggestion   :  426.0 (4.92%)
..
--
Ran 6 tests in 0.463s

OK

IOW, the current scheme works as-is for 88% of the packages, and is
able to transform
7% of the remainings. The 5% that are not workable are mostly packages
with versions
like : (extracts)

- .01
- working proof of concept
- release candidate 3
- 1.0dev-BZR-r42-panta-elasticworld.org-20091021153851-6ijlut5dkxndxw1h
- beta pre csound
- etc..

Furthermore, I've seen some patterns in those 5% that can be worked
out so I'll probably be able to lower it to 3%

Tarek
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com