Move webbrowser.py into pyodide-py. ### Description

Moves our webbrowser.py stub into pyodide-py. It doesn't affect users, as pyodide-py is unpacked to /lib/python3.11/ during the initialization.

We won't need `pyodide.asm.data` anymore after we merge this and #3582.
From b82445488de21258ba2a72dfb0853eb1c6514658 Mon Sep 17 00:00:00 2001
From: casatir <romain.casati@basthon.fr>
Date: Mon, 12 Dec 2022 18:26:01 -0800
Subject: [PATCH 2/3] fix threading

threading.Timer is not yet supported in Pyodide.
---
 lib/matplotlib/font_manager.py | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/lib/matplotlib/font_manager.py b/lib/matplotlib/font_manager.py
index a5742ef88f..7eb183ab00 100644
--- a/lib/matplotlib/font_manager.py
+++ b/lib/matplotlib/font_manager.py
@@ -1093,10 +1093,8 @@ class FontManager:
         self.afmlist = []
         self.ttflist = []
 
-        # Delay the warning by 5s.
-        timer = threading.Timer(5, lambda: _log.warning(
-            'Matplotlib is building the font cache; this may take a moment.'))
-        timer.start()
+        _log.warning(
+            'Matplotlib is building the font cache; this may take a moment.')
         try:
             for fontext in ["afm", "ttf"]:
                 for path in [*findSystemFonts(paths, fontext=fontext),
@@ -1109,7 +1107,7 @@ class FontManager:
                         _log.info("Failed to extract font properties from %s: "
                                   "%s", path, exc)
         finally:
-            timer.cancel()
+            pass
 
     def addfont(self, path):
         """
-- 
2.25.1


From b82445488de21258ba2a72dfb0853eb1c6514658 Mon Sep 17 00:00:00 2001
From: casatir <romain.casati@basthon.fr>
Date: Mon, 12 Dec 2022 18:26:01 -0800
Subject: [PATCH 2/3] fix threading

threading.Timer is not yet supported in Pyodide.
---
 lib/matplotlib/font_manager.py | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/lib/matplotlib/font_manager.py b/lib/matplotlib/font_manager.py
index a5742ef88f..7eb183ab00 100644
--- a/lib/matplotlib/font_manager.py
+++ b/lib/matplotlib/font_manager.py
@@ -1093,10 +1093,8 @@ class FontManager:
         self.afmlist = []
         self.ttflist = []
 
-        # Delay the warning by 5s.
-        timer = threading.Timer(5, lambda: _log.warning(
-            'Matplotlib is building the font cache; this may take a moment.'))
-        timer.start()
+        _log.warning(
+            'Matplotlib is building the font cache; this may take a moment.')
         try:
             for fontext in ["afm", "ttf"]:
                 for path in [*findSystemFonts(paths, fontext=fontext),
@@ -1109,7 +1107,7 @@ class FontManager:
                         _log.info("Failed to extract font properties from %s: "
                                   "%s", path, exc)
         finally:
-            timer.cancel()
+            pass
 
     def addfont(self, path):
         """
-- 
2.25.1

