Commit Graph

641 Commits

Author SHA1 Message Date
Martin Panter e26da7c03a Issue #27171: Fix typos in documentation, comments, and test function names 2016-06-02 10:07:09 +00:00
Stefan Krah 8d013a8d36 Issue #26846: Post commit cleanup. 2016-04-26 16:34:41 +02:00
Victor Stinner 1fa5a38e92 Merge 3.5: Issue #21668 2016-04-19 15:58:33 +02:00
Victor Stinner def8072c34 setup.py: add missing libm dependency
Issue #21668: Link audioop, _datetime, _ctypes_test modules to libm, except on
Mac OS X. Patch written by Xavier de Gaye.
2016-04-19 15:58:11 +02:00
Ned Deily b8da1a4fee Issue #25136: merge from 3.5 2016-02-25 00:59:16 +11:00
Ned Deily 020250f91f Issue #25136: Support Apple Xcode 7's new textual SDK stub libraries.
As of Xcode 7, SDKs for Apple platforms now include textual-format stub
libraries whose file names have a .tbd extension rather than the
standard OS X .dylib extension.  The Apple compiler tool chain handles
these stub libraries transparently and the installed system shared libraries
are still .dylibs.  However, the new stub libraries cause problems for
third-party programs that support building with Apple SDKs and make
build-time decisions based on the presence or paths of system-supplied
shared libraries in the SDK.  In particular, building Python itself with
an SDK fails to find system-supplied libraries during setup.py's build of
standard library extension modules.  The solution is to have
find_library_file() in Distutils search for .tbd files, along with
the existing types (.a, .so, and .dylib).  Patch by Tim Smith.
2016-02-25 00:56:38 +11:00
Serhiy Storchaka 885bdc4946 Issue #25985: sys.version_info is now used instead of sys.version
to format short Python version.
2016-02-11 13:10:36 +02:00
Martin Panter c9deece272 Issue #24421: Compile _math.c separately to avoid race condition 2016-02-03 05:19:44 +00:00
Benjamin Peterson 24ac877eed upgrade xxlimited abi to 3.5 2015-06-03 00:04:46 -05:00
Nick Coghlan d5cacbb1d9 PEP 489: Multi-phase extension module initialization
Known limitations of the current implementation:

- documentation changes are incomplete
- there's a reference leak I haven't tracked down yet

The leak is most visible by running:

  ./python -m test -R3:3 test_importlib

However, you can also see it by running:

  ./python -X showrefcount

