[Pythonmac-SIG] argv_emulation for url open events

Brendan Simon (eTRIX) Brendan.Simon at eTRIX.com.au
Fri Aug 14 02:16:49 CEST 2009


argv emulation does not work for url open events.  eg. click on
webbrowser with link to "myurl:myinfo" does not put "myurl:myinfo" into
sys.argv.

I modified the py2app argv_emulation.py to support this and have
attached a patch.

Is there a py2app developer who could have a look at this, test, and
commit to the py2app source code so that it will be available in the
next release.
My python and Mac OS X skills are "raw" so please feel free to modify it
in any way to improve it :)

Thanks, Brendan.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: argv_emulation.py.url.patch
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20090814/0ce5e386/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Brendan_Simon.vcf
Type: text/x-vcard
Size: 267 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20090814/0ce5e386/attachment.vcf>


More information about the Pythonmac-SIG mailing list