[Python-Dev] datetime.date.today() raises "AttributeError: time"

2008-11-16 Thread Tal Einat
For an unknown reason, datetime.date.today() began throwing a cryptic "AttributeError: time" exception. It took me a while to figure out that this was caused by an accidental overriding of the built-in 'time' module. Here's an example interactive session which shows the problem: [tal ~]$ touch ti

Re: [Python-Dev] datetime.date.today() raises "AttributeError: time"

2008-11-16 Thread Steve Holden
Tal Einat wrote: > For an unknown reason, datetime.date.today() began throwing a cryptic > "AttributeError: time" exception. It took me a while to figure out > that this was caused by an accidental overriding of the built-in > 'time' module. > > Here's an example interactive session which shows th

Re: [Python-Dev] datetime.date.today() raises "AttributeError: time"

2008-11-16 Thread Tal Einat
Steve Holden wrote: > Tal Einat wrote: >> It this desired behavior? >> >> At the very least the exception should be more detailed, perhaps to >> the point of suggesting the probable cause of the error (i.e. >> overriding the time module). >> > How is this different from any other case where you imp

Re: [Python-Dev] Summaries for Number 2008, First Half

2008-11-16 Thread Aahz
Thanks for getting back to this! On Sun, Nov 16, 2008, Calvin Spealman wrote: > > --- > Optionally using GMP to implement long if available > --- I'd combine the long optimization thread here -- I don'

Re: [Python-Dev] datetime.date.today() raises "AttributeError: time"

2008-11-16 Thread Guilherme Polo
On Sun, Nov 16, 2008 at 11:55 AM, Tal Einat <[EMAIL PROTECTED]> wrote: > Steve Holden wrote: >> Tal Einat wrote: >>> It this desired behavior? >>> >>> At the very least the exception should be more detailed, perhaps to >>> the point of suggesting the probable cause of the error (i.e. >>> overriding

[Python-Dev] How to read fonts in python

2008-11-16 Thread ganesh gajre
Hello to all, I am writing a program in python to convert Indic true type fonts in Unicode. I like to know is there any way to read the fonts and on the basis of that i can use map file to convert the font in unicode. Please help me. regards, Ginovation ___