Re: [Python-Dev] PEP: __source__ proposal

2004-12-05 Thread bearophile
(I answer here because I'm still not at easy on python-dev) It looks like an interesting feature. I think most LOGOs allows something similar (or better, with a cleaner syntax). The shells of many versions of this language keep a "pool" of functions defined with "to" into a kind of database, so you

Re: [Python-Dev] PEP: __source__ proposal

2004-12-04 Thread Nick Coghlan
John Roth wrote: I don't see enough here to make a very intelligent comment, so I'll risk it and make what might be a rather uninformed comment. This was a misdirected reply on my part - the rest of the discussion can be found in the python-dev archives on python.org or gmane. I think your commen

Re: [Python-Dev] PEP: __source__ proposal

2004-12-04 Thread John Roth
"Nick Coghlan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Stelios Xanthakis wrote: It appears that there are the 'module people' who find this feature irrelevant. Indeed. If we are interested in distributing modules and increasing the number of people who use python programs,then

Re: [Python-Dev] PEP: __source__ proposal

2004-12-04 Thread Nick Coghlan
Stelios Xanthakis wrote: It appears that there are the 'module people' who find this feature irrelevant. Indeed. If we are interested in distributing modules and increasing the number of people who use python programs,then __source__ is redundant. OTOH, programming python is easy and fun and I thi