Commit Graph

947 Commits

Author SHA1 Message Date
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
Benjamin Peterson 08fd672e67 Merged revisions 77862 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77862 | benjamin.peterson | 2010-01-30 13:36:43 -0600 (Sat, 30 Jan 2010) | 12 lines

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

  ........
    r76050 | gregory.p.smith | 2009-11-01 19:37:37 -0600 (Sun, 01 Nov 2009) | 5 lines

    see http://bugs.python.org/issue1006238 this merges in the following
    patch to make cross compilation of the chflags check easier:

     http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/files/python-2.6-chflags-cross.patch?rev=1.1
  ........
................
2010-01-30 19:51:43 +00:00
Benjamin Peterson ed68afa8d6 Merged revisions 76050 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76050 | gregory.p.smith | 2009-11-01 19:37:37 -0600 (Sun, 01 Nov 2009) | 5 lines

  see http://bugs.python.org/issue1006238 this merges in the following
  patch to make cross compilation of the chflags check easier:

   http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/files/python-2.6-chflags-cross.patch?rev=1.1
........
2010-01-30 19:36:43 +00:00
Benjamin Peterson d78735d8e3 Merged revisions 77212-77215 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77212 | benjamin.peterson | 2010-01-01 09:16:29 -0600 (Fri, 01 Jan 2010) | 1 line

  use pkg-config to find the libffi headers when --with-system-ffi is used #6943
........
  r77213 | benjamin.peterson | 2010-01-01 09:18:38 -0600 (Fri, 01 Jan 2010) | 1 line

  add note
........
  r77214 | benjamin.peterson | 2010-01-01 09:20:06 -0600 (Fri, 01 Jan 2010) | 1 line

  fix indentation
........
  r77215 | benjamin.peterson | 2010-01-01 09:21:13 -0600 (Fri, 01 Jan 2010) | 1 line

  allow --with-dbmliborder to specify that no dbm modules will be built #6491
........
2010-01-01 16:04:23 +00:00
Mark Dickinson b87f0d00c3 Merged revisions 77196 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77196 | mark.dickinson | 2009-12-31 21:22:50 +0000 (Thu, 31 Dec 2009) | 9 lines

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

  ........
    r77193 | mark.dickinson | 2009-12-31 21:11:48 +0000 (Thu, 31 Dec 2009) | 1 line

    More configure fixes: avoid sh 'integer argument expected' error when 'long long' type doesn't exist.
  ........
................
2009-12-31 21:25:02 +00:00
Mark Dickinson 2df5d28155 Merged revisions 77193 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77193 | mark.dickinson | 2009-12-31 21:11:48 +0000 (Thu, 31 Dec 2009) | 1 line

  More configure fixes: avoid sh 'integer argument expected' error when 'long long' type doesn't exist.
........
2009-12-31 21:22:50 +00:00
Mark Dickinson 89d7d41602 Merged revisions 77189 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77189 | mark.dickinson | 2009-12-31 20:48:04 +0000 (Thu, 31 Dec 2009) | 1 line

  Add missing quotes.
........
2009-12-31 20:50:59 +00:00
Benjamin Peterson b2d9046792 Merged revisions 77169 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77169 | benjamin.peterson | 2009-12-30 21:17:18 -0600 (Wed, 30 Dec 2009) | 2 lines

  add a --with-system-expat option to build pyexpat against the system's lib #7609
........
2009-12-31 03:23:10 +00:00
Ronald Oussoren 6f6c562492 Merged revisions 77031 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77031 | ronald.oussoren | 2009-12-24 14:30:58 +0100 (Thu, 24 Dec 2009) | 15 lines

  Issue #6834: replace the implementation for the 'python' and 'pythonw' executables on OSX.

  The previous implementation used execv(2) to run the real interpreter, which means that
  you cannot use the arch(1) tool to select the architecture you want to use for a
  universal build because that only affects the python/pythonw wrapper and not the actual
  interpreter.

  The new version uses posix_spawnv with a number of OSX-specific options that ensure that
  the real interpreter is started using the same CPU architecture as the wrapper, and that
  means that 'arch -ppc python' now actually works.

  I've also changed the way that the wrapper looks for the framework: it is now linked to
  the framework rather than hardcoding the framework path. This should make it easier to
  provide pythonw support in tools like virtualenv.
........
2009-12-24 14:03:19 +00:00
Mark Dickinson 62eda4d0c4 Merged revisions 76815 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76815 | mark.dickinson | 2009-12-13 21:10:57 +0000 (Sun, 13 Dec 2009) | 10 lines

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

  ........
    r76813 | mark.dickinson | 2009-12-13 21:06:06 +0000 (Sun, 13 Dec 2009) | 3 lines

    Issue #7492: Autoconf tests were leaving semaphore files behind.  Add
    sem_unlink calls to delete those semaphore files.
  ........
