[Python-Dev] New-style exceptions (original) (raw)
Tim Peters tim.peters at gmail.com
Thu Aug 5 17:28:33 CEST 2004
- Previous message: [Python-Dev] New-style exceptions
- Next message: [Python-Dev] New-style exceptions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Michael Hudson] ...
Well, it turns out to be a bit big for attaching, so it's here:
http://starship.python.net/crew/mwh/hacks/new-style-exceptions-hacking.diff This is very much a first cut; no attempt at subtlety. The procedure went roughly "Hack until it compiles, hack until it doesn't dump core immediately, hack until most tests pass." The good news: all tests but testpickletools pass (and that's doomed; just look at it).
Eh? test_pickletools is a three-line test, which just runs the doctests in pickletools.py. The only exceptions mentioned in the latter are the builtin ValueError and OverflowError. What's the problem?
- Previous message: [Python-Dev] New-style exceptions
- Next message: [Python-Dev] New-style exceptions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]