Le Tue, 19 Mar 2013 03:00:45 -0700, Larry Hastings <la...@hastings.org> a écrit : > > As for handling optional argument groups, my gut feeling is that > we're better off not leaking it out of Argument Clinic--don't expose > it in this string we're talking about, and don't add support for it > in the inspect.Parameter object. I'm not going to debate range(), > the syntax of which predates one of our release managers. But I > suggest option groups are simply a misfeature of the curses module. > There are some other possible uses in builtins (I forgot to dig those > out this evening) but so far we're talking adding complexity to an > array of technologies (this representation, the parser, the Parameter > object) to support a handful of uses of something we shouldn't have > done in the first place, for consumers who I think won't care and > won't appreciate the added conceptual complexity.
Agreed with Larry. Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com