[Python-3000] raise with traceback? (original) (raw)
Barry Warsaw barry at python.org
Sun Aug 20 18:11:32 CEST 2006
- Previous message: [Python-3000] raise with traceback?
- Next message: [Python-3000] Google Sprint Ideas
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Aug 20, 2006, at 11:53 AM, Guido van Rossum wrote:
The 'with' syntax is attractive because it will flag all unconverted code as a syntax error.
I wonder if "raise ValueError" should still be allowed (as equivalent to "raise ValueError()") or that it should be disallowed.
I say keep it. I don't see much value in requiring empty
parentheses, except maybe to keep my left pinkie limber.
- -Barry
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin)
iQCVAwUBROiJtXEjvBPtnXfVAQKkQwP/WTYvfFYYlA5ukmDmvTg3G5BVCYEyC8hQ 8jZXfnzm0j8PdCGJp2ym16ux0+MIRsMx1taU0VGRpULF4hPfRPHG92EQm/YDRGBm 1X5fXNmQ2sbMAb84GqO6HiQxbUkP70Zu5DbgQj3pCqCO3oJLuqXie1gj5neezBoR lj2yQHiUnP8= =JFG+ -----END PGP SIGNATURE-----
- Previous message: [Python-3000] raise with traceback?
- Next message: [Python-3000] Google Sprint Ideas
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]