, 'areclose' is really really hard to read.
--
Gustavo J. A. M. Carneiro
[EMAIL PROTECTED] [EMAIL PROTECTED]
The universe is always one step beyond logic
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
a bug report (maybe with
patch), or is this controversial?
--
Gustavo J. A. M. Carneiro
[EMAIL PROTECTED] [EMAIL PROTECTED]
The universe is always one step beyond logic.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman
confused with 0 or O,
but..
10h # hex.. hm.. but we already have 0x10
101b # binary
Another possility is to extend the 0x syntax to non-hex,
0xff # hex
0o644 # octal
0b1101 # binary
I'm unsure which one I like better.
Regards,
--
Gustavo J. A. M. Carneiro
[EMAIL
On Wed, 2006-01-25 at 22:35 -0600, Ian Bicking wrote:
Gustavo J. A. M. Carneiro wrote:
On a slightly different subject, regarding path / path, I think it
feels much more natural path + path. Path.join is really just a string
concatenation, except that it adds a path separator
On Thu, 2006-01-26 at 16:17 +0100, Fredrik Lundh wrote:
Gustavo J. A. M. Carneiro wrote:
If a URI class implemented the same methods, it would be something of a
question whether uri.joinpath('/foo/bar', 'baz') would return '/foo/baz'
(and urlparse.urljoin would) or '/foo/bar/baz
just a string
concatenation, except that it adds a path separator in the middle if
necessary, if I'm not mistaken.
Best regards.
[1] Yes, I'm the kind of guy who hates struct timeval having tv_sec and
tv_usec field members instead of sec and usec.
--
Gustavo J. A. M. Carneiro
[EMAIL PROTECTED
have a more
descriptive name.
Regards.
--
Gustavo J. A. M. Carneiro
[EMAIL PROTECTED] [EMAIL PROTECTED]
The universe is always one step beyond logic
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
of
calling it multiple times. Similar reasoning applites for setter vs
property =.
Regards,
--
Gustavo J. A. M. Carneiro
[EMAIL PROTECTED] [EMAIL PROTECTED]
The universe is always one step beyond logic.
signature.asc
Description: Esta é uma parte de mensagem assinada digitalmente
Qui, 2005-11-10 às 13:57 +1300, Greg Ewing escreveu:
Gustavo J. A. M. Carneiro wrote:
OK, but what if it is a subclass of a builtin type, with instance
variables? What if the PyObject is GC'ed but the ObjC object remains
alive, and later you get a new reference to it? Do you create
attribute that
indicates an alternative type that should be used to create weak
references: instead of the builtin weakref object, a subtype of it, so
you can override tp_call.
Does this sounds acceptable?
Regards.
[1] http://bugzilla.gnome.org/show_bug.cgi?id=320428
--
Gustavo J. A. M
Qua, 2005-11-09 às 09:23 -0800, Guido van Rossum escreveu:
Gustavo J. A. M. Carneiro wrote:
I have come across a situation where I find the current weak
references interface for extension types insufficient.
Currently you only have a tp_weaklistoffset slot, pointing
On Wed, 2005-11-09 at 20:40 +0100, Ronald Oussoren wrote:
On 9-nov-2005, at 18:52, Gustavo J. A. M. Carneiro wrote:
Qua, 2005-11-09 às 09:23 -0800, Guido van Rossum escreveu:
Gustavo J. A. M. Carneiro wrote:
I have come across a situation where I find the current weak
references
ε:
return
Instead of:
delta_v = x1 - x0
if delta_v epsilon:
return
But anyone that is supposed to understand the code will be able to read
the delta and epsilon symbols.
Regards.
--
Gustavo J. A. M. Carneiro
[EMAIL PROTECTED] [EMAIL PROTECTED
don't suppose there could be a way to make the yield inside the
subfunction have the same effect as if it was inside the function that
called it? Perhaps some special notation, either at function calling or
at function definition?
--
Gustavo J. A. M. Carneiro
[EMAIL PROTECTED] [EMAIL PROTECTED
...
Regards.
--
Gustavo J. A. M. Carneiro
[EMAIL PROTECTED] [EMAIL PROTECTED]
The universe is always one step beyond logic.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http
this is partly an unix problem. There's no system call to say
like wake me up when one of these descriptors has data OR when this
condition variable is set. Windows has WaitForMultipleObjects, which I
suspect is quite a bit more powerful.
Regards.
--
Gustavo J. A. M. Carneiro
[EMAIL PROTECTED] [EMAIL
.
Regards.
--
Gustavo J. A. M. Carneiro
[EMAIL PROTECTED] [EMAIL PROTECTED]
The universe is always one step beyond logic
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http
in python 2 to allow a smooth
transition to python 3, but the disadvantages in lost readability and
familiarity by far outweigh the transition concerns imho.
Regards.
--
Gustavo J. A. M. Carneiro
[EMAIL PROTECTED] [EMAIL PROTECTED]
The universe is always one step beyond logic
if you're taking the approach for generator
composition if you're using twisted.flow (though I'll defer a good example
for that to someone else since although I've been asked for a comparison in
the past, I don't think I'm sufficiently twisted to do so!).
Michael.
--
Gustavo J. A. M. Carneiro
in doing SSL without certificate
verification. It's just false security. Maybe adding a callback asking
the application what to do if certificate validation fails, so that
application writers can show a GUI dialogue or something like that...
Best regards.
--
Gustavo J. A. M. Carneiro
[EMAIL
.
--
Gustavo J. A. M. Carneiro
[EMAIL PROTECTED] [EMAIL PROTECTED]
The universe is always one step beyond logic.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org
On Wed, 2005-05-04 at 13:08 -0600, Shane Hathaway wrote:
Gustavo J. A. M. Carneiro wrote:
In PEP 340 I read:
block EXPR1 as VAR1:
BLOCK1
I think it would be much clearer this (plus you save one keyword):
block VAR1 = EXPR1:
BLOCK1
___
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/gjc%40inescporto.pt
--
Gustavo J. A. M. Carneiro
[EMAIL PROTECTED] [EMAIL PROTECTED]
The universe is always one
On Mon, 2005-01-17 at 23:12 +0100, Martin v. Löwis wrote:
Gustavo J. A. M. Carneiro wrote:
If someone could take a look at:
[ 1069624 ] incomplete support for AF_PACKET in socketmodule.c
The rule applies: five reviews, with results posted to python-dev,
and I will review your patch
24 matches
Mail list logo