[Python-Dev] path joining on Windows and imp.cache_from_source()

Antoine Pitrou solipsis at pitrou.net
Sun Apr 22 11:20:11 CEST 2012

On Sun, 22 Apr 2012 07:45:27 +0200
"Martin v. Löwis" <martin at v.loewis.de> wrote:
> This goes back to
> http://codereview.appspot.com/842043/diff/1/3#newcode787
> where Antoine points out that the code needs to look for altsep.
> He then suggests "keep the right-most of both". I don't think he
> literally meant that the right-most separator should then also be
> used to separate __pycache__, but only that the right-most of
> either SEP or ALTSEP is what separates the module name.

Indeed :-)



More information about the Python-Dev mailing list