This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yilei
Recipients Devin Jeanpierre, gregory.p.smith, python-dev, r.david.murray, vinay.sajip, yilei
Date 2017-11-11.00:17:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510359445.45.0.213398074469.issue21149@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a minimal example:

main.py:
    from pkg_a import lib_a
pkg_a/__init__.py
pkg_a/lib_a.py
    import logging
    import sys
    import pkg_a  # This is important
    handler = logging.StreamHandler(sys.stderr)

It does not happen in Python 3 though (3.5.3 at least).
History
Date User Action Args
2017-11-11 00:17:25yileisetrecipients: + yilei, gregory.p.smith, vinay.sajip, Devin Jeanpierre, r.david.murray, python-dev
2017-11-11 00:17:25yileisetmessageid: <1510359445.45.0.213398074469.issue21149@psf.upfronthosting.co.za>
2017-11-11 00:17:25yileilinkissue21149 messages
2017-11-11 00:17:25yileicreate