Commit Graph

318 Commits

Author SHA1 Message Date
Ronald Oussoren 40617a8eae Merged revisions 74962 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74962 | ronald.oussoren | 2009-09-20 12:31:22 +0200 (Sun, 20 Sep 2009) | 2 lines

  Fix for issue 6851: urllib.urlopen crashes in a thread on OSX 10.6
........
2009-09-20 10:37:33 +00:00
Ronald Oussoren c6ddd7f9a7 Merged revisions 74798 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74798 | ronald.oussoren | 2009-09-15 20:33:33 +0200 (Tue, 15 Sep 2009) | 8 lines

  MacOSX: detect the architectures supported by
  Tk.framework and build _tkinter only for those
  architectures.

  This replaces the hardcoded solution that is no
  longer valid now that 64-bit capable versions of
  Tk are available on OSX.
........
2009-09-15 18:47:35 +00:00
Jesse Noller 040bc1bb4b Merged revisions 70849 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70849 | jesse.noller | 2009-03-31 13:12:35 -0500 (Tue, 31 Mar 2009) | 1 line

  Apply patch for netbsd multiprocessing support
........
2009-03-31 18:20:48 +00:00
Ronald Oussoren 5302a3011e Merged revisions 70172 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70172 | ronald.oussoren | 2009-03-04 22:30:12 +0100 (Wed, 04 Mar 2009) | 7 lines

  Change framework search order when looking for Tcl/Tk on OSX.

  This is needed because the system linker looks in /Library/Framework before
  it looks in /System/Library frameworks. Without this patch _tkinter will
  be unusable when it is compiled on a system that has Tk 8.5 installed in
  /Library/Frameworks (and the Apple 8.4 install in /System/Library/Frameworks)
........
2009-03-04 21:30:52 +00:00
Mark Dickinson 5e050d857e Merged revisions 69500 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69500 | mark.dickinson | 2009-02-10 16:17:16 +0000 (Tue, 10 Feb 2009) | 4 lines

  _testcapi depends on testcapi_long.h

  Thanks Lisandro Dalcin.
........
2009-02-10 16:23:27 +00:00
Skip Montanaro b9a80de871 muffed the default case 2008-12-07 02:16:19 +00:00
Skip Montanaro b7387a5e0d issue4483: dbm build failures on systems with gdbm_compat lib. 2008-12-06 17:39:54 +00:00
Martin v. Löwis 7f08c1f109 Merged revisions 67098 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67098 | martin.v.loewis | 2008-11-04 21:40:09 +0100 (Di, 04 Nov 2008) | 2 lines

  Issue #4204: Fixed module build errors on FreeBSD 4.
........
2008-11-04 20:43:31 +00:00
Skip Montanaro 593e66fd43 backport 2008-10-07 02:04:16 +00:00
Martin v. Löwis 74013d6159 Merged revisions 66814 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66814 | martin.v.loewis | 2008-10-06 17:15:40 +0200 (Mo, 06 Okt 2008) | 3 lines

  Issue #4014: Don't claim that Python has an Alpha release status, in addition
  to claiming it is Mature.
........
2008-10-06 15:17:35 +00:00
Benjamin Peterson be2c0a9fe3 Merged revisions 66766-66767,66771-66772,66774,66776,66783-66787,66790,66793,66797 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r66766 | benjamin.peterson | 2008-10-03 06:52:06 -0500 (Fri, 03 Oct 2008) | 1 line

  update the mac installer script
................
  r66767 | andrew.kuchling | 2008-10-03 07:26:42 -0500 (Fri, 03 Oct 2008) | 1 line

  Docstring typo.
................
  r66771 | hirokazu.yamamoto | 2008-10-03 11:18:42 -0500 (Fri, 03 Oct 2008) | 2 lines

  Fixed following error when DocXMLRPCServer failed.
    UnboundLocalError: local variable 'serv' referenced before assignment
................
  r66772 | andrew.kuchling | 2008-10-03 11:29:19 -0500 (Fri, 03 Oct 2008) | 1 line

  Mention exception in docstring
