<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/site.py, branch 2.1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/site.py?h=2.1</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/site.py?h=2.1'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-07-20T14:55:28Z</updated>
<entry>
<title>Fix showstopper SF bug #442983: use of site.addsitedir() was broken</title>
<updated>2001-07-20T14:55:28Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-07-20T14:55:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2e03ba8c85cd6e6e51fa98ee1eb40236695db492'/>
<id>urn:sha1:2e03ba8c85cd6e6e51fa98ee1eb40236695db492</id>
<content type='text'>
because it references the global dirs_in_sys_path which is deleted.
The fix avoids deleting that global.

(My email through python.org or digicool.com is non-functional at the
moment; use gvanrossum@home.com to reach me.)
</content>
</entry>
<entry>
<title>Avoid using os.path.normcase() on sys.path elements; doing so causes paths</title>
<updated>2001-07-02T16:56:09Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2001-07-02T16:56:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=13928bef7d6e3a7346946249f0441f61e64fc560'/>
<id>urn:sha1:13928bef7d6e3a7346946249f0441f61e64fc560</id>
<content type='text'>
to be presented in an unfamiliar case on case-preserving filesystems.

This closes SF patch #436173.
</content>
</entry>
<entry>
<title>Two minor changes for better Jython compatibility.  Finn Bock says:</title>
<updated>2001-03-23T17:53:49Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2001-03-23T17:53:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=62d248892f8782d01cfeb1951d53eaeac81750fe'/>
<id>urn:sha1:62d248892f8782d01cfeb1951d53eaeac81750fe</id>
<content type='text'>
    Change 1: Not all 'modules' in sys.modules have a
    sensible __file__ attribute. Some of our java package
    can have the __file__ attribute set to None.

    Change 2: In jython we have the jython license file in
    &lt;root&gt; and the CPython license file in &lt;root&gt;/Lib. By
    reversing the search sequence jython will find and
    show the jython license file before the CPython file.

Closes SF patch #405853.
</content>
</entry>
<entry>
<title>RISCOS changes by dschwertberger.</title>
<updated>2001-03-02T06:43:49Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-03-02T06:43:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d74fb6b12a9a53ce09648484076c84e727561612'/>
<id>urn:sha1:d74fb6b12a9a53ce09648484076c84e727561612</id>
<content type='text'>
</content>
</entry>
<entry>
<title>A hack to augment sys.path with the build/lib.&lt;platform&gt; directory</title>
<updated>2001-01-19T21:54:59Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-01-19T21:54:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=48eb9cd62fefcf8cc93416512f15c913f55331bd'/>
<id>urn:sha1:48eb9cd62fefcf8cc93416512f15c913f55331bd</id>
<content type='text'>
created by Andrew's setup.py script, *if* we're actually running from
the build directory.  (The test for that: whether the sys.path[-1]
ends in "/Modules".)

This has one disadvantage: it imports a fair amount of code from the
distutils package, just in order to be able to calculate the correct
pathname.  See if I care. :-)
</content>
</entry>
<entry>
<title>Patch #103134: Support import lines in pth files.</title>
<updated>2001-01-11T13:02:43Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-01-11T13:02:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bb0a4b7898437988b1b022f0170a2052926479c7'/>
<id>urn:sha1:bb0a4b7898437988b1b022f0170a2052926479c7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>The ".pth" code knew about the layout of Python trees on unix and</title>
<updated>2000-12-12T22:39:04Z</updated>
<author>
<name>Jack Jansen</name>
<email>jack.jansen@cwi.nl</email>
</author>
<published>2000-12-12T22:39:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d49056cd9076cde83ded11966f070f3f76ffd2a9'/>
<id>urn:sha1:d49056cd9076cde83ded11966f070f3f76ffd2a9</id>
<content type='text'>
windows, but not on the mac. Fixed.
</content>
</entry>
<entry>
<title>Fix `credits' to credit the Jython developers when running under that</title>
<updated>2000-12-06T22:20:07Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2000-12-06T22:20:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=23f26ce813910aec4bb1c0c80ec10f2909a838d5'/>
<id>urn:sha1:23f26ce813910aec4bb1c0c80ec10f2909a838d5</id>
<content type='text'>
interpreter.  Update and reword the credits for CPython.  Closes SF
patch #102665.
</content>
</entry>
<entry>
<title>Fix a few problems with the _Printer class and the license variable.</title>
<updated>2000-10-03T17:11:37Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-10-03T17:11:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f19a7ac220178bbe6bfdf88561dea355392aec24'/>
<id>urn:sha1:f19a7ac220178bbe6bfdf88561dea355392aec24</id>
<content type='text'>
1. repr(license) will no longer print to stdout and read from stdin;
you have to use license().  `license` is a short message explaining
this.

2. Use lazy initialization so that startup isn't slowed down by the
search for the LICENSE file.

3. repr(license) actually returns the desired string, rather than
printing to stdout and returning ''.  (Why didn't we think of this
before?)

4. Use the pythonlabs license URL as the license fallback instead of
the CNRI license handle.
</content>
</entry>
<entry>
<title>Convert all entries on sys.path to absolute paths, and also update the</title>
<updated>2000-09-28T16:52:36Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2000-09-28T16:52:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=38cb9f1f174415d3b37fbaeb5d152d65525839d2'/>
<id>urn:sha1:38cb9f1f174415d3b37fbaeb5d152d65525839d2</id>
<content type='text'>
__file__ attributes of already-imported modules to be absolute.  This helps
robustify the interpreter against os.chdir() calls from the application.

Only remove setdefaultencoding() from sys if it exists; if this module is
run as a script (since there is a _test() function that gets run), it broke
because the script attempts to remove it again after the import of site
has already done so.  This allows the module to be run as a script again.

makepath():  New function, standardizes all pathname normalization in one
             place.
</content>
</entry>
</feed>