Importing the array or _testmultiphase modules, and
then deleting them from both sys.modules and the local
namespace shows significant increases in the total
number of active references each cycle. By contrast,
with _testcapi (which continues to use single-phase
initialisation) the global refcounts stabilise after
a couple of cycles.
2015-05-23 22:24:10 +10:00
Berker Peksag 4256e8ab6d Issue #16537: Use the new *default* parameter of max(). 2014-10-01 05:12:18 +03:00
Berker Peksag 1d82a9c383 Issue #16537: Use the new *default* parameter of max(). 2014-10-01 05:11:13 +03:00
Antoine Pitrou afa3153b27 Remove pointless "vile hack" that can cause the build step to fail when some extension modules can't be imported.
See issue #5309 for the build failures, issue #458343 for the original motivation.
2014-09-30 14:58:22 +02:00
Berker Peksag a72bc8c3cf Issue #16537: Check whether self.extensions is empty in setup.py.
Patch by Jonathan Hosmer.
2014-09-27 22:39:38 +03:00
Berker Peksag 21c8d5c7d9 Issue #16537: Check whether self.extensions is empty in setup.py.
Patch by Jonathan Hosmer.
2014-09-27 22:37:15 +03:00
Antoine Pitrou 2c0a916061 Issue #5309: distutils' build and build_ext commands now accept a ``-j``
option to enable parallel building of extension modules.
2014-09-26 23:31:59 +02:00
Benjamin Peterson acb8c52343 add -Werror=declaration-after-statement only to stdlib extension modules (closes #21121)
Patch from Stefan Krah.
2014-08-09 20:01:49 -07:00
Benjamin Peterson b30802b7a8 merge 3.4 (#21121) 2014-08-09 20:04:19 -07: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
Brett Cannon 2a17bde930 Issue #20383: Introduce importlib.util.module_from_spec().
Along the way, dismantle importlib._bootstrap._SpecMethods as it was
no longer relevant and constructing the new function required
partially dismantling the class anyway.
2014-05-30 14:55:29 -04:00
Benjamin Peterson 5c2ac8c1c6 setup.py: report modules which built but import failed (closes #21282)
Patch by Lukas Vacek.
2014-04-30 11:06:16 -04:00
doko@ubuntu.com a3818a3043 - Issue #15234: For BerkelyDB and Sqlite, only add the found library and
include directories if they aren't already being searched. This avoids
  an explicit runtime library dependency.
2014-04-17 17:52:48 +02:00
Benjamin Peterson 8a553f5be4 merge 3.3 2014-03-15 12:29:21 -05:00
Benjamin Peterson 51281736d9 remove runtime_library_dirs for _sqlite; it isn't needed 2014-03-15 12:29:04 -05:00
Martin v. Löwis ca7b04644c Issue #17162: Add PyType_GetSlot. 2014-02-04 09:33:05 +01:00
Eric Snow 335e14dd1a Issue #19713: Move away from using find_module/load_module. 2014-01-04 15:09:28 -07:00
Martin v. Löwis 24e43308b7 * Issue #16113: Remove sha3 module again.
Patch by Christian Heimes, with modifications.
2014-01-03 14:05:06 +01:00
Stefan Krah daa96b7669 Merge from 3.3. 2013-11-24 19:56:23 +01:00
Stefan Krah 45059eb1d0 1) Prepare libmpdec for the 2.4.0 release. None of the following changes affects
_decimal:

      o Make all "mpd_t to C integer" conversion functions available in both the
        64-bit and the 32-bit versions.

      o Make all mixed mpd_t/C integer arithmetic functions available in the
        32-bit version.

      o Better handling of __STDC_LIMIT_MACROS for C++ users.

      o Add struct tags (at the request of C++ users).

2) Check for libmpdec.so.2 if --with-system-libmpdec is used.
2013-11-24 19:44:57 +01:00
Larry Hastings 3a9079742f Issue #19722: Added opcode.stack_effect(), which accurately
computes the stack effect of bytecode instructions.
2013-11-23 14:49:22 -08:00
Ned Deily 65657c27fa Issue #1584: Provide options to override default search paths for Tcl and Tk
when building _tkinter.  configure has two new options; if used, both must
be specified:

  ./configure \
      --with-tcltk-includes="-I/opt/local/include" \
      --with-tcltk-libs="-L/opt/local/lib -ltcl8.5 -ltk8.5"

In addition, the options can be overridden with make:

   make \
       TCLTK_INCLUDES="-I/opt/local/include" \
       TCLTK_LIBS="-L/opt/local/lib -ltcl8.6 -ltk8.6"
2013-10-25 00:34:44 -07:00
Ned Deily 5ceae41083 Ensure setup.py looks for zlib.h in an OS X SDK. 2013-10-18 21:34:58 -07:00
Ned Deily 507c591e5b Ensure setup.py looks for zlib.h in an OS X SDK. 2013-10-18 21:32:00 -07:00
Ned Deily d819b931f3 Issue #1584: Provide options to override default search paths for Tcl and Tk
when building _tkinter.  configure has two new options; if used, both must
be specified:

  ./configure \
      --with-tcltk-includes="-I/opt/local/include" \
      --with-tcltk-libs="-L/opt/local/lib -ltcl8.5 -ltk8.5"

In addition, the options can be overridden with make:

   make \
       TCLTK_INCLUDES="-I/opt/local/include" \
       TCLTK_LIBS="-L/opt/local/lib -ltcl8.6 -ltk8.6"
2013-09-06 01:07:05 -07:00
Ned Deily b467d1542a Issue #18517: merge from 3.3 2013-08-01 23:53:24 -07:00
Ned Deily cd3d8fb825 Issue #18517: Move definition of "xxlimited" extension to detect_modules(). 2013-08-01 23:51:27 -07:00
Ronald Oussoren 0fedb37c47 Issue #18393: Remove use of deprecated API on OSX
The "Gestalt" function on OSX is deprecated (starting with OSX 10.8),
remove its usage from the stdlib. The patch removes a number of private
functions and a private module, but does not change the public API.

The removed code was effectively dead, the platform module has used
other code to fetch the OSX version for years and could only use
on the Gestalt-based code as a fallback. That fallback can only trigger
on broken OSX installs (that is, someone has removed parts of the system
install)
2013-07-15 18:32:09 +02:00
Brett Cannon ae95b4f7a5 Issue #17845: Clarify the message setup.py prints upon successfully
building Python but having some optional module which didn't build.

Patch by Yogesh Chaudhari.
2013-07-12 11:30:32 -04:00
Brett Cannon ca5ff3a069 Issue # 17177: Stop using imp in setup.py 2013-06-15 17:52:59 -04:00
Antoine Pitrou 2463e5fee4 Issue #16692: The ssl module now supports TLS 1.1 and TLS 1.2. Initial patch by Michele Orrù. 2013-03-28 22:24:43 +01:00
doko@ubuntu.com 6d3d0fe0b2 - Issue #16754: Fix the incorrect shared library extension on linux. Introduce
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
  SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
2013-03-21 13:39:52 -07:00
doko@ubuntu.com 1621d77fc8 - Issue #16754: Fix the incorrect shared library extension on linux. Introduce
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
  SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
2013-03-21 13:31:41 -07:00
doko@ubuntu.com d5537d071c - Issue #16754: Fix the incorrect shared library extension on linux. Introduce
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
  SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
2013-03-21 13:21:49 -07:00
Stefan Krah e8d4d51f59 Merge 3.3. 2013-03-07 01:23:01 +01:00
Stefan Krah 4f1974496a Issue #17361: Use cc from sysconfig for testing flags. 2013-03-07 01:12:03 +01:00
Petri Lehtinen d784e53d96 Issue #5033: Fix building of the sqlite3 extension module 2013-02-23 17:24:44 +01:00
Petri Lehtinen d2132144a4 Issue #5033: Fix building of the sqlite3 extension module 2013-02-23 17:24:00 +01:00
Petri Lehtinen ed909bcbdd Issue #5033: Fix building of the sqlite3 extension module 2013-02-23 17:16:20 +01:00
Christian Heimes 633a92ff20 add proper dependencies on expat headers and sources 2013-02-09 17:02:24 +01:00
Christian Heimes 7d01a1eb2b add proper dependencies on expat headers and sources 2013-02-09 17:02:16 +01:00
Christian Heimes d489c7a0a3 add proper dependencies on expat headers and sources 2013-02-09 17:02:06 +01:00
Stefan Krah 9f1b6018a9 Merge 3.3. 2013-01-17 12:52:42 +01:00
Stefan Krah 13fe6d1c46 Fix build with 3.x gcc versions. 2013-01-17 12:49:34 +01:00
Stefan Krah cc0589dbb9 Merge 3.3. 2013-01-16 14:49:15 +01:00
Stefan Krah ce55f089fb Increase warning level for _decimal.so and libmpdec build when using gcc. 2013-01-16 14:45:16 +01:00
Andrew Svetlov 6b2cbeba58 Issue #16421: allow to load multiple modules from the same shared object.
Patch by Václav Šmilauer.
2012-12-14 17:04:59 +02:00
Christian Heimes e6f228011e Just to be sure, initialize with a copy of the compiler's lib and inc dirs. 2012-12-12 12:57:03 +01:00
Christian Heimes d783261e99 Just to be sure, initialize with a copy of the compiler's lib and inc dirs. 2012-12-12 12:56:51 +01:00
Christian Heimes bf5fcc7fc8 Fix cross compiling issue in setup.py, ensure that lib_dirs and inc_dirs are
defined in cross compiling mode, too.
2012-12-12 12:41:50 +01:00
Christian Heimes f19529cfd6 Fix cross compiling issue in setup.py, ensure that lib_dirs and inc_dirs are
defined in cross compiling mode, too.
2012-12-12 12:41:00 +01:00
Trent Nelson b16269e375 Merge issue #15298: ensure _sysconfigdata is generated in build directory,
not source directory.

Patch by: Richard Oudkerk (sbt).
2012-10-16 08:17:11 -04:00
Trent Nelson c101bf32c4 Issue #15298: ensure _sysconfigdata is generated in build directory,
not source directory.

Patch by Richard Oudkerk (sbt).
2012-10-16 08:13:12 -04:00
Christian Heimes 4a0270d82b Issue #16113: integrade SHA-3 (Keccak) patch from http://hg.python.org/sandbox/cheimes 2012-10-06 02:23:36 +02:00
Jesus Cea f1af705720 #16135: Removal of OS/2 support (Remove OS2 and OS/2 references) 2012-10-05 02:48:46 +02:00
Stefan Krah ffc3dee5ae Backport 5cfe8af7abb2. 2012-09-30 21:26:33 +02:00
Stefan Krah ce23dbc1f0 Suppress unknown pragma warning (STDC FENV_ACCESS). 2012-09-30 21:12:53 +02:00
Christian Heimes 6d1fb5aa85 Issue #15591: run ctypes' configure in quiet mode when setup.py runs silently 2012-09-06 18:03:32 +02:00
Christian Heimes 7dd06e1dc0 Issue #15591: run ctypes' configure in quiet mode when setup.py runs silently 2012-09-06 18:02:49 +02:00
Stefan Krah a10e2fbe0b Compile _decimal without asserts and update benchmark results. 2012-09-01 14:21:22 +02:00
doko@ubuntu.com 3277b35183 - Issue #11715: Fix multiarch detection without having Debian development
tools (dpkg-dev) installed.
2012-08-08 12:15:55 +02:00
Ned Deily 9b635837c5 Issue #15560: Fix building _sqlite3 extension on OS X with an SDK. 2012-08-05 15:13:33 -07:00
Ned Deily 03e2180b3f Issue #15560: Fix building _sqlite3 extension on OS X with an SDK. 2012-08-05 14:56:21 -07:00
Ned Deily 3b796680c3 Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs. 2012-07-30 04:09:32 -07:00
Ned Deily 2910a7ba6b Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.
Also add tests in the OS X installer build to ensure that the desired
dynamic linking with an optional newer Tcl/Tk in /Library actually
happens.
2012-07-30 02:35:58 -07:00
Ned Deily 8916b853b9 Issue #14018: fix merge error 2013-01-26 18:09:12 -08:00
doko@ubuntu.com 98b1c446d5 - Issue #11715: Fix multiarch detection without having Debian development
tools (dpkg-dev) installed.
2012-09-21 13:52:29 +02:00
doko@ubuntu.com 15bac0f4da - Issue #15235: Allow Berkley DB versions up to 5.3 to build the dbm module. 2012-07-01 10:35:54 +02:00
doko@ubuntu.com cc5addd3b6 - Issue #14330: Don't derive the include and library search dirs
from GCC for native builds
2012-07-01 00:23:51 +02:00
doko@ubuntu.com 4c99071c9b - fix the OS X build failure, only try to remove the temporary file if it exists 2012-06-30 23:28:09 +02:00
Antoine Pitrou 7f7902ce9c Merge 2012-06-30 23:03:18 +02:00
Antoine Pitrou d06f9742db Try to fix compilation failure under OS X 2012-06-30 22:56:37 +02:00
doko@ubuntu.com 1abe1c5fe1 - Issue #14330: For cross builds, don't use host python, use host search paths
for host compiler.
2012-06-30 20:42:45 +02:00
Matthias Klose e344eca3ff previous patch needs patch from issue #14330
set cross_compiling = False for now.
2012-06-30 18:32:06 +02:00
Matthias Klose fe39bd12f8 - merge branches 2012-06-30 18:26:26 +02:00
doko@ubuntu.com 5884449539 - Issue #3754: Use readelf instead of ldd for the cross build readline check 2012-06-30 18:25:32 +02:00
Stefan Krah 3746aee905 Whitespace. 2012-06-30 18:20:33 +02:00
doko@ubuntu.com 93df16bb16 - Issue #3754, refactor sys.platform / get_platform bits, use a
global host_platform instead.
2012-06-30 14:32:08 +02:00
Éric Araujo 859aad6a36 Remove packaging from the standard library.
Distutils2 will live on on PyPI and be included in the stdlib when it
is ready.  See discussion starting at
http://mail.python.org/pipermail/python-dev/2012-June/120430.html
2012-06-24 00:07:41 -04:00
Ned Deily 69192238ba Issue #14225: Fix Unicode support for curses (#12567) on OS X:
1. on OS X, there is no separate /usr/lib/libcursesw nor libpanelw
    2. _XOPEN_SOURCE_EXTENDED must be enabled for _curses build
2012-06-20 23:47:14 -07:00
Nick Coghlan 2b3eb0dbac Merge from 3.2. (Issue #15044: Handle Fedora 17's approach to ndbm compatibility) 2012-06-17 18:27:54 +10:00
Nick Coghlan 50f147a9be Issue #15044: Handle Fedora 17's approach to ndbm compatibility 2012-06-17 18:27:11 +10:00
Vinay Sajip 7ded1f0f69 Implemented PEP 405 (Python virtual environments). 2012-05-26 03:45:29 +01:00
Antoine Pitrou 019ff19c39 Issue #14693: Under non-Windows platforms, hashlib's fallback modules are always compiled, even if OpenSSL is present at build time. 2012-05-16 16:41:26 +02:00
Antoine Pitrou 23bba4ca39 Issue #11750: The Windows API functions scattered in the _subprocess and
_multiprocessing.win32 modules now live in a single module "_winapi".
Patch by sbt.
2012-04-18 20:51:15 +02:00
Ross Lagerwall 0b63b5691c Be less verbose when building dbm. 2012-04-15 08:19:35 +02:00
Charles-François Natali 515ea9bd65 Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban. 2012-04-12 19:09:00 +02:00
Charles-François Natali 5739e102dd Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban. 2012-04-12 19:07:25 +02:00
Ned Deily 458a6fbaa8 Issue #14463: Prevent _decimal.so compile failures in OS X installer builds. 2012-04-01 02:30:46 -07:00
Stefan Krah 60187b5ee5 Issue #7652: Enable linking of _decimal.so against an installed libmpdec. 2012-03-23 19:06:27 +01:00
Stefan Krah 1919b7e72b Issue #7652: Integrate the decimal floating point libmpdec library to speed
up the decimal module. Performance gains of the new C implementation are
between 12x and 80x, depending on the application.
2012-03-21 18:25:23 +01:00
Victor Stinner 5d272cc6a2 Close #14180: Factorize code to convert a number of seconds to time_t, timeval or timespec
time.ctime(), gmtime(), time.localtime(), datetime.date.fromtimestamp(),
datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now
raises an OverflowError, instead of a ValueError, if the timestamp does not fit
in time_t.

datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now
round microseconds towards zero instead of rounding to nearest with ties going
away from zero.
2012-03-13 13:35:55 +01:00
Stefan Krah 0a971f18cc Issue #14152: Merge fix from 3.2. 2012-02-29 14:14:00 +01:00
Stefan Krah eb977dac9c Issue #14152: Restore the Include/*.h dependencies for extension builds. 2012-02-29 14:10:53 +01:00
Stefan Krah 9a2d99e28a - Issue #10181: New memoryview implementation fixes multiple ownership
and lifetime issues of dynamically allocated Py_buffer members (#9990)
  as well as crashes (#8305, #7433). Many new features have been added
  (See whatsnew/3.3), and the documentation has been updated extensively.
  The ndarray test object from _testbuffer.c implements all aspects of
  PEP-3118, so further development towards the complete implementation
  of the PEP can proceed in a test-driven manner.

  Thanks to Nick Coghlan, Antoine Pitrou and Pauli Virtanen for review
  and many ideas.

- Issue #12834: Fix incorrect results of memoryview.tobytes() for
  non-contiguous arrays.

- Issue #5231: Introduce memoryview.cast() method that allows changing
  format and shape without making a copy of the underlying memory.
2012-02-25 12:24:21 +01:00
Nadeem Vawda 3ff069ebc6 Issue #6715: Add module for compression using the LZMA algorithm. 2011-11-30 00:25:06 +02:00
Victor Stinner aa35b00322 cleanup setup.py for curses options 2011-11-29 00:08:12 +01:00
Victor Stinner 756c6ecdc4 Issue #13415: Help to locate curses.h when _curses module is linked to ncursesw 2011-11-27 00:19:53 +01:00
Martin Panter 63d096ddab Issue #24421: Compile _math.c separately to avoid race condition 2016-02-03 05:19:44 +00:00
Victor Stinner e0be423297 Close #10278: Add clock_getres(), clock_gettime() and CLOCK_xxx constants to
the time module. time.clock_gettime(time.CLOCK_MONOTONIC) provides a monotonic
clock
2011-10-25 13:06:09 +02:00
Éric Araujo 5e2d5df477 Improve Victor’s commit with cool new 2.5 idiom 2011-10-19 06:01:57 +02:00
Victor Stinner e67474725b Issue #12326: refactor usage of sys.platform
* 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')
2011-08-21 00:39:18 +02:00
Victor Stinner 9c3de4a883 Issue #12326: don't test the major version of sys.platform
Use startswith, instead of ==, when testing sys.platform to support
new platforms like Linux 3 or OpenBSD 5.
2011-08-17 20:49:41 +02:00
Nadeem Vawda 9e2e99097c Fix build error in _curses module when not using libncursesw.
Code extracted from Victor Stinner's patch for issue #12567.
2011-07-31 15:01:11 +02:00
Éric Araujo e6792c1e77 Stop creating a Python-X.Y.Z-pyX.Y.egg-info file on install (#10645) 2011-06-09 14:07:02 +02:00
Brett Cannon c5011fe227 When building sqlite3, the directory where sqlite.h was found was
always appended to the include directories regardless of whether it
was already in the list of directories. This could cause issue if
sqlite was installed in the same location as another install of
Python. Now a check is done to make sure the directory is not included
twice.
2011-06-06 20:09:10 -07:00
Benjamin Peterson 8c6f88efa2 remove __version__s dependent on subversion keyword expansion (closes #12221) 2011-05-31 20:52:17 -05:00
Tarek Ziade 90fb9283fc promoted pysetup3 to a top-level script 2011-05-31 08:31:50 +02:00
Antoine Pitrou 87cf220972 Issue #11743: Rewrite multiprocessing connection classes in pure Python. 2011-05-09 17:04:27 +02:00
Barry Warsaw cece8cfe8a Refinement by Stefan Krah (see issue 11715, msg133194) to exit early if the
dpkg-architecture command is not found on $PATH.  This should fix the failures
on FreeBSD and Solaris, which do not create the target file via I/O
redirection if the command isn't found (unlike Linux and OS X which do).
2011-04-07 10:48:29 -04:00
Barry Warsaw 9b5ac3efa6 Refinement by Stefan Krah (see issue 11715, msg133194) to exit early if the
dpkg-architecture command is not found on $PATH.  This should fix the failures
on FreeBSD and Solaris, which do not create the target file via I/O
redirection if the command isn't found (unlike Linux and OS X which do).
2011-04-07 10:45:07 -04:00
Barry Warsaw 88e194513e Refinement by Stefan Krah (see issue 11715, msg133194) to exit early if the
dpkg-architecture command is not found on $PATH.  This should fix the failures
on FreeBSD and Solaris, which do not create the target file via I/O
redirection if the command isn't found (unlike Linux and OS X which do).
2011-04-07 10:40:36 -04:00
Barry Warsaw 59c8ac71f7 Issue 11715: Merge multiarch fix from 3.1 branch. 2011-04-06 15:19:25 -04:00
Barry Warsaw 3178b7dee1 Issue 11715: Merge multiarch fix from 3.1 branch. 2011-04-06 15:19:05 -04:00
Barry Warsaw 5ca305a599 Issue 11715: Build extension modules on multiarch Debian and Ubuntu by
extending search paths to include multiarch directories.
2011-04-06 15:18:12 -04:00
Antoine Pitrou 37dc5f85b8 Issue #5863: Rewrite BZ2File in pure Python, and allow it to accept
file-like objects using a new `fileobj` constructor argument.  Patch by
Nadeem Vawda.
2011-04-03 17:05:46 +02:00
Ezio Melotti 3b3499ba69 #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
Ezio Melotti 13925008dc #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 11:05:33 +02:00
Ezio Melotti 4969f709cc #11515: Merge with 3.1. 2011-03-15 05:59:46 +02:00
Ezio Melotti 42da663e6f #11515: fix several typos. Patch by Piotr Kasprzyk. 2011-03-15 05:18:48 +02:00
Ezio Melotti b88ed1549e #11565: Merge with 3.2. 2011-03-16 11:38:59 +02:00
Ezio Melotti 373089239b #11515: Merge with 3.2. 2011-03-15 06:03:08 +02:00
Sean Reifscheider e2dfefbe85 Issue #10924: Adding salt and Modular Crypt Format to crypt library. 2011-02-22 10:55:44 +00:00
Georg Brandl ff52f76019 #10679: install idle, pydoc, 2to3 scripts with X.Y suffix for make altinstall; create symlinks for make install. 2010-12-28 09:51:43 +00:00
Antoine Pitrou 8c30a710e6 Silence compile error 2010-12-04 18:36:03 +00:00
Martin v. Löwis 4d0d471a80 Merge branches/pep-0384. 2010-12-03 20:14:31 +00:00
Barry Warsaw 34520cdcf4 Roumen Petrov's fix for when all paths are absolute. (Issue 10520) 2010-11-27 20:03:03 +00:00
Matthias Klose 55aa2f39a3 Merged revisions 85645 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85645 | matthias.klose | 2010-10-17 15:22:33 +0200 (Sun, 17 Oct 2010) | 2 lines

  - Accept Oracle Berkeley DB 5.0 and 5.1 as backend for the dbm extension.
........
2010-11-26 11:56:26 +00:00
Barry Warsaw 807bd0a8a4 Put /usr/local paths after the relative paths in library_dirs and
include_dirs, so installed non-matching shared libraries don't break extension
module linking.  Fixes issue 10520.
2010-11-24 20:30:00 +00:00
Benjamin Peterson 076ed00003 add --enable-loadable-sqlite-extensions #10268 2010-10-31 17:11:02 +00:00
Benjamin Peterson c73206c1e1 typo 2010-10-31 16:38:19 +00:00
Brett Cannon 9f5db07dab Make file handing in setup.py more robust by using context managers to properly
close files.
2010-10-29 20:19:27 +00:00
Ronald Oussoren 7e7dbab08a Merged revisions 85744 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85744 | ronald.oussoren | 2010-10-20 15:10:12 +0200 (Wed, 20 Oct 2010) | 7 lines

  Fix for issue #7473.

  Without this patch you'll get link errors in some extensions
  (in particular the _curses_panel) one when you try to build
  a 3-way universal framework when you previously installed a
  2-way universal framework using the python.org installer.
........
2010-10-20 13:40:38 +00:00
Ronald Oussoren f3500e1198 Fix for issue #7473.
Without this patch you'll get link errors in some extensions
(in particular the _curses_panel) one when you try to build
a 3-way universal framework when you previously installed a
2-way universal framework using the python.org installer.
2010-10-20 13:10:12 +00:00
Matthias Klose 8690ae57f3 - Accept Oracle Berkeley DB 5.0 and 5.1 as backend for the dbm extension. 2010-10-17 13:22:33 +00:00
Antoine Pitrou 07f62a7702 Merged revisions 74473,79974 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r74473 | guilherme.polo | 2009-08-16 16:44:14 +0200 (dim., 16 août 2009) | 13 lines

  Merged revisions 74471-74472 via svnmerge from
  svn+ssh://pythondev/python/trunk

  ........
    r74471 | guilherme.polo | 2009-08-16 11:34:26 -0300 (Sun, 16 Aug 2009) | 1 line

    Issue #6244: Allow detect_tkinter to look for Tcl/Tk 8.6.
  ........
    r74472 | guilherme.polo | 2009-08-16 11:38:57 -0300 (Sun, 16 Aug 2009) | 1 line

    Wrong place for issue #6244.
  ........
................
  r79974 | benjamin.peterson | 2010-04-12 00:04:51 +0200 (lun., 12 avril 2010) | 13 lines

  Merged revisions 79903,79907 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r79903 | martin.v.loewis | 2010-04-08 04:47:40 -0500 (Thu, 08 Apr 2010) | 2 lines

    Issue #8344: Fix test_ttk bug on FreeBSD.
  ........
    r79907 | martin.v.loewis | 2010-04-08 12:38:32 -0500 (Thu, 08 Apr 2010) | 2 lines

    Issue #8204: Fix test_ttk notebook test by forcing focus.
  ........
................
2010-10-09 10:25:55 +00:00
Brett Cannon b82489dd7f setup.py was trying to build _weakref which is redundant as it's a built-in
module.

Closes issue #9848. Thanks to Arfrever Frehtes Taifersar Arahesis for the bug
report.
2010-09-14 19:41:23 +00:00
Antoine Pitrou 15db1443ae Merged revisions 84584 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84584 | antoine.pitrou | 2010-09-07 16:52:42 +0200 (mar., 07 sept. 2010) | 4 lines

  Issue #4026: Make the fcntl extension build under AIX.
  Patch by Sébastien Sablé.
........
2010-09-07 14:58:50 +00:00
Antoine Pitrou a300007c6e Issue #4026: Make the fcntl extension build under AIX.
Patch by Sébastien Sablé.
2010-09-07 14:52:42 +00:00
Ronald Oussoren 2decf22b95 Fix for issue9662, patch by Łukasz Langa in issue5504. 2010-09-05 18:25:59 +00:00