From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web08.8705.1666349851875970257 for ; Fri, 21 Oct 2022 03:57:32 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=gHCZVkEN; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: ajay.kadapathri@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666349851; x=1697885851; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=NZMdj04xaVgCB1W3MyXaHNvd5APDAgEHaf5vo4yEIa0=; b=gHCZVkENJ4dyzHnHh2a6cVB4/fZJXDp4yE4jK7QKtV87dpKMSdrS4XXW oU4PXQ6/msryQt4oaTEpr3bKDzqy9kxTTwwyne0oz5rSwYRonBrqsag3D uZX5dm234dmGPkGPPrsj5CDZs/ZrkCeHAAEOynkvyqKp6vwgEybQzN08q f5+kteSijAt5vqGJNm4zyVx57imNjlyIouj8jA3QzqVS19//k8GFnvU54 mfdqi0SJzfeorfH7ZUa/giZNuXn1C0/DU5bWjqBA1xvwTMwPqa2UVqCmk H3SpcfGnSSwMVQHIbVzyuZ+OO2DdzLJio7ErGAkO2Y0gqbDgDtwLKpL7H A==; X-IronPort-AV: E=McAfee;i="6500,9779,10506"; a="306965324" X-IronPort-AV: E=Sophos;i="5.95,200,1661842800"; d="scan'208";a="306965324" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2022 03:57:31 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10506"; a="608319649" X-IronPort-AV: E=Sophos;i="5.95,200,1661842800"; d="scan'208";a="608319649" Received: from akadapat-mobl1.gar.corp.intel.com ([10.67.144.233]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2022 03:57:29 -0700 From: "Ajay Kadapathri" To: devel@edk2.groups.io Cc: Rebecca Cran , Michael D Kinney , Jayaprakash N Subject: [edk2-libc Patch 1/1] Python/Python3.6.8: help built-in function issue fix Date: Fri, 21 Oct 2022 16:26:58 +0530 Message-Id: <20221021105658.1678-2-ajay.kadapathri@intel.com> X-Mailer: git-send-email 2.37.1.windows.1 In-Reply-To: <20221021105658.1678-1-ajay.kadapathri@intel.com> References: <20221021105658.1678-1-ajay.kadapathri@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4107 Observed that help built-in function in Python UEFI interpreter is not giving the full help text information of python constructs such as functions, objects , class and etc. This patch request fixes this issue, once this patch is applied We can get full text help information of python constructs Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Ajay Kadapathri --- .../Python/Python-3.6.8/PyMod-3.6.8/Include/pyconfig.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Include/pyconfig.h b/AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Include/pyconfig.h index c447614..f1cb309 100644 --- a/AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Include/pyconfig.h +++ b/AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Include/pyconfig.h @@ -1155,8 +1155,13 @@ /* Define if WINDOW in curses.h offers a field _flags. */ #undef WINDOW_HAS_FLAGS +#ifdef UEFI_C_SOURCE +/* Define if you want documentation strings in extension modules */ +#define WITH_DOC_STRINGS 1 +#else /* Define if you want documentation strings in extension modules */ #undef WITH_DOC_STRINGS +#endif /* Define if you want to use the new-style (Openstep, Rhapsody, MacOS) dynamic linker (dyld) instead of the old-style (NextStep) dynamic linker (rld). -- 2.37.1.windows.1