<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/</link>
    <language>en-us</language>

    <title>cpython-lru_cache-weakref: Lib/packaging/errors.py history</title>
    <description>Lib/packaging/errors.py revision history</description>
    <item>
    <title>Improve byte-compilation in packaging to be independent of -O or -B.</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/dad02a080bbc/Lib/packaging/errors.py</link>
    <description><![CDATA[Improve byte-compilation in packaging to be independent of -O or -B.<br/>
<br/>
The code I fixed to comply with PEP 3147 still had one bug: When run<br/>
under python -O, some paths for pyc files would be pyo, because I called<br/>
imp.cache_from_source without explicit debug_override argument in some<br/>
places, and under -O that would return .pyo (this is well explained in<br/>
the imp docs).  Now all code (util.byte_compile, build_py, install_lib)<br/>
can create .pyo files according to options given by users,<br/>
without interference from the calling Python’s own optimize mode.<br/>
<br/>
On a related topic, I also removed the code that prevented byte<br/>
compilation under python -B.  The rationale is that packaging gives<br/>
control over the creation of pyc files to the user with its own explicit<br/>
option, and the behavior should not be changed if the calling Python<br/>
happens to run with -B for whatever reason.  I will argue that this is a<br/>
bug fix and ask to be allowed to backport this change to distutils.<br/>
<br/>
Finally, I moved one nugget of information about the --compile and<br/>
--optimize options from the source into the doc.  It clears up a<br/>
misunderstanding that I (and maybe other people) had.]]></description>
    <author>&#201;&#114;&#105;&#99;&#32;&#65;&#114;&#97;&#117;&#106;&#111;&#32;&#60;&#109;&#101;&#114;&#119;&#111;&#107;&#64;&#110;&#101;&#116;&#119;&#111;&#107;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Thu, 03 Nov 2011 05:08:28 +0100</pubDate>
</item>
<item>
    <title>initial import of the packaging package in the standard library</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/1a31c3be88b1/Lib/packaging/errors.py</link>
    <description><![CDATA[initial import of the packaging package in the standard library]]></description>
    <author>&#84;&#97;&#114;&#101;&#107;&#32;&#90;&#105;&#97;&#100;&#101;&#32;&#60;&#116;&#97;&#114;&#101;&#107;&#64;&#122;&#105;&#97;&#100;&#101;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Thu, 19 May 2011 13:07:25 +0200</pubDate>
</item>

  </channel>
</rss>
