<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/BaseTools/Source/Python/Eot/c.py, branch edk2_master</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=edk2_master</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=edk2_master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2024-09-23T04:55:53+00:00</updated>
<entry>
<title>BaseTools: Fix multiple 'invalid escape sequence' warnings in tests</title>
<updated>2024-09-23T04:55:53+00:00</updated>
<author>
<name>Mike Beaton</name>
<email>mjsbeaton@gmail.com</email>
</author>
<published>2024-09-18T15:40:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=6820004b3e2b6997b8ad8663c548fb3da2fcb3b2'/>
<id>urn:sha1:6820004b3e2b6997b8ad8663c548fb3da2fcb3b2</id>
<content type='text'>
In Python 3.12 invalid escape sequences in strings moved from
DeprecationWarning to SyntaxWarning
(ref https://docs.python.org/3/whatsnew/changelog.html#python-3-12-0-final
and search for gh-98401). In a future Python version this will become
SyntaxError.

Multiple instances of these SyntaxWarnings are currently printed when
running the BaseTools tests using Python 3.12 (though without actually
failing the affected tests).

This commit updates all lines which were causing this type of warning.

Typical examples which needed fixing are:

- "BaseTools\Source\Python" representing a path: "\S" and "\P" are invalid
escape sequences, therefore left unchanged, therefore the test works
(with a warning in Python 3.12). r"BaseTools\Source\Python" represents
the same string, but with escapes turned off completely thus no warning.

- Where '\t\s' is used as a regex pattern, then chr(9) + '\\s' is sent
to the regex parser (with a warning in Python 3.12) since '\s' is not a
valid Python escape sequence. This works correctly, though arguably for
the wrong reasons. r'\t\s' sends the same as '\\t\\s', as originally
intended and with no warning.