................
  r66774 | andrew.kuchling | 2008-10-03 11:42:52 -0500 (Fri, 03 Oct 2008) | 1 line

  Typo fix
................
  r66776 | hirokazu.yamamoto | 2008-10-03 12:34:49 -0500 (Fri, 03 Oct 2008) | 2 lines

  Issue #1706863: Fixed "'NoneType' object has no attribute 'rfind'" error when sqlite libfile not found.
................
  r66783 | andrew.kuchling | 2008-10-03 20:02:29 -0500 (Fri, 03 Oct 2008) | 1 line

  Use correct capitalization of NaN
................
  r66784 | andrew.kuchling | 2008-10-03 20:03:42 -0500 (Fri, 03 Oct 2008) | 1 line

  Docstring change: Specify exception raised
................
  r66785 | andrew.kuchling | 2008-10-03 20:04:24 -0500 (Fri, 03 Oct 2008) | 1 line

  Docstring changes: Specify exceptions raised
................
  r66786 | andrew.kuchling | 2008-10-03 20:05:56 -0500 (Fri, 03 Oct 2008) | 3 lines

  Docstring change for *partition: use same tense as other docstrings.
  Hyphenate left- and right-justified.
  Fix 'registerd' typo
................
  r66787 | andrew.kuchling | 2008-10-03 22:08:56 -0500 (Fri, 03 Oct 2008) | 1 line

  two corrections
................
  r66790 | andrew.kuchling | 2008-10-04 11:52:01 -0500 (Sat, 04 Oct 2008) | 1 line

  Set svn:keywords
................
  r66793 | georg.brandl | 2008-10-04 13:26:01 -0500 (Sat, 04 Oct 2008) | 2 lines

  #4041: don't refer to removed and outdated modules.
................
  r66797 | benjamin.peterson | 2008-10-04 15:55:50 -0500 (Sat, 04 Oct 2008) | 19 lines

  Merged revisions 66707,66775,66782 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r66707 | benjamin.peterson | 2008-09-30 18:27:10 -0500 (Tue, 30 Sep 2008) | 1 line

    fix #4001: fix_imports didn't check for __init__.py before converting to relative imports
  ........
    r66775 | collin.winter | 2008-10-03 12:08:26 -0500 (Fri, 03 Oct 2008) | 4 lines

    Add an alternative iterative pattern matching system that, while slower, correctly parses files that cause the faster recursive pattern matcher to fail with a recursion error. lib2to3 falls back to the iterative matcher if the recursive one fails.

    Fixes http://bugs.python.org/issue2532. Thanks to Nick Edds.
  ........
    r66782 | benjamin.peterson | 2008-10-03 17:51:36 -0500 (Fri, 03 Oct 2008) | 1 line

    add Victor Stinner's fixer for os.getcwdu -> os.getcwd #4023
  ........
................
2008-10-04 21:33:08 +00:00
Jesse Noller 37040cdace issue3770: if SEM_OPEN is 0, disable the mp.synchronize module, rev. Nick Coghlan, Damien Miller 2008-09-30 00:15:45 +00:00
Hye-Shik Chang 99c48a8d31 Give information for compililation of _multiprocessing.SemLock on FreeBSD:
FreeBSD's P1003.1b semaphore support is highly experimental and
it's disabled by default.  Even if a user loads the experimental
kernel module manually, _multiprocessing doesn't work correctly due
to several known incompatibilities around sem_unlink and sem_getvalue,
yet.
2008-06-28 01:04:31 +00:00
Benjamin Peterson 190d56e009 add the multiprocessing package to fulfill PEP 371 2008-06-11 02:40:25 +00:00
Ronald Oussoren 5640ce2f1e MacOS X: Enable 4-way universal builds
This patch adds a new configure argument on OSX:
        --with-universal-archs=[32-bit|64-bit|all]

When used with the --enable-universalsdk option this controls which
CPU architectures are includes in the framework. The default is 32-bit,
meaning i386 and ppc. The most useful alternative is 'all', which includes
all 4 CPU architectures supported by MacOS X (i386, ppc, x86_64 and ppc64).

