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 pitrou
Recipients blokeley, pitrou, r.david.murray, terry.reedy
Date 2011-03-04.22:04:11
SpamBayes Score 0.02282105
Marked as misclassified No
Message-id <1299276252.65.0.329449747741.issue11344@psf.upfronthosting.co.za>
In-reply-to
Content
As for use cases, I have used it quite commonly in test scripts in order to find out the base directory of the source tree (and/or other resources such as data files).

e.g.:

basepath = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
History
Date User Action Args
2011-03-04 22:04:12pitrousetrecipients: + pitrou, terry.reedy, r.david.murray, blokeley
2011-03-04 22:04:12pitrousetmessageid: <1299276252.65.0.329449747741.issue11344@psf.upfronthosting.co.za>
2011-03-04 22:04:11pitroulinkissue11344 messages
2011-03-04 22:04:11pitroucreate