Commit Graph

314 Commits

Author SHA1 Message Date
Mark Dickinson 890499cebd Merged revisions 83479 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83479 | mark.dickinson | 2010-08-01 22:33:01 +0100 (Sun, 01 Aug 2010) | 1 line

  Don't delete Lib/test/data/README when doing 'make distclean'
........
2010-08-01 21:36:26 +00:00
Georg Brandl 004c74d468 Merged revisions 83370,83372-83374,83384 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83370 | georg.brandl | 2010-07-31 23:51:48 +0200 (Sa, 31 Jul 2010) | 5 lines

  #8198: the Helper class should not save the stdin and stdout objects
  at import time, rather by default use the current streams like the
  other APIs that output help.
........
  r83372 | georg.brandl | 2010-08-01 00:05:54 +0200 (So, 01 Aug 2010) | 1 line

  #4007: remove *.a and *.so.X.Y files in "make clean".
........
  r83373 | georg.brandl | 2010-08-01 00:11:11 +0200 (So, 01 Aug 2010) | 1 line

  #5147: revert accidental indentation of header constant for MozillaCookieJar.
........
  r83374 | georg.brandl | 2010-08-01 00:32:52 +0200 (So, 01 Aug 2010) | 1 line

  #5146: handle UID THREAD command correctly.
........
  r83384 | georg.brandl | 2010-08-01 08:32:55 +0200 (So, 01 Aug 2010) | 1 line

  Build properties using lambdas.  This makes test_pyclbr pass again, because it does not think that input and output are methods anymore.
........
2010-08-01 19:06:51 +00:00
Benjamin Peterson 4082d9ba0e Merged revisions 82934 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82934 | benjamin.peterson | 2010-07-17 15:39:23 -0500 (Sat, 17 Jul 2010) | 1 line

  sharedinstall should depend on sharedmods #9280
........
2010-07-17 20:41:16 +00:00
Antoine Pitrou 98431789fb It is possible to add extra testing options using EXTRATESTOPTS.
When such extra options include "-x testname", subsequent arguments
are all taken as test names to ignore. Therefore, standard options
must be passed before *TESTOPTS.

(witnessed on the ARM buildbots)
2010-04-12 00:10:46 +00:00
Ronald Oussoren 891cd83413 Ensure that the gdb hooks can be installed when
srcdir != builddir.

Without this patch it is no longer possible to
build python when you don't run configure from
the root of the source tree.
2010-04-05 11:21:21 +00:00
R. David Murray dd194ab37b Issue 8287: try to fix the gdb-python install errors on Solaris
and FreeBSD.  Patch by Dave Malcolm.
2010-04-05 01:34:50 +00:00
Benjamin Peterson 51fd586baa tabify 2010-04-04 23:01:03 +00:00
Benjamin Peterson 88623d76b4 use our own locale independent ctype macros
requires building pyctype.o into pgen
2010-04-03 23:03:35 +00:00
Martin v. Löwis 60fccd2f79 Don't install python-gdb.py as an executable. 2010-04-03 18:54:07 +00:00
Tarek Ziadé 0000295fe3 Issue #1222585: Added LDCXXSHARED for C++ support 2010-04-03 08:37:59 +00:00
Mark Dickinson a1ffe65e9b Add python-gdb.py and python.exe-gdb.py to distclean target in Makefile. 2010-04-02 20:34:26 +00:00
Martin v. Löwis bf0dfb3d0e Issue #8032: For gdb7, a python-gdb.py file is added to the build,
allowing to use advanced gdb features when debugging Python.
2010-04-01 07:40:51 +00:00
Ezio Melotti 90fd01b787 Add -Wd and -3 to the flags used to run the tests. 2010-03-31 22:18:09 +00:00
Michael Foord 79d1fa911b Makefile.pre.in for the unittest/test directory 2010-03-26 13:07:38 +00:00
Larry Hastings 402b73fb8d Backported PyCapsule from 3.1, and converted most uses of
CObject to PyCapsule.
2010-03-25 00:54:54 +00:00
Antoine Pitrou f83b30832c Issue #1628484: The Makefile doesn't ignore the CFLAGS environment
variable anymore.  It also forwards the LDFLAGS settings to the linker
when building a shared library.
2010-03-21 19:19:41 +00:00
Collin Winter 00dd3f51bc Add a separate python-config make target, useful for testing changes to Misc/python-config.in. 2010-03-19 00:00:30 +00:00
Benjamin Peterson d8fdd7e0ab reignore bad_coding 2010-03-18 22:55:46 +00:00
Benjamin Peterson decd14b5db install tkinter and ttk tests 2010-03-18 21:32:38 +00:00
Benjamin Peterson a2797bdcb1 remove installation of deleted test/output dir 2010-03-18 21:30:48 +00:00
Benjamin Peterson 716869caac don't try to compile anything in lib2to3/tests/data #8169 2010-03-18 21:20:35 +00:00
Florent Xicluna 13ba1a1c65 Move the xml test data to their own directory. 2010-03-13 11:18:49 +00:00
Tarek Ziadé 5633a8048f taking sysconfig out of distutils 2010-01-23 09:23:15 +00:00
Antoine Pitrou 6467213bfd Issue #7622: Improve the split(), rsplit(), splitlines() and replace()
methods of bytes, bytearray and unicode objects by using a common
implementation based on stringlib's fast search.  Patch by Florent Xicluna.
2010-01-13 07:55:48 +00:00
Benjamin Peterson 1c335e63c9 use pkg-config to find the libffi headers when --with-system-ffi is used #6943 2010-01-01 15:16:29 +00:00
Ronald Oussoren b5afe548d4 Fix for issue #7541: python-config --ldflags doesn't pick up libpython2.5.a 2009-12-24 14:17:19 +00:00
Ronald Oussoren 92919a66d2 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 13:30:58 +00:00
Georg Brandl 71a015ac1c Add a regrtest option to re-run in verbose mode immediately after a test fails, and use that option on the buildbots. 2009-10-27 20:52:02 +00:00
Mark Dickinson bb28285ea2 Issue #7117: Prepare for backport of py3k float repr.
Add the Python/dtoa.c file containing the main algorithms;
add corresponding include file and include in Python.h;
include license information for Python/dtoa.c;
add dtoa.c and dtoa.h to Makefile.
2009-10-24 12:13:30 +00:00
Mark Dickinson 143d433896 Issue #6982: Add generated Lib/lib2to3/*.pickle files to 'make clean' target.
Thanks egreen.
2009-09-24 19:21:07 +00:00
Ronald Oussoren 2596758cb4 Fix build issues on OSX 10.6 (issue 6802) 2009-09-06 10:00:26 +00:00
Mark Dickinson 8dcd06fc5a Issue #6297: Add autogenerated Misc/python.pc file to make distclean target. Thanks Jerry Chen. 2009-08-31 14:46:07 +00:00
Benjamin Peterson 771e87bfed install unittest as a package 2009-07-21 23:13:14 +00:00
Benjamin Peterson 9bd39c119e put downloaded test support files in Lib/test/data instead of the cwd 2009-07-11 22:15:13 +00:00
Benjamin Peterson 80ce61c053 make ast.c depend on the grammar 2009-06-09 17:24:26 +00:00
Ronald Oussoren 8e631258ad This checkin adds a symlink to the lib directory of a framework install
of Python (on OSX), and the end result of that is that the combination of
``python-config --ldflags`` and ``python-config --libs`` refers to an actually
existing location.

