Re: [Python-3000] Extension modules moving to py3k

2008-07-19 Thread Guilherme Polo
On Sat, Jul 19, 2008 at 9:09 AM, Lars Immisch <[EMAIL PROTECTED]> wrote: > Hi, > >>> I'm still loooking for a *GOOD* python2->python3 conversion guide for C >>> language modules. > > Me too, but I haven't even found not so good ones yet. Have you looked at the Modules/xx*.c files ? It is not a con

Re: [Python-3000] Dropping the parentheses after dict.keys?

2007-12-13 Thread Guilherme Polo
2007/12/13, Noam Raphael <[EMAIL PROTECTED]>: > Hello, > > Was it considered to drop the parentheses after "dict.keys()", to make > it "dict.keys" (that is, to make it a property instead of a method > with no arguments)? If it was, please forgive me - a few minutes of > googling didn't find it. Su

Re: [Python-3000] Possible Duck Typing Problem in Python 2.5?

2007-12-09 Thread Guilherme Polo
-- Forwarded message -- From: Guilherme Polo <[EMAIL PROTECTED]> Date: 09/12/2007 19:45 Subject: Re: [Python-3000] Possible Duck Typing Problem in Python 2.5? To: hashcollision <[EMAIL PROTECTED]>, [EMAIL PROTECTED] 2007/12/9, hashcollision <[EMAIL PROTECTED

Re: [Python-3000] Ambiguity in PEP 3115 and the args to __prepare__

2007-09-02 Thread Guilherme Polo
2007/9/2, Brett Cannon <[EMAIL PROTECTED]>: > PEP 3115 says a metaclass' __prepare__ takes two positional arguments, > name and bases. But the example has it actually accept an arbitrary > number of arguments: name and then everything else is bound to bases. > > Which happens to be true? I've pla