summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
Commit message (Collapse)AuthorAgeFilesLines
* I finally got the time to update and merge Mark's and my trunk-math branch. ↵Christian Heimes2008-04-181-0/+2
| | | | | | The patch is collaborated work of Mark Dickinson and me. It was mostly done a few months ago. The patch fixes a lot of loose ends and edge cases related to operations with NaN, INF, very small values and complex math. The patch also adds acosh, asinh, atanh, log1p and copysign to all platforms. Finally it fixes differences between platforms like different results or exceptions for edge cases. Have fun :)
* Adds a profile-opt target for easy compilation of a python binary usingGregory P. Smith2008-04-131-1/+29
| | | | gcc's profile guided optimization.
* Re-implement the 'warnings' module in C. This allows for usage of theBrett Cannon2008-04-121-0/+2
| | | | | | | | | 'warnings' code in places where it was previously not possible (e.g., the parser). It could also potentially lead to a speed-up in interpreter start-up if the C version of the code (_warnings) is imported over the use of the Python version in key places. Closes issue #1631171.
* Issue 2408: remove the _types moduleAmaury Forgeot d'Arc2008-04-081-2/+0
| | | | | | | | | It was only used as a helper in types.py to access types (GetSetDescriptorType and MemberDescriptorType), when they can easily be obtained with python code. These expressions even work with Jython. I don't know what the future of the types module is; (cf. discussion in http://bugs.python.org/issue1605 ) at least this change makes it simpler.
* Merged revisions ↵Christian Heimes2008-03-261-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 61750,61752,61754,61756,61760,61763,61768,61772,61775,61805,61809,61812,61819,61917,61920,61930,61933-61934 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/trunk-bytearray ........ r61750 | christian.heimes | 2008-03-22 20:47:44 +0100 (Sat, 22 Mar 2008) | 1 line Copied files from py3k w/o modifications ........ r61752 | christian.heimes | 2008-03-22 20:53:20 +0100 (Sat, 22 Mar 2008) | 7 lines Take One * Added initialization code, warnings, flags etc. to the appropriate places * Added new buffer interface to string type * Modified tests * Modified Makefile.pre.in to compile the new files * Added bytesobject.c to Python.h ........ r61754 | christian.heimes | 2008-03-22 21:22:19 +0100 (Sat, 22 Mar 2008) | 2 lines Disabled bytearray.extend for now since it causes an infinite recursion Fixed serveral unit tests ........ r61756 | christian.heimes | 2008-03-22 21:43:38 +0100 (Sat, 22 Mar 2008) | 5 lines Added PyBytes support to several places: str + bytearray ord(bytearray) bytearray(str, encoding) ........ r61760 | christian.heimes | 2008-03-22 21:56:32 +0100 (Sat, 22 Mar 2008) | 1 line Fixed more unit tests related to type('') is not unicode ........ r61763 | christian.heimes | 2008-03-22 22:20:28 +0100 (Sat, 22 Mar 2008) | 2 lines Fixed more unit tests Fixed bytearray.extend ........ r61768 | christian.heimes | 2008-03-22 22:40:50 +0100 (Sat, 22 Mar 2008) | 1 line Implemented old buffer interface for bytearray ........ r61772 | christian.heimes | 2008-03-22 23:24:52 +0100 (Sat, 22 Mar 2008) | 1 line Added backport of the io module ........ r61775 | christian.heimes | 2008-03-23 03:50:49 +0100 (Sun, 23 Mar 2008) | 1 line Fix str assignement to bytearray. Assignment of a str of size 1 is interpreted as a single byte ........ r61805 | christian.heimes | 2008-03-23 19:33:48 +0100 (Sun, 23 Mar 2008) | 3 lines Fixed more tests Fixed bytearray() comparsion with unicode() Fixed iterator assignment of bytearray ........ r61809 | christian.heimes | 2008-03-23 21:02:21 +0100 (Sun, 23 Mar 2008) | 2 lines str(bytesarray()) now returns the bytes and not the representation of the bytearray object Enabled and fixed more unit tests ........ r61812 | christian.heimes | 2008-03-23 21:53:08 +0100 (Sun, 23 Mar 2008) | 3 lines Clear error PyNumber_AsSsize_t() fails Use CHARMASK for ob_svall access disabled a test with memoryview again ........ r61819 | christian.heimes | 2008-03-23 23:05:57 +0100 (Sun, 23 Mar 2008) | 1 line Untested updates to the PCBuild directory ........ r61917 | christian.heimes | 2008-03-26 00:57:06 +0100 (Wed, 26 Mar 2008) | 1 line The type system of Python 2.6 has subtle differences to 3.0's. I've removed the Py_TPFLAGS_BASETYPE flags from bytearray for now. bytearray can't be subclasses until the issues with bytearray subclasses are fixed. ........ r61920 | christian.heimes | 2008-03-26 01:44:08 +0100 (Wed, 26 Mar 2008) | 2 lines Disabled last failing test I don't understand what the test is testing and how it suppose to work. Ka-Ping, please check it out. ........ r61930 | christian.heimes | 2008-03-26 12:46:18 +0100 (Wed, 26 Mar 2008) | 1 line Re-enabled bytes warning code ........ r61933 | christian.heimes | 2008-03-26 13:20:46 +0100 (Wed, 26 Mar 2008) | 1 line Fixed a bug in the new buffer protocol. The buffer slots weren't copied into a subclass. ........ r61934 | christian.heimes | 2008-03-26 13:25:09 +0100 (Wed, 26 Mar 2008) | 1 line Re-enabled bytearray subclassing - all tests are passing. ........
* Install lib2to3.Martin v. Löwis2008-03-221-0/+3
|
* Add Tools/scripts/patchcheck.py. Invoked from ``make check``, the script doesBrett Cannon2008-03-181-0/+4
| | | | | | | | | | | | | some verification: - Runs reindent.py on all .py files. - Checks if any changes in Doc exist. - Whether Misc/ACKS was changed. - Whether Misc/NEWS was changed. The hope is that ``make check`` can become a command anybody can run to get reminders about what all the requisite steps needed to create a proper patch/checkin.
* Added dependency rules for Objects/stringlib/*.hChristian Heimes2008-02-241-14/+14
| | | | stringobject, unicodeobject and the two formatters are rebuild whenever a header files changes
* Added dependencies for stringobject.o. This should fix failing tests in ↵Eric Smith2008-02-191-0/+8
| | | | test_unicode.py.
* Backport of PEP 3101, Advanced String Formatting, from py3k.Eric Smith2008-02-171-0/+16
| | | | | | | | | | | | | | | Highlights: - Adding PyObject_Format. - Adding string.Format class. - Adding __format__ for str, unicode, int, long, float, datetime. - Adding builtin format. - Adding ''.format and u''.format. - str/unicode fixups for formatters. The files in Objects/stringlib that implement PEP 3101 (stringdefs.h, unicodedefs.h, formatter.h, string_format.h) are identical in trunk and py3k. Any changes from here on should be made to trunk, and changes will propogate to py3k).
* Fix the reindent rule to use $(BUILDPYTHON).Brett Cannon2008-01-291-1/+1
|
* Make 'testall' work again when building in a separate directory.Thomas Wouters2008-01-261-1/+1
| | | | test_distutils still fails when doing that.
* Make's MAKEFLAGS variable is set to a string containing the single-letterBrett Cannon2008-01-211-1/+1
| | | | | arguments to Make. This means there are no hyphens. Fix the '-s' check to silence distutils to now work.
* A bunch of header files were not listed as dependencies for object files. ↵Christian Heimes2008-01-211-7/+29
| | | | Changes to files like Parser/parser.h weren't picked up by make.
* Applied patch #1635: Float patch for inf and nan on Windows (and other ↵Christian Heimes2007-12-181-0/+3
| | | | | | platforms). The patch unifies float("inf") and repr(float("inf")) on all platforms.
* The new float repr causes too much trouble and pain. I'm disabling the ↵Christian Heimes2007-12-111-1/+0
| | | | | | | feature until we have sorted out the issues on all machines. 64bit machines seem to have issues and Guido has reported even worse. Guido: It's pretty bad actually -- repr(1e5) comes out as '1.0'... Ditto for repr(1eN) for most N... Both in 2.6 and in 3.0...
* Backport of r59456:59458 from py3k to trunkChristian Heimes2007-12-101-0/+1
| | | | | | Issue #1580: New free format floating point representation based on "Floating-Point Printer Sample Code", by Robert G. Burger. For example repr(11./5) now returns '2.2' instead of '2.2000000000000002'. Thanks to noam for the patch! I had to modify doubledigits.c slightly to support X64 and IA64 machines on Windows. I also added the new file to the three project files.
* Final fix for #1403Christian Heimes2007-11-211-0/+2
| | | | The Windows installer and some Linux distros are using compileall to compile all py files in the Lib/ directory. However no test exists to check if all py files can be compiled. I figured out that make testall is the easiest way to test compileall.
* Patch #1418: Make the AC_REPLACE_FUNCS object files actually work.Martin v. Löwis2007-11-121-0/+3
|
* Get rid of warning about not being able to create an existing directory.Neal Norwitz2007-10-121-1/+1
|
* Issue1704287: "make install" fails unless you do "make" first. MakeSean Reifscheider2007-09-211-3/+4
| | | | oldsharedmods and sharedmods in "libinstall".
* Newer autoconf versions (from 2.60) want a 'datarootdir' definition inRonald Oussoren2007-09-091-0/+3
| | | | | | | | | | | | | (Make-)files that use mandir (and other data directory macros). This patch solves a warning during configure, specifically: ... config.status: creating Makefile.pre config.status: WARNING: ../Makefile.pre.in seems to ignore the --datarootdir setting ... See also: <http://www.gnu.org/software/automake/manual/autoconf/Changed-Directory-Variables.html>
* #1095: ln -f doesn't work portably, fix in Makefile.Georg Brandl2007-09-071-1/+2
|
* Patch #786737: Allow building in a tree of symlinks pointing toMartin v. Löwis2007-09-051-1/+2
| | | | a readonly source.
* - Makefile.pre.in(buildbottest): Remove whitespace at eol.Matthias Klose2007-09-041-3/+3
|
* - Makefile.pre.in(buildbottest): Run an optional script pybuildbot.identifyMatthias Klose2007-09-041-0/+4
| | | | to include some information about the build environment.
* Patch 1673122: be explicit about which libtool to use, to avoid name clashesRonald Oussoren2007-07-091-1/+1
| | | | when a users install GNU libtool early in his PATH
* add parsetok.h as a dependency - previously, changing this file doesn'tAnthony Baxter2007-01-121-0/+3
| | | | cause the right files to be rebuilt.
* #1577756: svnversion doesn't react to LANG=C, use LC_ALL=C to forceGeorg Brandl2006-12-081-1/+1
| | | | English output.
* [Patch #1503717] Tiny patch from Chris AtLee to stop a lengthy line from ↵Andrew M. Kuchling2006-10-271-1/+1
| | | | being printed
* Move peephole optimizer to separate file.Jeremy Hylton2006-08-211-0/+1
|
* Fix makefile changes for python-config.Georg Brandl2006-07-301-2/+2
|
* expunge the xmlcore changes:Fred Drake2006-07-291-1/+1
| | | | | | | | | | | | | | | | | | | 41667, 41668 - initial switch to xmlcore 47044 - mention of xmlcore in What's New 50687 - mention of xmlcore in the library reference re-apply xmlcore changes to xml: 41674 - line ending changes (re-applied manually), directory props 41677 - add cElementTree wrapper 41678 - PSF licensing for etree 41812 - whitespace normalization 42724 - fix svn:eol-style settings 43681, 43682 - remove Python version-compatibility cruft from minidom 46773 - fix encoding of \r\n\t in attr values in saxutils 47269 - added XMLParser alias for cElementTree compatibility additional tests were added in Lib/test/test_sax.py that failed with the xmlcore changes; these relate to SF bugs #1511497, #1513611
* Patch #1520294: Support for getset and member descriptors in types.py,Barry Warsaw2006-07-271-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | inspect.py, and pydoc.py. Specifically, this allows for querying the type of an object against these built-in C types and more importantly, for getting their docstrings printed in the interactive interpreter's help() function. This patch includes a new built-in module called _types which provides definitions of getset and member descriptors for use by the types.py module. These types are exposed as types.GetSetDescriptorType and types.MemberDescriptorType. Query functions are provided as inspect.isgetsetdescriptor() and inspect.ismemberdescriptor(). The implementations of these are robust enough to work with Python implementations other than CPython, which may not have these fundamental types. The patch also includes documentation and test suite updates. I commit these changes now under these guiding principles: 1. Silence is assent. The release manager has not said "no", and of the few people that cared enough to respond to the thread, the worst vote was "0". 2. It's easier to ask for forgiveness than permission. 3. It's so dang easy to revert stuff in svn, that you could view this as a forcing function. :) Windows build patches will follow.
* Install the compatibility symlink to libpython.a on OSX using 'ln -sf' insteadRonald Oussoren2006-07-251-1/+1
| | | | of 'ln -s', this avoid problems when reinstalling python.
* Patch #1523356: fix determining include dirs in python-config.Georg Brandl2006-07-241-2/+3
| | | | | | Also don't install "python-config" when doing altinstall, but always install "python-config2.x" and make a link to it like with the main executable.
* macosx: Install a libpython2.5.a inside the framework as a symlink to the actualRonald Oussoren2006-06-271-0/+3
| | | | | | dylib at the root of the framework, that way tools that expect a unix-like install (python-config, but more importantly external products like mod_python) work correctly.
* Verify buildbot picks up these changes (really needs testing after last ↵Neal Norwitz2006-06-271-1/+1
| | | | change to Makefile.pre.in)
* Fix SF bug #1513032, 'make install' failure on FreeBSD 5.3.Neal Norwitz2006-06-271-1/+1
| | | | No need to install lib-old, it's empty in 2.5.
* Also install the .egg-info files in Lib. This will cause wsgiref.egg-info toRonald Oussoren2006-06-251-1/+1
| | | | be installed.
* Copy the wsgiref package during make install.Neal Norwitz2006-06-221-1/+1
|
* Remove message about using make frameworkinstall, that's no longer necesssaryRonald Oussoren2006-06-111-6/+0
|
* Bug #1502728: Correctly link against librt library on HP-UX.Georg Brandl2006-06-081-1/+1
|
* And the last bit: move IDLE one level up and adjust makefilesRonald Oussoren2006-06-071-9/+7
|
* * Ensure that "make altinstall" works when the tree was configuredRonald Oussoren2006-06-061-3/+7
| | | | | | with --enable-framework * Also for --enable-framework: allow users to use --prefix to specify the location of the compatibility symlinks (such as /usr/local/bin/python)
* Revert last checkin, it is better to do make distcleanNeal Norwitz2006-05-311-10/+1
|
* I'm impatient. I think this will fix a few more problems with the buildbots.Neal Norwitz2006-05-301-1/+10
| | | | | | I'm not sure this is the best approach, but I can't think of anything better. If this creates problems, feel free to revert, but I think it's safe and should make things a little better.
* Conversion of exceptions over from faked-up classes to new-style C types.Richard Jones2006-05-271-1/+1
|
* Integrate installing a framework in the 'make install'Ronald Oussoren2006-05-261-3/+5
| | | | | | | target. Until now users had to use 'make frameworkinstall' to install python when it is configured with '--enable-framework'. This tends to confuse users that don't hunt for readme files hidden in platform specific directories :-)
* Rework the build system for osx applications:Ronald Oussoren2006-05-141-12/+5
| | | | | | | | | | | * Don't use xcodebuild for building PythonLauncher, but use a normal unix makefile. This makes it a lot easier to use the same build flags as for the rest of python (e.g. make a universal version of python launcher) * Convert the mac makefile-s to makefile.in-s and use configure to set makefile variables instead of forwarding them as command-line arguments * Add a C version of pythonw, that we you can use '#!/usr/local/bin/pythonw' * Build IDLE.app using bundlebuilder instead of BuildApplet, that will allow easier modification of the bundle contents later on.