[Python-Dev] Getting Set Up doc now online

2008-11-14 Thread Brett Cannon
The Setup doc I sent to the list a little while back has now been put online at http://www.python.org/dev/setup/ . I also fleshed out the dev FAQ so that technical details are all in there while the Setup doc just outlines basically key points. -Brett __

Re: [Python-Dev] datetime and timedelta enhancement

2008-11-14 Thread Victor Stinner
Le Saturday 15 November 2008 02:01:42 Victor Stinner, vous avez écrit : > > 1- convert a datetime object to an epoch value (numbers of seconds since > >the 1st january 1970), eg. with a new totimestamp() method > > 2- convert a timedelta to a specific unit (eg. seconds, days, weeks, > > etc.) >

Re: [Python-Dev] datetime and timedelta enhancement

2008-11-14 Thread Victor Stinner
> 1- convert a datetime object to an epoch value (numbers of seconds since >the 1st january 1970), eg. with a new totimestamp() method > 2- convert a timedelta to a specific unit (eg. seconds, days, weeks, etc.) Another solution is proposed by Christian Heimes: "implement __int__ and __float__

Re: [Python-Dev] datetime and timedelta enhancement

2008-11-14 Thread Victor Stinner
> datetime.totimestamp() can be implemented to produce a float in range > [-2**31; 2**31-1] An implementation of this method is proposed as a patch in issue #2736. -- Victor Stinner aka haypo http://www.haypocalc.com/blog/ ___ Python-Dev mailing list P

[Python-Dev] datetime and timedelta enhancement

2008-11-14 Thread Victor Stinner
Hi, There are some interresting tickets about the datetime module: #1673409: datetime module missing some important methods #1083: Confusing error message when dividing timedelta using / #2706: datetime: define division timedelta/timedelta #4291: Allow Division of datetime.timedelta Objects Wante

Re: [Python-Dev] compiler optimizations: collecting ideas

2008-11-14 Thread average
"Daniel Furrer" <[EMAIL PROTECTED]> wrote: > As part of an advanced compiler design course at our university (ETH > Zurich), we have to implement an optimization (or various thereof). > I've spoken with a couple of people who are, like me, very fascinated by > Python. > So I would just like to ask

Re: [Python-Dev] compiler optimizations: collecting ideas

2008-11-14 Thread Stefan Behnel
Daniel Furrer wrote: > As part of an advanced compiler design course at our university (ETH > Zurich), we have to implement an optimization (or various thereof). > I've spoken with a couple of people who are, like me, very fascinated by > Python. > So I would just like to ask if somebody has any id

Re: [Python-Dev] compiler optimizations: collecting ideas

2008-11-14 Thread Stefan Behnel
Steven D'Aprano wrote: > On Sat, 15 Nov 2008 01:27:54 am Daniel Furrer wrote: > [snip] >> We're looking for: >> - Hints as to which python compiler would be best to work on. (The >> official Python compiler package seems very nice to work with >> actually...) - If there are any requests in the area

[Python-Dev] Summary of Python tracker Issues

2008-11-14 Thread Python tracker
ACTIVITY SUMMARY (11/07/08 - 11/14/08) Python tracker at http://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue number. Do NOT respond to this message. 2179 open (+31) / 13969 closed (+15) / 16148 total (+46) Open issues with patches: 716 Average

Re: [Python-Dev] compiler optimizations: collecting ideas

2008-11-14 Thread Nick Coghlan
Daniel Furrer wrote: > Hello everybody, > > As part of an advanced compiler design course at our university (ETH > Zurich), we have to implement an optimization (or various thereof). > I've spoken with a couple of people who are, like me, very fascinated by > Python. > So I would just like to ask

Re: [Python-Dev] compiler optimizations: collecting ideas

2008-11-14 Thread Steven D'Aprano
On Sat, 15 Nov 2008 01:27:54 am Daniel Furrer wrote: [snip] > We're looking for: > - Hints as to which python compiler would be best to work on. (The > official Python compiler package seems very nice to work with > actually...) - If there are any requests in the area of optimization > that we coul

[Python-Dev] compiler optimizations: collecting ideas

2008-11-14 Thread Daniel Furrer
Hello everybody, As part of an advanced compiler design course at our university (ETH Zurich), we have to implement an optimization (or various thereof). I've spoken with a couple of people who are, like me, very fascinated by Python. So I would just like to ask if somebody has any ideas on what w