- 06 Oct, 2011 4 commits
-
-
Éric Araujo authored
-
Éric Araujo authored
The packaging.install.remove function (a.k.a. the uninstall feature) takes a path argument to allow client code to use custom directories instead of sys.path. The test used to give self.root_dir as path, which corresponds to a prefix option, but prefix is not on sys.path, it’s only the base directory used to compute the stdlib and site-packages directory paths. The test now gives a valid site-packages path to the function.
-
Éric Araujo authored
install_lib may be the name of a module, a command or an option, so I find it clearer to use site_packages to refer to a string object containing the path of the site-packages directory created in a temporary directory during tests.
-
Éric Araujo authored
-
- 04 Oct, 2011 36 commits
-
-
Éric Araujo authored
-
Éric Araujo authored
This helper was changed to work with any object instead of only modules (or technically something with a __name__ attribute, see code in 3.2) but the message stayed as is.
-
Éric Araujo authored
The goal of the regex is to catch a (alpha), b (beta), c or rc (release candidate), so the existing pattern puzzled me. Tests were OK before and after the change.
-
Éric Araujo authored
This used to be buggy; Filip Gruszczyński contributed tests and a code patch but the latter is not needed.
-
Éric Araujo authored
-
Éric Araujo authored
- Using the file role with {placeholders} is IMO clearer than fake Python code. - The fact that sys.version[:3] gives '3.2' is a CPython detail and should not be advertised (see #9442), even if some stdlib modules currently rely on that detail.
-
Éric Araujo authored
-
Éric Araujo authored
(Deleted rather than moved because multilib implementations vary.)
-
Éric Araujo authored
-
Éric Araujo authored
sys.maxunicode is not called and thus does not return anything; it *is* something. (I checked the doc quickly to see if it tells that expression return things but found nothing.) I also removed markup that would just generate a useless link to the enclosing section.
-
Éric Araujo authored
-
Éric Araujo authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
Reported and diagnosed by Thomas Kluyver.
-
Antoine Pitrou authored
Reported and diagnosed by Thomas Kluyver.
-
Antoine Pitrou authored
-
Antoine Pitrou authored
if the underlying raw stream is unseekable, even if the seek could be satisfied using the internal buffer. Patch by John OConnor.
-
Antoine Pitrou authored
-
Antoine Pitrou authored
if the underlying raw stream is unseekable, even if the seek could be satisfied using the internal buffer. Patch by John O'Connor.
-
Antoine Pitrou authored
-
Antoine Pitrou authored
memory watchdog for timely stats collection.
-
Antoine Pitrou authored
-
Antoine Pitrou authored
- bigmemtest is replaced by precisionbigmemtest - add a poor man's watchdog thread to print memory consumption
-
Antoine Pitrou authored
- bigmemtest is replaced by precisionbigmemtest - add a poor man's watchdog thread to print memory consumption
-
Antoine Pitrou authored
metaclass is registered with copyreg. Patch by Nicolas M. Thiéry and Craig Citro.
-
Antoine Pitrou authored
metaclass is registered with copyreg. Patch by Nicolas M. Thiéry and Craig Citro.
-
Meador Inge authored
-
Meador Inge authored
-