Commit Graph

37701 Commits

Author SHA1 Message Date
Christian Heimes 8267d1dfe5 Bug #1481296: Fixed long(float('nan'))!=0L. 2008-01-04 00:37:34 +00:00
Christian Heimes 0613188bc3 Fixed #1687: plistlib.py restricts <integer> to Python int when writing 2008-01-04 00:04:52 +00:00
Raymond Hettinger 2f6621cce7 Finish-up the struct module optimizations started at the Iceland NFS sprint. 2008-01-04 00:01:15 +00:00
Guido van Rossum 076d9eef7b Bug #1301: fixed a bad assert in _tkinter. 2008-01-03 23:54:04 +00:00
Christian Heimes eebb79cc69 Added copysign(x, y) function to the math module 2008-01-03 22:32:26 +00:00
Christian Heimes 000a074c95 Modified PyImport_Import and PyImport_ImportModule to always use absolute imports by calling __import__ with an explicit level of 0
Added a new API function PyImport_ImportModuleNoBlock. It solves the problem with dead locks when mixing threads and imports
2008-01-03 22:16:32 +00:00
Christian Heimes 0a83d79268 Some build bots don't compile mathmodule. There is an issue with the long definition of pi and euler 2008-01-03 21:14:48 +00:00
Christian Heimes e2ca4245c9 Added math.isinf() and math.isnan() 2008-01-03 20:23:15 +00:00
Guido van Rossum ae04c3356e Issue #1700, reported by Nguyen Quan Son, fix by Fredruk Lundh:
Regular Expression inline flags not handled correctly for some unicode
characters.  (Forward port from 2.5.2.)
2008-01-03 19:12:44 +00:00
Christian Heimes 1beea3be3e Issue #1726: Remove Python/atof.c from PCBuild/pythoncore.vcproj 2008-01-03 15:41:30 +00:00
Jeffrey Yasskin 2f3c16be73 Backport PEP 3141 from the py3k branch to the trunk. This includes r50877 (just
the complex_pow part), r56649, r56652, r56715, r57296, r57302, r57359, r57361,
r57372, r57738, r57739, r58017, r58039, r58040, and r59390, and new
documentation. The only significant difference is that round(x) returns a float
to preserve backward-compatibility. See http://bugs.python.org/issue1689.
2008-01-03 02:21:52 +00:00
Guido van Rossum 27edd829d7 Patch #1696. Don't attempt to close None in dry-run mode. 2008-01-02 19:00:46 +00:00
Christian Heimes fed3ebc000 Made vs9to8 Unix compatible 2008-01-02 18:28:32 +00:00
Christian Heimes d9fbab2621 Removed PCbuild8/ directory and added a new build directory for VS 2005
based on the VS 2008 build directory to PC/VS8.0. The script
PCbuild/vs8to9.py was added to sync changes from PCbuild to PC/VS8.0.

Kristjan, the initial creator of the PCbuild8 directory is fine with the replacement. I've moved the new version of the VS 2005 build directory next to the other legacy build directories. The new sync script is based on the work of wreck and syncs changes in the project, property and solution files.
2008-01-02 17:43:40 +00:00
Kurt B. Kaiser 0a11232978 Change docstrings to comments so test output will display normally. 2008-01-02 05:23:38 +00:00
Kurt B. Kaiser 0f7c25d20f Issue1177
r58207 and r58247 patch logic is reversed.  I noticed this when I
tried to use urllib to retrieve a file which required auth.

