Re: [Python-Dev] Bug or not? Different behaviour iterating list and collections.deque

2007-01-08 Thread Christos Georgiou
Martin v. Löwis [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Christos Georgiou schrieb: Is that intentional? It would have helped if you had said what that is you are referring to, it would also have helped if you had stated an opinion on whether you believe that to be a bug

[Python-Dev] Bug or not? Different behaviour iterating list and collections.deque

2007-01-07 Thread Christos Georgiou
Hello, people. I am not sure whether this is a bug or intentional, so I thought checking it with you before opening a bug. I will explain this issue, but please understand this is not a question for help to change the algorithm (this has been done already), so it's not a question of c.l.py.

Re: [Python-Dev] Bug or not? Different behaviour iterating list andcollections.deque

2007-01-07 Thread Christos Georgiou
Forgive my piggy backing, but I forgot to include the only related post I found, which did not clear things up for me: http://groups.google.com/group/comp.lang.python/msg/e2dcb2362649a601 ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] Bug or not? Different behaviour iterating list andcollections.deque

2007-01-07 Thread Christos Georgiou
Josiah Carlson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Christos Georgiou [EMAIL PROTECTED] wrote: [snip] issue, but please understand this is not a question for help to change the algorithm (this has been done already), so it's not a question of c.l.py. It's a matter

Re: [Python-Dev] Tix not included in 2.5 for Windows

2006-09-30 Thread Christos Georgiou
Martin v. Löwis [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Please submit a bug report to sf.net/projects/python. Done: www.python.org/sf/1568240 ___ Python-Dev mailing list Python-Dev@python.org

[Python-Dev] Tix not included in 2.5 for Windows

2006-09-29 Thread Christos Georgiou
Does anyone know why this happens? I can't find any information pointing to this being deliberate. I just upgraded to 2.5 on Windows (after making sure I can build extensions with the freeware VC++ Toolkit 2003) and some of my programs stopped operating. I saw in a French forum that someone

Re: [Python-Dev] once [was: Simple Switch statementZ]

2006-06-29 Thread Christos Georgiou
I haven't followed the complete discussion about once, but I would assume it would be used as such: once name = expression that is, always an assignment, with the value stored as a cellvar, perhaps, on first execution 0f the code. Typically I would use it as: def function(a): once

Re: [Python-Dev] Visual studio 2005 express now free

2006-05-08 Thread Christos Georgiou
Martin v. Löwis [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] - Paul Moore has contributed a Python build procedure for the free version of the 2003 compiler. This one is without IDE, but still, it should allow people without a VS 2003 license to work on Python itself; it

Re: [Python-Dev] Python Grammar Ambiguity

2006-04-28 Thread Christos Georgiou
Michael Foord [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] snip It worries me that there might be a valid expression allowed here that I haven't thought of. My current rules allow anything that looks like ``(a, [b, c, (d, e)], f)`` - any nested identifier list. Would anything

Re: [Python-Dev] Patch or feature? Tix.Grid working for 2.5

2006-04-07 Thread Christos Georgiou
Martin v. Löwis [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Christos Georgiou wrote: I would like to know if supplying a patch for it sometime in the next couple of weeks would be considered a patch (since the widget currently is not working at all, its class in Tix.py

[Python-Dev] Patch or feature? Tix.Grid working for 2.5

2006-03-18 Thread Christos Georgiou
I made a plea for help months ago (just checked, and it was Jan 2004! time flies like a fruit or something, ref http://mail.python.org/pipermail/python-list/2004-January/202704.html ) about directions to fix the borken Tix.Grid widget; I had no replies. I finally found some spare time (too

Re: [Python-Dev] bytes thoughts

2006-03-17 Thread Christos Georgiou
Josiah Carlson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Christos Georgiou [EMAIL PROTECTED] wrote: [Christos] Well, what's the result of bytes([1,0,0])^ bytes([1,0]) ? Is it bytes([0,0,0]) (à la little-endian) or is it bytes([1,1,0]) (straight conversion to base-256

Re: [Python-Dev] bytes thoughts

2006-03-16 Thread Christos Georgiou
Greg Ewing [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Baptiste Carvello wrote: [Baptiste] while manipulating binary data will happen mostly with bytes objects, some operations are better done with ints, like the bit manipulations with the |~^ operators. [Greg] Why not just

Re: [Python-Dev] Switch to MS VC++ 2005 ?!

2006-03-16 Thread Christos Georgiou
M.-A. Lemburg [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Microsoft has recently released their express version of the Visual C++. Given that this version is free for everyone, wouldn't it make sense to ship Python 2.5 compiled with this version ?!

Re: [Python-Dev] fixing log messages

2006-03-08 Thread Christos Georgiou
talk about embarrassing spelling misteaks [Fredrik Lundh] (but alright, as long as you don't call me Fred...) [Steve Holden] Did I *ever* do that? That would have been an embarrassing slip ;-) I know I'm extremely late, but there should be a POTF (Pun Of The Fortnight) from now on. A member

[Python-Dev] Building Python with Visual C++ 2005 Express Edition

2005-11-10 Thread Christos Georgiou
I didn't see any mention of this product in the Python-Dev list, so I thought to let you know. http://msdn.microsoft.com/vstudio/express/visualc/download/ There is also a link for a CD image (.img) file to download. I am downloading now, so I don't know yet whether Python compiles with it

[Python-Dev] PEP 3000 and exec

2005-10-10 Thread Christos Georgiou
This might be minor-- but I didn't see anyone mentioning it so far. If `exec` functionality is to be provided, then I think it still should be a keyword for the parser to know; currently bytecode generation is affected if `exec` is present. Even if that changes for Python 3k (we don't know

Re: [Python-Dev] Docs/Pointer to Tools/scripts?

2005-08-24 Thread Christos Georgiou
Reinhold Birkenfeld [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, after adding Oleg Broytmann's findnocoding.py to Tools/scripts, I wonder whether the Tools directory is documented at all. There are many useful scripts there which many people will not find if they are not

Re: [Python-Dev] Terminology for PEP 343

2005-08-12 Thread Christos Georgiou
Michael Hudson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Guard? Monitor? Don't really like either of these. I know I am late, but since guard means something else, 'sentinel' (in the line of __enter__ and __exit__ interpretation) could be an alternative. Tongue in cheek.

Re: [Python-Dev] plans for 2.4.2 and 2.5a1

2005-08-12 Thread Christos Georgiou
Michael Hudson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Anthony Baxter [EMAIL PROTECTED] writes: So I'm currently planning for a 2.4.2 sometime around mid September. I figure we cut a release candidate either on the 7th or 14th, and a final a week later. Cool. I'm not

Re: [Python-Dev] plans for 2.4.2 and 2.5a1

2005-08-12 Thread Christos Georgiou
At the moment I'm trying to create a minimal file that when imported fails with 2.4.1 . I'll update the case as soon as I have one, but I wanted to draw some attention in python-dev in case it rings a bell. Please ignore my previous message --through gmane I saw only mwh's message, and after

Re: [Python-Dev] List copy and clear (was Re: Inconsistent API forsets.Set and build-in set)

2005-07-07 Thread Christos Georgiou
Tim Peters [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Or my personal favorite, while mylist: del mylist[::2] Then the original index positions with the most consecutive trailing 1 bits survive the longest, which is important to avoid ZODB cache bugs wink. This

Re: [Python-Dev] PEP 340 keyword: after

2005-05-16 Thread Christos Georgiou
Chris Ryland [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I hate to add to what could be an endless discussion, but... ;-) In this case, while is the better time-related prefix, whether keyword (hopeless, due to ages-old boolean-controlled loop association) or function, since