Commit Graph

1453 Commits

Author SHA1 Message Date
Georg Brandl 8a60e94802 Bump to 3.2b2. 2010-12-19 10:30:28 +00:00
Éric Araujo 60532bd6b6 Fix build_ext with VS 8.0. Patch by Hirokazu Yamamoto (#9558). 2010-12-15 21:07:22 +00:00
Éric Araujo 4433a5fdc0 Fix wrong name in docstring and doc (#10693). Original patch by Eli Bendersky. 2010-12-15 20:26:30 +00:00
Georg Brandl 41ea8ae667 Bump to 3.2b1. 2010-12-04 19:09:24 +00:00
Barry Warsaw bd86301070 sys.abiflags is not defined on all platforms. 2010-11-25 03:46:44 +00:00
Barry Warsaw 14d98ac31b Final patch for issue 9807. 2010-11-24 19:43:47 +00:00
Éric Araujo ff1144eb34 Fix two NameErrors in distutils (#10407) 2010-11-20 19:35:27 +00:00
Ezio Melotti b3aedd4862 #9424: Replace deprecated assert* methods in the Python test suite. 2010-11-20 19:04:17 +00:00
Georg Brandl 24854cac99 Bump to 3.2a4. 2010-11-13 06:39:58 +00:00
Éric Araujo 67a93ae4ed And now for something completely different: Finish fixing #10252 again. 2010-11-12 22:25:23 +00:00
Victor Stinner 3e2b7171bf Issue #10359: Remove ";" after function definition, invalid in ISO C 2010-11-09 09:32:19 +00:00
Éric Araujo 7c03d8c5c6 Fix #10252 again (hopefully definitely). Patch by Brian Curtin. 2010-11-06 18:03:52 +00:00
Éric Araujo 8bdbe9c52f Correct the fix for #10252: Popen objects have no close method. 2010-11-06 15:57:52 +00:00
Éric Araujo 45ee43be43 Remove traces of Mac OS 9 support, again (#9508).
This was done in r80805 (#7908) and erroneously brought back by the
distutils revert.  This commit removes more code than the original,
which was uncomplete.  There is no NEWS entry, like in r80805.
2010-11-06 06:00:54 +00:00
Éric Araujo ba7209f0a5 Prevent race condition with mkdir in distutils. Patch by Arfrever on #9281. 2010-11-06 04:48:05 +00:00
Éric Araujo 70ec44a773 Make sure each test can be run standalone (./python Lib/distutils/tests/x.py) 2010-11-06 02:44:43 +00:00
Éric Araujo 5ac6d80c02 Also close file descriptors from os.popen and subprocess.Popen 2010-11-06 02:10:32 +00:00
Éric Araujo 5fd730e0fb Of course, I forgot one file in r86223. 2010-11-05 23:59:32 +00:00
Éric Araujo bee5cef7db Always close files in distutils code and tests (#10252). 2010-11-05 23:51:56 +00:00
Brett Cannon 5c035c0949 Have distutils.sysconfig close a file to remove ResourceWarnings coming up
during the build from setup.py.
2010-10-29 22:36:08 +00:00
Victor Stinner 75d8c5cea2 Issue #6011: sysconfig and distutils.sysconfig use the surrogateescape error
handler to parse the Makefile file. Avoid a UnicodeDecodeError if the source
code directory name contains a non-ASCII character and the locale encoding is
ASCII.
2010-10-23 17:02:31 +00:00
Barry Warsaw 4ebfdf01bb Only hack cmd.library_dirs when running under Py_ENABLE_SHARED. Tested both
with and without --enable-shared on Ubuntu 10.10.  Hopefully this finally
solves bug 10126.  Will check 3.1 next.
2010-10-22 17:17:51 +00:00
Éric Araujo 68fc9aa318 Apply fix from r85784 on py3k too.
Fixes bug #10126 for Python 3.2 by using $RUNSHARED to find the
directory to the shared library.  test_distutils now passes when
Python was built with --enable-shared (Barry didn’t have the error
but I did).
2010-10-21 23:02:07 +00:00
Barry Warsaw 8cf4eae522 First (uncontroversial) part of issue 9807.
* Expose the build flags to Python as sys.abiflags
* Shared library libpythonX.Y<abiflags>.so
* python-config --abiflags
* Make two distutils tests that failed with --enable-shared (even before this
  patch) succeed.
* Fix a few small style issues.
2010-10-16 01:04:07 +00:00
Georg Brandl 002fa2de90 Bump to 3.2a3. 2010-10-10 09:40:34 +00:00
Antoine Pitrou dbec780a0b Issue #9437: Fix building C extensions with non-default LDFLAGS. 2010-10-10 09:37:12 +00:00
Tarek Ziadé 4bcceef5a1 Fixed #8980: distutils.command.check was failing w/ docutils installed 2010-10-03 14:18:09 +00:00
Vinay Sajip ae7d7fa0fe Reverted changes which were inadvertently committed. 2010-09-20 10:29:54 +00:00
Vinay Sajip 61c3f0dae7 logging: added hasHandlers() to LoggerAdapter. 2010-09-20 10:13:13 +00:00
Senthil Kumaran 5cc9a052c1 Update the test_distutils mode test to test with umask value properly. 2010-09-19 03:09:54 +00:00
Senthil Kumaran 0c25b45bd8 Skip the distutils mode test on Windows OS. 2010-09-18 02:55:03 +00:00
Senthil Kumaran 9b86a69fc7 Fix Issue2236: Distutils' mkpath implementation ignoring the "mode" parameter 2010-09-17 16:35:37 +00:00
Hirokazu Yamamoto bea8ae7948 get_build_version() is needed even where sys.platform != "win32".
Try to fix buildbot error in other way.
2010-09-13 07:18:30 +00:00
Hirokazu Yamamoto 68201bdb6d Issue #9313: Use unittest.skipUnless to skip old MSVC. 2010-09-13 05:36:21 +00:00
Hirokazu Yamamoto f28f0d92cd Issue #9313: Skips test_remove_visual_c_ref on old MSVC. 2010-09-12 22:55:40 +00:00
Éric Araujo e861598dcb Fix typo in option name 2010-09-11 15:28:56 +00:00
Antoine Pitrou 8e6b407d6f Issue #941346: Improve the build process under AIX and allow Python to
be built as a shared library.  Patch by Sébastien Sablé.
2010-09-10 19:44:44 +00:00
Éric Araujo 51e01a6f7a Follow-up to #9199: Fix str.join use, add newlines.
Thanks to Konrad Delong for writing a test for upload_docs
--show-response in distutils2, letting me catch my mistake.
2010-09-08 00:00:45 +00:00
Éric Araujo 480504b150 Fix incorrect use of Command.announce (#9199) 2010-09-07 23:08:57 +00:00
Éric Araujo 357175ff13 Fix eon-old bug in build_clib options (#1718574) 2010-09-07 22:11:52 +00:00
Georg Brandl 58a7b46075 Bump to 3.2a2. 2010-09-05 08:30:40 +00:00
Barry Warsaw 35f3a2cbeb PEP 3149 is accepted.
http://mail.python.org/pipermail/python-dev/2010-September/103408.html
2010-09-03 18:30:30 +00:00
Florent Xicluna e01de8f2f3 remove pointless coding cookies 2010-08-30 14:05:50 +00:00
Éric Araujo da668ff24f Use a marker in generated MANIFEST files, don't touch files without it. Fixes #8688. 2010-08-14 02:30:34 +00:00
Georg Brandl 56be37cef2 #7973: Fix distutils options spelling. 2010-08-02 19:16:34 +00:00
Georg Brandl 62e2ca2193 #8292: Fix three instances of truth tests on return values of filter() (which is always true in Python 3). 2010-07-31 21:54:24 +00:00
Georg Brandl 62069d3ce7 Bump versions and review NEWS file. 2010-07-31 08:56:11 +00:00
Ronald Oussoren e8d252dbcb Ensure that the Makefile variable expansion
in distutils.sysconfig matches that in the
toplevel sysconfig module.

Without this patch universal builds on OSX are
broken.

Als add a test that checks that the two version
of get_config_vars agree on important values.
2010-07-23 09:43:17 +00:00
Tarek Ziadé 3679727939 reverted distutils its 3.1 state. All new work is now happening in disutils2, and distutils is now feature-frozen. 2010-07-22 12:50:05 +00:00
Ezio Melotti 2efaf96771 #6026: skip test_get_file_list when zlib is not available. 2010-07-12 19:49:41 +00:00