[Python-Dev] Use Python 3.0 syntax for except and raise?
Jeffrey Yasskin
jyasskin at gmail.com
Sun Feb 17 18:46:55 CET 2008
More information about the Python-Dev mailing list
Sun Feb 17 18:46:55 CET 2008
- Previous message: [Python-Dev] Use Python 3.0 syntax for except and raise?
- Next message: [Python-Dev] Use Python 3.0 syntax for except and raise?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Sounds good to me. Along those lines, shall we work on fixing warnings that -3 raises in the regression test suite? On Feb 17, 2008 8:57 AM, Christian Heimes <lists at cheimes.de> wrote: > Good evening everybody! > > I like to run the 2to3 tool with raise and except fixers over the 2.6 > sources. The raise fixer changes "raise Exception, msg" to "raise > Exception(msg)" and the except fixer replaces "except Exception, err" by > "except Exception as err". In my humble opinion the Python stdlib should > give proper examples how write good code. > > During the migration period from the 2.x series to 3.x we have two > obvious ways to write code. Let's stick to the new and preferred way. > > Oh and please use the new syntax for patches, too. It makes my job with > svnmerge a little bit easier. > > Thanks! > > Christian > > _______________________________________________ > Python-Dev mailing list > Python-Dev at python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: http://mail.python.org/mailman/options/python-dev/jyasskin%40gmail.com > -- Namasté, Jeffrey Yasskin http://jeffrey.yasskin.info/
- Previous message: [Python-Dev] Use Python 3.0 syntax for except and raise?
- Next message: [Python-Dev] Use Python 3.0 syntax for except and raise?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list