................
2009-12-13 21:18:16 +00:00
Mark Dickinson ba79b35772 Merged revisions 76813 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76813 | mark.dickinson | 2009-12-13 21:06:06 +0000 (Sun, 13 Dec 2009) | 3 lines

  Issue #7492: Autoconf tests were leaving semaphore files behind.  Add
  sem_unlink calls to delete those semaphore files.
........
2009-12-13 21:10:57 +00:00
Benjamin Peterson 8f326b2369 Merged revisions 76052,76522,76591,76689,76697,76733 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76052 | gregory.p.smith | 2009-11-01 20:02:38 -0600 (Sun, 01 Nov 2009) | 5 lines

  see issue1006238, this merges in the following patch to ease cross
  compiling the printf %zd check.

   http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/files/python-2.5-cross-printf.patch?rev=1.1&view=markup
........
  r76522 | barry.warsaw | 2009-11-25 12:38:32 -0600 (Wed, 25 Nov 2009) | 2 lines

  Add mktime_tz to __all__.  It's documented as being available in email.utils.
........
  r76591 | benjamin.peterson | 2009-11-29 16:26:26 -0600 (Sun, 29 Nov 2009) | 4 lines

  now that deepcopy can handle instance methods, this hack can be removed #7409

  Thanks Robert Collins
........
  r76689 | benjamin.peterson | 2009-12-06 11:37:48 -0600 (Sun, 06 Dec 2009) | 1 line

  rewrite translate_newlines for clarity
........
  r76697 | benjamin.peterson | 2009-12-06 15:24:30 -0600 (Sun, 06 Dec 2009) | 2 lines

  fix test_parser from tokenizer tweak
........
  r76733 | benjamin.peterson | 2009-12-09 21:37:59 -0600 (Wed, 09 Dec 2009) | 1 line

  substitute PyDict_Check() for PyObject_IsInstance
........
2009-12-13 02:10:36 +00:00
Benjamin Peterson 05159c4a7b Merged revisions 76644 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76644 | benjamin.peterson | 2009-12-02 20:52:39 -0600 (Wed, 02 Dec 2009) | 4 lines

  disable pymalloc tricks with the --with-valgrind option #2422

  Patch from James Henstridge.
........
2009-12-03 03:01:27 +00:00
Antoine Pitrou b7572f08f4 Merged revisions 76636 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76636 | antoine.pitrou | 2009-12-02 21:37:54 +0100 (mer., 02 déc. 2009) | 5 lines

  Issue #7333: The `posix` module gains an `initgroups()` function providing
  access to the initgroups(3) C library call on Unix systems which implement
  it.  Patch by Jean-Paul Calderone.
........
2009-12-02 20:46:48 +00:00
Mark Dickinson 875ada4b0f Merged revisions 76566 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76566 | mark.dickinson | 2009-11-28 12:48:43 +0000 (Sat, 28 Nov 2009) | 18 lines

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

  ........
    r76432 | mark.dickinson | 2009-11-20 19:30:22 +0000 (Fri, 20 Nov 2009) | 5 lines

    Issue #7272:  Add configure test to detect whether sem_open works
    properly, and use this to skip test_multiprocessing on platforms
    where sem_open raises a signal.  This should fix some FreeBSD buildbot
    failures for test_multiprocessing.
  ........
    r76558 | mark.dickinson | 2009-11-28 10:44:20 +0000 (Sat, 28 Nov 2009) | 4 lines

    Issue #7272, continued:  don't re-use existing HAVE_BROKEN_POSIX_SEMAPHORES
    to indicate that semaphores aren't available;  define a new variable
    POSIX_SEMAPHORES_NOT_ENABLED instead.
  ........
................
2009-11-28 12:52:39 +00:00
Mark Dickinson a614f042a2 Merged revisions 76432,76558 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76432 | mark.dickinson | 2009-11-20 19:30:22 +0000 (Fri, 20 Nov 2009) | 5 lines

  Issue #7272:  Add configure test to detect whether sem_open works
  properly, and use this to skip test_multiprocessing on platforms
  where sem_open raises a signal.  This should fix some FreeBSD buildbot
  failures for test_multiprocessing.
........
  r76558 | mark.dickinson | 2009-11-28 10:44:20 +0000 (Sat, 28 Nov 2009) | 4 lines

  Issue #7272, continued:  don't re-use existing HAVE_BROKEN_POSIX_SEMAPHORES
  to indicate that semaphores aren't available;  define a new variable
  POSIX_SEMAPHORES_NOT_ENABLED instead.
........
2009-11-28 12:48:43 +00:00
Martin v. Löwis 7aed61ae46 Merged revisions 76550 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76550 | martin.v.loewis | 2009-11-27 14:56:01 +0100 (Fr, 27 Nov 2009) | 2 lines

  Issue #6508: Add posix.{getresuid,getresgid,setresuid,setresgid}.
........
2009-11-27 14:09:49 +00:00