Re: [Python-3000] Support for PEP 3131

2007-05-12 Thread Stargaming
letely new language for understanding a program. To communicate, we just have to find (or agree on) a common point between devs. Python is English, that's a matter of fact IMO. It is the common language that makes us a community and *one* language. I'm, well, -1 on this (even thoug

Re: [Python-3000] PEP 368: Standard image protocol and class

2007-07-01 Thread Stargaming
BJörn Lindqvist schrieb: > Cool PEP! I really love the API for the Image class. A standard Image > class would be a useful addition to the standard library. > > But I cannot see how it would solve the problem with to many image > classes. The reason why PIL, PyGame and wxPython has different image

Re: [Python-3000] optimizing [x]range

2007-08-02 Thread Stargaming
file test_linuxaudiodev test_macostools test_normalization test_ossaudiodev test_pep277 test_plistlib test_scriptpackages test_socketserver test_sqlite test_startfile test_sunaudiodev test_tcl test_timeout test_urllib2net test_urllibnet test_winreg test_winsound test_zipfile64 5

Re: [Python-3000] optimizing [x]range

2007-08-02 Thread Stargaming
On Thu, 02 Aug 2007 15:03:42 +, Stargaming wrote: > On Sat, 28 Jul 2007 17:06:50 +0200, tomer filiba wrote: > >> currently, testing for "x in xrange(y)" is an O(n) operation. >> >> since xrange objects (which would become range in py3k) are not rea

Re: [Python-3000] optimizing [x]range

2007-08-03 Thread Stargaming
On Thu, 02 Aug 2007 15:25:36 -0700, Guido van Rossum wrote: > On 8/2/07, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: >> > The patch is based on the latest trunk/ checkout, Python 2.6. I don't >> > think this is a problem if nobody else made any effort towards making >> > xrange more sequence-like

Re: [Python-3000] optimizing [x]range

2007-08-06 Thread Stargaming
. I'm not sure if I used the PyNumber-API correctly, I mostly oriented this patch at other range_* methods. See http://sourceforge.net/ tracker/index.php?func=detail&aid=1766304&group_id=5470&atid=305470 Regards, Stargaming ___ Python