[Python-checkins] r78303 - python/trunk/Doc/whatsnew/2.6.rst

Nick Coghlan ncoghlan at gmail.com
Mon Feb 22 22:12:27 CET 2010


andrew.kuchling wrote:
> +* Directories and zip archives containing a :file:`__main__.py` file
> + can now be executed directly by passing their name to the
> + interpreter. The directory or zip archive is automatically inserted
> + as the first entry in sys.path. (Suggestion and initial patch by
> + Andy Chu, subsequently revised by Phillip J. Eby and Nick Coghlan;
> + :issue:`1739468`.)
> +

Thanks for that! One item off my to-do list :)
Cheers,
Nick.
-- 
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
---------------------------------------------------------------


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /