Victor Stinner
beeb512fe1
Issue #21356 : Make ssl.RAND_egd() optional to support LibreSSL. The
...
availability of the function is checked during the compilation.
Patch written by Bernard Spil.
2014-11-28 13:28:25 +01:00
Benjamin Peterson
d1e22ba7db
only support append_history if readline has it
2014-11-26 14:35:12 -06:00
Victor Stinner
7efb83393c
Issue #22287 : On UNIX, _PyTime_gettimeofday() now uses
...
clock_gettime(CLOCK_REALTIME) if available. As a side effect, Python now
depends on the librt library on Solaris and on Linux (only with glibc older
than 2.17).
2014-08-29 15:41:08 +02:00
Ned Deily
682c04c70c
Issue #21166 : merge from 3.4
2014-08-22 13:36:30 -07:00
Ned Deily
fcbc246e9f
Issue #21166 : Prevent possible segfaults and other random failures of
...
python --generate-posix-vars in pybuilddir.txt build target by ensuring
that pybuilddir.txt is always regenerated when configure is run and
that the newly built skeleton python does not inadvertently import
modules from previously installed instances.
2014-08-22 13:32:49 -07: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
Charles-François Natali
7f9cc9359b
Issue #22110 : Enable extra compilation warnings.
2014-08-01 21:57:49 +01:00
Ned Deily
0db50cf7eb
Issue #18093 : Create Programs directory in build location for
...
out-of-tree builds.
2014-07-25 12:41:31 -07:00
Ned Deily
68e915e641
Issue #21811 : Anticipated fixes to 3.x configure for OS X 10.10 Yosemite.
2014-06-25 13:46:33 -07:00
Ned Deily
36820b6e08
Issue #21811 : Anticipated fixes to 3.x configure for OS X 10.10 Yosemite.
2014-06-25 13:44:22 -07:00
Charles-François Natali
d30b022b5e
Issue #21037 : Add a build option to enable AddressSanitizer support.
2014-05-08 23:08:51 +01: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
1a4f561d7c
- Issue #21285 : Refactor and fix curses configure check to always search
...
in a ncursesw directory.
2014-04-17 20:13:44 +02:00
doko@ubuntu.com
f8d60ca0c4
- Merge 3.4
2014-04-17 20:14:29 +02:00
Benjamin Peterson
8bdeb1672c
support setting fpu precision on m68k ( closes #20904 )
...
Patch from Andreas Schwab.
2014-04-17 00:00:31 -04:00
Kushal Das
02d23a212a
Closes Issue 17861: Autogenerate Include/opcode.h from opcode.py.
...
It includes required changes in Makefile.pre.in and configure.ac
among other files.
2014-04-15 23:50:06 +05:30
Larry Hastings
f5002bd6ac
Version bump to 3.5, step 2.
2014-03-16 23:05:59 -07:00
Christian Heimes
b02bcae566
Attempt to fix OpenIndiana build issue introduced by #19922
2013-12-08 15:21:08 +01:00
Christian Heimes
647cd87169
Issue #19922 : define _INCLUDE__STDC_A1_SOURCE in HP-UX to include mbstate_t
...
for mbrtowc().
2013-12-07 23:39:33 +01:00
Ned Deily
322f5ba0d8
Issue #19553 : PEP 453 - "make install" and "make altinstall" now install or
...
upgrade pip by default, using the bundled pip provided by the new ensurepip
module. A new configure option, --with-ensurepip[=upgrade|install|no], is
available to override the default ensurepip "--upgrade" option. The option
can also be set with "make [alt]install ENSUREPIP=[upgrade|install\no]".
2013-11-21 23:01:59 -08:00
Ned Deily
b8f944f0b7
Issue #19649 : On OS X, the same set of file names are now installed
...
in bin directories for all configurations: non-framework vs framework,
and single arch vs universal builds. pythonx.y-32 is now always
installed for 64-bit/32-bit universal builds. The obsolete and
undocumented pythonw* symlinks are no longer installed anywhere.
2013-11-21 22:42:25 -08:00
Christian Heimes
985ecdcfc2
ssue #19183 : Implement PEP 456 'secure and interchangeable hash algorithm'.
...
Python now uses SipHash24 on all major platforms.
2013-11-20 11:46:18 +01:00
Christian Heimes
fe32aec25a
configure: use AC_MSG_NOTICE() instead of AC_MSG_WARN() to inform user about C++ compiler.
...
Now './configure --silent && make -s' doesn't print any message to stdout or stderr.
2013-11-20 01:18:26 +01:00
Christian Heimes
0bedc973ba
configure: echo message to AS_MESSAGE_FD. --silent redirects fd to /dev/null.
2013-11-20 01:11:33 +01:00
Christian Heimes
75ed890de5
configure: echo message to AS_MESSAGE_FD. --silent redirects fd to /dev/null.
2013-11-20 01:11:18 +01: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
Christian Heimes
b7bd5df809
Issue #16595 : Add prlimit() to resource module
...
prlimit() is a Linux specific command that combines setrlimit, getrlimit and can set the limit
of other processes.
2013-10-22 11:21:54 +02:00
Ned Deily
87adb6ef38
Issue #14499 : Fix several problems with OS X universal build support:
...
1. ppc arch detection for extension module builds broke with Xcode 5
2. ppc arch detection in configure did not work on OS X 10.4
3. -sysroot and -arch flags were unnecessarily duplicated
4. there was no obvious way to configure an intel-32 only build.
2013-10-18 21:09:56 -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
Victor Stinner
daf455554b
Issue #18571 : Implementation of the PEP 446: file descriptors and file handles
...
are now created non-inheritable; add functions os.get/set_inheritable(),
os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
2013-08-28 00:53:59 +02:00
Benjamin Peterson
3a7dffa4ce
remove support for compiling on systems without getcwd()
...
Do we need a fallback implementation of getcwd() from 1991 that claims to
support "really old Unix systems"? I don't think so.
2013-08-23 21:01:48 -05:00
Christian Heimes
6acbe2aaa3
Issue #18747 : Re-seed OpenSSL's pseudo-random number generator after fork.
...
A pthread_atfork() child handler is used to seeded the PRNG with pid, time
and some stack data.
2013-08-21 13:26:34 +02:00
Christian Heimes
f77b4b20e9
Issue #18747 : Re-seed OpenSSL's pseudo-random number generator after fork.
...
A pthread_atfork() child handler is used to seeded the PRNG with pid, time
and some stack data.
2013-08-21 13:26:05 +02:00
Christian Heimes
360b89ca5e
Fix for r84195: add HAVE_ALLOCA_H to configure and only include alloca.h if it's available
2013-06-18 13:22:37 +02:00
Christian Heimes
f0400baba8
Fix for r84195: add HAVE_ALLOCA_H to configure and only include alloca.h if it's available
2013-06-18 13:22:17 +02:00
Łukasz Langa
335ab5b66f
Fixed #18075 - Infinite recursion tests triggering a segfault on Mac OS X
...
Patch by Ronald Oussoren
2013-05-30 20:58:53 +02:00
Benjamin Peterson
cc00e01fad
test that the compiler support -Werror=statement-after-declaration before using it
2013-05-20 08:22:04 -07:00
Benjamin Peterson
43b2ab96bc
make GCC complain about declarations not at the top of blocks
2013-05-16 15:33:00 -05:00
Benjamin Peterson
f6b687fcd4
remove support GCC PyArg_ParseTuple format patch, last seen in 2006
2013-05-12 23:08:28 -05:00
Benjamin Peterson
a75a2ec64d
merge 3.3 ( #17547 )
2013-05-11 13:02:59 -05:00
Benjamin Peterson
feb5149244
-Wformat is needed by gcc 4.8 ( closes #17547 )
2013-05-11 13:00:05 -05:00
Victor Stinner
cd777eaf53
Issue #17615 : Comparing two Unicode strings now uses wmemcmp() when possible
...
wmemcmp() is twice faster than a dummy loop (342 usec vs 744 usec) on Fedora
18/x86_64, GCC 4.7.2.
2013-04-08 22:43:44 +02:00
Benjamin Peterson
fccfb824e6
merge 3.3 ( #17550 )
2013-03-26 08:58:16 -04:00
Benjamin Peterson
615ea1a98f
fix variable reference to fix --enable-profiling ( closes #17550 )
2013-03-26 08:55:37 -04: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
Charles-François Natali
773e42dff8
Issue #15359 : Add CAN_BCM protocol support to the socket module. Patch by Brian
...
Thorne.
2013-02-05 19:42:01 +01:00
doko@python.org
682d8d4aaa
- Issue #3718 : Use AC_ARG_VAR to set MACHDEP in configure.ac.
2013-01-26 19:00:20 +01:00
doko@python.org
eab42bf094
- Issue #3718 : Use AC_ARG_VAR to set MACHDEP in configure.ac.
2013-01-26 18:57:19 +01:00
doko@python.org
f86e484ef2
- Follow-up for issue #15484 : In PYTHON_FOR_BUILD, use $(PLATDIR) instead
...
of plat-$(MACHDEP).
2013-01-26 12:09:31 +01:00
doko@python.org
244b687374
- Follow-up for issue #15484 : In PYTHON_FOR_BUILD, use $(PLATDIR) instead
...
of plat-$(MACHDEP).
2013-01-26 12:08:25 +01:00
doko@python.org
874211978c
- Issue #16235 : Implement python-config as a shell script.
2013-01-26 11:39:31 +01:00
doko@python.org
90c8d06d68
- Issue #17031 : Fix running regen in cross builds.
2013-01-25 18:45:41 +01:00
doko@python.org
a10e4a9afb
- Issue #17031 : Fix running regen in cross builds.
2013-01-25 18:45:12 +01:00
doko@python.org
454ea92a4c
- Issue #3754 : fix typo in pthread AC_CACHE_VAL.
2013-01-25 15:35:12 +01:00
doko@python.org
96a9f89b2d
- Issue #3754 : fix typo in pthread AC_CACHE_VAL.
2013-01-25 15:34:34 +01:00
doko@python.org
7981f20293
- Issue #3754 : fix typo in pthread AC_CACHE_VAL.
2013-01-25 15:33:25 +01:00
doko@python.org
937c8e1ce0
- Issue #16292 : Improve a comment for cross building in configure.ac
2013-01-25 14:44:20 +01:00
doko@python.org
44bbbdab67
- Issue #16292 : Improve a comment for cross building in configure.ac
2013-01-25 14:44:00 +01:00
doko@python.org
981eec3ad4
- Issue #15484 : Fix _PYTHON_PROJECT_BASE for srcdir != builddir builds;
...
use _PYTHON_PROJECT_BASE in distutils/sysconfig.py.
2013-01-25 14:35:44 +01:00
doko@python.org
9731330d6f
- Issue #15484 : Fix _PYTHON_PROJECT_BASE for srcdir != builddir builds;
...
use _PYTHON_PROJECT_BASE in distutils/sysconfig.py.
2013-01-25 14:33:33 +01:00
doko@python.org
6951fea3ab
- Issue #17029 : Let h2py search the multiarch system include directory.
2013-01-25 13:20:46 +01:00
doko@python.org
0c77bf757f
- Issue #17029 : Let h2py search the multiarch system include directory.
2013-01-25 13:19:35 +01:00
doko@python.org
3e6e2ac31d
- Issue #17029 : Let h2py search the multiarch system include directory.
2013-01-25 13:12:29 +01:00
Stefan Krah
5cc36bc6a4
Merge 3.3.
2013-01-17 20:44:02 +01:00
Stefan Krah
8c8adf6db7
Issue #16987 : Fix definition of SHLIB_EXT.
2013-01-17 20:41:56 +01:00
Charles-François Natali
cd18e78897
Issue #16836 : Enable IPv6 support even if IPv6 is disabled on the build host.
2013-01-08 20:03:07 +01:00
Charles-François Natali
1aa004b45d
Issue #16836 : Enable IPv6 support even if IPv6 is disabled on the build host.
2013-01-08 19:51:56 +01:00
Charles-François Natali
f6fd794fac
Issue #16836 : Enable IPv6 support even if IPv6 is disabled on the build host.
2013-01-08 19:49:42 +01:00
Christian Heimes
b92c40ef9b
Cross compiling needs host and build settings. configure no longer
...
creates a broken PYTHON_FOR_BUILD variable when --build is missing.
2012-12-12 13:10:32 +01:00
Christian Heimes
954ac03a44
Cross compiling needs host and build settings. configure no longer
...
creates a broken PYTHON_FOR_BUILD variable when --build is missing.
2012-12-12 13:10:21 +01:00
Mark Dickinson
6e61d18891
Issue 10052: merge fix from 3.2.
2012-12-02 13:21:37 +00:00
Mark Dickinson
ce31f66a6d
Issue 10052: fix failed uint32_t / uint64_t / int32_t / int64_t detection on some platforms.
2012-12-02 13:20:22 +00:00
Mark Dickinson
983bc16c15
Issue 10052: fix failed uint32_t / uint64_t / int32_t / int64_t detection on some platforms.
2012-12-02 12:11:38 +00:00
Stefan Krah
588090ff39
Merge 3.3.
2012-11-22 23:50:25 +01:00
Stefan Krah
19c2139d2d
Fix more usages of NULL without including stdio.h.
2012-11-22 23:47:32 +01:00
Stefan Krah
8cb9e2e073
Merge 3.3.
2012-11-22 22:57:54 +01:00
Stefan Krah
7dba5940ae
Issue #13057 : Include stdio.h when NULL is used in configure.ac.
2012-11-22 22:49:11 +01:00
Ross Lagerwall
2bb842a2ef
Merge with 3.3 for issue #16262
2012-10-29 17:39:19 +00:00
Ross Lagerwall
646eb1e856
Merge with 3.2 for issue #16262
2012-10-29 17:35:57 +00:00
Ross Lagerwall
1b863ebfc8
Fix regression from issue #16262
2012-10-29 17:31:54 +00:00
Matthias Klose
1348747052
- Issue #16262 : fix out-of-src-tree builds, if mercurial is not installed.
2012-10-21 23:14:39 +02:00
Matthias Klose
aee3c76acf
- Issue #16262 : fix out-of-src-tree builds, if mercurial is not installed.
2012-10-21 23:12:35 +02:00
Matthias Klose
c4c4842d86
- Issue #16262 : fix out-of-src-tree builds, if mercurial is not installed.
2012-10-21 23:05:35 +02:00
Trent Nelson
9a537a6abf
Issue #15819 : use standard autoconf preset output variables.
...
Reported by: Roumen Petrov
2012-10-17 04:49:26 -04:00
Trent Nelson
5595ab564c
Issue #15819 : use standard autoconf preset output variables.
...
Reported by: Roumen Petrov
2012-10-17 04:47:31 -04:00
Trent Nelson
739fc541b1
Issue #15819 : use standard autoconf preset output variables.
...
Reported by: Roumen Petrov
2012-10-17 04:45:30 -04:00
Trent Nelson
a4519a6110
Bump autoconf from 2.68 to 2.69.
2012-10-16 11:51:08 -04:00
Trent Nelson
65c60851b0
Merge issue #15819 : tweak logic in previous commit.
2012-10-16 11:09:31 -04:00
Trent Nelson
56d4c03cb2
Merge issue #15819 : tweak logic in previous commit.
2012-10-16 11:07:31 -04:00
Trent Nelson
6603118125
Issue #15819 : tweak logic in previous commit (617591e7d708).
2012-10-16 11:04:04 -04:00
Trent Nelson
cd02b3f781
Merge issue #15819 : additional fixes for out-of-tree builds from read-only src.
...
Specifically, make sure the 'Object', 'Python' and 'Include' directories
in the build directory take precedence over the source directory if we're
an out-of-tree build.
Fix typeslots.inc so that it gets generated into the build directory.
In addition, for 3.3, make sure importlib.h gets generated into the
build directory.
2012-10-16 08:53:13 -04:00
Trent Nelson
4d4ec6502d
Merge issue #15819 : additional fixes for out-of-tree builds from read-only src.
...
Specifically, make sure the 'Object', 'Python' and 'Include' directories
in the build directory take precedence over the source directory if we're
an out-of-tree build.
Fix typeslots.inc so that it gets generated into the build directory.
In addition, for 3.3, make sure importlib.h gets generated into the
build directory.
2012-10-16 08:51:24 -04:00
Trent Nelson
9effe699b7
Issue #15819 : additional fixes for out-of-tree builds from read-only src.
...
Specifically, make sure the 'Object', 'Python' and 'Include' directories
in the build directory take precedence over the source directory if we're
an out-of-tree build.
Fix typeslots.inc so that it gets generated into the build directory.
2012-10-16 08:41:32 -04:00
Georg Brandl
08a9012352
Bump version to 3.4.0 alpha 0.
2012-09-29 09:34:13 +02:00
Trent Nelson
a45afcada3
Issue #15819 : Fix out-of-tree builds from a readonly source.
2012-08-30 14:32:02 +00:00
doko@ubuntu.com
9dc823d2e0
- Issue #15268 : Search curses.h in /usr/include/ncursesw.
2012-07-07 03:06:42 +02:00
doko@ubuntu.com
7e6c2e2cc4
- Issue #14330 : For cross builds, don't use host python, use host search paths
...
for host compiler.
Add NEWS entry, rename _PROJECT_BASE to _PYTHON_PROJECT_BASE.
2012-06-30 22:35:00 +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
doko@ubuntu.com
b457b9be4d
- Issue #3754 : Fix /dev/ptmx, /dev/ptc file checks for cross builds,
...
require values set in CONFIG_SITE.
2012-06-30 19:28:16 +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
doko@ubuntu.com
f2967c73ad
- check for libtinfo as a termcap library
2012-06-30 17:32:23 +02:00
doko@ubuntu.com
9c7817e9ee
- Issue #3754 : Some unrelated configure.ac cleanups.
2012-06-30 17:05:13 +02:00
doko@ubuntu.com
ba01583eef
- Issue #14324 : use a linker test to check for profiling support
2012-06-30 16:52:05 +02:00
doko@ubuntu.com
51f6594054
- Issue #3754 : Use AC_PATH_TOOL and AC_CHECK_TOOLS instead of
...
AC_PATH_PROG and AC_CHECK_PROGS for the target tools.
2012-06-30 14:42:46 +02:00
Ned Deily
3784ff9811
Issue #13950 : Improve support for OS X Xcode 4:
...
Fix ./configure to provide a more sensible default for
MACOSX_DEPLOYMENT_TARGET. Currently the default is the minimum OS X level
that supports the universal arch option, typically 10.4, even when no
universalsdk is selected. This causes various desirable features that
depend on later OS X versions, like libedit readline support, to be
omitted from the build. A more complete solution would take into account
the SDK that is being used and better tailor the universal arch options.
For now, change the existing tests to only apply to build systems of 10.5
and earlier; for 10.6 and later, use the build system version as the
default deployment target if the MACOSX_DEPLOYMENT_TARGET environment
variable is not provided.
2012-06-25 05:04:28 -07:00
Ned Deily
cbfb9a56e6
Issue #13590 : Improve support for OS X Xcode 4:
...
- Try to avoid building Python or extension modules with problematic
llvm-gcc compiler.
- Since Xcode 4 removes ppc support, extension module builds now
check for ppc compiler support and automatically remove ppc and
ppc64 archs when not available.
- Since Xcode 4 no longer install SDKs in default locations,
extension module builds now revert to using installed headers
and libs if the SDK used to build the interpreter is not
available.
- Update ./configure to use better defaults for universal builds;
in particular, --enable-universalsdk=yes uses the Xcode default
SDK and --with-universal-archs now defaults to "intel" if ppc
not available.
2012-06-23 16:02:19 -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
Matthias Klose
df2aecbf61
- Issue #14327 : Call AC_CANONICAL_HOST in configure.ac and check in
...
config.{guess,sub}. Don't use uname calls for cross builds.
2012-03-15 22:19:28 +01:00
Matthias Klose
ca2f6ecfc9
- Issue #14327 : Call AC_CANONICAL_HOST in configure.ac and check in
...
config.{guess,sub}.
2012-03-15 21:30:11 +01:00
Matthias Klose
9635013a8f
- Issue #14324 : Fix configure tests for cross builds.
...
when configured with --(en|dis)able-ipv6 for cross builds, don't fail the configury due to the missing buggy-getaddrinfo check.
2012-03-15 20:42:23 +01:00
Matthias Klose
b17289e199
- Issue #14324 : Fix configure tests for cross builds.
...
when configured --with(out)-computed-gotos for a cross, use this value instead of defaulting to no.
2012-03-15 19:51:34 +01:00
Matthias Klose
3b739b149b
- Issue #14324 : Fix configure tests for cross builds.
...
when using gcc, use a compilation test for the cross build check for long long format.
2012-03-15 19:31:06 +01:00
Matthias Klose
93a0ef16c9
- Issue #14321 : Do not run pgen during the build if files are up to date.
2012-03-15 18:08:34 +01:00
Matthias Klose
5ce31cc4fc
merge 3.2
2012-03-14 23:17:31 +01:00
Matthias Klose
d83be23689
merge 3.1
2012-03-14 23:14:35 +01:00
Matthias Klose
0f4c16e29c
- rename configure.in to configure.ac
...
- change references from configure.in to configure.ac
2012-03-14 23:10:15 +01:00
Antoine Pitrou
bcf2b59fb5
Issue #13609 : Add two functions to query the terminal size:
...
os.get_terminal_size (low level) and shutil.get_terminal_size (high level).
Patch by Zbigniew Jędrzejewski-Szmek.
2012-02-08 23:28:36 +01:00
Martin v. Löwis
9d6c66933a
Issue #13777 : Add PF_SYSTEM sockets on OS X.
...
Patch by Michael Goderbauer.
2012-02-03 17:44:58 +01:00
Gregory P. Smith
1577cf758b
Improve the test for dirfd(). Some systems #define it rather than
...
have it as a library function.
2012-01-21 18:21:56 -08:00
Gregory P. Smith
df300d5062
Improve the test for dirfd(), some systems #define it rather than have
...
an actual function.
2012-01-21 18:20:15 -08:00
Gregory P. Smith
d635af5a61
Fixes issue #8052 : The posix subprocess module's close_fds behavior was
...
suboptimal by closing all possible file descriptors rather than just
the open ones in the child process before exec().
It now closes only the open fds when it is possible to safely determine what
those are.
2012-01-21 14:39:29 -08:00
Gregory P. Smith
8facece99a
Fixes issue #8052 : The posix subprocess module's close_fds behavior was
...
suboptimal by closing all possible file descriptors rather than just
the open ones in the child process before exec().
It now closes only the open fds when it is possible to safely determine what
those are.
2012-01-21 14:01:08 -08:00
Gregory P. Smith
d1bb06f7ad
regenerated using autoconf, includes dirfd test.
2012-01-16 02:09:41 -08:00
Gregory P. Smith
6914048088
regenerate configure using autoconf. includes the dirfd test.
2012-01-16 02:05:55 -08:00
Benjamin Peterson
95c16629d3
fix for old kernels which don't have epoll_create1
2011-12-27 15:36:32 -06:00
Stefan Krah
9a17cc3c53
Merge second fix for issue #11149 .
2011-12-08 22:22:58 +01:00
Stefan Krah
af04ff2b97
Issue #11149 : Also enable -fwrapv if $CC is a full path
...
or has a trailing version number.
2011-12-08 22:20:31 +01:00
Antoine Pitrou
f0effe6379
Better resolution for issue #11849 : Ensure that free()d memory arenas are really released
...
on POSIX systems supporting anonymous memory mappings. Patch by Charles-François Natali.
2011-11-26 01:11:02 +01:00
Victor Stinner
984890fcbb
Close #13415 : Test in configure if unsetenv() has a return value or not.
...
Patch written by Charles-François Natali.
2011-11-24 13:53:38 +01:00
Jesus Cea
d8b9ae6e8f
Issue #6397 : Support '/dev/poll' polling objects in select module, under Solaris & derivatives.
2011-11-14 19:07:41 +01: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
Charles-François Natali
47413c1171
Issue #10141 : socket: add SocketCAN (PF_CAN) support. Initial patch by Matthias
...
Fuchs, updated by Tiago Gonçalves.
2011-10-06 19:47:44 +02:00
Martin v. Löwis
d63a3b8beb
Implement PEP 393.
2011-09-28 07:41:54 +02:00
Benjamin Peterson
7ddbf10589
disable unused result warnings when possible
2011-09-23 13:23:22 -04:00
Stefan Krah
66611c554d
Merge fix for issue #11149 .
2011-09-14 15:17:12 +02:00
Stefan Krah
962055d3c6
Issue #11149 : recent versions of clang require the -fwrapv flag.
2011-09-14 15:14:08 +02:00
Benjamin Peterson
b77fe17320
Use xattr functions from sys/xattr.h instead of attr/xattr.h ( closes #12720 )
...
sys/xattr.h is glibc while attr/xattr.h is a separate library.
2011-09-13 17:20:47 -04:00
Victor Stinner
d169fdcb63
Issue #12852 : Set _POSIX_C_SOURCE to 200809 to get POSIX 2008
...
configure.in: Set _POSIX_C_SOURCE to 200809L, instead of 200112L, to activate
features from IEEE Stds 1003.1-2008.
2011-09-08 00:56:17 +02:00
Victor Stinner
14d098d3ac
Issue #12852 : Set _XOPEN_SOURCE to 700 to get POSIX 2008
...
configure: Set _XOPEN_SOURCE to 700, instead of 600, to get POSIX 2008
functions on OpenBSD (e.g. fdopendir).
2011-09-07 22:29:43 +02:00
Charles-François Natali
ea0d5fcb4a
Issue #12871 : sched_get_priority_(min|max) might not be defined even though
...
<sched.h> is available (most notably on OpenBSD when built without pthread):
add an explicit configure check.
2011-09-06 19:03:35 +02:00
Benjamin Peterson
799bd80d8a
expose linux extended file system attributes ( closes #12720 )
2011-08-31 22:15:17 -04:00
Victor Stinner
7209ff2b31
Issue #12326 : woops, I really mean 'linux', not 'linux2'
...
Copy/paste (from Python 3.2) failure
2011-08-21 00:00:16 +02:00
Victor Stinner
ff3d9399fc
Close #12326 : sys.platform is now always 'linux' on Linux
...
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.
2011-08-20 23:39:26 +02:00
Victor Stinner
0c17d0d96e
Issue #12326 : sys.platform is now always 'linux2' on Linux
...
Even if Python is compiled on Linux 3.
2011-08-20 14:01:05 +02:00
Benjamin Peterson
c5fce4ded2
check individually for some for sched_ functions
2011-08-02 18:07:32 -05:00
Benjamin Peterson
2740af8cc4
sched.h can exist without sched affinity support
2011-08-02 17:41:34 -05:00
Benjamin Peterson
94b580d423
expose sched.h functions ( closes #12655 )
2011-08-02 17:30:04 -05:00
Charles-François Natali
6613c18ea2
Issue #13415 : Test in configure if unsetenv() has a return value or not.
2011-11-27 12:41:06 +01:00
Antoine Pitrou
d3b2aefbfe
Actually port ecfe9bf0117b to default
...
(I had the wrong impression that the problem didn't exist here)
2011-07-27 01:22:41 +02:00
Antoine Pitrou
5cd3e305e3
When testing for an hg repo, use a file that always exists, even with the "shared" extension
2011-07-27 01:16:18 +02:00
Charles-François Natali
dc1d548ecb
Issue #12560 : Build libpython.so on OpenBSD. Patch by Stefan Sperling.
2011-07-24 22:44:15 +02:00
Charles-François Natali
749400a94d
Issue #12560 : Build libpython.so on OpenBSD. Patch by Stefan Sperling.
2011-07-24 22:41:18 +02:00
Charles-François Natali
54ef40b000
Merge - Issue #12592 : Make Python build on OpenBSD 5 (and future major
...
releases).
2011-07-22 23:52:02 +02:00
Charles-François Natali
beed47ec0e
Issue #12592 : Make Python build on OpenBSD 5 (and future major releases).
2011-07-22 23:48:44 +02:00
Charles-François Natali
db57e8d186
Merge - Issue #12372 : POSIX semaphores are broken on AIX: don't use them.
2011-07-21 19:49:47 +02:00
Charles-François Natali
996f606787
Issue #12372 : POSIX semaphores are broken on AIX: don't use them.
2011-07-21 19:45:31 +02:00
Antoine Pitrou
370092071b
Issue #11863 : Remove support for legacy systems deprecated in Python 3.2
...
(following PEP 11). These systems are systems using Mach C Threads,
SunOS lightweight processes, GNU pth threads and IRIX threads.
2011-07-08 23:47:50 +02:00
Georg Brandl
187c111a55
Regenerate configure.
2011-07-03 09:23:20 +02:00
Ned Deily
8b56c4b1b8
Issue #8746 : Correct faulty configure checks so that os.chflags() and
...
os.lchflags() are once again built on systems that support these
functions (*BSD and OS X). Also add new stat file flags for OS X
(UF_HIDDEN and UF_COMPRESSED). Also add additional tests for
os.chflags() and os.lchflags(). (Tests by Garrett Cooper)
2011-06-28 00:13:01 -07:00
Ned Deily
3eb67d58d6
Issue #8746 : Correct faulty configure checks so that os.chflags() and
...
os.lchflags() are once again built on systems that support these
functions (*BSD and OS X). Also add new stat file flags for OS X
(UF_HIDDEN and UF_COMPRESSED). Also add additional tests for
os.chflags() and os.lchflags(). (Tests by Garrett Cooper)
2011-06-28 00:00:28 -07:00
Ross Lagerwall
bc808224b6
Issue #12303 : Add sigwaitinfo() and sigtimedwait() to the signal module.
2011-06-25 12:13:40 +02:00
Ross Lagerwall
b0ae53d8a0
Issue #9344 : Add os.getgrouplist().
2011-06-10 07:30:30 +02:00
Benjamin Peterson
dd5be06e6b
run autoconf
2011-06-03 14:38:24 -05:00
Benjamin Peterson
8c6f88efa2
remove __version__s dependent on subversion keyword expansion ( closes #12221 )
2011-05-31 20:52:17 -05:00
Benjamin Peterson
87cdb81646
run autoreconf
2011-05-31 18:26:08 -05:00
Charles-François Natali
daafdd5bea
Issue #12196 : Add pipe2() to the os module.
2011-05-29 20:07:40 +02:00
Gregory P. Smith
3b1f2c35f4
issue #1746656 : Fix for OS X. configure and #include changes so that the socket
...
module compiles again on OS X with its more annoying #include requirements.
2011-05-15 12:18:23 -07:00
Nadeem Vawda
d74b5936a1
Fix _socket compilation failures on non-Linux buildbots (cf. issue #1746656 ).
2011-05-15 13:16:22 +02:00
Gregory P. Smith
5ed2e779f1
Issue #1746656 : Add if_nameindex, if_nametoindex, if_indextoname
...
methods to the socket module.
2011-05-15 00:26:45 -07:00
Benjamin Peterson
316e02be83
run autoreconf
2011-05-10 15:01:56 -05:00
Victor Stinner
8f9f8d612a
Issue #11888 : Use system log2() when available
...
I expect the system libc to use more accurate functions than Python. The GNU
libc uses for example FYL2X and FYL2XP1 hardware instructions on Intel FPU.
2011-05-09 12:45:41 +02:00
Martin v. Löwis
4e9da47d8f
merge 11347.
2011-05-09 07:41:32 +02:00
Martin v. Löwis
48e14d3fda
Use --as-needed when linking libpython3.so. Closes #11347 .
...
Patch by Arfrever Frehtes Taifersar Arahesis.
2011-05-09 07:37:45 +02:00
Victor Stinner
b3e7219abf
Issue #8407 : Add pthread_kill(), sigpending() and sigwait() functions to the
...
signal module.
2011-05-08 01:46:11 +02:00
Antoine Pitrou
6f26be09e0
Issue #11849 : Make it more likely for the system allocator to release
...
free()d memory arenas on glibc-based systems. Patch by Charles-François
Natali.
2011-05-03 18:18:59 +02:00
Victor Stinner
024e37adcc
Issue #11393 : Add the new faulthandler module
2011-03-31 01:31:06 +02:00
Jesus Cea
d3b7a55f54
Close Issue 11570: Lib/test/test_distutils.py tries to mix 32 and 64 bits object files, doesn't obey LDFLAGS
2011-03-16 20:37:54 +01:00
Ross Lagerwall
7807c3545d
Issue #10812 : Add some extra posix functions to the os module.
2011-03-17 20:20:30 +02:00
Jesus Cea
736e7fc0f6
Issue #11495 : OSF support is eliminated. It was deprecated in Python 3.2
2011-03-14 17:36:54 +01:00
Georg Brandl
776e586114
Remove sys.subversion and svn build identification leftovers.
2011-03-06 10:35:42 +01:00
Georg Brandl
fe09a54280
Merge build identification to default branch.
2011-03-06 10:26:32 +01:00
Georg Brandl
13039c87f1
Merge build identification to 3.2 branch.
2011-03-06 10:13:00 +01:00
Georg Brandl
1ca2e7965c
Commit the hg build identification patch from the pymigr repo.
2011-03-05 20:51:24 +01:00
Antoine Pitrou
061cfb5258
Issue #10866 : Add socket.sethostname(). Initial patch by Ross Lagerwall.
2011-02-28 22:25:22 +00:00
Antoine Pitrou
8250e23abd
Issue #10755 : Add the posix.fdlistdir() function. Patch by Ross Lagerwall.
2011-02-25 23:41:16 +00:00
Antoine Pitrou
f65132de3d
Issue #4761 : Add the *at() family of functions (openat(), etc.) to the posix
...
module. Patch by Ross Lagerwall.
2011-02-25 23:25:17 +00:00
Giampaolo Rodolà
18e8bcb289
Issue 10784: adds os.getpriority() and os.setpriority() functions.
2011-02-25 20:57:54 +00:00
Georg Brandl
941f956d1b
Regenerate configure after r88580.
2011-02-25 15:21:47 +00:00
Benjamin Peterson
83a0efd303
run autoconf
2011-02-25 14:01:05 +00:00
Georg Brandl
8f1598787f
Merged revisions 88438,88440 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
........
r88438 | georg.brandl | 2011-02-19 09:44:47 +0100 (Sa, 19 Feb 2011) | 1 line
#10709 : add back an updated AIX-NOTES (as README.AIX).
........
r88440 | georg.brandl | 2011-02-19 09:58:23 +0100 (Sa, 19 Feb 2011) | 1 line
#11184 : Fix large file support on AIX.
........
2011-02-25 10:26:14 +00:00
Georg Brandl
3f0df3bc51
Merged revisions 88430 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
........
r88430 | georg.brandl | 2011-02-15 20:48:59 +0100 (Di, 15 Feb 2011) | 1 line
#730467 : Another small AIX fix.
........
2011-02-25 10:22:44 +00:00
Georg Brandl
6baf117d88
Merged revisions 88426 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
........
r88426 | georg.brandl | 2011-02-15 16:44:51 +0100 (Di, 15 Feb 2011) | 1 line
#941346 : Fix broken shared library build on AIX. Patch by Sebastien Sable, review by Antoine Pitrou.
........
2011-02-25 10:20:45 +00:00
Georg Brandl
3ebb6b3615
Bump trunk to 3.3 alpha 0.
2011-02-20 10:37:07 +00:00
Georg Brandl
216e404bca
#11184 : Fix large file support on AIX.
2011-02-19 08:58:23 +00:00
Georg Brandl
59e87bd251
#730467 : Another small AIX fix.
2011-02-15 19:48:59 +00:00
Georg Brandl
9a829bed97
#941346 : Fix broken shared library build on AIX. Patch by Sebastien Sable, review by Antoine Pitrou.
2011-02-15 15:44:51 +00:00
Martin v. Löwis
9b142aaae8
Issue #11121 : Fix building with --enable-shared.
2011-02-05 20:26:52 +00:00
Antoine Pitrou
a75c10526f
Merged revisions 87698 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87698 | antoine.pitrou | 2011-01-03 19:53:50 +0100 (lun., 03 janv. 2011) | 4 lines
Issue #7716 : Under Solaris, don't assume existence of /usr/xpg4/bin/grep in
the configure script but use $GREP instead. Patch by Fabian Groffen.
........
2011-01-03 18:56:50 +00:00
Antoine Pitrou
f3fcd9f163
Issue #7716 : Under Solaris, don't assume existence of /usr/xpg4/bin/grep in
...
the configure script but use $GREP instead. Patch by Fabian Groffen.
2011-01-03 18:53:50 +00:00
Antoine Pitrou
59dd7abc56
Merged revisions 87646 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87646 | antoine.pitrou | 2011-01-02 21:45:21 +0100 (dim., 02 janv. 2011) | 3 lines
Fix bad quoting in r87639. Caught by Arfrever.
........
2011-01-02 20:49:42 +00:00
Antoine Pitrou
ece919eb0f
Fix bad quoting in r87639. Caught by Arfrever.
2011-01-02 20:45:21 +00:00
Antoine Pitrou
f1cc81a97d
Merged revisions 87639 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87639 | antoine.pitrou | 2011-01-02 20:34:03 +0100 (dim., 02 janv. 2011) | 4 lines
Issue #10475 : Don't hardcode compilers for LDSHARED/LDCXXSHARED on NetBSD
and DragonFly BSD. Patch by Nicolas Joly.
........
2011-01-02 19:38:30 +00:00
Antoine Pitrou
c224458ef6
Issue #10475 : Don't hardcode compilers for LDSHARED/LDCXXSHARED on NetBSD
...
and DragonFly BSD. Patch by Nicolas Joly.
2011-01-02 19:34:03 +00:00
Martin v. Löwis
d1fc34d563
Build and install libpython3.so.
2010-12-30 14:55:47 +00:00
Gregory P. Smith
138fa430e9
regenerate configure based on r87207.
2010-12-13 08:00:52 +00:00
Jesus Cea
436709cff2
Compile correctly under OpenIndiana (and possibly Solaris 11 Express)
2010-11-25 17:05:57 +00:00
Barry Warsaw
14d98ac31b
Final patch for issue 9807.
2010-11-24 19:43:47 +00:00
Mark Dickinson
ec0d355836
Regenerated configure and pyconfig.h.in.
2010-11-20 10:29:12 +00:00
Benjamin Peterson
d4694ed1bb
fix output for getaddrinfo bug check #7059
2010-11-01 01:44:30 +00:00
Benjamin Peterson
076ed00003
add --enable-loadable-sqlite-extensions #10268
2010-10-31 17:11:02 +00:00
Benjamin Peterson
bdf5effc6c
add 'no' output to --with-system-ffi
2010-10-31 16:55:05 +00:00
Benjamin Peterson
79263252b1
add no output to with-system-ffi and with-system-expat
2010-10-31 16:50:44 +00:00
Barry Warsaw
f040d7de94
One more change for issue 9807, by Matthias Klose.
...
This adds $ABIFLAGS to the static library, since it should match the shared
library name. Also, include the abiflags in python-config --libs.
2010-10-18 17:09:07 +00:00
Martin v. Löwis
c980ffde14
Drop OPT:Olimit, as it confuses SunPRO (and other compilers).
2010-10-17 19:36:54 +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
Benjamin Peterson
d8d835bd1d
run autoconf
2010-10-15 23:14:46 +00:00
Barry Warsaw
278266f6f2
Run autoconf to update configure.in -> configure.
2010-10-14 17:38:46 +00:00
Antoine Pitrou
b1c5496738
Issue #7523 : Add SOCK_CLOEXEC and SOCK_NONBLOCK to the socket module,
...
where supported by the system. Patch by Nikita Vetoshkin.
2010-10-14 15:05:38 +00:00
Antoine Pitrou
d4958c2832
Followup to #9437 : since LDFLAGS is now appended to LDSHARED in the Makefile,
...
don't do in configure as well.
Hopefully this will solve a Makefile parsing issue on the FreeBSD buildbots.
2010-10-13 17:01:10 +00:00
Antoine Pitrou
c15835437d
Merged revisions 85349 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85349 | antoine.pitrou | 2010-10-10 10:10:16 +0200 (dim., 10 oct. 2010) | 4 lines
Some platforms provide uintptr_t in inttypes.h. Patch by
Akira Kitada.
........
2010-10-10 08:15:08 +00:00
Antoine Pitrou
1bf29b7da7
Some platforms provide uintptr_t in inttypes.h. Patch by
...
Akira Kitada.
2010-10-10 08:10:16 +00:00
Antoine Pitrou
6e41347df7
Merged revisions 84946 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84946 | antoine.pitrou | 2010-09-21 17:19:14 +0200 (mar., 21 sept. 2010) | 4 lines
Issue #1633863 : Don't ignore $CC under AIX.
........
2010-09-21 15:23:10 +00:00
Antoine Pitrou
f6350d2654
Issue #1633863 : Don't ignore $CC under AIX.
2010-09-21 15:19:14 +00:00
Amaury Forgeot d'Arc
feb7307db4
#9210 : remove --with-wctype-functions configure option.
...
The internal unicode database is now always used.
(after 5 years: see
http://mail.python.org/pipermail/python-dev/2004-December/050193.html
)
2010-09-12 22:42:57 +00:00
Antoine Pitrou
80f45a0998
Merged revisions 84680 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84680 | antoine.pitrou | 2010-09-10 21:44:44 +0200 (ven., 10 sept. 2010) | 4 lines
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:55:19 +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
Antoine Pitrou
5ea2828c66
Merged revisions 84674 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84674 | antoine.pitrou | 2010-09-10 20:39:00 +0200 (ven., 10 sept. 2010) | 3 lines
Followup to #4026 : better patch for flock detection.
........
2010-09-10 18:44:45 +00:00
Antoine Pitrou
a4e4ae27fc
Followup to #4026 : better patch for flock detection.
2010-09-10 18:39:00 +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
Benjamin Peterson
d7f73e913d
run autoreconf
2010-09-05 00:09:07 +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
Daniel Stutzbach
a606faa491
Issue 5553: Improved Py_LOCAL_INLINE to actually inline under compilers other than MSC
2010-08-31 19:51:07 +00:00
Antoine Pitrou
48fd2a6a73
Merged revisions 84366 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84366 | antoine.pitrou | 2010-08-30 16:52:00 +0200 (lun., 30 août 2010) | 5 lines
Issue #9700 : define HAVE_BROKEN_POSIX_SEMAPHORES under AIX 6.x. Patch by
Sébastien Sablé.
........
2010-08-30 14:54:03 +00:00
Antoine Pitrou
33a299428d
Issue #9700 : define HAVE_BROKEN_POSIX_SEMAPHORES under AIX 6.x. Patch by
...
Sébastien Sablé.
2010-08-30 14:52:00 +00:00
Antoine Pitrou
042b128f58
Issue #9203 : Computed gotos are now enabled by default on supported
...
compilers (which are detected by the configure script). They can still
be disable selectively by specifying --without-computed-gotos.
2010-08-13 21:15:58 +00:00
Mark Dickinson
18b00563db
Revert temporary debugging commit from r82756.
2010-07-19 07:35:16 +00:00
Mark Dickinson
9cec307a11
Remove temporary debugging code.
2010-07-19 07:31:40 +00:00
Mark Dickinson
c95111995b
Add configure check for a bug with gcc soft floating-point and subnormals, to help debug issue 8265.
2010-07-18 16:01:36 +00:00
Mark Dickinson
ee3396901c
Temporary debug commit: include gcc version in configure output. If this doesn't help with reproducing test_float failures then I'll create a separate branch to work on this issue.
2010-07-09 22:15:07 +00:00
Jeffrey Yasskin
d4fcdb1ea8
Issue #9189 : Allow users to set $CFLAGS, $CPPFLAGS, and $LDFLAGS when running
...
configure to append to Python's default values for those variables, and
similarly allow users to set $XXFLAGS on the make command line to append to the
values set by configure.
In the makefile, this renames the variables that used to be $XXFLAGS to
$PY_XXFLAGS, and renames the old $PY_CFLAGS to $PY_CORE_CFLAGS. To compensate,
sysconfig now aliases $XXFLAGS=$PY_XXFLAGS so that scripts using it keep
working. I see that as the right interface, not a backward-compatibility hack,
since these are logically the $XXFLAGS variables; we just use a different name
in the makefile to deal with make's semantics.
2010-07-09 16:30:58 +00:00
Benjamin Peterson
19a1488428
Merged revisions 81004 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81004 | mark.dickinson | 2010-05-08 14:13:21 -0500 (Sat, 08 May 2010) | 1 line
Fix configure bug that was misreporting availability of MacOS X 10.5 SDK as available on Linux but not on OS X.
........
2010-06-27 23:34:03 +00:00
Benjamin Peterson
c2037d6ec8
only use -fno-strict-aliasing when needed by compiler
2010-06-21 17:04:07 +00:00
Benjamin Peterson
f7155a38cd
run autoreconf
2010-06-21 16:51:22 +00:00
Jean-Paul Calderone
6ed7ac48ec
Revert r82089. Commit was intended for a branch.
2010-06-19 19:58:37 +00:00
Jean-Paul Calderone
867c435460
merge forward from the python 2.x branch
2010-06-19 19:54:48 +00:00
Martin v. Löwis
1a415762aa
Merged revisions 81582 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81582 | martin.v.loewis | 2010-05-28 17:28:47 +0200 (Fr, 28 Mai 2010) | 2 lines
Issue #1759169 : Drop _XOPEN_SOURCE on Solaris.
........
2010-05-28 15:44:20 +00:00
Mark Dickinson
8c2b6f1f5a
Recorded merge of revisions 81077 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81077 | mark.dickinson | 2010-05-11 09:55:06 +0100 (Tue, 11 May 2010) | 3 lines
Issue #8510 : Remove nested 'main' functions (causing failure) in 3 configure tests;
remove some unnecessary '#include "confdefs.h"' lines. Thanks Roumen Petrov.
........
2010-05-11 09:23:07 +00:00
Mark Dickinson
b2153e9d08
Merged revisions 80832 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80832 | mark.dickinson | 2010-05-05 23:23:58 +0100 (Wed, 05 May 2010) | 2 lines
Issue #8625 : Turn off gcc optimization in debug builds.
........
2010-05-05 22:31:36 +00:00
Jesus Cea
6a792298e7
Deprecate OSF* support
2010-05-03 21:18:48 +00:00
Jeffrey Yasskin
39370830a9
Make (most of) Python's tests pass under Thread Sanitizer.
...
http://code.google.com/p/data-race-test/wiki/ThreadSanitizer is a dynamic data
race detector that runs on top of valgrind. With this patch, the binaries at
http://code.google.com/p/data-race-test/wiki/ThreadSanitizer#Binaries pass many
but not all of the Python tests. All of regrtest still passes outside of tsan.
I've implemented part of the C1x atomic types so that we can explicitly mark
variables that are used across threads, and get defined behavior as compilers
advance.
I've added tsan's client header and implementation to the codebase in
dynamic_annotations.{h,c} (docs at
http://code.google.com/p/data-race-test/wiki/DynamicAnnotations ).
Unfortunately, I haven't been able to get helgrind and drd to give sensible
error messages, even when I use their client annotations, so I'm not supporting
them.
2010-05-03 19:29:34 +00:00
Benjamin Peterson
82af01d38b
Merged revisions 78965 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r78965 | benjamin.peterson | 2010-03-14 10:18:25 -0500 (Sun, 14 Mar 2010) | 13 lines
Merged revisions 78962,78964 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78962 | benjamin.peterson | 2010-03-14 09:24:31 -0500 (Sun, 14 Mar 2010) | 1 line
fix freebsd linking #7705
........
r78964 | benjamin.peterson | 2010-03-14 10:06:14 -0500 (Sun, 14 Mar 2010) | 1 line
fix quotes
........
................
2010-05-02 16:45:41 +00:00
Marc-André Lemburg
df700f0790
Merged revisions 80665 via svnmerge from
...
svn+pythonssh://pythondev@svn.python.org/python/trunk
........
r80665 | marc-andre.lemburg | 2010-04-30 19:20:14 +0200 (Fri, 30 Apr 2010) | 7 lines
[issue8211] configure: ignore AC_PROG_CC hardcoded CFLAGS
Only override the AC_PROG_CC determined CFLAGS if they were set by the user.
This restores the default behavior in the common case of not having CFLAGS
defined when running configure.
........
2010-04-30 17:29:56 +00:00
Ronald Oussoren
86b33c872d
Merged revisions 80647 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80647 | ronald.oussoren | 2010-04-30 13:20:14 +0200 (Fri, 30 Apr 2010) | 11 lines
Fix for issue #3646 : with this patch it is possible to do a
framework install of Python in your home directory (on OSX):
$ configure --enable-framework=${HOME}/Library/Frameworks
$ make && make install
Without this patch the framework would get installed just fine,
but 'make install' would try to install the application bundles
and command-line tools outside the user's home, which doesn't work
for non-admin users (and is bad form anyway).
........
2010-04-30 11:41:56 +00:00
Jesus Cea
0f752ee0a7
Merged revisions 80576 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r80576 | jesus.cea | 2010-04-28 13:35:30 +0200 (Wed, 28 Apr 2010) | 9 lines
Merged revisions 80574 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80574 | jesus.cea | 2010-04-28 12:32:30 +0200 (Wed, 28 Apr 2010) | 1 line
Issue #3928 : Support 'os.mknod()' in Solaris
........
................
2010-04-28 12:03:06 +00:00
Jesus Cea
740f53a600
Merged revisions 80574 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80574 | jesus.cea | 2010-04-28 12:32:30 +0200 (Wed, 28 Apr 2010) | 1 line
Issue #3928 : Support 'os.mknod()' in Solaris
........
2010-04-28 11:35:30 +00:00
Matthias Klose
bada4c39a1
configure.in: Avoid autoconf warning: Assume C89 semantics that
...
RETSIGTYPE is always void (issue #8510 ).
2010-04-25 21:18:48 +00:00
Matthias Klose
b159a5563d
configure.in: convert all obsolete AC_TRY_* macros to AC_*_IFELSE,
...
only whitespace changes in generated configure (diff -uEwB).
2010-04-25 21:00:44 +00:00
Matthias Klose
af30c5d32e
configure.in: s/AC_AIX/AC_USE_SYSTEM_EXTENSIONS/
2010-04-25 18:43:42 +00:00
Matthias Klose
2b8733fb9b
- configure.in: Replace AC_HELP_STRING with AS_HELP_STRING
2010-04-25 18:34:36 +00:00
Matthias Klose
b962171414
- Issue #8510 : Update to autoconf2.65.
2010-04-24 17:59:49 +00:00
Matthias Klose
c80c93f46e
Merged revisions 80443 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80443 | matthias.klose | 2010-04-24 18:38:36 +0200 (Sa, 24 Apr 2010) | 2 lines
- Issue #8509 : Fix quoting in help strings and code snippets in configure.in.
........
2010-04-24 17:04:35 +00:00
Ronald Oussoren
712979d292
* Fixes cut&paste error in configure
...
* Ensure that framework install works given the
recent CFLAGS and BASECFLAGS changes
2010-04-20 19:51:33 +00:00
Ronald Oussoren
79a9351b52
Merged revisions 80191 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r80191 | ronald.oussoren | 2010-04-18 21:07:43 +0200 (Sun, 18 Apr 2010) | 13 lines
Merged revisions 80187 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80187 | ronald.oussoren | 2010-04-18 19:59:37 +0200 (Sun, 18 Apr 2010) | 6 lines
Add the OSX universal binary related options
to CFLAGS instead of BASECFLAGS.
This fixes issue 8366 and is needed due to
changes introduced in the fix for issue 1628484.
........
................
2010-04-18 19:08:47 +00:00
Ronald Oussoren
666028b681
Merged revisions 80187 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80187 | ronald.oussoren | 2010-04-18 19:59:37 +0200 (Sun, 18 Apr 2010) | 6 lines
Add the OSX universal binary related options
to CFLAGS instead of BASECFLAGS.
This fixes issue 8366 and is needed due to
changes introduced in the fix for issue 1628484.
........
2010-04-18 19:07:43 +00:00
Benjamin Peterson
99f0376a75
regen configure
2010-04-11 22:15:28 +00:00
Benjamin Peterson
e6c9d24562
build without -fno-strict-aliasing when gcc isn't buggy #3326
...
Patch from Daniel Stutzbach
2010-03-30 17:34:47 +00:00
Victor Stinner
00d6a1d5d5
Merged revisions 79392 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79392 | victor.stinner | 2010-03-25 01:21:53 +0100 (jeu., 25 mars 2010) | 3 lines
Issue #8211 : Save/restore CFLAGS around AC_PROG_CC in configure.in, compiler
optimizations are disabled when --with-pydebug is used.
........
2010-03-25 01:02:29 +00:00
Benjamin Peterson
e7e59c270d
Merged revisions 79352 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r79352 | benjamin.peterson | 2010-03-23 16:02:34 -0500 (Tue, 23 Mar 2010) | 9 lines
Merged revisions 79351 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79351 | benjamin.peterson | 2010-03-23 15:58:37 -0500 (Tue, 23 Mar 2010) | 1 line
the == test doesn't work on Solaris #8210
........
................
2010-03-23 21:05:56 +00:00
Benjamin Peterson
65b4ec500c
Merged revisions 79351 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79351 | benjamin.peterson | 2010-03-23 15:58:37 -0500 (Tue, 23 Mar 2010) | 1 line
the == test doesn't work on Solaris #8210
........
2010-03-23 21:02:34 +00:00
Benjamin Peterson
ab0a752788
Merged revisions 78962,78964 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78962 | benjamin.peterson | 2010-03-14 09:24:31 -0500 (Sun, 14 Mar 2010) | 1 line
fix freebsd linking #7705
........
r78964 | benjamin.peterson | 2010-03-14 10:06:14 -0500 (Sun, 14 Mar 2010) | 1 line
fix quotes
........
2010-03-14 15:18:25 +00:00
Benjamin Peterson
2417634087
Merged revisions 78818 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r78818 | benjamin.peterson | 2010-03-09 15:46:49 -0600 (Tue, 09 Mar 2010) | 9 lines
Merged revisions 78817 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78817 | benjamin.peterson | 2010-03-09 15:43:36 -0600 (Tue, 09 Mar 2010) | 1 line
handle an empty OPT variable correctly #8100
........
................
2010-03-10 22:28:52 +00:00
Benjamin Peterson
0f64b0b9a3
Merged revisions 78819 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78819 | benjamin.peterson | 2010-03-09 15:46:54 -0600 (Tue, 09 Mar 2010) | 1 line
fix ugly configure output (follow up to #6943 )
........
2010-03-09 21:49:52 +00:00
Benjamin Peterson
1718bd1390
Merged revisions 78817 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78817 | benjamin.peterson | 2010-03-09 15:43:36 -0600 (Tue, 09 Mar 2010) | 1 line
handle an empty OPT variable correctly #8100
........
2010-03-09 21:46:49 +00:00
Ronald Oussoren
d4be7a24d4
Merged revisions 78808 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r78808 | ronald.oussoren | 2010-03-09 07:40:19 +0100 (Tue, 09 Mar 2010) | 2 lines
Bugfix for the fix for issue 8067
........
2010-03-09 06:41:58 +00:00
Ronald Oussoren
92fb9410a8
Bugfix for the fix for issue 8067
2010-03-09 06:40:19 +00:00
Ronald Oussoren
095d2820bb
Merged revisions 78782 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r78782 | ronald.oussoren | 2010-03-08 08:02:03 +0100 (Mon, 08 Mar 2010) | 2 lines
Fix for issue 8067
........
2010-03-08 07:03:14 +00:00
Ronald Oussoren
b8f11a665e
Fix for issue 8067
2010-03-08 07:02:03 +00:00
Benjamin Peterson
8a0212eef8
revert change unapplicable to 3.1
2010-02-27 00:47:08 +00:00
Benjamin Peterson
725e023417
revert unapplicable change to py3k
2010-02-27 00:45:21 +00:00
Benjamin Peterson
f8c3a62b29
run autoconf
2010-02-27 00:19:25 +00:00
Benjamin Peterson
d5cbf45a7a
run autoconf
2010-02-27 00:14:20 +00:00
Martin v. Löwis
4d0a20a893
Merged revisions 78204 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r78204 | martin.v.loewis | 2010-02-15 22:45:06 +0100 (Mo, 15 Feb 2010) | 9 lines
Merged revisions 78202 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78202 | martin.v.loewis | 2010-02-15 22:41:12 +0100 (Mo, 15 Feb 2010) | 2 lines
Issue #7903 : Define _BSD_SOURCE through OpenBSD 4.9.
........
................
2010-02-15 21:46:27 +00:00
Martin v. Löwis
19ed3c8bf5
Merged revisions 78202 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78202 | martin.v.loewis | 2010-02-15 22:41:12 +0100 (Mo, 15 Feb 2010) | 2 lines
Issue #7903 : Define _BSD_SOURCE through OpenBSD 4.9.
........
2010-02-15 21:45:06 +00:00
Martin v. Löwis
f6594224e2
Merged revisions 78196 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r78196 | martin.v.loewis | 2010-02-15 09:35:16 +0100 (Mo, 15 Feb 2010) | 9 lines
Merged revisions 78194 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78194 | martin.v.loewis | 2010-02-15 09:32:00 +0100 (Mo, 15 Feb 2010) | 2 lines
Issue #3920 : Define _BSD_SOURCE on OpenBSD 4.4.
........
................
2010-02-15 08:37:47 +00:00
Martin v. Löwis
7671efc126
Merged revisions 78194 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78194 | martin.v.loewis | 2010-02-15 09:32:00 +0100 (Mo, 15 Feb 2010) | 2 lines
Issue #3920 : Define _BSD_SOURCE on OpenBSD 4.4.
........
2010-02-15 08:35:16 +00:00
Ronald Oussoren
175a88458e
Merged revisions 78156 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r78156 | ronald.oussoren | 2010-02-11 14:38:58 +0100 (Thu, 11 Feb 2010) | 9 lines
Merged revisions 78154 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78154 | ronald.oussoren | 2010-02-11 14:26:54 +0100 (Thu, 11 Feb 2010) | 2 lines
Finish fix for issue 7715, after explicit search for calls to `arch`
........
................
2010-02-11 13:40:06 +00:00
Ronald Oussoren
e3da75a773
Merged revisions 78154 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78154 | ronald.oussoren | 2010-02-11 14:26:54 +0100 (Thu, 11 Feb 2010) | 2 lines
Finish fix for issue 7715, after explicit search for calls to `arch`
........
2010-02-11 13:38:58 +00:00
Ronald Oussoren
c8c89c4e62
Merged revisions 78152 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r78152 | ronald.oussoren | 2010-02-11 14:23:08 +0100 (Thu, 11 Feb 2010) | 4 lines
Fix for issue #7715 : explicitly use the system arch instead of whatever is
on the user's path. This is needed because GNU arch is not necessarily
compatible with Apple's version.
........
2010-02-11 13:24:45 +00:00
Ronald Oussoren
564f7f2c3b
Fix for issue #7715 : explicitly use the system arch instead of whatever is
...
on the user's path. This is needed because GNU arch is not necessarily
compatible with Apple's version.
2010-02-11 13:23:08 +00:00
Ronald Oussoren
755740f3ea
Forward port a number of OSX bugfixes from the trunk to 3.2
2010-02-07 19:56:39 +00:00
Ronald Oussoren
d5736816f0
Merged revisions 78073 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r78073 | ronald.oussoren | 2010-02-07 13:03:42 +0100 (Sun, 07 Feb 2010) | 7 lines
* Checks that the SDK specified with --enable-universalsk=VALUE exists.
* Fall back to the default system SDK when specifying --enable-universalsk
without a value and the 10.4u SDK is not avaiable.
Port of fix for issue 4834 from the trunk.
........
2010-02-07 12:04:41 +00:00
Ronald Oussoren
8af24c111b
* Checks that the SDK specified with --enable-universalsk=VALUE exists.
...
* Fall back to the default system SDK when specifying --enable-universalsk
without a value and the 10.4u SDK is not avaiable.
Port of fix for issue 4834 from the trunk.
2010-02-07 12:03:42 +00:00
Ronald Oussoren
652f4deac9
Merged revisions 78066 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r78066 | ronald.oussoren | 2010-02-07 12:53:18 +0100 (Sun, 07 Feb 2010) | 2 lines
Fix for issue 7714, ported from the trunk.
........
2010-02-07 11:54:03 +00:00
Ronald Oussoren
9812a6cf24
Fix for issue 7714, ported from the trunk.
2010-02-07 11:53:18 +00:00