On Wed, May 29, 2013 at 8:15 PM, Antonio Mignolli <[email protected]> wrote: > Hi people, is it possible something's wrong with type() function? > > I'm running bpython 0.11-1 (debian package). > > I was using the python-whois module.
Using Debian wheezy I get python-whois-0.6.4-2, which is apparently slightly different from your python-whois: it has no whois.whois function, but a presumably similar whois.query function. I don't see the problem you see with that one: w.expiration_date is a datetime using both interpreters. Can you reveal which version of python-whois you're using, and confirm it's imported from the same place in both interpreters (print "whois" (the module) in both, it'll include the path)? I'm ignoring IPython, but bpython and plain old python should normally do the same thing here. Thanks! -- Marien Zwart (marienz on freenode). -- You received this message because you are subscribed to the Google Groups "bpython" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/bpython?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