This includes limited support for the Carbon bindings in 64-bit mode as well,
limited because (a) I haven't done extensive testing and (b) a large portion
of the Carbon API's aren't available in 64-bit mode anyway.

I've also duplicated a feature of Apple's build of python: setting the
environment variable 'ARCHFLAGS' controls the '-arch' flags used for building
extensions using distutils.
2008-06-05 12:58:24 +00:00
Thomas Heller de2d78a153 Fix misspelled sys.platform name and misspelled filename. 2008-06-02 18:41:30 +00:00
Brett Cannon ef3dab28f2 Turn off debugging output for building bsddb. 2008-05-29 21:23:33 +00:00
Gregory P. Smith 0902cac4b3 Disable the use of BerkeleyDB 4.6 on platforms that appear to have
issues with it.
2008-05-27 08:40:09 +00:00
Gregory P. Smith 8f1a4a6828 Allow BerlekeyDB up through 4.7. I doubt any of our unixy buildbots even have
that installed yet but the module code supports it.
2008-05-26 19:29:14 +00:00
Gregory P. Smith c424061968 print out information about which BerkeleyDB library was found by
setup.py to use to build the bsddb module.
2008-05-25 07:20:34 +00:00
Martin v. Löwis 8c255e4173 Patch #1722225: Support QNX 6. 2008-05-23 15:06:50 +00:00
Thomas Heller 03b75ddf7c On HPUX, -fPIC must be used for linking. _ctypes now builds on HP-UX
IA64 and PA machines.

The ctypes unittests work fine on the IA64, but dump core in
test_qsort on the PA.
2008-05-20 19:53:47 +00:00
Alexandre Vassalotti 1aed624f7c Backport fast alternate io.BytesIO implementation.
Merged r62778, r62779, r62802, r62806, r62807, r62808, r62809, r62844,
r62846, r62952, r62956.
2008-05-09 21:49:43 +00:00
Brett Cannon 4b964f9c90 Add the 'json' package. Code taken from simplejson 1.9 and contributed by Bob
Ippolito.

Closes issue #2750.
2008-05-05 20:21:38 +00:00
Thomas Wouters 2fab8f1abb Fix test_distutils to not fail when running 'make test' from a Python build
directory that is not the source directory (ie, one created using
'/path/to/source/configure'.) Leaves this test very slightly degraded in
that particular case, compared to the build-in-sourcedir case, but that case
isn't a particularly strong test either: neither test the actual path that
will be used after installing. There isn't a particularly good way to test
this, and a poor test beats a failing test.
2008-04-05 23:39:15 +00:00
Martin v. Löwis cdbc977c03 Install 2to3 script. 2008-03-24 12:57:53 +00:00
Gregory P. Smith 440ca772f3 Have the binascii module use zlib's optimized crc32() function when available
to reduce our code size (1k data table and tiny bit of code).  It falls back
to its own without zlib.
2008-03-24 00:08:01 +00:00
Neal Norwitz 0d2192be8b Move itertools before future_builtins since the latter depends on the former.
From a clean build importing future_builtins would fail since itertools
wasn't built yet.
2008-03-23 06:13:25 +00:00
Thomas Heller 8bdf81d2df Merged changes from libffi3-branch.
The bundled libffi copy is now in sync with the recently released
libffi3.0.4 version, apart from some small changes to
Modules/_ctypes/libffi/configure.ac.

