Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #12326: refactor usage of sys.platform | Victor Stinner | 2011-08-20 | 7 | -17/+10 |
| | | | | | | | | * 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') | ||||
* | #5301: merge with 3.2 | Sandro Tosi | 2011-08-20 | 1 | -0/+1 |
|\ | |||||
| * | #5301: add image/vnd.microsoft.icon (.ico) MIME type | Sandro Tosi | 2011-08-20 | 1 | -0/+1 |
| | | |||||
* | | Close #12326: sys.platform is now always 'linux' on Linux | Victor Stinner | 2011-08-20 | 10 | -1083/+0 |
| | | | | | | | | | | | | 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. | ||||
* | | Merge 3.2 | Éric Araujo | 2011-08-20 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | Branch merge | Éric Araujo | 2011-08-20 | 3 | -33/+90 |
| |\ | |||||
| | * | Dedent example in docstring | Éric Araujo | 2011-08-20 | 1 | -3/+3 |
| | | | |||||
* | | | Branch merge | Éric Araujo | 2011-08-20 | 9 | -86/+224 |
|\ \ \ | |||||
| * | | | Fix sdist test on Windows (#12678). Patch by Jeremy Kloth. | Éric Araujo | 2011-08-20 | 1 | -0/+1 |
| | | | | |||||
| * | | | Add a simple test for the packaging RECORD file. | Éric Araujo | 2011-08-20 | 1 | -1/+53 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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). | ||||
| * | | | Minor cleanup | Éric Araujo | 2011-08-20 | 2 | -12/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | - 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 | ||||
| * | | | Add a test for extension modules in the old-style record file | Éric Araujo | 2011-08-20 | 1 | -1/+24 |
| | | | | |||||
| * | | | Rework test_old_record a bit to make the test more exact | Éric Araujo | 2011-08-20 | 1 | -13/+13 |
| | | | | | | | | | | | | | | | | (i.e. to check the files found are what we expect) | ||||
| * | | | Refactor the copying of xxmodule.c in packaging tests (#12141). | Éric Araujo | 2011-08-20 | 2 | -27/+37 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | | Merge 3.2 | Éric Araujo | 2011-08-20 | 3 | -33/+90 |
| |\ \ \ | | | |/ | | |/| | |||||
| | * | | Add a test for extension modules in the distutils record file. | Éric Araujo | 2011-08-20 | 1 | -0/+33 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| | * | | Rework test_record a bit to make the test more exact | Éric Araujo | 2011-08-20 | 1 | -10/+12 |
| | | | | |||||
| | * | | Refactor the copying of xxmodule.c in distutils tests (#12141). | Éric Araujo | 2011-08-20 | 2 | -24/+46 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | | Issue #12213: Fix a buffering bug with interleaved reads and writes that | Antoine Pitrou | 2011-08-20 | 1 | -2/+42 |
|\ \ \ \ | | |_|/ | |/| | | | | | | could appear on BufferedRandom streams. | ||||
| * | | | Issue #12213: Fix a buffering bug with interleaved reads and writes that | Antoine Pitrou | 2011-08-20 | 1 | -2/+42 |
| | | | | | | | | | | | | | | | | could appear on BufferedRandom streams. | ||||
* | | | | Issue #12791: Break reference cycles early when a generator exits with an ↵ | Antoine Pitrou | 2011-08-20 | 1 | -0/+62 |
|\ \ \ \ | |/ / / | | | | | | | | | exception. | ||||
| * | | | Issue #12791: Break reference cycles early when a generator exits with an ↵ | Antoine Pitrou | 2011-08-20 | 1 | -0/+62 |
| | | | | | | | | | | | | | | | | exception. | ||||
* | | | | Fix typo in test names | Antoine Pitrou | 2011-08-19 | 1 | -4/+4 |
|\ \ \ \ | |/ / / | |||||
| * | | | Fix typo in test names | Antoine Pitrou | 2011-08-19 | 1 | -4/+4 |
| | |/ | |/| | |||||
| * | | Branch merge | Éric Araujo | 2011-08-19 | 1 | -1/+1 |
| |\ \ | |||||
* | | | | Issue #12778: Reduce memory consumption when JSON-encoding a large container ↵ | Antoine Pitrou | 2011-08-19 | 1 | -1/+18 |
| |_|/ |/| | | | | | | | | of many small objects. | ||||
* | | | Restore $HOME after test has run (should fix #12765) | Éric Araujo | 2011-08-19 | 1 | -0/+3 |
| | | | |||||
* | | | Branch merge | Éric Araujo | 2011-08-19 | 4 | -28/+21 |
|\ \ \ | |||||
| * \ \ | Merge 3.2 | Éric Araujo | 2011-08-19 | 1 | -1/+1 |
| |\ \ \ | | | |/ | | |/| | |||||
| | * | | Make logging call lazy | Éric Araujo | 2011-08-19 | 1 | -1/+1 |
| | | | | |||||
| * | | | Improve “pysetup create” help messages. | Éric Araujo | 2011-08-18 | 1 | -18/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The example version numbers were invalid and “package” was misused. I also made lines shorter, replaced “e-mail” with “email” (more common in the stdlib and I believe in English generally) and tweaked a few other things. | ||||
| * | | | Fix typo | Éric Araujo | 2011-08-18 | 1 | -1/+1 |
| | | | | |||||
| * | | | Remove class that was only useful with Sphinx autodoc | Éric Araujo | 2011-08-18 | 1 | -8/+0 |
| | | | | |||||
* | | | | Issue #12780: Merged fix from 3.2. | Vinay Sajip | 2011-08-19 | 1 | -2/+0 |
|\ \ \ \ | | |_|/ | |/| | | |||||
| * | | | Issue #12780: Removed checks in logging for .pyc/.pyo in __file__. | Vinay Sajip | 2011-08-19 | 1 | -2/+0 |
| | | | | |||||
* | | | | Merge: Fix ResourceWarnings in test_subprocess. | Nadeem Vawda | 2011-08-19 | 1 | -0/+4 |
|\ \ \ \ | |/ / / | |||||
| * | | | Fix ResourceWarnings in test_subprocess. | Nadeem Vawda | 2011-08-19 | 1 | -0/+4 |
| | | | | |||||
* | | | | Issue #12650: fix failures on some buildbots, when a subprocess takes a long | Charles-François Natali | 2011-08-18 | 1 | -12/+0 |
|\ \ \ \ | |/ / / | | | | | | | | | time to spawn. | ||||
| * | | | Issue #12650: fix failures on some buildbots, when a subprocess takes a long | Charles-François Natali | 2011-08-18 | 1 | -12/+0 |
| | | | | | | | | | | | | | | | | time to spawn. | ||||
* | | | | Issue #12650: Fix a race condition where a subprocess.Popen could leak | Charles-François Natali | 2011-08-18 | 2 | -1/+64 |
|\ \ \ \ | |/ / / | | / / | |/ / |/| | | resources (FD/zombie) when killed at the wrong time. | ||||
| * | | Issue #12650: Fix a race condition where a subprocess.Popen could leak | Charles-François Natali | 2011-08-18 | 2 | -1/+64 |
| |/ | | | | | | | resources (FD/zombie) when killed at the wrong time. | ||||
* | | Issue #12326: don't test the major version of sys.platform | Victor Stinner | 2011-08-17 | 7 | -49/+46 |
| | | | | | | | | | | Use startswith, instead of ==, when testing sys.platform to support new platforms like Linux 3 or OpenBSD 5. | ||||
* | | make __doc__ mutable on heaptypes (closes #12773) | Benjamin Peterson | 2011-08-17 | 1 | -0/+13 |
| | | |||||
* | | improve test name | Benjamin Peterson | 2011-08-17 | 1 | -1/+1 |
| | | |||||
* | | complain when a class variable shadows a name in __slots__ (closes #12766) | Benjamin Peterson | 2011-08-16 | 1 | -0/+8 |
| | | |||||
* | | merge heads | Benjamin Peterson | 2011-08-16 | 1 | -1/+1 |
|\ \ | |||||
| * | | #9723: refactor regex. | Ezio Melotti | 2011-08-16 | 1 | -1/+1 |
| | | | |||||
* | | | some *nixes decided not to call init process 1 (closes #12763) | Benjamin Peterson | 2011-08-16 | 1 | -1/+1 |
|/ / | |||||
* | | #12266: merge with 3.2. | Ezio Melotti | 2011-08-15 | 1 | -0/+17 |
|\ \ | |/ | |||||
| * | #12266: Fix str.capitalize() to correctly uppercase/lowercase titlecased and ↵ | Ezio Melotti | 2011-08-15 | 1 | -0/+17 |
| | | | | | | | | cased non-letter characters. |