Re: [Python-Dev] Think a dead import finding script would be handy?

2008-08-17 Thread Neal Norwitz
On Sun, Aug 17, 2008 at 3:04 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: > On Sun, Aug 17, 2008 at 1:40 PM, Georg Brandl <[EMAIL PROTECTED]> wrote: >> Brett Cannon schrieb: >>> After Christian mentioned how we could speed up interpreter start-up >>> by removing some dead imports he found, I decided

Re: [Python-Dev] Think a dead import finding script would be handy?

2008-08-17 Thread Jean-Paul Calderone
On Sun, 17 Aug 2008 15:04:58 -0700, Brett Cannon <[EMAIL PROTECTED]> wrote: On Sun, Aug 17, 2008 at 1:40 PM, Georg Brandl <[EMAIL PROTECTED]> wrote: Brett Cannon schrieb: After Christian mentioned how we could speed up interpreter start-up by removing some dead imports he found, I decided to wr

Re: [Python-Dev] Think a dead import finding script would be handy?

2008-08-17 Thread Brett Cannon
On Sun, Aug 17, 2008 at 1:40 PM, Georg Brandl <[EMAIL PROTECTED]> wrote: > Brett Cannon schrieb: >> After Christian mentioned how we could speed up interpreter start-up >> by removing some dead imports he found, I decided to write up a quick >> script that generates the AST for a source file and (v

Re: [Python-Dev] Think a dead import finding script would be handy?

2008-08-17 Thread Christian Heimes
Brett Cannon wrote: After Christian mentioned how we could speed up interpreter start-up by removing some dead imports he found, I decided to write up a quick script that generates the AST for a source file and (very roughly) tries to find imports that are never used. People think it's worth toss

[Python-Dev] PEP-3121 and PyType_Copy

2008-08-17 Thread Paul Pogonyshev
Hi, In the mailing list archive I see a message that this PEP was implemented, dated June 10. However, while everything else PEP describes does seem to be in SVN, I cannot find PyType_Copy(). Is this function still planned for Python 3000, or are there any simple alternatives? Or are modules jus

[Python-Dev] no-op symtable methods

2008-08-17 Thread Benjamin Peterson
I've been working on getting the symtable module back in working order. However, there are some methods that aren't functioning as they advertise because of changes in the compiler internally. I doubt that any cares or has noticed because I think it's been broken for several releases now. :) Thes

Re: [Python-Dev] Think a dead import finding script would be handy?

2008-08-17 Thread Georg Brandl
Brett Cannon schrieb: > After Christian mentioned how we could speed up interpreter start-up > by removing some dead imports he found, I decided to write up a quick > script that generates the AST for a source file and (very roughly) > tries to find imports that are never used. People think it's wo

[Python-Dev] Think a dead import finding script would be handy?

2008-08-17 Thread Brett Cannon
After Christian mentioned how we could speed up interpreter start-up by removing some dead imports he found, I decided to write up a quick script that generates the AST for a source file and (very roughly) tries to find imports that are never used. People think it's worth tossing into Tools, even i

Re: [Python-Dev] A Testing language Construct that could also be a Distributed programming construct - How can this be done in Python

2008-08-17 Thread Brett Cannon
This is the wrong mailing list to ask this question; python-dev is for discussing the design of the language. General help questions should go to comp.lang.python. On Sun, Aug 17, 2008 at 3:52 AM, Saravanan Shanmugham (sarvi) <[EMAIL PROTECTED]> wrote: > I am using Python as a test language and wo

[Python-Dev] A Testing language Construct that could also be a Distributed programming construct - How can this be done in Python

2008-08-17 Thread Saravanan Shanmugham (sarvi)
I am using Python as a test language and wondering how best to represent what is shown below in TTCN-3 TTCN-3, a testing domain specific language has a construct that looks like below Its trying to send a request and define 3 alternative outcomes/events. web_port.send("http://www.googe.com/";)