cpython/Python
Dino Viehland 9b6fec4651
bpo-39336: Allow packages to not let their child modules be set on them (#18006)
* bpo-39336: Allow setattr to fail on modules which aren't assignable

When attaching a child module to a package if the object in sys.modules raises an AttributeError (e.g. because it is immutable) it causes the whole import to fail.  This now allows immutable packages to exist and an ImportWarning is reported and the AttributeError exception is ignored.
2020-01-22 16:42:38 -08:00
..
clinic Shorter docstring (GH-16322) 2019-09-21 12:57:44 -07:00
_warnings.c bpo-38644: Add _PyObject_Call() (GH-17089) 2019-11-14 13:36:21 +01:00
asdl.c replace PY_SIZE_MAX with SIZE_MAX 2016-09-07 09:26:18 -07:00
ast.c bpo-39235: Fix end location for genexp in call args (GH-17925) 2020-01-09 11:18:47 -08:00
ast_opt.c Fix constant folding optimization for positional only arguments (GH-17837) 2020-01-05 17:03:56 +00:00
ast_unparse.c bpo-37050: Remove expr_text from FormattedValue ast node, use Constant node instead (GH-13597) 2019-05-27 15:31:52 -04:00
bltinmodule.c bpo-39200: Correct the error message for min/max builtin function (GH-17814) 2020-01-10 17:31:43 +01:00
bootstrap_hash.c Fix typos in comments, docs and test names (#15018) 2019-07-30 18:16:13 -04:00
ceval.c bpo-39048: Look up __aenter__ before __aexit__ in async with (GH-17609) 2020-01-14 21:58:29 +10:00
ceval_gil.h Revert "bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (gh-13714)" (GH-13780) 2019-06-03 18:14:24 +02:00
codecs.c bpo-37751: Fix codecs.lookup() normalization (GH-15092) 2019-08-21 14:26:20 +01:00
compile.c Fix compiler warning on Windows (GH-18012) 2020-01-15 10:48:40 -06:00
condvar.h Typo fix: "throuhgh" should be "through". (GH-16704) 2019-10-10 20:43:13 -07:00
context.c bpo-38979: fix ContextVar "__class_getitem__" method (GH-17497) 2019-12-08 03:35:59 -08:00
dtoa.c bpo-36262: Fix _Py_dg_strtod() memory leak (goto undfl) (GH-12276) 2019-03-13 17:55:01 +01:00
dup2.c bpo-32150: Expand tabs to spaces in C files. (#4583) 2017-11-28 17:56:10 +02:00
dynamic_annotations.c bpo-32241: Add the const qualifire to declarations of umodifiable strings. (#4748) 2017-12-12 13:55:04 +02:00
dynload_aix.c bpo-37752: Delete redundant Py_CHARMASK in normalizestring() (GH-15095) 2019-09-10 17:04:08 +01:00
dynload_dl.c
dynload_hpux.c bpo-36900: Fix compilation on HP-UX (GH-13614) 2019-05-28 12:24:00 +02:00
dynload_shlib.c bpo-36722: Debug build loads libraries built in release mode (GH-12952) 2019-04-26 01:40:00 +02:00
dynload_stub.c
dynload_win.c bpo-36266: Add module name in ImportError when DLL not found on Windows (GH-15180) 2019-08-17 13:50:39 -07:00
errors.c bpo-39164: Fix compiler warning in PyErr_GetExcInfo() (GH-18010) 2020-01-15 11:23:25 +01:00
fileutils.c bpo-38353: Add subfunctions to getpath.c (GH-16572) 2019-10-04 02:22:39 +02:00
formatter_unicode.c Fix typo in formatter_unicode (GH-16831) 2019-10-25 09:44:02 -07:00
frozen.c bpo-36540: PEP 570 -- Implementation (GH-12701) 2019-04-29 13:36:57 +01:00
frozenmain.c bpo-38304: PyConfig_InitPythonConfig() cannot fail anymore (GH-16509) 2019-10-01 12:06:16 +02:00
future.c bpo-34683: Make SyntaxError column offsets consistently 1-indexed (gh-9338) 2018-09-24 14:12:49 -07:00
getargs.c bpo-39028: Performance enhancement in keyword extraction (GH-17576) 2019-12-18 15:51:22 +09:00
getcompiler.c closes bpo-31696: don't mention GCC in sys.version when building with clang (#3891) 2017-10-05 21:15:14 -07:00
getcopyright.c Bring Python into the next decade. (GH-17801) 2020-01-02 18:56:34 -08:00
getopt.c Delete stale comment in Python/getopt.c. (GH-14719) 2019-08-19 18:35:13 -07:00
getplatform.c bpo-32150: Expand tabs to spaces in C files. (#4583) 2017-11-28 17:56:10 +02:00
getversion.c bpo-32150: Expand tabs to spaces in C files. (#4583) 2017-11-28 17:56:10 +02:00
graminit.c bpo-11410: Standardize and use symbol visibility attributes across POSIX and Windows. (GH-16347) 2019-10-15 08:26:12 +01:00
hamt.c closes bpo-37446: resolve undefined behavior in Python/hamt.c (GH-17727) 2019-12-30 18:31:52 -08:00
import.c bpo-38858: new_interpreter() reuses pycore_init_builtins() (GH-17351) 2019-11-22 19:24:49 +01:00
importdl.c bpo-36842: Implement PEP 578 (GH-12613) 2019-05-23 08:45:22 -07:00
importdl.h
importlib.h bpo-39336: Allow packages to not let their child modules be set on them (#18006) 2020-01-22 16:42:38 -08:00
importlib_external.h bpo-39156: Break up COMPARE_OP into four logically distinct opcodes. (GH-17754) 2020-01-14 10:12:45 +00:00
importlib_zipimport.h bpo-39156: Break up COMPARE_OP into four logically distinct opcodes. (GH-17754) 2020-01-14 10:12:45 +00:00
initconfig.c Add PYTHONUTF8 to commandline usage. (GH-17587) 2019-12-14 14:27:32 +09:00
makeopcodetargets.py makeopcodetargets.py: we need to import Lib/opcode.py 2016-03-26 01:04:37 +01:00
marshal.c bpo-38823: Fix refleak in marshal init error path (GH-17260) 2019-11-20 01:59:32 +01:00
modsupport.c bpo-36381: warn when no PY_SSIZE_T_CLEAN defined (GH-12473) 2019-03-23 21:04:40 +09:00
mysnprintf.c
mystrtoul.c bpo-37752: Delete redundant Py_CHARMASK in normalizestring() (GH-15095) 2019-09-10 17:04:08 +01:00
opcode_targets.h bpo-39156: Break up COMPARE_OP into four logically distinct opcodes. (GH-17754) 2020-01-14 10:12:45 +00:00
pathconfig.c bpo-39270: Remove dead assignment from config_init_module_search_paths (GH-17914) 2020-01-09 10:14:11 +01:00
peephole.c bpo-39156: Break up COMPARE_OP into four logically distinct opcodes. (GH-17754) 2020-01-14 10:12:45 +00:00
preconfig.c bpo-38304: Remove PyConfig.struct_size (GH-16500) (GH-16508) 2019-10-01 10:56:37 +02:00
pyarena.c bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264) 2019-03-13 22:59:55 +02:00
pyctype.c
pyfpe.c bpo-29137: Remove fpectl module (#4789) 2018-01-05 23:15:34 -08:00
pyhash.c bpo-31849: Fix warning in pyhash.c (GH-6799) 2018-06-04 19:57:08 +09:00
pylifecycle.c bpo-38644: Pass tstate to _Py_FinishPendingCalls() (GH-17990) 2020-01-13 18:46:59 +01:00
pymath.c bpo-31031: Unify duplicate bits_in_digit and bit_length (GH-2866) 2020-01-16 15:09:19 +01:00
pystate.c bpo-38858: _PyImport_FixupExtensionObject() handles subinterpreters (GH-17350) 2019-11-22 18:52:27 +01:00
pystrcmp.c
pystrhex.c Fix unused variable and signed/unsigned warnings (GH-15537) 2019-08-27 09:55:13 -07:00
pystrtod.c bpo-38835: Don't use PyFPE_START_PROTECT and PyFPE_END_PROTECT (GH-17231) 2019-11-20 02:51:30 +01:00
Python-ast.c closes bpo-38648: Remove double tp_free slot in Python-ast.c. (GH-17002) 2019-10-30 18:08:06 -07:00
pythonrun.c bpo-38920: Add audit hooks for when sys.excepthook and sys.unraisable hooks are invoked (GH-17392) 2019-11-28 08:46:11 -08:00
pytime.c bpo-38068: Clean up gettimeofday configure logic. (GH-15775) 2019-09-10 03:37:59 -07:00
README
strdup.c bpo-36623: Clean parser headers and include files (GH-12253) 2019-04-13 17:05:14 +01:00
structmember.c Added the const qualifier to char* variables that refer to readonly internal 2016-11-20 10:16:47 +02:00
symtable.c Fix SystemError when nested function has annotation on positional-only argument (GH-17826) 2020-01-05 01:57:21 +00:00
sysmodule.c bpo-39008: Require Py_ssize_t for PySys_Audit formats rather than raise a deprecation warning (GH-17540) 2019-12-09 11:05:39 -08:00
thread.c bpo-38096: Clean up the "struct sequence" / "named tuple" docs (GH-15895) 2019-09-11 15:17:32 +01:00
thread_nt.h bpo-36084: Add native thread ID (TID) to threading.Thread (GH-13463) 2019-05-22 17:43:16 +02:00
thread_pthread.h bpo-38852: Set thread stack size to 8 Mb for debug builds on android platforms (GH-17337) 2019-12-08 08:40:14 +01:00
traceback.c bpo-38070: _Py_DumpTraceback() writes <no Python frame> (GH-16244) 2019-09-17 23:36:16 +02:00
wordcode_helpers.h bpo-31338 (#3374) 2017-09-14 18:13:16 -07:00

Miscellaneous source files for the main Python shared library