Lib/tkinter/tix.py (23 lines): - line 525: # FIXME: It should inherit -superclass tixShell - line 576: # FIXME: It should inherit -superclass tixLabelWidget - line 620: # FIXME: It should inherit -superclass tixLabelWidget - line 651: # FIXME: It should inherit -superclass tixScrolledHList - line 673: # FIXME: It should inherit -superclass tixScrolledHList - line 745: # FIXME: It should inherit -superclass tixDialogShell - line 768: # FIXME: It should inherit -superclass tixDialogShell - line 816: # FIXME: It should inherit -superclass tixStdDialogShell - line 840: # FIXME: It should inherit -superclass tixLabelWidget - line 851: # FIXME: return python object - line 1175: # FIXME: This is dangerous to expose to be called on its own. - line 1258: # FIXME: It should inherit -superclass tixShell - line 1300: # FIXME: It should inherit -superclass tixScrolledWidget - line 1311: # FIXME: It should inherit -superclass tixScrolledWidget - line 1321: # FIXME: It should inherit -superclass tixScrolledWidget - line 1331: # FIXME: It should inherit -superclass tixScrolledWidget - line 1342: # FIXME: It should inherit -superclass tixScrolledWidget - line 1355: # FIXME: It should inherit -superclass tixLabelWidget - line 1387: # FIXME: It should inherit from Shell - line 1507: # FIXME: It should inherit -superclass tixScrolledWidget - line 1554: # FIXME: It should inherit -superclass tixTree - line 1766: # FIXME: It should inherit -superclass tixScrolledWidget - line 1942: # FIXME: It should inherit -superclass tixScrolledWidget Lib/compiler/static/types.py (11 lines): - line 225: # TODO uses of these to check if something is a CInt wrongly exclude literals - line 1609: # TODO: There's more checking we should be doing to ensure - line 1632: # TODO we could allow covariant type overrides for Final attributes - line 1780: # TODO: We can't compile w/ unknown bases - line 2422: # TODO: handle duplicate args and other weird stuff a-la - line 2454: # TODO: add support for this by implementing type constrained tuples - line 3671: # TODO currently this type (the type the bound method was accessed - line 5930: # TODO support multi-value literal types - line 5944: # TODO support more literal types - line 6110: # TODO this should be is_subtype_of once we split that from can_assign_from - line 6751: # TODO add CheckedList to SEQUENCE_SET so we can emit that instead Lib/idlelib/config.py (9 lines): - line 55: # TODO Use default as fallback, at least if not None - line 160: self.cfg = {} # TODO use to select userCfg vs defaultCfg - line 211: # TODO continue without userDIr instead of exit - line 307: # TODO copy theme from a class attribute. - line 438: if editor_only or shell_only: # TODO both True contradict - line 468: extName = extn # TODO return here? - line 545: # TODO (Ned?): the "Option" modifier does not work properly - line 581: # TODO make keyBindins a file or class attribute used for test above - line 877: # TODO Revise test output, write expanded unittest Programs/_testembed.c (9 lines): - line 422: /* FIXME: test Py_IgnoreEnvironmentFlag */ - line 459: /* FIXME: test Py_LegacyWindowsFSEncodingFlag */ - line 460: /* FIXME: test Py_LegacyWindowsStdioFlag */ - line 491: /* FIXME: test use_environment */ - line 510: /* FIXME: test dump_refs: bpo-34223 */ - line 548: /* FIXME: test pythonpath_env */ - line 549: /* FIXME: test home */ - line 550: /* FIXME: test path config: module_search_path .. dll_path */ - line 573: /* FIXME: test parser_debug */ Python/classloader.c (6 lines): - line 1400: /* TODO: This can probably be a lot more efficient. If a type - line 2292: // TODO: It might be possible to avoid the type-check in this situation, because while `tp` was patched, - line 2562: /* TODO: Non-type objects in mro? */ - line 2563: /* TODO: Multiple inheritance */ - line 3039: /* TODO: Should we gracefully handle when there are two - line 3451: /* TODO: Should we gracefully handle when there are two Objects/dictobject.c (5 lines): - line 1553: * TODO: Try reusing oldkeys when reimplement odict. - line 2187: /* TODO: for correctness, we should update here new_value - line 4370: /* TODO: for correctness, we should update here new_value - line 4494: /* TODO: for correctness, we should update here new_value - line 4630: /* TODO: for correctness, we should update here new_value Lib/compiler/static/type_binder.py (5 lines): - line 171: # TODO: What about del's? - line 574: # TODO this logic will be inadequate if we support metaclasses - line 681: # TODO: We should walk into the tuple/list and use it to infer - line 1577: # TODO today it should not be possible to hit this case, but in - line 1653: # TODO probably MethodType should itself be a Callable Makefile.pre.in (5 lines): - line 713: @ # FIXME: can't run for a cross build - line 1620: # TODO re-enable when it doesn't crash on exit - line 1626: # TODO re-enable when it doesn't crash on exit - line 1632: # TODO re-enable when it doesn't crash on exit - line 1638: # TODO re-enable when it doesn't crash on exit Lib/xml/etree/ElementPath.py (4 lines): - line 215: # FIXME: raise error if .. is applied at toplevel? - line 227: # FIXME: replace with real parser!!! refs: - line 314: # FIXME: what if the selector is "*" ? - line 347: path = path + "*" # implicit all (FIXME: keep this?) Modules/_json.c (4 lines): - line 1604: /* TODO: DOES NOT RUN */ - line 1697: /* TODO DOES NOT RUN; dead code - line 1763: /* TODO: DOES NOT RUN */ - line 1786: /* TODO: DOES NOT RUN Modules/_io/bufferedio.c (4 lines): - line 663: /* TODO: sanity check (err->written >= 0) */ - line 1206: /* TODO: sanity check (pos >= 0) */ - line 1289: /* TODO: align on block boundary and read buffer if needed? */ - line 2044: /* TODO: sanity check (remaining >= 0) */ Lib/compiler/symbols.py (3 lines): - line 381: # TODO: this may be not correct, check. - line 476: # Set parent ASAP. TODO: Probably makes sense to do that for - line 596: # TODO: Check that var exists in outer scope Lib/xmlrpc/client.py (3 lines): - line 493: # FIXME: the xml-rpc specification allows us to leave out - line 666: # FIXME: assert standalone == 1 ??? - line 1356: # FIXME: mostly untested Tools/scripts/ir_viz/viz.html.in (3 lines): - line 575: // TODO: Implement smarter auto-zoom using the viewBox attribute - line 707: // TODO: scale the graph with the viewBox attribute. - line 1301: Lib/tkinter/__init__.py (3 lines): - line 442: # TODO: Add deprecation warning - line 458: # TODO: Add deprecation warning - line 477: # TODO: Add deprecation warning Lib/statistics.py (3 lines): - line 176: # FIXME is this faster if we sum them in order of the denominator? - line 260: # FIXME: what do we do if this overflows? - line 413: # FIXME: investigate ways to calculate medians without sorting? Quickselect? Jit/lir/regalloc.cpp (3 lines): - line 1034: // TODO: Fix HIR generator to avoid generating unused output/variables. - line 1301: // TODO (tiansi): In future optimizations, we can consider a way of - line 1413: // TODO (tiansi): in the (near) future, we need to move the code Lib/idlelib/idle_test/htest.py (3 lines): - line 84: # TODO implement ^\; adding '' to function does not work. - line 138: # TODO Improve message - line 147: # TODO edit wrapper Lib/compiler/readonly/type_binder.py (3 lines): - line 58: # TODO: allow different readonliness for same name - line 758: # TODO: Proactively check if property is readonly on self - line 1052: # TODO: We may want to automatically assign readonliness to defaults Jit/lir/postalloc.cpp (3 lines): - line 639: // TODO (tiansi): it is sufficient to only check output here, because all - line 1072: // TODO: do not optimize for yield for now. They need to be special cased. - line 1128: // TODO: for now, we always clear the cache when we hit an instruction Tools/scripts/jit_test_runner.py (3 lines): - line 131: # TODO: Add link to fdb documentation - line 276: # TODO: Add link to fdb documentation - line 504: # TODO: Add link to fdb documentation Modules/_winapi.c (3 lines): - line 749: PyErr_Clear(); /* FIXME: propagate error? */ - line 765: PyErr_Clear(); /* FIXME: propagate error? */ - line 958: PyErr_Clear(); /* FIXME: propagate error? */ Lib/xml/etree/ElementTree.py (2 lines): - line 863: # FIXME: can this be handled in XML 1.0? - line 987: # FIXME: handle boolean attributes Modules/_posixsubprocess.c (2 lines): - line 199: * safe. TODO - Someone should audit OpenBSD to make sure. */ - line 512: /* TODO HP-UX could use pstat_getproc() if anyone cares about it. */ Lib/types.py (2 lines): - line 208: # TODO: Implement this in C. - line 263: # TODO: Implement this in C. Python/sysmodule.c (2 lines): - line 2322: /* PEP432 TODO: we can reach this if warnoptions is NULL in the main - line 2412: /* PEP432 TODO: we can reach this if xoptions is NULL in the main Jit/lir/generator.cpp (2 lines): - line 1184: // TODO support constant operand to Return - line 2139: // TODO: We could support more array types here, or in general Lib/xml/sax/expatreader.py (2 lines): - line 220: # FIXME: when to invoke error()? - line 422: return 0 # FIXME: save error info here? Experiments/icepack/pyice.py (2 lines): - line 527: # TODO: Fixme - line 689: # TODO: Consider the order of serialization. Currently we're doing Lib/compiler/static/module_table.py (2 lines): - line 118: # TODO until we support runtime checking of unions, we must for - line 178: # TODO: final constants should be typed to literals, and Mac/BuildScript/build-installer.py (2 lines): - line 30: TODO: - line 1302: # TODO: make this more robust! test_sysconfig_module of Jit/hir/builder.cpp (2 lines): - line 1071: // TODO add preloader_.returnType() to Return instr here to validate - line 3217: // TODO: The manual type checks and branches should go away once we get Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp (2 lines): - line 327: // TODO: Check whether directory exists and contains another installation - line 2339: // TODO: This doesn't work Python/ast_opt.c (2 lines): - line 319: /* TODO: handle other types of slices */ - line 379: /* TODO: optimize cases with literal arguments. */ Python/pythonrun.c (1 line): - line 9: /* TODO: Cull includes following phase split */ Modules/_sqlite/connection.c (1 line): - line 561: /* TODO: have a way to show errors here */ Jit/hir/preload.cpp (1 line): - line 142: // TODO properly handle coroutine returns awaitable type Lib/compiler/strict/rewriter/rewriter.py (1 line): - line 132: # TODO: What effect do these line offsets have? Modules/_asynciomodule.c (1 line): - line 4964: // TODO (aniketpanse): Consider using semaphore based tracing probes Lib/ntpath.py (1 line): - line 617: # TODO (bpo-38186): Request the real file name from the directory Lib/idlelib/parenmatch.py (1 line): - line 28: TODO: Modules/_decimal/libmpdec/mpdecimal.c (1 line): - line 6474: * TODO: Implement algorithm for computing exact powers from decimal.py. Lib/pathlib.py (1 line): - line 1163: # FIXME this must defer to the specific flavour (and, under Windows, Tools/benchmarks/deltablue_static_lib.py (1 line): - line 68: # TODO: This looks like a bug in the original code. Shouldn't this be Include/classloader.h (1 line): - line 16: /* TODO: Would we better off with dynamically allocated stubs which close Tools/scripts/texi2html.py (1 line): - line 768: #TODO: what is 'ext'? Lib/numbers.py (1 line): - line 6: TODO: Fill out more detailed documentation on the operators.""" Lib/idlelib/calltip.py (1 line): - line 150: # Add explanation TODO remove after 3.7, before 3.9. Lib/sysconfig.py (1 line): - line 87: # FIXME don't rely on sys.version here, its format is an implementation detail Modules/expat/xmltok.c (1 line): - line 1541: #ifndef XML_DTD /* FIXME */ Jit/slot_gen.cpp (1 line): - line 200: // eliminate the function (TODO: Could skip this if StrictModules/Objects/union.cpp (1 line): - line 103: // TODO: this is a hacky way to recognize typing library constructs Jit/lir/postalloc.h (1 line): - line 49: // TODO (tiansi): currently, condition to the conditional branches are always Lib/idlelib/autocomplete_w.py (1 line): - line 483: # TODO: autocomplete/w htest here Lib/runpy.py (1 line): - line 63: # TODO: Replace these helpers with importlib._bootstrap_external functions. Lib/compiler/misc.py (1 line): - line 51: # TODO: Probably need to split and mangle recursively? Tools/i18n/pygettext.py (1 line): - line 486: extractall = 0 # FIXME: currently this option has no effect at all. Lib/getopt.py (1 line): - line 24: # TODO for gnu_getopt(): Tools/clinic/clinic.py (1 line): - line 33: # TODO: Modules/mmapmodule.c (1 line): - line 162: TODO - should we check for errors in the close operations??? Lib/compiler/static/compiler.py (1 line): - line 141: # TODO: Need typed members for dict Lib/compiler/static/definite_assignment_checker.py (1 line): - line 75: # TODO: T52624111 needs special handling for __class__ Lib/traceback.py (1 line): - line 508: # TODO: locals. Include/internal/pycore_pystate.h (1 line): - line 187: /* TODO: Given interp_main, it may be possible to kill this ref */ Lib/smtplib.py (1 line): - line 923: # TODO implement heuristics to guess the correct Resent-* block with an Modules/_elementtree.c (1 line): - line 3062: /* FIXME: check stack size? */ Lib/enum.py (1 line): - line 423: # TODO: replace the frame hack if a blessed way to know the calling Lib/idlelib/autocomplete.py (1 line): - line 26: # TODO Update this here and elsewhere. Tools/gdb/libpython.py (1 line): - line 1503: # TODO: repr() puts everything on one line; pformat can be nicer, but Modules/_sre.c (1 line): - line 2667: /* FIXME: implement setattr("string", None) as a special case (to Objects/constobject.c (1 line): - line 85: // TODO: this function needs to be revisited after the semantic for Tools/benchmarks/deltablue.py (1 line): - line 70: # TODO: This looks like a bug in the original code. Shouldn't this be PC/layout/support/props.py (1 line): - line 89: # TODO: Filter contents of props file according to included/excluded items Lib/idlelib/filelist.py (1 line): - line 114: def _test(): # TODO check and convert to htest Tools/benchmarks/deltablue_static_basic2_lib.py (1 line): - line 73: # TODO: This looks like a bug in the original code. Shouldn't this be Modules/_ctypes/libffi_osx/include/x86-ffitarget.h (1 line): - line 56: /* TODO: Add fastcall support for the sake of completeness */ Lib/idlelib/dynoption.py (1 line): - line 14: # TODO copy value instead of whole dict StrictModules/analyzer.cpp (1 line): - line 877: // TODO: this is not quite accurate, the correct dunder methods Include/abstract.h (1 line): - line 308: /* FIXME: usage of these should all be replaced in Python itself Lib/gettext.py (1 line): - line 37: # TODO: Tools/benchmarks/richards_static_lib.py (1 line): - line 329: # TODO: We should automatically support an INVOKE_FUNCTION here Jit/hir/ssa.cpp (1 line): - line 354: // TODO if we have a specialized input type we should really be Lib/idlelib/sidebar.py (1 line): - line 19: # TODO: use also in codecontext.py Modules/sre_lib.h (1 line): - line 1017: /* FIXME: we probably need to deal with zero-width Modules/_pickle.c (1 line): - line 2323: /* TODO: It would be better to use a memoryview with a linked Lib/nntplib.py (1 line): - line 61: # TODO: Modules/_io/iobase.c (1 line): - line 927: /* TODO: allocate a bytes object directly instead and manually construct PC/launcher.c (1 line): - line 1445: /* TODO could call validate_version(command) */ Lib/idlelib/runscript.py (1 line): - line 10: TODO: Specify command line arguments in a dialog box. Doc/tools/rstlint.py (1 line): - line 9: # TODO: - wrong versions in versionadded/changed Lib/tkinter/filedialog.py (1 line): - line 394: # FIXME: are the following perhaps a bit too convenient? Lib/compiler/strict/compiler.py (1 line): - line 184: TODO: this should eventually replace compile_basic once all python sources Modules/_hashopenssl.c (1 line): - line 1118: /* TODO build EVP_functions openssl_* entries dynamically based StrictModules/Objects/numerics.cpp (1 line): - line 673: // TODO handle both overflow case Objects/funcobject.c (1 line): - line 1257: // TODO: fix the warning code Lib/idlelib/search.py (1 line): - line 68: # TODO - why is this here and not in a create_command_buttons? Lib/idlelib/debugger.py (1 line): - line 550: # TODO: htest? Lib/asyncio/staggered.py (1 line): - line 74: # TODO: when we have aiter() and anext(), allow async iterables in coro_fns. Tools/benchmarks/deltablue_static_basic_lib.py (1 line): - line 77: # TODO: This looks like a bug in the original code. Shouldn't this be Jit/lir/block_builder.cpp (1 line): - line 329: // TODO: we can merge CondBranch and JumpIf by translating Lib/idlelib/editor.py (1 line): - line 938: # TODO: move to iomenu. Lib/smtpd.py (1 line): - line 73: # TODO: Modules/_ssl.c (1 line): - line 3932: /* TODO: It would be nice to move _ctypes_add_traceback() into the Lib/compiler/static/declaration_visitor.py (1 line): - line 101: # TODO (self.module_name, node.name) here is wrong for all nested scopes Lib/idlelib/pyshell.py (1 line): - line 136: #TODO: don't read/write this from/to .idlerc when testing Tools/unicode/makeunicodedata.py (1 line): - line 291: # FIXME: the following tables could be made static, and Lib/lib2to3/btm_utils.py (1 line): - line 221: #TODO: handle {min, max} repeaters Python/ceval.c (1 line): - line 5423: // TODO: Revisit this opcode, and perhaps get it to load all Lib/idlelib/mainmenu.py (1 line): - line 20: # TODO: Make this more robust Objects/typeobject.c (1 line): - line 3077: /* TODO: it'd be nice to unify with the calls above */