public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ajay Kadapathri" <ajay.kadapathri@intel.com>
To: devel@edk2.groups.io
Cc: Rebecca Cran <rebecca@nuviainc.com>,
	Michael D Kinney <michael.d.kinney@intel.com>,
	Jayaprakash N <n.jayaprakash@intel.com>
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	[thread overview]
Message-ID: <20221021105658.1678-2-ajay.kadapathri@intel.com> (raw)
In-Reply-To: <20221021105658.1678-1-ajay.kadapathri@intel.com>

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 <rebecca@nuviainc.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Jayaprakash N <n.jayaprakash@intel.com>
Signed-off-by: Ajay Kadapathri <ajay.kadapathri@intel.com>
---
 .../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


  reply	other threads:[~2022-10-21 10:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-21 10:56 [edk2-libc Patch 0/1] Py3 UEFI help built-in function issue fix ajay.kadapathri
2022-10-21 10:56 ` Ajay Kadapathri [this message]
2022-10-24 15:08   ` [edk2-libc Patch 1/1] Python/Python3.6.8: " Michael D Kinney
2022-10-24 15:54     ` Michael D Kinney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221021105658.1678-2-ajay.kadapathri@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox