Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] PEP,take 2: Exception Reorganization for Python 3.0

Raymond Hettingerpython at rcn.com
Wed Aug 3 03:02:55 CEST 2005


The Py3.0 PEPs are a bit disconcerting.  Without 3.0 actively indevelopment, it is difficult to get the participation, interest, andseriousness of thought that we apply to the current release.  The PEPsmay have the effect of prematurely finalizing discussions on somethingthat still has an ethereal if not pie-in-the-sky quality to it.  I wouldhate for 3.0 development to start with constraints that got set in stonebefore the project became a reality.With respect to exception re-organization, the conversation has beenthought provoking but a little too much of a design-from-scratchquality.  Each proposed change needs to be rooted in a specific problemwith the current hierarchy (i.e. what use cases cannot currently bedealt with under the existing tree).  Setting a high threshold forchange will increase the likelihood that old code can be easily portedand decrease the likelihood of either throwing away previous gooddecisions or adopting new ideas that later prove unworkable.  IOW,unless the current tree is thought to be really bad, then the new treeought to be very close to what we have now.Raymond> -----Original Message-----> From: python-dev-bounces+python=rcn.com at python.org [mailto:python-dev-> bounces+python=rcn.com at python.org] On Behalf Of Brett Cannon> Sent: Tuesday, August 02, 2005 8:34 PM> To: Python Dev> Subject: [Python-Dev] PEP, take 2: Exception Reorganization for Python3.0>> OK, having taken in all of the suggestions, here is another revision> round.  I think I still have a place or two I partially ignored people> just because there was not a severe uproar and I still think the> original idea is good (renaming RuntimeError, for instance).  I also> added notes on handling the transition and rejected idea.>> There is now only one open issue, which is whether> ControlFlowException should be removed.>> And I am still waiting on a PEP number to be able to check this into> CVS and push me to flesh out the references.  =)


More information about the Python-Devmailing list

[8]ページ先頭

©2009-2025 Movatter.jp