Re: [Python-Dev] Documentation for ability to execute zipfiles directories

2008-05-18 Thread Frank Wierzbicki
On Tue, Mar 4, 2008 at 1:36 PM, A.M. Kuchling [EMAIL PROTECTED] wrote: On Tue, Mar 04, 2008 at 08:58:57AM -0500, Steve Holden wrote: While I hesitate to suggest a change of such magnitude, there's something to recommend the old IBM mainframe approach of separating out Principles of Operation

Re: [Python-Dev] Documentation for ability to execute zipfiles directories

2008-03-05 Thread Nick Coghlan
Georg Brandl wrote: Steve Holden schrieb: Paul Moore wrote: On 04/03/2008, Nick Coghlan [EMAIL PROTECTED] wrote: Do we need a new appendix to the tutorial which goes into detail about the CPython interpreter's command line options, environment variables and details on what can be executed?

Re: [Python-Dev] Documentation for ability to execute zipfiles directories

2008-03-05 Thread Georg Brandl
Nick Coghlan schrieb: Georg Brandl wrote: Steve Holden schrieb: Paul Moore wrote: On 04/03/2008, Nick Coghlan [EMAIL PROTECTED] wrote: Do we need a new appendix to the tutorial which goes into detail about the CPython interpreter's command line options, environment variables and details on

[Python-Dev] Documentation for ability to execute zipfiles directories

2008-03-04 Thread Nick Coghlan
A few months ago, 2.6 3.0 gained the ability to execute zipfiles and directories containing a __main__.py file (see [1] for details). The idea is that a whole application can be bundled into a zipfile containing a __main__.py module in its root directory, and then passed directly to the

Re: [Python-Dev] Documentation for ability to execute zipfiles directories

2008-03-04 Thread Paul Moore
On 04/03/2008, Nick Coghlan [EMAIL PROTECTED] wrote: Do we need a new appendix to the tutorial which goes into detail about the CPython interpreter's command line options, environment variables and details on what can be executed? There is a Python man page, which covers the command line

Re: [Python-Dev] Documentation for ability to execute zipfiles directories

2008-03-04 Thread Oleg Broytmann
On Tue, Mar 04, 2008 at 10:35:42PM +1000, Nick Coghlan wrote: not needing an explicit interpreter option makes it more shebang friendly Sorry, I missed something here. How does one combine a zipfile with a shebang script?! Oleg. -- Oleg Broytmannhttp://phd.pp.ru/

Re: [Python-Dev] Documentation for ability to execute zipfiles directories

2008-03-04 Thread Steve Holden
Paul Moore wrote: On 04/03/2008, Nick Coghlan [EMAIL PROTECTED] wrote: Do we need a new appendix to the tutorial which goes into detail about the CPython interpreter's command line options, environment variables and details on what can be executed? There is a Python man page, which covers

Re: [Python-Dev] Documentation for ability to execute zipfiles directories

2008-03-04 Thread Nick Coghlan
Oleg Broytmann wrote: On Tue, Mar 04, 2008 at 10:35:42PM +1000, Nick Coghlan wrote: not needing an explicit interpreter option makes it more shebang friendly Sorry, I missed something here. How does one combine a zipfile with a shebang script?! Very carefully ;) As a more helpful

Re: [Python-Dev] Documentation for ability to execute zipfiles directories

2008-03-04 Thread Oleg Broytmann
On Wed, Mar 05, 2008 at 12:14:04AM +1000, Nick Coghlan wrote: As a more helpful answer, the ZIP spec allows additional data to be included in the file before the ZIP header. A more common way of using this is to add a zip file on to the end of an ELF executable while still using normal

Re: [Python-Dev] Documentation for ability to execute zipfiles directories

2008-03-04 Thread Phillip J. Eby
At 05:40 PM 3/4/2008 +0300, Oleg Broytmann wrote: On Wed, Mar 05, 2008 at 12:14:04AM +1000, Nick Coghlan wrote: As a more helpful answer, the ZIP spec allows additional data to be included in the file before the ZIP header. A more common way of using this is to add a zip file on to the end

Re: [Python-Dev] Documentation for ability to execute zipfiles directories

2008-03-04 Thread A.M. Kuchling
On Tue, Mar 04, 2008 at 08:58:57AM -0500, Steve Holden wrote: While I hesitate to suggest a change of such magnitude, there's something to recommend the old IBM mainframe approach of separating out Principles of Operation (which would be the reference manuals, in Python's case the Language

Re: [Python-Dev] Documentation for ability to execute zipfiles directories

2008-03-04 Thread Georg Brandl
Steve Holden schrieb: Paul Moore wrote: On 04/03/2008, Nick Coghlan [EMAIL PROTECTED] wrote: Do we need a new appendix to the tutorial which goes into detail about the CPython interpreter's command line options, environment variables and details on what can be executed? There is a Python