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.

Title:'less package import warnings
Type: Stage:
Components: Interpreter Core Versions:
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: gvanrossum Nosy List: georg.brandl, gvanrossum, twouters
Priority: normal Keywords: patch

Created on 2006-04-26 22:36 by twouters, last changed 2022-04-11 14:56 by admin. This issue is now closed.

File name Uploaded Description Edit
pitchfork-repellant.diff twouters, 2006-04-26 22:36 noogle-be-gone
Messages (4)
msg50112 - (view) Author: Thomas Wouters (twouters) * (Python committer) Date: 2006-04-26 22:36
New! Industrial strength pitchfork-repellant. Just
sprinkle onto 2.5 and watch the pitchforks melt away,
to be replaced by hearthfelt grouphugs.

This patch (which probably needs some reformatting)
adds warnings when Python would have imported a module,
if only there had been an The text is
currently helpful, but it can easily be changed into a
FutureWarning with a warning that it'll change in 2.6
(or 'might change in the future'.)
msg50113 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2006-04-26 22:47
Logged In: YES 

The patch doesn't check for errors coming out of
PyErr_Warn() -- remember, a warning can always be turned
into an exception.

I'll see if we can patch Google's Python like this.
msg50114 - (view) Author: Thomas Wouters (twouters) * (Python committer) Date: 2006-04-26 22:54
Logged In: YES 

Let's just check it into Python 2.5 instead (it's still an
hour and 7 minutes until trunk freeze, I think? :>)
msg50115 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-05-03 21:02
Logged In: YES 

Looks like this got checked in in rev. 45770.
Date User Action Args
2022-04-11 14:56:17adminsetgithub: 43282
2006-04-26 22:36:48twouterscreate