I gave up on using libffi3 files on os x.
Instead, static configuration with files from pyobjc is used.
2008-03-04 20:09:11 +00:00
Eric Smith a73fbe791d Added future_builtins, which contains PEP 3127 compatible versions of hex() and oct(). 2008-02-23 03:09:44 +00:00
Gregory P. Smith 773f347e7c remove a repeated occurance of a hardcoded berkeleydb library version number 2008-02-03 08:01:46 +00:00
Brett Cannon 861e39678f Directories from CPPFLAGS and LDFLAGS were being added in the reverse order for
searches as to how they were listed in the environment variable.
2008-02-03 02:08:45 +00:00
Gregory P. Smith f866bac73c Disable use of BerkeleyDB 4.6.x to see what the odd platform buildbots
think.  In particular, neal norwitz has traced an Ubuntu sparc64 crash
to the Lib/test/bsddb/test_basics.py test when opening a db with DB_THREAD.
2008-01-28 23:21:00 +00:00
Christian Heimes 8608d91e07 Added the Python core headers Include/*.h and pyconfig.h as dependencies for the extensions in Modules/
It forces a rebuild of all extensions when a header files has been modified
2008-01-25 15:52:11 +00:00
Christian Heimes 7f39c9fcbb Backport of several functions from Python 3.0 to 2.6 including PyUnicode_FromString, PyUnicode_Format and PyLong_From/AsSsize_t. The functions are partly required for the backport of the bytearray type and _fileio module. They should also make it easier to port C to 3.0.
First chapter of the Python 3.0 io framework back port: _fileio
The next step depends on a working bytearray type which itself depends on a backport of the nwe buffer API.
2008-01-25 12:18:43 +00:00
Christian Heimes b222bbc321 Build _ctypes after the other extensions. Its build process depends
on the _weakref extension (and maybe other modules, too)
2008-01-18 09:51:43 +00:00
Hye-Shik Chang ea684743da Enable platform-specific tweaks for FreeBSD 8 (exactly same to FreeBSD 7's yet) 2007-10-28 12:38:09 +00:00
Gregory P. Smith e7f4d84830 remove another sleepycat reference 2007-10-09 18:26:02 +00:00
Gregory P. Smith 392505391e Splits Modules/_bsddb.c up into bsddb.h and _bsddb.c and adds a C API
object available as bsddb.db.api.  This is based on the patch submitted
by Duncan Grisby here:
  http://sourceforge.net/tracker/index.php?func=detail&aid=1551895&group_id=13900&atid=313900
See this thread for additional info:
  http://sourceforge.net/mailarchive/forum.php?thread_name=E1GAVDK-0002rk-Iw%40apasphere.com&forum_name=pybsddb-users

It also cleans up the code a little by removing some ifdef/endifs for
python prior to 2.1 and for unsupported Berkeley DB <= 3.2.
2007-10-09 06:02:21 +00:00
Gregory P. Smith 1475cd8761 Allows BerkeleyDB 4.6.x >= 4.6.21 for the bsddb module. 2007-10-06 07:51:59 +00:00
Gregory P. Smith f3d280e62a Don't allow BerkeleyDB 4.6.x as the current 4.6.19 release is prone
to lockups.  We'll reenable it once a good 4.6.x release exists.
2007-09-10 16:36:32 +00:00
Skip Montanaro 52bc1f1d62 If this is correct for py3k branch and it's already in the release25-maint
branch, seems like it ought to be on the trunk as well.
2007-09-06 22:29:06 +00:00
Matthias Klose 691632f14d - Added support for linking the bsddb module against BerkeleyDB 4.6.x. 2007-09-03 23:33:04 +00:00
Gregory P. Smith 4eb60e5330 keep setup.py from listing unneeded hash modules (_md5, _sha*) as
missing when they were not built because _hashlib with openssl provided
their functionality instead.

don't build bsddb185 if bsddb was built.
2007-08-26 00:26:00 +00:00
Georg Brandl 915c87d3e5 Bug #1765375: fix stripping of unwanted LDFLAGS. 2007-08-24 11:47:37 +00:00
Jeffrey Yasskin 879975677a When setup.py fails to find the necessary bits to build some modules, have it
print a slightly more informative message.
2007-08-22 23:14:27 +00:00
Brett Cannon dc48b74497 Remove the rgbimg module. It has been deprecated since Python 2.5. 2007-05-20 07:09:50 +00:00
Georg Brandl e95cf1c8a2 Fix cmp vs. key argument for list.sort. 2007-03-06 17:49:14 +00:00
Skip Montanaro d1287323ca patch 1673619 - identify extension modules which cannot be built 2007-03-06 15:41:38 +00:00
Skip Montanaro 00c5a0138b Teach setup.py how to find Berkeley DB on Macs using MacPorts. 2007-03-04 20:52:28 +00:00