I've done this in preference to changing python-config to specify
'-framework Python' for linking because that doesn't work when you have multiple
versions of python installed (because '-framework Python' will always link to
the 'Current' version of the framework, without a possibility to specify a
specific version).
2009-06-08 20:54:59 +00:00
Antoine Pitrou f2caeed9c6 Issue #3585: Add pkg-config support.
It creates a python-2.7.pc file and a python.pc symlink in the
$(LIBDIR)/pkgconfig directory. Patch by Clinton Roy.
2009-05-24 20:23:57 +00:00
Benjamin Peterson e5afa3b24b support building with subversion 1.7 #6094 2009-05-23 19:24:37 +00:00
Ronald Oussoren f44c6540fb This patch ensures that the pydoc_data package gets installed. This is needed
to make it possible to use pydoc to get access to the language reference.

That is, without this patch the folllowing won't work:

   >>> help('if')
2009-05-19 19:06:38 +00:00
Tarek Ziadé e2be83def8 Fixed Issue 5900: distutils.command.build_ext - Ensure RUNPATH is added to extension modules with RPATH if GNU ld is used 2009-05-09 08:28:53 +00:00
Tarek Ziadé 99f660af3f Fixed #5941: added ARFLAGS for the archiver command. 2009-05-07 21:20:34 +00:00
Eric Smith cac7af6863 Issue #5793: rationalize isdigit / isalpha / tolower, etc. Will port to py3k. Should fix Windows buildbot errors. 2009-04-27 19:04:37 +00:00
Thomas Heller addfe22821 Issue #5161: wrong paths for ctypes cleanup when Python is built in a
directory other than the source directory.
2009-04-24 18:10:46 +00:00
Benjamin Peterson 82d1cf1ecc fix typo 2009-04-19 03:02:54 +00:00
Benjamin Peterson e753abdec7 ignore py3_test_grammar when compiling the library 2009-04-11 19:31:00 +00:00
Benjamin Peterson b3efcbc19b fix syntax 2009-04-08 13:29:41 +00:00
Benjamin Peterson 487915c729 these must be installed to correctly run tests 2009-04-08 13:27:29 +00:00
Antoine Pitrou 789be0c0a0 Issue #2396: backport the memoryview object. 2009-04-02 21:18:34 +00:00
Jeremy Hylton 1e6da5c39f Update quicktest to match Python 3 branch 2009-03-31 13:31:00 +00:00
Matthias Klose 8ad554fdbe - Link the shared python library with $(MODLIBS). 2009-02-22 23:14:26 +00:00