Re: [Python-3000] how about switching to a preprocessor? (Re: A better way to initialize PyTypeObject)

2006-12-15 Thread Fernando Perez
Greg Ewing wrote: > Does anyone have any recommendations for a site > to host the repository? I'd really like to avoid > SourceForge if possible, as it makes me cringe > every time I go there -- cluttered pages, slow > response, way too complicated UI. You could contact Enthought: http://enthoug

Re: [Python-3000] callable()

2006-07-18 Thread Fernando Perez
Greg Ewing wrote: > For that purpose, hasattr(obj, '__call__') is sufficient, > I think. And if it's not, the API you're trying to > implement is ill-conceived in the first place, just like > testing for sequenceness is not a well-defined operation. I should add that for ipython's purposes, it se

Re: [Python-3000] callable()

2006-07-17 Thread Fernando Perez
Calvin Spealman wrote: > I second that removal of callable() would be a bad idea. There are too > many cases where it is not feasable to "just call the object and catch the > exception". In the cases where the call would not happen until later than > the test for callability, it would require then

Re: [Python-3000] stdlib reorganization

2006-05-31 Thread Fernando Perez
Fred L. Drake, Jr. wrote: > On Wednesday 31 May 2006 01:49, Ronald Oussoren wrote: > > I can understand the wish for a toplevel package that contains the > > stdlib, although I don't think I agree with that. > > I understand it, and mostly wish for it at this point, though I think the > name re