On Tue, Dec 15, 2009 at 12:37 AM, Steven Bethard
steven.beth...@gmail.com wrote:
If you're only concerned about 2.X, then yes, optparse will *never* be
removed from 2.X. There will be a deprecation note in the 2.X
documentation but deprecation warnings will only be issued when the -3
flag is
On Sun, Dec 27, 2009 at 9:51 AM, anatoly techtonik techto...@gmail.com wrote:
On Tue, Dec 15, 2009 at 12:37 AM, Steven Bethard
steven.beth...@gmail.com wrote:
If you're only concerned about 2.X, then yes, optparse will *never* be
removed from 2.X. There will be a deprecation note in the 2.X
On Fri, Dec 25, 2009 at 8:33 AM, Nick Coghlan ncogh...@gmail.com wrote:
Martin v. Löwis wrote:
I'll remove it and push it in Distutils documentation, then might just
provide a link in the PEP References.
That sounds fine to me.
That would address my questions as well - someone looking for a
On Fri, Dec 25, 2009 at 8:33 AM, Nick Coghlan ncogh...@gmail.com wrote:
Martin v. Löwis wrote:
FYI we have introduced a range operator, so one may define a range of
versions.
This is useful for instance to write:
Requires-Python: ~=2.5
Which means: requires any version of Python 2.5.x.
On Mon, Dec 28, 2009 at 1:15 AM, david.l...@preisshare.net wrote:
On Fri, Dec 25, 2009 at 8:33 AM, Nick Coghlan ncogh...@gmail.com wrote:
Martin v. Löwis wrote:
FYI we have introduced a range operator, so one may define a range of
versions.
This is useful for instance to write:
On 12/27/2009 4:15 PM, david.l...@preisshare.net wrote:
On Fri, Dec 25, 2009 at 8:33 AM, Nick Coghlanncogh...@gmail.com wrote:
Martin v. Löwis wrote:
FYI we have introduced a range operator, so one may define a range of
versions.
This is useful for instance to write:
Tarek Ziadé ziade.tarek at gmail.com writes:
This was ambiguous because it was unclear, as MvL stated, if 2.5
was just 2.5.0 or included
versions like 2.5.1 or 2.5.2.
How about having 2.5 match all 2.5.x versions, and 2.5.0 match only 2.5
itself? (ditto for 2.5.N matching only 2.5.N for N =
On Mon, Dec 28, 2009 at 1:41 AM, Sridhar Ratnakumar
sridh...@activestate.com wrote:
[..]
Tarek,
I am a bit confused at the current proposal combined with the newly
introduced range operator.
Would Requires-Python: =2.5 include 2.5.4 or not?
=2.5 means any version that is inferior or equal
No application developer will quickly figure out what a tilde means. Maybe
it means 'roughly', but it requires too much thought and is ambiguous. 2.5
is not roughly 2.5.2. It is the same exactly.
Before we had : Requires-Python: 2.5, 2.6
That made much more sense. It was simple and
On Mon, Dec 28, 2009 at 1:48 AM, Antoine Pitrou solip...@pitrou.net wrote:
Tarek Ziadé ziade.tarek at gmail.com writes:
This was ambiguous because it was unclear, as MvL stated, if 2.5
was just 2.5.0 or included
versions like 2.5.1 or 2.5.2.
How about having 2.5 match all 2.5.x versions,
Tarek Ziadé ziade.ta...@gmail.com writes:
FYI we have introduced a range operator, so one may define a range of
versions. This is useful for instance to write:
Requires-Python: ~=2.5
Which means: requires any version of Python 2.5.x.
-1 on that syntax. It's an extra operator, with a
Tarek Ziadé wrote:
On Mon, Dec 28, 2009 at 1:48 AM, Antoine Pitrou solip...@pitrou.net wrote:
Tarek Ziadé ziade.tarek at gmail.com writes:
This was ambiguous because it was unclear, as MvL stated, if 2.5
was just 2.5.0 or included
versions like 2.5.1 or 2.5.2.
How about having 2.5 match all
Tarek Ziadé ziade.ta...@gmail.com writes:
On Mon, Dec 28, 2009 at 1:41 AM, Sridhar Ratnakumar
sridh...@activestate.com wrote:
Also, Requires-Python: 3 would include all 3.X versions, correct?
Correct, because, Requires-Python: 3 is equivalent to
Requires-Python: ~= 3 which is equivalent to
Tarek Ziadé wrote:
On Mon, Dec 28, 2009 at 1:41 AM, Sridhar Ratnakumar
sridh...@activestate.com wrote:
[..]
Tarek,
I am a bit confused at the current proposal combined with the newly
introduced range operator.
Would Requires-Python: =2.5 include 2.5.4 or not?
=2.5 means any version that is
2009-12-28 02:17:22 Ben Finney napisał(a):
Tarek Ziadé ziade.ta...@gmail.com writes:
On Mon, Dec 28, 2009 at 1:41 AM, Sridhar Ratnakumar
sridh...@activestate.com wrote:
Also, Requires-Python: 3 would include all 3.X versions, correct?
Correct, because, Requires-Python: 3 is
Ben Finney wrote:
Tarek Ziadé ziade.ta...@gmail.com writes:
On Mon, Dec 28, 2009 at 1:41 AM, Sridhar Ratnakumar
sridh...@activestate.com wrote:
Also, Requires-Python: 3 would include all 3.X versions, correct?
Correct, because, Requires-Python: 3 is equivalent to
Requires-Python: ~= 3 which
On Sun, Dec 27, 2009 at 8:28 PM, Arfrever Frehtes Taifersar Arahesis
arfrever@gmail.com wrote:
'Requires-Python: 3*' (or '3.*') would be better than 'Requires-Python: =3,
4'.
Maybe.
MRAB wrote:
Requires-Python: 3 ~ 4
Ugh. -1
-Fred
--
Fred L. Drake, Jr.fdrake at gmail.com
On Dec 27, 2009, at 8:02 PM, Tarek Ziadé wrote:
On Mon, Dec 28, 2009 at 1:48 AM, Antoine Pitrou solip...@pitrou.net wrote:
Tarek Ziadé ziade.tarek at gmail.com writes:
This was ambiguous because it was unclear, as MvL stated, if 2.5
was just 2.5.0 or included
versions like 2.5.1 or
On 12/27/2009 5:21 PM, MRAB wrote:
Tarek Ziadé wrote:
On Mon, Dec 28, 2009 at 1:41 AM, Sridhar Ratnakumar
sridh...@activestate.com wrote:
[..]
Tarek,
I am a bit confused at the current proposal combined with the newly
introduced range operator.
Would Requires-Python: =2.5 include 2.5.4 or
Martin v. Löwis wrote:
No application developer will quickly figure out what a tilde means. Maybe
it means 'roughly', but it requires too much thought and is ambiguous. 2.5
is not roughly 2.5.2. It is the same exactly.
Before we had : Requires-Python: 2.5, 2.6
That made much more sense. It was
Arfrever Frehtes Taifersar Arahesis wrote:
2009-12-28 02:17:22 Ben Finney napisał(a):
Tarek Ziadé ziade.ta...@gmail.com writes:
On Mon, Dec 28, 2009 at 1:41 AM, Sridhar Ratnakumar
sridh...@activestate.com wrote:
Also, Requires-Python: 3 would include all 3.X versions, correct?
Correct,
Ben Finney writes:
Instead, the default should be `=='. That is, `Requires-Python: 3'
should be equivalent to `Requires-Python: ==3'; and only 3 or 3.0 or
3.0.0 etc. will match. I maintain that is what most people will expect
on seeing that syntax.
I really don't think your assessment
No application developer will quickly figure out what a tilde means.
Maybe
it means 'roughly', but it requires too much thought and is ambiguous.
2.5
is not roughly 2.5.2. It is the same exactly.
Before we had : Requires-Python: 2.5, 2.6
That made much more sense. It was simple and
Instead, the default should be â==â. That is, âRequires-Python: 3â
should be equivalent to âRequires-Python: ==3â; and only â3â or
â3.0â or
â3.0.0â etc. will match. I maintain that is what most people will
expect
on seeing that syntax.
If a less strict range is
On Mon, Dec 21, 2009 at 7:02 AM, Mark Dickinson dicki...@gmail.com wrote:
In Python 2.7, PyArg_ParseTuple and friends currently accept a float
argument where an integer is expected, but produce a
DeprecationWarning in this case. This can be seen in various places
in Python proper:
On 12/27/2009 7:48 PM, Antoine Pitrou wrote:
Tarek Ziadéziade.tarekat gmail.com writes:
This was ambiguous because it was unclear, as MvL stated, if 2.5
was just 2.5.0 or included
versions like 2.5.1 or 2.5.2.
How about having 2.5 match all 2.5.x versions, and 2.5.0 match only 2.5
itself?
Tarek Ziadé ziade.tarek at gmail.com writes:
An implicit range operator is simpler indeed, and achieves the same goal.
Meaning that =2.5 for example, will be translated to =2.5.x as well.
With respect, it's not a very common use case for a developer to
say that package needs a python
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Terry Reedy wrote:
On 12/27/2009 7:48 PM, Antoine Pitrou wrote:
Tarek Ziadéziade.tarekat gmail.com writes:
This was ambiguous because it was unclear, as MvL stated, if 2.5
was just 2.5.0 or included
versions like 2.5.1 or 2.5.2.
How about
david.l...@preisshare.net writes:
Before we had : Requires-Python: 2.5, 2.6
That made much more sense. It was simple and unambiguous, and is
relevant to typical packaging scenarios.
Unfortunately, it is fairly ambiguous, and makes no sense. It means
requires Python 2.5 *AND*
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tarek Ziadé wrote:
On Mon, Dec 28, 2009 at 1:41 AM, Sridhar Ratnakumar
sridh...@activestate.com wrote:
[..]
Tarek,
I am a bit confused at the current proposal combined with the newly
introduced range operator.
Would Requires-Python: =2.5
On Mon, Dec 28, 2009 at 05:37, Terry Reedy tjre...@udel.edu wrote:
If the first x.y release were called x.y.0, (does not sys.version include
0?) then x.y would unambiguously mean the series.
Yeah, well, although sys.version includes the zero, nothing else does.
The first releases are called
david.l...@preisshare.net writes:
With respect, it's not a very common use case for a developer to
say that package needs a python interpretor 'older' than 2.5.
Of course it is. I don't claim it is the majority of cases out there,
but stable versions of many of the packages I use will
And in fact this case is often more the important one. Packages that
depend on having a *recent* version of python will often crash
quickly, before doing permanent damage, when an undefined syntax,
function, or method is invoked, while packages that depend on a quirk
in behavior of an older
david.l...@preisshare.net writes:
With respect, it's not a very common use case for a developer to
say that package needs a python interpretor 'older' than 2.5.
Of course it is. I don't claim it is the majority of cases out there,
but stable versions of many of the packages I use will
34 matches
Mail list logo