Fix that and add a test for 401 error to verify.
2008-01-02 04:11:28 +00:00
Martin v. Löwis 9fd2bcf654 Test in PCbuild directory. 2008-01-01 23:36:24 +00:00
Martin v. Löwis 76f1c1f304 Use Visual Studio 2009 on the build slaves. 2008-01-01 23:00:48 +00:00
Martin v. Löwis b31131c5bc Don't link with Tix; Tix is loaded dynamically by Tcl. 2008-01-01 23:00:00 +00:00
Martin v. Löwis 84b9aab82d News item for r59653. 2008-01-01 21:09:07 +00:00
Martin v. Löwis f5d902fc47 Always convert Text.index result to string.
This improves compatibility with Tcl 8.5, which would
otherwise return textindex objects.
2008-01-01 21:08:18 +00:00
Martin v. Löwis 17cb5cf403 Return results from Python callbacks to Tcl as Tcl objects.
Fixes Tk issue #1851526
2008-01-01 21:05:17 +00:00
Christian Heimes 9a1d8cec11 Added support for new Windows build dirs in PC/ to distutils.sysconfig 2008-01-01 14:37:32 +00:00
Christian Heimes e1c6af06ec The root of the project is two levels up from PC/VS7.1 2008-01-01 13:58:16 +00:00
Christian Heimes 7e28e495a4 Added new wininst files to msi.py and adjusted some paths 2008-01-01 13:52:57 +00:00
Christian Heimes e604eb9a35 MSI uses back slashes as path separators 2008-01-01 13:40:26 +00:00
Guido van Rossum 96b3249670 Fix an odd error which would only occur close to new year's eve, due
to use of datetime.datetime.now() instead of utcnow() for comparison.
(I think the test can still fail if it's executed pretty much *at*
new year's eve, but that's not worth fixing.)
2008-01-01 04:15:29 +00:00
Neal Norwitz 59a65facf2 Fix refleak 2007-12-31 23:48:47 +00:00
Christian Heimes 44ac35519b Fixed path to _ssl.c in Windows make file, take three ... 2007-12-31 19:25:22 +00:00
Christian Heimes 340f081341 Fixed path to _ssl.c in Windows make file, take two 2007-12-31 19:23:22 +00:00
Christian Heimes 763c06f760 Fixed path to _ssl.c in Windows make file 2007-12-31 19:20:57 +00:00
Christian Heimes 34ab3db862 Fixed path 2007-12-31 19:16:56 +00:00
Christian Heimes 82552229d2 Fixed include paths of PC/VS7.1 2007-12-31 16:17:13 +00:00
Christian Heimes 3adfe9aaae Renamed PCBuild9 directory to PCBuild 2007-12-31 15:18:55 +00:00
Christian Heimes ce49f02063 Fix paths for build bot, part 2 2007-12-31 15:02:41 +00:00
Christian Heimes 656dc2adee Fix paths for build bot 2007-12-31 14:59:26 +00:00
Christian Heimes 915d5d96d8 Moved PCbuild directory to PC/VS7.1 2007-12-31 14:51:18 +00:00
Christian Heimes cdaa2cbfd5 Added wininst-9.0.exe executable for VS 2008
Integrated bdist_wininst into PCBuild9 directory
2007-12-31 14:47:07 +00:00
Raymond Hettinger 81a885af05 Improve docs for itertools.groupby(). The use of xrange(0) to create a unique object is less obvious than object(). 2007-12-29 22:16:24 +00:00
Raymond Hettinger 5d332bbdee Simpler documentation for itertools.tee(). Should be backported. 2007-12-29 22:09:34 +00:00
Martin v. Löwis cb78de6d25 Bug #1699: Define _BSD_SOURCE only on OpenBSD. 2007-12-29 18:49:21 +00:00
Georg Brandl b19be571e0 Some cleanup in the docs. 2007-12-29 10:57:00 +00:00
Kurt B. Kaiser 28c7bcf38e Configure Dialog: improved layout for keybinding. Patch 1457 Tal Einat. 2007-12-28 04:18:01 +00:00
Brett Cannon a6e515b90d Remove a straggling debugging print line. 2007-12-25 06:44:59 +00:00
Brett Cannon 4e438bcc56 Actually execute the tests for the getter/setter/deleter tests on properties.
Also fix the test by having the test classes inherit from object.

Are the getter/setter/deleter attributes supposed to be able to chain?  As of
right now they can't as the property tries to call what the property returns,
which is another property when they are chained.
2007-12-25 00:14:34 +00:00
Brett Cannon a6ae8974c1 Make trailing whitespace explicit (including when it is an all-whitespace
line).
2007-12-24 23:43:30 +00:00
Brett Cannon 8d993aae8f Fix the docstrings of time.localtime() and gmtime() for the tm_mday field.
Will backport.
2007-12-24 19:58:25 +00:00
Andrew M. Kuchling 2d60cf7135 Add item 2007-12-22 17:27:02 +00:00
Guido van Rossum 01dbc109a8 Improve performance of built-in any()/all() by avoiding PyIter_Next() --
using a trick found in ifilter().
Feel free to backport to 2.5.
2007-12-20 23:48:28 +00:00
Georg Brandl 30b78048a6 Fix refleak introduced in r59576. 2007-12-20 21:03:02 +00:00