Skip to content

Commit 7781033

Browse files
committed
gh-137586: Document MacOSXOSAScript deprecation in webbrowser docs
1 parent f697cd5 commit 7781033

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Doc/library/webbrowser.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,13 @@ Notes:
205205
(4)
206206
Only on iOS.
207207

208+
.. deprecated:: 3.14
209+
:class:`!MacOSXOSAScript` is deprecated in favour of :class:`!MacOSX`.
210+
Using :program:`/usr/bin/open` instead of :program:`osascript` is a
211+
security and usability improvement: :program:`osascript` may be blocked
212+
on managed systems due to its abuse potential as a general-purpose
213+
scripting interpreter.
214+
208215
.. versionadded:: 3.2
209216
A new :class:`!MacOSXOSAScript` class has been added
210217
and is used on Mac instead of the previous :class:`!MacOSX` class.

0 commit comments

Comments
 (0)