- 21 Aug, 2011 1 commit
-
-
Victor Stinner authored
-
- 20 Aug, 2011 30 commits
-
-
Victor Stinner authored
* Use str.startswith(tuple): I didn't know this Python feature, Python rocks! * Replace sometimes sys.platform.startswith('linux') with sys.platform == 'linux' * sys.platform doesn't contain the major version on Cygwin on Mac OS X (it's just 'cygwin' and 'darwin')
-
Sandro Tosi authored
-
Sandro Tosi authored
-
Victor Stinner authored
Copy/paste (from Python 3.2) failure
-
Victor Stinner authored
On Linux, sys.platform doesn't contain the major version anymore. It is now always 'linux', instead of 'linux2' or 'linux3' depending on the Linux version used to build Python.
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
Antoine Pitrou authored
same object as reader and writer, and deemphasize it in document order.
-
Antoine Pitrou authored
same object as reader and writer, and deemphasize it in document order.
-
Sandro Tosi authored
-
Sandro Tosi authored
-
Antoine Pitrou authored
could appear on BufferedRandom streams.
-
Antoine Pitrou authored
could appear on BufferedRandom streams.
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Victor Stinner authored
Even if Python is compiled on Linux 3.
-
Éric Araujo authored
The existing test_record is not easily extendable to add script files or extension modules: it collects all files from fake_dists and generates a RECORD file at runtime. I felt more comfortable adding a new test written from scratch more self-contained (just one project with well-defined files) and more stupid (the checksums and sizes are computed once and hard-coded).
-
Éric Araujo authored
- Rename an attribute and create it in initialize_options instead of finalize_options to match the other install_* classes - Remove unnecessary method call in tests
-
Éric Araujo authored
-
Éric Araujo authored
(i.e. to check the files found are what we expect)
-
Éric Araujo authored
I need to copy this file in another test too, so I moved the support code to distutils.tests.support and improved it to use proper skip machinery instead of custom print/return/test suite fiddling. Contrary to my similar change in distutils tests, I did not add support for finding xxmodule.c when running a test from the tests directory, because in that case my compiler didn’t find Python.h, so I figured it’s better to skip than to fail.
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
I made a note a month ago that install --record wrote incorrect entries for extension modules (I think the problem was that the first character of the file was stripped), so I’m now adding a test to try to reproduce that in the current versions.
-
Éric Araujo authored
-
Éric Araujo authored
I need to copy this file in another test too, so I moved the support code to distutils.tests.support and improved it: - don’t skip when run from the Lib/distutils/tests directory - use proper skip machinery instead of custom print/return/test suite fiddling.
-
Antoine Pitrou authored
-
- 19 Aug, 2011 9 commits
-
-
Sandro Tosi authored
-
Sandro Tosi authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Sandro Tosi authored
-
Sandro Tosi authored
-
Antoine Pitrou authored
-
Éric Araujo authored
-
Éric Araujo authored
-