Include 'audioop' in standard library. (#1623)

Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
This commit is contained in:
Ian Clester 2021-06-06 06:01:39 -04:00 committed by GitHub
parent 7384745fa4
commit 2ca25cd348
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 6 deletions

View File

@ -7,6 +7,7 @@
*static*
array arraymodule.c # array objects
audioop audioop.c # Operations on audio samples
math mathmodule.c _math.c # -lm # math library functions, e.g. sin()
cmath cmathmodule.c # complex math functions
_contextvars _contextvarsmodule.c

View File

@ -40,6 +40,8 @@ substitutions:
can be disabled with the `fullStdLib` parameter set to `false`.
All optional stdlib modules can then be loaded as needed with
{any}`pyodide.loadPackage`. {pr}`1543`
- The standard library module `audioop` is now included, making the `wave`,
`sndhdr`, `aifc`, and `sunau` modules usable. {pr}`1623`
### Python / JS type conversions

View File

@ -12,7 +12,6 @@
# - platform-specific: This is testing something about a particular platform
# that isn't relevant here
# - async: relies on async
# - audioop: Requires the audioop module
# - floating point: Failures caused by floating-point differences
# - threading: Failures due to lack of a threading implementation
# - subprocess: Failures caused by no subprocess module. Some of these are
@ -44,7 +43,7 @@ test__osx_support platform-specific
test__xxsubinterpreters
test_abc
test_abstract_numbers
test_aifc audioop
test_aifc
test_argparse crash-chrome
test_array
test_asdl_parser
@ -76,7 +75,7 @@ test_asyncio.test_windows_events
test_asyncio.test_windows_utils
test_asyncore bad ioctl syscall async
test_atexit
test_audioop audioop
test_audioop
test_audit subprocess
test_augassign
test_base64
@ -429,7 +428,7 @@ test_slice
test_smtpd
test_smtplib bad ioctl syscall 21537
test_smtpnet
test_sndhdr audioop
test_sndhdr
test_socket
test_socketserver
test_sort
@ -451,7 +450,7 @@ test_structmembers
test_structseq
test_subclassinit
test_subprocess
test_sunau audioop
test_sunau
test_sundry
test_super
test_support multiprocessing
@ -531,7 +530,7 @@ test_uuid subprocess
test_venv nonsense
test_wait3 threading
test_wait4 threading
test_wave audioop
test_wave
test_weakref threading
test_weakset
test_webbrowser replaced