#52 Circular dependency in imports in the ClientCookie module

closed-fixed
Waseem Daher
None
5
2008-07-12
2008-05-10
No

__init__.py in the ClientCookie module imports other files from that directory, but they in turn import the ClientCookie module. Which results in an error when the ClientCookie module is imported in libgmail. I was able to fix this problem by removing the imports of the ClienCookie module in _Debug.py, _ClientCookie.py, and _urllib2_support.py, and instead importing the files that they use in the same directory directly.

Discussion

  • Mark
    Mark
    2008-07-10

    Logged In: YES
    user_id=778329
    Originator: NO

    See [1962522]

     
  • Waseem Daher
    Waseem Daher
    2008-07-12

    Logged In: YES
    user_id=338872
    Originator: NO

    Fixed in CVS. Please check out the latest version; if it still doesn't work for you there, let us know.

     
  • Waseem Daher
    Waseem Daher
    2008-07-12

    • assigned_to: nobody --> wdaher
    • status: open --> closed-fixed