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
Guido van Rossum
e9a0e885db
Patch #1672 by Joseph Armbruster. Use tempdir() to get a temporary directory.
2007-12-20 17:28:10 +00:00
Brett Cannon
905c31c73d
Add tests for the warnings module; specifically formatwarning and showwarning.
...
Still need tests for warn_explicit and simplefilter.
2007-12-20 10:09:52 +00:00
Raymond Hettinger
dff1fd93ef
Add comments
2007-12-20 01:25:05 +00:00
Guido van Rossum
0b7b6fdff3
Patch #1549 by Thomas Herve.
...
This changes the rules for when __hash__ is inherited slightly,
by allowing it to be inherited when one or more of __lt__, __le__,
__gt__, __ge__ are overridden, as long as __eq__ and __ne__ aren't.
2007-12-19 22:51:13 +00:00
Raymond Hettinger
70fcfd03bc
Bigger range for non-extended opargs.
2007-12-19 22:14:34 +00:00
Guido van Rossum
02de8979cc
Patch #1583 by Adam Olsen.
...
This adds signal.set_wakeup_fd(fd) which sets a file descriptor to
which a zero byte will be written whenever a C exception handler runs.
I added a simple C API as well, PySignal_SetWakeupFd(fd).
2007-12-19 19:41:06 +00:00
Raymond Hettinger
80016c9555
Fix issue 1661: Flags argument silently ignored in re functions with compiled regexes.
2007-12-19 18:13:31 +00:00
Facundo Batista
0f5e7bf304
Some minor cleanups. Thanks Mark Dickinson.
2007-12-19 12:53:01 +00:00
Christian Heimes
e93237dfcc
#1629 : Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available.
2007-12-19 02:37:44 +00:00
Andrew M. Kuchling
d586559c31
Add a bunch of items
2007-12-19 02:02:04 +00:00
Raymond Hettinger
eca274367e
Zap a duplicate line
2007-12-19 00:27:21 +00:00
Raymond Hettinger
3b63556d4a
Beef-up tests for dict literals
2007-12-19 00:21:06 +00:00
Raymond Hettinger
85dfcf3530
Users demand iterable input for named tuples. The author capitulates.
2007-12-18 23:51:15 +00:00
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
Raymond Hettinger
8777bcae27
Simplify and speedup _asdict() for named tuples.
2007-12-18 22:21:27 +00:00