-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
new-style exceptions #41459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This patch allows new-style exceptions and makes Exception a The test suite runs, apart from failures in test_tempfile (will dig, |
Logged In: YES One thing: Raising an old-style class/instance doesn't give a traceback or |
Logged In: YES You're right! Odd. No time to fix it today, I'm afraid. |
Logged In: YES New patch attached. Did this a while ago, don't actually remember the The problem with the previous patch was that one of my exception- |
Logged In: YES I found the final wart (caught by test_tempfile of all things). I think the Issues remaining: test_pickletools fails, because PickleError is now new- |
Logged In: YES FYI, there's nothing special about PicklingError in the Tell you what: I'll check in a suitable change to |
1 similar comment
Logged In: YES FYI, there's nothing special about PicklingError in the Tell you what: I'll check in a suitable change to |
Logged In: YES Several lines near the end of errors.c had no visible |
Logged In: YES Jim: Yes. It looks like I ran delete-trailing-whitespace on the file at Tim: thanks! |
Logged In: YES Is it worth adding a comment on parsing precedence? An object can be both an instance and a class, which puts Assuming the class seems sensible; I'm just wondering |
Logged In: YES
I've been studiously avoiding thinking about that :)
Quite. What happens, happens IMHO. I'm prepared to be argued into a |
Logged In: YES Here's a patch updated to SVN HEAD (the PEP-342 implementation meant this |
Logged In: YES New patch worked fine on Ubuntu 5.10 (all tests in 'make |
Logged In: YES I haven't tried out the patch, I just want to chime in to |
Logged In: YES Rev. 42711 has the patch with the requisite tweaks for it to Thanks, Michael! |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: