Christian Heimes
a47b75b0a0
socket.ioctl is only available on Windows
2008-01-04 15:48:06 +00:00
Christian Heimes
aee643b01f
Reverted last transaction. It's the wrong branch.
2008-01-04 15:34:06 +00:00
Christian Heimes
306179b173
And here is the rest of Hirokazu Yamamoto's patch for VS6.0 support. Thanks Hiro!
2008-01-04 15:29:00 +00:00
Christian Heimes
04ae916fa2
Added interface to Windows' WSAIoctl and a simple example for a network sniffer.
2008-01-04 15:23:30 +00:00
Andrew M. Kuchling
951300e39f
Update links to bug/patch tracker
2008-01-04 14:47:17 +00:00
Lars Gustäbel
2ee1c760cc
Issue #1735 : TarFile.extractall() now correctly sets
...
directory permissions and times.
(will backport to 2.5)
2008-01-04 14:00:33 +00:00
Christian Heimes
0687561c94
Bug #1713 : posixpath.ismount() claims symlink to a mountpoint is a mountpoint.
2008-01-04 13:21:07 +00:00
Jeffrey Yasskin
737c73f96f
Make math.{floor,ceil}({int,long}) return float again for backwards
...
compatibility after r59671 made them return integral types.
2008-01-04 08:01:23 +00:00
Raymond Hettinger
e0734e7dc0
Minor fix-ups to named tuples:
...
* Make the _replace() method respect subclassing.
* Using property() to make _fields read-only wasn't a good idea.
It caused len(Point._fields) to fail.
* Add note to _cast() about length checking and alternative with the star-operator.
2008-01-04 03:22:53 +00:00
Christian Heimes
123d5c9396
Moved include "Python.h" in front of other imports to silence a warning.
2008-01-04 03:15:05 +00:00
Christian Heimes
76d19f68e4
Added _struct._clearcache() for regression tests
2008-01-04 02:54:42 +00:00
Christian Heimes
f2f41ebef4
Fixed refleak tests for _struct changes
2008-01-04 02:46:19 +00:00
Andrew M. Kuchling
3b5547021b
Add math items; other edits
2008-01-04 02:31:40 +00:00
Andrew M. Kuchling
adc60ab626
Typo fix
2008-01-04 02:26:00 +00:00
Amaury Forgeot d'Arc
e0b7695286
Partial port of r59682 from py3k.
...
On Windows, when import fails to load a dll module, the message says
"error code 193" instead of a more informative text.
It turns out that FormatMessage needs additional parameters for some error codes.
For example: 193 means "%1 is not a valid Win32 application".
Since it is impossible to know which parameter to pass, we use
FORMAT_MESSAGE_IGNORE_INSERTS to get the raw message, which is still better
than the number.
2008-01-04 02:04:15 +00:00
Christian Heimes
d0d7d87869
Filled in some XXX comments
2008-01-04 02:03:25 +00:00
Christian Heimes
66ecda4990
Fixed math.copysign() on Windows
2008-01-04 01:48:50 +00:00
Andrew M. Kuchling
654ede7ef4
Add items
2008-01-04 01:16:12 +00:00
Andrew M. Kuchling
7ef1ce69d0
Markup fixes; grammar tweaks
2008-01-04 01:15:50 +00:00
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