Re: [Python-Dev] A proposed solution for Issue 502236: Asyncrhonous exceptions between threads

2008-07-11 Thread Josiah Carlson
This doesn't need to be an interpreter thing; it's easy to implement by the user (I've done it about a dozen times using a single global flag). If you want it to be automatic, it's even possible to make it happen automatically using sys.settrace() and friends (you can even make it reasonably fast

Re: [Python-Dev] Running Py2.6 with the -3 option

2008-07-11 Thread Brett Cannon
On Fri, Jul 11, 2008 at 12:26 PM, Adam Olsen <[EMAIL PROTECTED]> wrote: > On Fri, Jul 11, 2008 at 7:02 AM, Steve Holden <[EMAIL PROTECTED]> wrote: >> Benjamin Peterson wrote: >>> >>> On Fri, Jul 11, 2008 at 6:24 AM, Raymond Hettinger <[EMAIL PROTECTED]> >>> wrote: Some effort needs to be

Re: [Python-Dev] Running Py2.6 with the -3 option

2008-07-11 Thread Adam Olsen
On Fri, Jul 11, 2008 at 7:02 AM, Steve Holden <[EMAIL PROTECTED]> wrote: > Benjamin Peterson wrote: >> >> On Fri, Jul 11, 2008 at 6:24 AM, Raymond Hettinger <[EMAIL PROTECTED]> wrote: >>> >>> Some effort needs to be made to clear the standard library of -3 >>> warnings. >>> Running -3 on productio

[Python-Dev] Summary of Python tracker Issues

2008-07-11 Thread Python tracker
ACTIVITY SUMMARY (07/04/08 - 07/11/08) Python tracker at http://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue number. Do NOT respond to this message. 1967 open (+43) / 13199 closed (+17) / 15166 total (+60) Open issues with patches: 621 Average

Re: [Python-Dev] Running Py2.6 with the -3 option

2008-07-11 Thread Steve Holden
Benjamin Peterson wrote: On Fri, Jul 11, 2008 at 8:02 AM, Steve Holden <[EMAIL PROTECTED]> wrote: Benjamin Peterson wrote: Yes, indeed. We should make sure, however, that the changes in the 2.6 libraries are the absolute minimum to get the job done. (I'm trying to pretend like this isn't violat

Re: [Python-Dev] Running Py2.6 with the -3 option

2008-07-11 Thread Benjamin Peterson
On Fri, Jul 11, 2008 at 8:02 AM, Steve Holden <[EMAIL PROTECTED]> wrote: > Benjamin Peterson wrote: >> >> Yes, indeed. We should make sure, however, that the changes in the 2.6 >> libraries are the absolute minimum to get the job done. (I'm trying to >> pretend like this isn't violating the prohibi

Re: [Python-Dev] Running Py2.6 with the -3 option

2008-07-11 Thread Steve Holden
Benjamin Peterson wrote: On Fri, Jul 11, 2008 at 6:24 AM, Raymond Hettinger <[EMAIL PROTECTED]> wrote: Some effort needs to be made to clear the standard library of -3 warnings. Running -3 on production code usually involves exercising library code so the useful result is obscured by Python com

Re: [Python-Dev] Running Py2.6 with the -3 option

2008-07-11 Thread Benjamin Peterson
On Fri, Jul 11, 2008 at 6:24 AM, Raymond Hettinger <[EMAIL PROTECTED]> wrote: > Some effort needs to be made to clear the standard library of -3 warnings. > Running -3 on production code usually involves exercising library code so > the useful result is obscured by Python complaining about itself.

[Python-Dev] A proposed solution for Issue 502236: Asyncrhonous exceptions between threads

2008-07-11 Thread Andy Scott
[OK so a newbie post here so many apologies if I am doing this wrong] Quick Synopsis: A child thread in an executing Python program can not safely shutdown the program. The issue URL is: http://bugs.python.org/issue502236 So my proposal is: Example: We have three threads - t0 -

[Python-Dev] Running Py2.6 with the -3 option

2008-07-11 Thread Raymond Hettinger
Some effort needs to be made to clear the standard library of -3 warnings. Running -3 on production code usually involves exercising library code so the useful result is obscured by Python complaining about itself. Since that use case involves the users own tests, I don't think the effort needs

Re: [Python-Dev] patch review request: float.hex and float.fromhex

2008-07-11 Thread Raymond Hettinger
From: "Mark Dickinson" <[EMAIL PROTECTED]> Does anyone have time to review the patch http://bugs.python.org/file10876/hex_float5.patch for issue 3008 (float <-> hexadecimal string conversion): I'll look at it today and tomorrow. Raymond ___ Python

[Python-Dev] patch review request: float.hex and float.fromhex

2008-07-11 Thread Mark Dickinson
Does anyone have time to review the patch http://bugs.python.org/file10876/hex_float5.patch for issue 3008 (float <-> hexadecimal string conversion): http://bugs.python.org/issue3008 ? It would be really good if this could go in before next week's beta. Guido's approved the idea in principle, b