New submission from Yoshihiro Nagano <y.nagano...@gmail.com>:

Hello.

I am using the webbrowser library in macOS and just found that only the 
MacOSXOSAScript object has `_name` property instead of `name.`
All of the other class, which is inherited from the BaseBrowser, has `name` 
property.
Are there any specific reasons for this API?
Or, are there any ways to access the name of the browser object independent 
from the browser type?

The corresponding implementation is shown below:
https://github.com/python/cpython/blob/4cb08b6c0ae6989d169dd48c2b24087941f6d0b0/Lib/webbrowser.py#L641-L643

Thank you.

----------
components: Library (Lib), macOS
messages: 355725
nosy: Yoshihiro Nagano, ned.deily, ronaldoussoren
priority: normal
severity: normal
status: open
title: Why only the MacOSXOSAScript in webbrowser does not have the name 
property?
type: behavior
versions: Python 2.7, Python 3.7

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

Reply via email to