mirror of
https://github.com/python/cpython.git
synced 2025-08-05 09:28:41 +00:00

The fact that this was failing and went unnoticed so long seems like a good argument for being able to enable and disble py3kwarnings through Python.
31 lines
782 B
Python
31 lines
782 B
Python
"""
|
|
Manually generated suite used as base class for StdSuites Required and Standard
|
|
suites. This is needed because the events and enums in this suite belong
|
|
in the Required suite according to the Apple docs, but they often seem to be
|
|
in the Standard suite.
|
|
"""
|
|
|
|
from warnings import warnpy3k
|
|
warnpy3k("In 3.x, the _builtinSuites module is removed.", stacklevel=2)
|
|
|
|
import aetools
|
|
import builtin_Suite
|
|
|
|
|
|
_code_to_module = {
|
|
'reqd' : builtin_Suite,
|
|
'core' : builtin_Suite,
|
|
}
|
|
|
|
|
|
|
|
_code_to_fullname = {
|
|
'reqd' : ('_builtinSuites.builtin_Suite', 'builtin_Suite'),
|
|
'core' : ('_builtinSuites.builtin_Suite', 'builtin_Suite'),
|
|
}
|
|
|
|
from builtin_Suite import *
|
|
|
|
class _builtinSuites(builtin_Suite_Events,
|
|
aetools.TalkTo):
|
|
_signature = 'ascr'
|