Commit graph

2023 commits

Author SHA1 Message Date
Benjamin Peterson
9833fcbca3 use patch context manager instead of decorator because the decorator 'leaks' metadata onto the function 2014-09-20 11:53:12 -04:00
Benjamin Peterson
238f5aa6a5 merge 3.4 (#22349) 2014-09-06 17:24:35 -04:00
Benjamin Peterson
df0eb95b57 remove various dead version checks (closes #22349)
Patch from Thomas Kluyver.
2014-09-06 17:24:12 -04:00
Jason R. Coombs
311321edc1 #22315: Use advertised API for OSError 2014-08-31 17:42:20 -04:00
Jason R. Coombs
d28c5f00ef #22315: Use an existent directory for 'src' to trigger appropriate behavior. 2014-08-31 17:51:22 -04:00
Jason R. Coombs
47f44c9309 #22315: Provide an actual directory during test invocation. 2014-08-31 17:37:35 -04:00
Jason R. Coombs
e572ce3fb5 #22315: Use technique outlined in test_file_util 2014-08-31 17:31:32 -04:00
Jason R. Coombs
4b02e7041c #22315: Add test to capture the failure. 2014-08-31 15:02:42 -04:00
Jason R. Coombs
1be2e82c57 Correct indent 2014-08-31 15:00:47 -04:00
Jason R. Coombs
b4efbe8a58 Remove unused import 2014-08-31 13:43:02 -04:00
Jason R. Coombs
71a8eed615 Merge with 3.4; Closes #22315 2014-08-31 18:02:18 -04:00
Benjamin Peterson
c49a6aa1f0 merge 3.4 2014-08-31 17:22:27 -04:00
Berker Peksag
0dc10e0d1c Issue #22182: Use e.args to unpack exceptions correctly in distutils.file_util.move_file.
Patch by Claudiu Popa.
2014-08-29 07:09:25 +03:00
Berker Peksag
6685883c02 Issue #22182: Use e.args to unpack exceptions correctly in distutils.file_util.move_file.
Patch by Claudiu Popa.
2014-08-29 07:07:35 +03:00
Benjamin Peterson
c5847414f9 merge 3.4 (closes #22200) 2014-08-17 23:01:33 -05:00
Benjamin Peterson
0c56bb97ea remove 2.2 and 2.6 compat code (closes #22200)
Patch from Thomas Kluyver.
2014-08-17 23:00:42 -05:00
Serhiy Storchaka
521e5860a5 Issue #22032: __qualname__ instead of __name__ is now always used to format
fully qualified class names of Python implemented classes.
2014-07-22 15:00:37 +03:00
Ned Deily
7447edbc9e Issue #21923: merge from 3.4 2014-07-06 16:17:45 -07:00
Ned Deily
7bc5fb6916 Issue #21923: Prevent AttributeError in distutils.sysconfig.customize_compiler
due to possible uninitialized _config_vars.  Original patch by Alex Gaynor.
2014-07-06 16:14:33 -07:00
Jason R. Coombs
7c45632f6d Normalize style per PEP-8 2014-07-02 08:36:19 -04:00
Ned Deily
ce38f24af8 Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite. 2014-06-25 13:42:22 -07:00
Ned Deily
04cdfa1147 Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite. 2014-06-25 13:36:14 -07:00
Antoine Pitrou
41dcf35c26 Issue #21722: The distutils "upload" command now exits with a non-zero return code when uploading fails.
Patch by Martin Dengler.
2014-06-18 23:09:11 -04:00
Antoine Pitrou
2e4d3b133a Issue #21722: The distutils "upload" command now exits with a non-zero return code when uploading fails.
Patch by Martin Dengler.
2014-06-18 23:07:46 -04:00
Larry Hastings
fc8eda5ad8 Release bump for 3.4.3 final. 2015-02-22 23:55:39 -08:00
Larry Hastings
e5529063b2 Version bump for 3.4.3rc1. 2015-02-07 16:00:45 -08:00
Larry Hastings
5c26a8afbb Version bump for 3.4.1. 2014-05-17 21:46:35 -07:00
Larry Hastings
3a260d228b Merge. 2014-05-17 21:05:10 -07:00
Jason R. Coombs
09122f84fc Reindent long line 2014-05-10 13:24:58 -04:00
Jason R. Coombs
0375653371 Replace overly-aggressive comparison for type equality with an isinstance check. 2014-05-10 13:24:18 -04:00
Jason R. Coombs
a384652d6d Drop support for Python 2.4 in upload command. 2014-05-10 13:22:43 -04:00
Jason R. Coombs
6f71726ecd Replace import * with explicit import 2014-05-10 13:21:02 -04:00
Jason R. Coombs
7ae0fde001 Clean up style in distutils upload command 2014-05-10 13:20:28 -04:00
doko@ubuntu.com
4ce74dc54c - Issue #17752: Fix distutils tests when run from the installed location. 2014-05-07 13:08:51 +02:00
doko@ubuntu.com
e5de66eaa7 - Issue #17752: Fix distutils tests when run from the installed location. 2014-05-07 12:57:44 +02:00
doko@ubuntu.com
8577e5ae09 - Issue #17752: Fix distutils tests when run from the installed location. 2014-05-07 04:44:42 +02:00
Larry Hastings
95e0b0d1d0 Version bump for 3.4.1rc1. 2014-05-04 05:06:24 -07:00
Giampaolo Rodola'
4a692ce5ec Minor cosmetic enhancement to provide a more readable repr()esentation of Extension instances:
- <distutils.extension.Extension at 0x2b2088b79b00>
+ <distutils.extension.Extension('_struct') at 0x2b2088b79b00>
2014-03-27 14:14:16 +01:00
Victor Stinner
a69f0f94d3 (Merge 3.4) Issue #20978: pyflakes: fix undefined names; remove last part of
OS/2 support in distutils
2014-03-20 08:51:24 +01:00
Victor Stinner
790bd6dd13 Issue #20978: Remove last part of OS/2 support in distutils 2014-03-20 08:50:33 +01:00
Larry Hastings
f5002bd6ac Version bump to 3.5, step 2. 2014-03-16 23:05:59 -07:00
Larry Hastings
3c5c56f3c0 Merged default into 3.4 branch. 3.4 branch is now effectively 3.4.1rc1. 2014-03-16 22:54:05 -07:00
Larry Hastings
cf1a3cd2c7 Release bump for 3.4.0 final. 2014-03-15 22:34:24 -07:00
Éric Araujo
45fc8713bd Make distutils error messages more helpful (#11599).
When running external programs such as a C compiler and getting an
error code, distutils only prints the program name.  With this change,
one can get the full command line by setting the DISTUTILS_DEBUG
environment variable.

This should have no compatibility issues, unless there are tools
that depend on the exact format of distutils debug messages.
2014-03-13 04:55:35 -04:00
Éric Araujo
f1e8c70cf0 Merge 3.3 (#11599) 2014-03-13 05:59:31 -04:00
Éric Araujo
a0fe1f74f9 Merge 3.3 (#4931) 2014-03-12 04:10:51 -04:00
Éric Araujo
fc773a2d4b Avoid “error: None” messages from distutils (#4931).
Thanks to Amaury Forgeot d’Arc and Philip J. Eby.
2014-03-12 03:34:02 -04:00
Georg Brandl
fbd7518a41 Bump to 3.3.5 final. 2014-03-09 09:37:14 +01:00
Larry Hastings
d5c59763ad Version bump for 3.4.0rc3. 2014-03-09 04:13:05 -07:00
Georg Brandl
c186b23799 Bump to 3.3.5rc2. 2014-03-02 09:19:03 +01:00