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 barry
Recipients barry, brett.cannon, eric.snow
Date 2018-06-22.17:22:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1529688140.44.0.56676864532.issue33944@psf.upfronthosting.co.za>
In-reply-to
Content
pth files are evil.  They are very difficult to debug because they're processed too early.  They usually contain globs of inscrutable code.  Exceptions in pth files can get swallowed in some cases.  They are loaded in indeterminate order.

They are also unnecessary to support namespace packages in Python 3 (ignoring straddling code).

Let's start the process for removing them.

1. Deprecate pth files in Python 3.8 and turn them off with the -3 option.

2. Kill off pth file support once Python 2 is EOL'd.
History
Date User Action Args
2018-06-22 17:22:20barrysetrecipients: + barry, brett.cannon, eric.snow
2018-06-22 17:22:20barrysetmessageid: <1529688140.44.0.56676864532.issue33944@psf.upfronthosting.co.za>
2018-06-22 17:22:20barrylinkissue33944 messages
2018-06-22 17:22:20barrycreate