(Note that ' and " are not fundamentally different in Python.)

Signed-off-by: Mike Beaton &lt;mjsbeaton@gmail.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Replace BSD License with BSD+Patent License</title>
<updated>2019-04-09T16:10:20+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2019-04-03T23:03:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=2e351cbe8e190271b3716284fc1076551d005472'/>
<id>urn:sha1:2e351cbe8e190271b3716284fc1076551d005472</id>
<content type='text'>
https://bugzilla.tianocore.org/show_bug.cgi?id=1373

Replace BSD 2-Clause License with BSD+Patent License.  This change is
based on the following emails:

  https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html
  https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html

RFCs with detailed process for the license change:

  V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html
  V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html
  V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Bob Feng &lt;bob.c.feng@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Use absolute import in Eot</title>
<updated>2018-07-16T03:22:17+00:00</updated>
<author>
<name>Gary Lin</name>
<email>glin@suse.com</email>
</author>
<published>2018-07-13T10:18:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=64429fbd61d445b892a78f4e55b0b83c184790bd'/>
<id>urn:sha1:64429fbd61d445b892a78f4e55b0b83c184790bd</id>
<content type='text'>
Based on "futurize -f libfuturize.fixes.fix_absolute_import

Contributed-under: TianoCore Contribution Agreement 1.1
Cc: Yonghong Zhu &lt;yonghong.zhu@intel.com&gt;
Cc: Liming Gao &lt;liming.gao@intel.com&gt;
Signed-off-by: Gary Lin &lt;glin@suse.com&gt;
Reviewed-by: Jaben Carsey &lt;jaben.carsey@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Adjust the spaces around commas and colons</title>
<updated>2018-06-27T08:33:25+00:00</updated>
<author>
<name>Gary Lin</name>
<email>glin@suse.com</email>
</author>
<published>2018-06-25T10:31:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ccaa7754a29728df0a7485932aab4909f6be116a'/>
<id>urn:sha1:ccaa7754a29728df0a7485932aab4909f6be116a</id>
<content type='text'>
Based on "futurize -f lib2to3.fixes.fix_ws_comma"

Contributed-under: TianoCore Contribution Agreement 1.1
Cc: Yonghong Zhu &lt;yonghong.zhu@intel.com&gt;
Cc: Liming Gao &lt;liming.gao@intel.com&gt;
Signed-off-by: Gary Lin &lt;glin@suse.com&gt;
Reviewed-by: Yonghong Zhu &lt;yonghong.zhu@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Refactor python print statements</title>
<updated>2018-06-27T08:33:21+00:00</updated>
<author>
<name>Gary Lin</name>
<email>glin@suse.com</email>
</author>
<published>2018-06-25T10:31:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=72443dd25014a8b6209895640af36dec33da51e0'/>
<id>urn:sha1:72443dd25014a8b6209895640af36dec33da51e0</id>
<content type='text'>
Refactor print statements to be compatible with python 3.
Based on "futurize -f libfuturize.fixes.fix_print_with_import"

Contributed-under: TianoCore Contribution Agreement 1.1
Cc: Yonghong Zhu &lt;yonghong.zhu@intel.com&gt;
Cc: Liming Gao &lt;liming.gao@intel.com&gt;
Signed-off-by: Gary Lin &lt;glin@suse.com&gt;
Reviewed-by: Yonghong Zhu &lt;yonghong.zhu@intel.com&gt;
</content>
</entry>
<entry>
<title>There is a limitation on WINDOWS OS for the length of entire file path can’t be larger than 255. There is an OS API provided by Microsoft to add “\\?\” before the path header to support the long file path. Enable this feature on basetools.</title>
<updated>2014-08-15T03:06:48+00:00</updated>
<author>
<name>Hess Chen</name>
<email>hesheng.chen@intel.com</email>
</author>
<published>2014-08-15T03:06:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=1be2ed90a20618d71ddf34b8a07d038da0b36854'/>
<id>urn:sha1:1be2ed90a20618d71ddf34b8a07d038da0b36854</id>
<content type='text'>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hess Chen &lt;hesheng.chen@intel.com&gt;
Reviewed-by: Yingke Liu &lt;yingke.d.liu@intel.com&gt;

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15809 6f19259b-4bc3-4df7-8a09-765794883524
</content>
</entry>
<entry>
<title>Sync BaseTools Branch (version r2321) to EDKII main trunk. </title>
<updated>2011-09-18T12:17:25+00:00</updated>
<author>
<name>lgao4</name>
<email>lgao4@6f19259b-4bc3-4df7-8a09-765794883524</email>
</author>
<published>2011-09-18T12:17:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=b36d134faf4305247830522b8e2bb255e98c5699'/>
<id>urn:sha1:b36d134faf4305247830522b8e2bb255e98c5699</id>
<content type='text'>
Signed-off-by: lgao4
Reviewed-by: gikidy


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12372 6f19259b-4bc3-4df7-8a09-765794883524
</content>
</entry>
<entry>
<title>Sync EDKII BaseTools to BaseTools project r1971</title>
<updated>2010-05-18T05:04:32+00:00</updated>
<author>
<name>lgao4</name>
<email>lgao4@6f19259b-4bc3-4df7-8a09-765794883524</email>
</author>
<published>2010-05-18T05:04:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=40d841f6a8f84e75409178e19e69b95e01bada0f'/>
<id>urn:sha1:40d841f6a8f84e75409178e19e69b95e01bada0f</id>
<content type='text'>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10502 6f19259b-4bc3-4df7-8a09-765794883524
</content>
</entry>
<entry>
<title>Sync EDKII BaseTools to BaseTools project r1940</title>
<updated>2010-03-23T11:46:50+00:00</updated>
<author>
<name>qhuang8</name>
<email>qhuang8@6f19259b-4bc3-4df7-8a09-765794883524</email>
</author>
<published>2010-03-23T11:46:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=79714906ae765f161969dfddc34adee857be97d6'/>
<id>urn:sha1:79714906ae765f161969dfddc34adee857be97d6</id>
<content type='text'>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10307 6f19259b-4bc3-4df7-8a09-765794883524
</content>
</entry>
<entry>
<title>Sync EDKII BaseTools to BaseTools project r1903.</title>
<updated>2010-02-28T23:39:39+00:00</updated>
<author>
<name>lgao4</name>
<email>lgao4@6f19259b-4bc3-4df7-8a09-765794883524</email>
</author>
<published>2010-02-28T23:39:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=52302d4dee589a5df43a464420c9fe68ba83937d'/>
<id>urn:sha1:52302d4dee589a5df43a464420c9fe68ba83937d</id>
<content type='text'>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10123 6f19259b-4bc3-4df7-8a09-765794883524
</content>
</entry>
</feed>
