On Tue, Mar 19, 2013 at 9:44 PM, Michael Foord wrote:
>
> On 19 Mar 2013, at 17:26, Antoine Pitrou wrote:
>
> > On Wed, 20 Mar 2013 01:22:58 +0100 (CET)
> > michael.foord wrote:
> >> http://hg.python.org/cpython/rev/684b75600fa9
> >> changeset: 82811:684b75600fa9
> >> user:Michael Foor
On 19 Mar 2013, at 17:26, Antoine Pitrou wrote:
> On Wed, 20 Mar 2013 01:22:58 +0100 (CET)
> michael.foord wrote:
>> http://hg.python.org/cpython/rev/684b75600fa9
>> changeset: 82811:684b75600fa9
>> user:Michael Foord
>> date:Tue Mar 19 17:22:51 2013 -0700
>> summary:
>> Clo
Good catch.
2013/3/19 Andrew Svetlov :
> Are you sure about 2.7.4 2012-04-06? I mean 2012 year.
>
> On Tue, Mar 19, 2013 at 9:15 PM, benjamin.peterson
> wrote:
>> http://hg.python.org/peps/rev/ce17779c395c
>> changeset: 4810:ce17779c395c
>> user:Benjamin Peterson
>> date:Tue Ma
Are you sure about 2.7.4 2012-04-06? I mean 2012 year.
On Tue, Mar 19, 2013 at 9:15 PM, benjamin.peterson
wrote:
> http://hg.python.org/peps/rev/ce17779c395c
> changeset: 4810:ce17779c395c
> user:Benjamin Peterson
> date:Tue Mar 19 23:15:23 2013 -0500
> summary:
> update 2.7.
On Wed, 20 Mar 2013 03:16:53 -,
=?utf-8?B?S3Jpc3Rqw6FuIFZhbHVyIErDs25zc29u?= wrote:
> The compiler complains about this line:
> if (c == '\n' | c=='\r') {
>
> Perhaps you wanted a Boolean operator?
Indeed, yes.
--David
___
Python-Dev mailing list
The compiler complains about this line:
if (c == '\n' | c=='\r') {
Perhaps you wanted a Boolean operator?
-Original Message-
From: Python-checkins
[mailto:python-checkins-bounces+kristjan=ccpgames@python.org] On Behalf Of
r.david.murray
Sent: 19. mars 2013 19:42
To: python-check...@
On Mon, Mar 11, 2013 at 3:14 AM, Ezio Melotti wrote:
> Hi,
>
> On Mon, Mar 11, 2013 at 2:58 AM, raymond.hettinger
> wrote:
>> http://hg.python.org/cpython/rev/0f86b51f8f8b
>> changeset: 82592:0f86b51f8f8b
>> user:Raymond Hettinger
>> date:Sun Mar 10 17:57:28 2013 -0700
>> summa
On Wed, 20 Mar 2013 01:22:58 +0100 (CET)
michael.foord wrote:
> http://hg.python.org/cpython/rev/684b75600fa9
> changeset: 82811:684b75600fa9
> user:Michael Foord
> date:Tue Mar 19 17:22:51 2013 -0700
> summary:
> Closes issue 17467. Add readline and readlines support to
> un
Mark Shannon, Dmitry Jemerov (from PyCharm) and I sat down to talk about
rearchitecting the Argument Clinic prototype to make it easily to
interact with. We came up with the following.
The DSL will now produce an intermediate representation. The output
will consume this intermediate repres
On Tue, Mar 19, 2013 at 11:08 AM, kristjan.jonsson <
python-check...@python.org> wrote:
> http://hg.python.org/cpython/rev/8ec39bfd1f01
> changeset: 82764:8ec39bfd1f01
> branch: 2.7
> parent: 82740:b10ec5083a53
> user:Kristján Valur Jónsson
> date:Tue Mar 19 10:58:59 2
Apparently timemodule is not a built-in module on linux. But it is on windows.
Funny!
-Original Message-
From: Python-Dev [mailto:python-dev-bounces+kristjan=ccpgames@python.org]
On Behalf Of Kristján Valur Jónsson
Sent: 19. mars 2013 12:34
To: python-dev@python.org
Subject: Re: [P
Yes, it is a symbol problem on unix. Working on it.
-Original Message-
From: Python-checkins
[mailto:python-checkins-bounces+kristjan=ccpgames@python.org] On Behalf Of
Senthil Kumaran
Sent: 19. mars 2013 12:28
To: swesk...@gmail.com
Cc: python-check...@python.org
Subject: Re: [Pytho
Looks like I used hg commit -m /path/to/.hg/last-message.txt instead
of hg commit -l /path/to/.hg/last-message.txt
I have amended it, merged it and pushed it again.
On Tue, Mar 19, 2013 at 12:04 PM, senthil.kumaran
wrote:
> http://hg.python.org/cpython/rev/4f2080e9eee2
> changeset: 82765:4f2080
On Mar 18, 2013, at 09:45 PM, Larry Hastings wrote:
>4. Store a string that looks like the Python declaration of the signature,
>and parse it (Nick's suggestion). For foo above, this would be
>"(arg,b=3,*,kwonly='a')". Length: 23 bytes.
Very nice.
-Barry
___
Guido van Rossum wrote:
> On Mon, Mar 18, 2013 at 3:36 AM, Stefan Krah wrote:
> > Larry Hastings wrote:
> >> * The DSL currently makes no provision for specifying per-parameter
> >> type annotations. This is something explicitly supported in Python;
> >> it should be supported for builtins
On Tue, Mar 19, 2013 at 3:00 AM, Larry Hastings wrote:
> Why not require it to be there already? Maybe more like
>
> def foo(arg, b=3, *, kwonly='a'):
> ...
>
> (i.e. using Ellipsis instead of pass, so that it's clear that it's not an
> empty function but one the implementation of whi
Le Tue, 19 Mar 2013 03:00:45 -0700,
Larry Hastings a écrit :
>
> As for handling optional argument groups, my gut feeling is that
> we're better off not leaking it out of Argument Clinic--don't expose
> it in this string we're talking about, and don't add support for it
> in the inspect.Parameter
On 03/19/2013 12:23 AM, Nick Coghlan wrote:
On Mon, Mar 18, 2013 at 11:08 PM, Stefan Behnel wrote:
My first idea for implementation: add a "def x" to the front and ": pass"
to the end
Why not require it to be there already? Maybe more like
def foo(arg, b=3, *, kwonly='a'):
..
On 19 Mar, 2013, at 10:24, Larry Hastings wrote:
>
>
>>> We'd want one more mild hack: the DSL will support positional
>>> parameters, and inspect.Signature supports positional parameters, so
>>> it'd be nice to render that information. But we can't represent that in
>>> Python syntax (or a
On 03/19/2013 12:37 AM, Serhiy Storchaka wrote:
On 19.03.13 06:45, Larry Hastings wrote:
4. Store a string that looks like the Python declaration of the
signature, and parse it (Nick's suggestion). For foo above, this would
be "(arg,b=3,*,kwonly='a')". Length: 23 bytes.
Strip parenthesis an
On 18.03.13 22:26, Jeff Allen wrote:
The puzzle is that it requires t.read() to succeed.
When I insert a check for bytes type in all the places it seems
necessary in my code, I pass the first two conditions, but since
t.read() also raises TypeError, the overall test fails. Is reading the
stream
On 19.03.13 09:52, Serhiy Storchaka wrote:
There is a proposition to add a command line interface to tarfile
module.
Link: http://bugs.python.org/issue13477
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/py
There is a proposition to add a command line interface to tarfile
module. It will be useful on platforms where tar is not included in the
base system.
The question is about interface. Should it be a subset of tar options
(-t as --extract, -t as --list, -f to specify an archive name) or be
sim
On 19.03.13 06:45, Larry Hastings wrote:
4. Store a string that looks like the Python declaration of the
signature, and parse it (Nick's suggestion). For foo above, this would
be "(arg,b=3,*,kwonly='a')". Length: 23 bytes.
Strip parenthesis and it will be only 21 bytes long.
We'd want one m
On Mon, Mar 18, 2013 at 11:08 PM, Stefan Behnel wrote:
> I can't see why the size would matter in any way.
We're mildly concerned about the possible impact on the size of the
ever-growing CPython binaries. However, it turns out that this is a
case where readability and brevity are allies rather t
25 matches
Mail list logo