- 30 Jun, 2011 3 commits
-
-
Victor Stinner authored
We don't need to create a temporary buffered binary or text file object just to create an empty file. Replace also os.fdopen(handle).close() by os.close(handle).
-
Victor Stinner authored
to read the encoding cookie, instead of opening it in UTF-8.
-
Victor Stinner authored
encoding cookie, instead of opening it in UTF-8.
-
- 29 Jun, 2011 3 commits
-
-
Ned Deily authored
-
Ned Deily authored
set the MACOSX_DEPLOYMENT_TARGET env variable for the interpreter process on OS X. This could cause failures in non-distutils subprocesses and was unreliable since tests or user programs could modify the interpreter environment after distutils set it. Instead, have distutils set the the deployment target only in the environment of each build subprocess. Continue to use the previous algorithm for deriving the deployment target value: if MACOSX_DEPLOYMENT_TARGET is not set in the interpreter's env: use the interpreter build configure MACOSX_DEPLOYMENT_TARGET elif the MACOSX_DEPLOYMENT_TARGET env value >= configure value: use the env MACOSX_DEPLOYMENT_TARGET else: # env value less than interpreter build configure value raise exception This allows building extensions that can only run on newer versions of the OS than the version python was built for, for example with a python built for 10.3 or later and an extension that needs to be built for 10.5.
-
Ned Deily authored
test_build_ext.
-
- 28 Jun, 2011 2 commits
- 11 Jun, 2011 3 commits
-
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
- 04 Jun, 2011 2 commits
-
-
Éric Araujo authored
I have removed the reST target I added in 38cdca2cc253: it is not necessary, as people can link to the glossary entry or the abc module without it. Two indentation fixes from 3.2 collections.rst have been ported to 3.3 collections.abc.rst.
-
Éric Araujo authored
-
- 29 May, 2011 3 commits
-
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
- 28 May, 2011 3 commits
-
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
The tests now pass all combinations of -O/-OO and -B. See also #7071 and #6292 for previous variations on the same theme. test_versionpredicate needs a skip when sys.flags.optimize is true, but I don’t know how to make that work with a DocTestSuite.
-
- 22 May, 2011 1 commit
-
-
Tarek Ziade authored
-
- 21 May, 2011 1 commit
-
-
Georg Brandl authored
-
- 19 May, 2011 2 commits
-
-
Tarek Ziade authored
-
Victor Stinner authored
build_scripts command of packaging now handles correctly non-ASCII path (path to the Python executable). Open and write the script in binary mode, but ensure that the shebang is decodable from UTF-8 and from the encoding of the script.
-
- 15 May, 2011 3 commits
-
-
Georg Brandl authored
-
Ronald Oussoren authored
(merge from 3.2) Issue #9516: avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET is set in shell. Without this patch python will fail to start properly when the environment variable MACOSX_DEPLOYMENT_TARGET is set on MacOSX and has a value that is not compatible with the value during Python's build. This is caused by code in sysconfig that was only meant to be used in disutils.
-
Ronald Oussoren authored
Without this patch python will fail to start properly when the environment variable MACOSX_DEPLOYMENT_TARGET is set on MacOSX and has a value that is not compatible with the value during Python's build. This is caused by code in sysconfig that was only meant to be used in disutils.
-
- 13 May, 2011 2 commits
-
-
Georg Brandl authored
-
Georg Brandl authored
-
- 10 May, 2011 6 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
non-ASCII scripts. Open and write the script in binary mode, but ensure that the shebang is decodable from UTF-8 and from the encoding of the script.
-
Victor Stinner authored
-
Victor Stinner authored
non-ASCII path (path to the Python executable). Open and write the script in binary mode, but ensure that the shebang is decodable from UTF-8 and from the encoding of the script.
-
Victor Stinner authored
non-ASCII path (path to the Python executable). Open and write the script in binary mode, but ensure that the shebang is decodable from UTF-8 and from the encoding of the script.
-
- 08 May, 2011 1 commit
-
-
Georg Brandl authored
-
- 20 Apr, 2011 2 commits
-
-
Éric Araujo authored
-
Éric Araujo authored
-
- 17 Apr, 2011 1 commit
-
-
Éric Araujo authored
-
- 14 Apr, 2011 1 commit
-
-
Éric Araujo authored
-
- 16 Mar, 2011 1 commit
-
-
Ezio Melotti authored
-