Muhammad Alkarouri added the comment:
Now that the descriptor protocol has `__set_name__`, does this make any
difference to this issue? The property can know its name, subject to a suitable
patch.
--
nosy: +Muhammad Alkarouri
___
Python tracker
Muhammad Alkarouri malkaro...@gmail.com added the comment:
On 15 October 2010 06:52, Martin v. Löwis rep...@bugs.python.org wrote:
Martin v. Löwis mar...@v.loewis.de added the comment:
Interesting. I'd like to propose than that this is resolved as won't fix,
i.e. embedding Python
Muhammad Alkarouri malkaro...@gmail.com added the comment:
I cam across another issue that was triggered by the same problem. I am
explaining it here though I am not sure if it is going to affect the solution
one way or the other.
The issue is explained in the post
http://stackoverflow.com
Thanks every one for commenting. I guess I misspoke. I meant to say
that the group is not necessarily the best for parts of this question,
so Subhabrata might not get as enthusiastic responses as in some other
lists (which i don't recollect at the moment, sorry). I didn't want to
convey the sense
Your question is borderline if not out of topic in this group. I will
make a few comments though.
On Feb 18, 3:36 pm, joy99 subhakolkata1...@gmail.com wrote:
Dear Group,
I was reading on SOA or Service Oriented Architecture for last few
days and got some questions. As this is a room for the
? It just
feels like there should be a way, but I am not able to verbalise a
valid one at the moment, sorry.
Regards,
Muhammad Alkarouri
--
http://mail.python.org/mailman/listinfo/python-list
Muhammad Alkarouri malkaro...@gmail.com added the comment:
Excellent solution and comments. Many thanks.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7764
Muhammad Alkarouri malkaro...@gmail.com added the comment:
Mea culpa. Not knowing the conventions here, I closed the ticket, which
probably resulted in florent's feedback. I will leave you to it then.
--
___
Python tracker rep...@bugs.python.org
Thanks everyone, but not on my machine (Python 2.6.1, OS X 10.6) it's
not:
In [1]: from itertools import count, islice
In [2]: from collections import deque
In [3]: i1=count()
In [4]: def consume1(iterator, n):
...: deque(islice(iterator, n), maxlen=0)
...:
...:
In [5]:
On 23 Jan, 12:45, Peter Otten __pete...@web.de wrote:
Muhammad Alkarouri wrote:
Thanks everyone, but not on my machine (Python 2.6.1, OS X 10.6) it's
not:
In [1]: from itertools import count, islice
In [2]: from collections import deque
In [3]: i1=count()
In [4]: def consume1
On 23 Jan, 13:32, Peter Otten __pete...@web.de wrote:
Muhammad Alkarouri wrote:
The next function performs much better. It is also much more direct
for the purposes of consume and much more understandable (at least for
me) as it doesn't require a specialized data structure which
On 23 Jan, 13:46, Peter Otten __pete...@web.de wrote:
Peter Otten wrote:
Duncan Booth wrote:
Peter Otten __pete...@web.de wrote:
With next(islice(...), None) I seem to have found a variant that beats
both competitors.
It has different behaviour for n==0 but I'm sure that's easily
New submission from Muhammad Alkarouri malkaro...@gmail.com:
Based on the discussion at:
http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/c1ae3513a31eb63e/d0701a9902732c67?hl=en#d0701a9902732c67
In the documentation of itertools, one of the functions provided
, the
following code?
def consume(iterator, n):
for _ in islice(iterator, n): pass
Regards,
Muhammad Alkarouri
--
http://mail.python.org/mailman/listinfo/python-list
I can go in this is that I presume that __mul__ (as
called by operator *) is supposed to be a bound method while I am
returning a lambda function. Is this correct? And How can I make the
implementation support such operators?
Cheers,
Muhammad Alkarouri
--
http://mail.python.org/mailman/listinfo
Muhammad Alkarouri malkaro...@gmail.com added the comment:
2008/12/18 Benjamin Peterson rep...@bugs.python.org:
Benjamin Peterson musiccomposit...@gmail.com added the comment:
I've uploaded a .dmg for 2.6.1 to
http://www.python.org/ftp/python/2.6.1/. Could you please test it?
Just
Muhammad Alkarouri [EMAIL PROTECTED] added the comment:
Now that Python 2.6.1 is out, can we expect a new OS X installer built
correctly? I think this is pretty important..
--
nosy: +malkarouri
___
Python tracker [EMAIL PROTECTED]
http
17 matches
Mail list logo