Commit Graph

57 Commits

Author SHA1 Message Date
Christian Heimes 0a8143f646 Applied patch #1635: Float patch for inf and nan on Windows (and other platforms).
The patch unifies float("inf") and repr(float("inf")) on all platforms.
2007-12-18 23:22:54 +00:00
Christian Heimes f15c66e143 The new float repr causes too much trouble and pain. I'm disabling the 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...
2007-12-11 00:54:34 +00:00
Christian Heimes 284d927625 Backport of r59456:59458 from py3k to trunk
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.
2007-12-10 22:28:56 +00:00
Brett Cannon 7e93587746 Try to remove rgbimg from Windows builds. 2007-05-20 19:05:06 +00:00
Raymond Hettinger eb9798892d Prepare collections module for pure python code entries. 2007-02-28 18:37:52 +00:00
Martin v. Löwis cc0eba9d98 Merge 53501 and 53502 from 25 branch:
Add /GS- for AMD64 and Itanium builds where missing.
2007-01-20 14:05:39 +00:00
Martin v. Löwis c9e82f6234 Patch #1576954: Update VC6 build directory; remove redundant
files in VC7. Will backport to 2.5.
2006-10-15 07:54:40 +00:00
Neal Norwitz 3c9333970f Try to get the windows bots working again with the new peephole.c 2006-08-21 23:44:48 +00:00
Neal Norwitz 132bbb3d06 Try to get Windows bots working again. Take 2 2006-08-18 05:10:00 +00:00
Barry Warsaw d17301f95c Enable the building of the _types module on Windows.
Note that this has only been tested for VS 2003 since that's all I have.
2006-07-27 23:50:40 +00:00
Nick Coghlan c649ec5b69 Apply modified version of Collin Winter's patch #1478788
Renames functional extension module to _functools and adds a Python
functools module so that utility functions like update_wrapper can be
added easily.
2006-05-29 12:43:05 +00:00
Richard Jones 7b9558d37d Conversion of exceptions over from faked-up classes to new-style C types. 2006-05-27 12:29:24 +00:00
Tim Peters f178e5c1b7 Get the Windows build working again (recover from
`struct` module changes).
2006-05-23 19:34:37 +00:00
Martin v. Löwis 79b0f85867 Use GS- and bufferoverlowU.lib where appropriate, for AMD64. 2006-04-26 17:19:44 +00:00
Martin v. Löwis 07b3508e24 Upgrade to vsextcomp 0.8 (and thus the SDK for W2k3SP1) 2006-04-21 13:48:26 +00:00
Tim Peters 9161a0d8da Looks like someone renamed (or something) md5c.c to md5.c. 2006-04-03 19:54:07 +00:00
Martin v. Löwis f5af2aac38 Patch #1462700: Make _ctypes_test depend on _ctypes.
Use same GUID for pythoncore in project and solution.
2006-04-03 05:29:03 +00:00
Neal Norwitz 10be10cbe7 Remove regsub, reconvert, regex, regex_syntax and everything under lib-old. 2006-03-16 06:50:13 +00:00
Martin v. Löwis 345d6c6e8c Drop vsextcomp_verbose 2006-02-16 14:57:52 +00:00
Martin v. Löwis 9fb181bab3 Add _lsprof. 2006-02-14 21:25:29 +00:00
Martin v. Löwis 856bf9a4e9 Add build support for AMD64. 2006-02-14 20:42:55 +00:00
Martin v. Löwis d078e40d41 Generate getbuildinfo.o each time the linker is invoked;
try to generate SVNVERSION information if subwcrev.exe
can be found.
2006-01-18 09:13:51 +00:00
Martin v. Löwis 634863cdde Remove buildno. 2006-01-15 09:34:11 +00:00
Martin v. Löwis 21d418bab9 Patch #1396093: Further .vcproj cleanups 2006-01-15 09:26:43 +00:00
Martin v. Löwis 532bc0375f Patch #1307806: Use project defaults where possible 2006-01-03 07:38:51 +00:00
Martin v. Löwis 4e6aff5e9b Make zlib builtin. 2006-01-03 07:10:14 +00:00
Tim Peters 903a9444a8 Repair longstanding damage introduced by the AST merge:
- Get rid of pgen.c and tokenizer_pgen.c.

