Re: [Python-Dev] Import and unicode: part two

2011-01-23 Thread Guido van Rossum
On Sun, Jan 23, 2011 at 6:33 PM, Stephen J. Turnbull wrote: > "Martin v. Löwis" writes: >  > Actually, as long people only involve Windows, or only involve Mac, >  > it will all work just fine. It's only when they use non-Mac Unix >  > (such as Linux), or try to move files across systems using sub

Re: [Python-Dev] Import and unicode: part two

2011-01-23 Thread Stephen J. Turnbull
"Martin v. Löwis" writes: > Actually, as long people only involve Windows, or only involve Mac, > it will all work just fine. It's only when they use non-Mac Unix > (such as Linux), or try to move files across systems using sub-prime > technology (such as your typical Windows zip utility) they

Re: [Python-Dev] build problem

2011-01-23 Thread prasun3
On Sun, Jan 23, 2011 at 2:10 PM, "Martin v. Löwis" wrote: >> ""c:\path\to\subwcrev.exe" arg1 arg2 ..." just works. I don't understand >> why (strange syntax), but it works :-) >> >> When I had the problem, it worked with extra quotes, but not without. It >> is strange because the program ("c:\path

Re: [Python-Dev] r88147 - in python/branches/py3k: Misc/NEWS Modules/_pickle.c Tools/scripts/find_recursionlimit.py

2011-01-23 Thread Antoine Pitrou
On Mon, 24 Jan 2011 01:28:26 +0100 "Martin v. Löwis" wrote: > > I wonder whether we could sprinkle more exception-set? checks in > the interpreter loop, at least in debug mode. Yes, this would be nice. Nicer if it can be centralized, of course. That said, it probably wouldn't have helped here, s

Re: [Python-Dev] r88147 - in python/branches/py3k: Misc/NEWS Modules/_pickle.c Tools/scripts/find_recursionlimit.py

2011-01-23 Thread Martin v. Löwis
> I am still curious why a previous exception changed pickle behavior, and > only in 3.2, but I would rather you fix another bug than speeding much > time to get me up to speed on the intricacies of _pickle ;-). IIUC, the code change made pickle actually aware of the exception, rather than just se

Re: [Python-Dev] r88147 - in python/branches/py3k: Misc/NEWS Modules/_pickle.c Tools/scripts/find_recursionlimit.py

2011-01-23 Thread Antoine Pitrou
On Sun, 23 Jan 2011 18:45:50 -0500 Terry Reedy wrote: > On 1/23/2011 1:58 PM, Antoine Pitrou wrote: > > >> Issue #10987: Fix the recursion limit handling in the _pickle module. > > 12 hours after the report! > > I am still curious why a previous exception changed pickle behavior, and > only i

Re: [Python-Dev] Beta version of the new devguide

2011-01-23 Thread Michael Foord
On 23/01/2011 20:22, Brett Cannon wrote: [snip...] I had a quick skim over the rest and got the feeling that no clear distinction is made between C and Python work. Personally, I feel that more of a distinction should be made since not everyone will be confident or interested in C. (And maybe mo

Re: [Python-Dev] r88147 - in python/branches/py3k: Misc/NEWS Modules/_pickle.c Tools/scripts/find_recursionlimit.py

2011-01-23 Thread Terry Reedy
On 1/23/2011 1:58 PM, Antoine Pitrou wrote: Issue #10987: Fix the recursion limit handling in the _pickle module. 12 hours after the report! I am still curious why a previous exception changed pickle behavior, and only in 3.2, but I would rather you fix another bug than speeding much time t

Re: [Python-Dev] build problem

2011-01-23 Thread Martin v. Löwis
> ""c:\path\to\subwcrev.exe" arg1 arg2 ..." just works. I don't understand > why (strange syntax), but it works :-) > > When I had the problem, it worked with extra quotes, but not without. It > is strange because the program ("c:\path\to\subwcrev.exe") existed!? I'd really like to understand it

Re: [Python-Dev] build problem

2011-01-23 Thread Victor Stinner
Le dimanche 23 janvier 2011 à 19:18 +0100, "Martin v. Löwis" a écrit : > > Adding an extra set of quotes around the command seems to fix > > this. I've attached a patch. Hey! I already wrote exactly the same patch! But I didn't propose it upstream because I was unable to reproduce the bug. >

Re: [Python-Dev] Beta version of the new devguide

2011-01-23 Thread Brett Cannon
On Sat, Jan 22, 2011 at 23:56, Mark Summerfield wrote: > Hi Brett, > > On Sat, 22 Jan 2011 17:08:00 -0800 > Brett Cannon wrote: >> http://docs.python.org/devguide/ > > Personally, I found the first paragraph of "Contributing" a bit > off-putting. > > How about replacing: > >    People who wish to

Re: [Python-Dev] r88147 - in python/branches/py3k: Misc/NEWS Modules/_pickle.c Tools/scripts/find_recursionlimit.py

2011-01-23 Thread Antoine Pitrou
On Sun, 23 Jan 2011 18:12:26 +0100 (CET) antoine.pitrou wrote: > Author: antoine.pitrou > Date: Sun Jan 23 18:12:25 2011 > New Revision: 88147 > > Log: > Issue #10987: Fix the recursion limit handling in the _pickle module. I forgot to mention that it was ok'ed by Georg, so there it is. Regards

Re: [Python-Dev] web framework for py3k

2011-01-23 Thread Martin v. Löwis
Am 22.01.2011 19:16, schrieb yeswanth: > I would want to help porting some web framework for py3k .. I want to > know to know which one is good and which can be ported easily . Also i > would require some guidance for this work as I am just a beginner here .. Yeswanth, Terry already indicated tha

Re: [Python-Dev] build problem

2011-01-23 Thread Martin v. Löwis
> Adding an extra set of quotes around the command seems to fix > this. I've attached a patch. This is puzzling: a) AFAICT, the code works on all other system as it stands, and b) putting this many quotes into the command line is not plausible. Do you have any strange settings on your compute