On 06Aug2019 0959, Neil Schemenauer wrote:
Could PyPI and pip gain the ability to warn and even fix these
issues?  Having a warning from pip at install time could be better
than a warning at import time.  If linting was built into PyPI, we
could even do a census to see how many packages would be affected by
turning it into an error.

If the "generate .pyc" step is used, then it should trigger warnings at install time. Hopefully pip does not suppress these (nor treat them as fatal), though that would be one satisfactory way of hiding third-party warnings from end users. As Serhiy said, once the .pyc exists, you won't see this warning again.

Cheers,
Steve
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/ESLQDFXVNQRE2RV72V6GHTMBXRTI3M6B/

Reply via email to