- Include tokenizer.c.

All the -uall tests pass on my WinXP VC7.1 box now.
2005-12-25 16:28:48 +00:00
Thomas Heller 7a9d1327db Add Python\pyarena.c to the VC project file.
Fix the definition of BUILD in the VC project settings.
2005-12-21 15:46:29 +00:00
Mark Hammond 5da5b5bd47 Remove conflict markers and add parsermodule.c to get things building 2005-10-23 10:50:04 +00:00
Jeremy Hylton 3e0055f8c6 Merge ast-branch to head
This change implements a new bytecode compiler, based on a
transformation of the parse tree to an abstract syntax defined in
Parser/Python.asdl.

The compiler implementation is not complete, but it is in stable
enough shape to run the entire test suite excepting two disabled
tests.
2005-10-20 19:59:25 +00:00
Raymond Hettinger 142e16d338 Correct names of sha modules. 2005-08-24 12:13:23 +00:00
Raymond Hettinger 94ac197531 Update the PC configuration and project files for sha256 and sha512. 2005-08-24 00:28:21 +00:00
Raymond Hettinger 9c323f8de4 SF patch #941881: PEP 309 Implementation (Partial Function Application).
Combined efforts of many including Peter Harris, Hye-Shik Chang,
Martin v. Löwis, Nick Coghlan, Paul Moore, and Raymond Hettinger.
2005-02-28 19:39:44 +00:00
Thomas Heller fd77c6ce5a Update the filenames in the MSVC project file for Python 2.5. 2004-12-01 19:40:45 +00:00
Martin v. Löwis af1389a2fc Bump buildno for 2.4 release 2004-11-29 09:57:14 +00:00
Martin v. Löwis e174ae9a1d Bump version for 2.4c1 2004-11-07 10:08:29 +00:00
Martin v. Löwis 645019068d Bump buildno for 2.4b2. 2004-11-02 22:28:07 +00:00
Martin v. Löwis d37ddeba4c Bump buildno for 2.4b1 2004-10-15 05:44:39 +00:00
Tim Peters 4eb59782a8 Supply the _subprocess module under 7.1. I'm not sure what the status
of this should be on non-WIN32 Windows variants.
2004-10-12 21:48:57 +00:00
Martin v. Löwis 6d772132e9 Update buildno for 2.4a3 2004-09-01 18:29:25 +00:00
Tim Peters adadc0f56f Remove rotor and xreadlines from VC 7.1 build. 2004-08-31 14:29:12 +00:00
Martin v. Löwis ed0d9c6fbd Bump buildno for 2.4a2 2004-08-04 13:42:43 +00:00
Hye-Shik Chang efdc16ffbb Remove unused source file from Windows project files. 2004-07-28 09:45:20 +00:00
Martin v. Löwis 13e50fe453 Add Itanium targets. 2004-07-20 14:37:48 +00:00
Hye-Shik Chang 3341e384d3 cjkcodecs/mapdata_*.c are removed by the recent import CJKCodecs 1.1. 2004-07-18 08:45:15 +00:00
Tim Peters d0bcf351ff Teach VC 7.1 about the new cjkcodecs structure. This still doesn't compile
on Windows, because of non-standard code in cjkcodes.h, but it's *almost*
there.
2004-07-18 03:48:47 +00:00
Martin v. Löwis 74a72b9c4c Bump build number to 54 for 2.4.0a1 2004-07-08 07:11:33 +00:00
Tim Peters 3d1f6bba6d Teach pythoncore project about new pystrtod.c for VC7.1. This was done
a long time ago for VC6.
2004-06-14 01:05:46 +00:00
Thomas Heller 9f5f056d75 Remove the pcre module. 2004-06-02 18:58:55 +00:00
Martin v. Löwis 7897ff0d9a Add genobject.c 2004-06-01 17:21:13 +00:00