Ronald Oussoren <ronaldousso...@mac.com> added the comment:

The patch somewhat works, in that it makes test_py3kwarn pass but I'd add more 
filterwarning calls:

        filterwarnings("ignore", ".*the icglue module is removed",
            DeprecationWarning)
        filterwarnings("ignore", ".*the MacOS module is removed",
            DeprecationWarning)
        filterwarnings("ignore", ".*the macostools module is removed",
            DeprecationWarning)

This ensures that importing webbrowser won't trigger py3k warnings.
 
It is probably safe to remove the import of 'ic' and related code the block 
with guard "if sys.platform == 'darwin'" just below that overrides the IC based 
browser detection by one that doesn't use IC (that one is added to the front of 
the search list, which means the IC one never gets used).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8446>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to