homepage

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 jlgijsbers
Recipients
Date 2004年10月09日.15:21:57
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=469548
"As far as placement of it in lookupmodule(). Well, I guess
I was afraid to change existing function (as it could
theoretically break some other code)."
Yes, I still think it should be in lookupmodule. I was also
a bit worried about backwards compatibility, but that's part
of the reason why I wanted to disallow 'b
<random_other_file_in_script_directory>:2'. If we don't
disallow it, it'll become impossible to break (for example)
in the profile.py module on sys.path if you have a file
called 'profile' in the current directory. That would suck.
"I could add runscript() with the above code in it and still
have the main() function which is responsible for the loop
and postmortem.. Would it be better?"
Yes, let's see how that looks.
"Could you elaborate a bit on what would like to see in such
a doc?"
Well, the (to me) at first surprising behavior of restarting
when the script ends and the fact that it enters post-mortem
debugging on an uncaught exception. Exactly the things this
patch adds.
History
Date User Action Args
2007年08月23日 15:32:22adminlinkissue896011 messages
2007年08月23日 15:32:22admincreate

AltStyle によって変換されたページ (->オリジナル) /