This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients eric.araujo, neologix, pitrou, poq, r.david.murray, telmich
Date 2012-03-25.23:13:33
SpamBayes Score 1.27676e-15
Marked as misclassified No
Message-id <1332717214.86.0.374279825694.issue14228@psf.upfronthosting.co.za>
In-reply-to
Content
@telmich: I think you will have more success at getting what you want if you work with us rather than being confrontational.  Respect that we have reasons for doing things a certain way (and not because we are stupid), and we will respect your perspective more, and be more likely to do something about the real problem that you face.

Or, you could submit a patch...and again work *with* us to get it accepted.

Emitting a traceback on KeyboardInterrupt has served us well in the past, even in the startup case to which you are pointing.  If someone makes a mistake in site.py or similar and causes python startup to hang, a traceback on keyboard interrupt is exactly what you want.  You may think that this situation is unlikely to occur, but it is far *more* likely to occur than your situation...given, as Antoine said, that you are the first person to report this as a problem.

So, we need a solution that serves both use cases.  An environment flag or command line option seems to fit the bill.

Now we need a patch.

As far as feature request vs bug, fixing this without removing an existing feature (interrupting a hung startup with a traceback) requires a new option or environment variable, and therefore *by our rules* this can only go into 3.3.  That makes it an enhancement by our (project specific) definition, regardless of whether or not it is a bug by the broader definition of bug.
History
Date User Action Args
2012-03-25 23:13:34r.david.murraysetrecipients: + r.david.murray, pitrou, eric.araujo, neologix, poq, telmich
2012-03-25 23:13:34r.david.murraysetmessageid: <1332717214.86.0.374279825694.issue14228@psf.upfronthosting.co.za>
2012-03-25 23:13:34r.david.murraylinkissue14228 messages
2012-03-25 23:13:33r.david.murraycreate