Fernando Perez <fperez....@gmail.com> writes:

> https://bugs.launchpad.net/ipython/+bug/349634
>
> is a really strange bug report we had from an ipython/pylab user on
> Windows.  I don't have the foggiest idea of how his opening of
> matplotlib with Tk under Windows could open a calendar.  

Wow, that's weird. Matplotlib bundles the dateutil library, which seems
to have some Windows-specific time-zone functionality - perhaps
something it does could trigger opening a calendar window?

One possible reason for weird stuff like this is the way Python searches
for modules. Say you have been experimenting with calendar stuff, and
have in your current directory (or somewhere on your search path) a file
named calendar.py. Then you import matplotlib, and matplotlib imports
dateutil.rrule, which in turn imports calendar... and your calendar.py
file gets executed, not the one shipped with Python.

-- 
Jouni K. Seppänen
http://www.iki.fi/jks


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to