Gregory P. Smith
2152ca390b
Add more examples to the ipaddr documentation.
2009-05-30 19:58:11 +00:00
Georg Brandl
2fcd17324d
Rewrap a few long lines.
2009-05-30 10:45:40 +00:00
Georg Brandl
6da0e6ac5a
Fix markup problem.
2009-05-30 10:34:25 +00:00
Georg Brandl
6a4689887c
Fix some more small markup problems.
2009-05-30 10:33:23 +00:00
Georg Brandl
7be493a86c
Use preferred form of raising exceptions.
2009-05-30 07:31:25 +00:00
Georg Brandl
ccbb47be5e
#6146 : fix markup bug.
2009-05-30 07:26:04 +00:00
Benjamin Peterson
ecf3c62440
no fdatasync on macos
2009-05-30 03:10:52 +00:00
Benjamin Peterson
465089271f
add with statements
2009-05-29 21:48:19 +00:00
Raymond Hettinger
b09f198362
Move the basic examples section back to the beginning.
2009-05-29 21:20:41 +00:00
Michael Foord
b4a81c838a
Add test discovery to unittest. Issue 6001.
2009-05-29 20:33:46 +00:00
R. David Murray
fe6e784a9d
Issue 6141: document that the first item of args is still the
...
command name even when executable is specified.
2009-05-29 19:30:27 +00:00
R. David Murray
6b98544b32
Refactor test parameterization to resolve update timing problem.
2009-05-29 17:31:05 +00:00
Martin v. Löwis
4f16d3b4ac
Issue #4873 : Fix resource leaks in error cases of pwd and grp.
2009-05-29 15:58:08 +00:00
Tarek Ziadé
3e3eace7d7
Fixed #6131 : test_modulefinder leaked when run after test_distutils
2009-05-29 08:08:07 +00:00
Raymond Hettinger
578a228ee2
Issue 5982: Classmethod and staticmethod expose wrapped function with __func__.
2009-05-29 04:58:52 +00:00
Jeffrey Yasskin
7937d939b1
Fix nearly all compilation warnings under Apple gcc-4.0. Tested with OPT="-g
...
-Wall -Wstrict-prototypes -Werror" in both --with-pydebug mode and --without.
There's still a batch of non-prototype warnings in Xlib.h that I don't know how
to fix.
2009-05-29 03:44:31 +00:00
Raymond Hettinger
822b87f276
Deprecate contextlib.nested(). The with-statement now provides this functionality directly.
2009-05-29 01:46:48 +00:00
Raymond Hettinger
b4d2d31874
Issue 5150: Add rstrip() option to IDLE's format menu.
2009-05-29 01:36:26 +00:00
R. David Murray
8de212bd4f
Backport smtplib auth tests from r72990.
2009-05-28 18:49:23 +00:00
Tarek Ziadé
460f6c86b4
using 'tar' then 'gzip' in the test, because 'tar -czf' is not supported under some platforms
2009-05-28 13:55:51 +00:00
Tarek Ziadé
9e5d2dc6a6
Fixed #6048 : Distutils uses the tarfile module instead of the tar command now
2009-05-28 12:53:54 +00:00
Philip Jenvey
6a111027f2
explicitly close files
2009-05-28 05:58:44 +00:00
Philip Jenvey
dd0388a1c2
further hint to where the open docs really are
2009-05-28 03:12:16 +00:00
Philip Jenvey
80319a3a53
explicitly close the file, merged from py3k
2009-05-28 03:10:59 +00:00
Benjamin Peterson
1075c9b431
switch library reference and language reference
2009-05-28 03:02:13 +00:00
R. David Murray
d67ea7d4c6
fix issue #6121 by stripping spaces from the argument in the 'help'
...
function.
2009-05-27 20:07:21 +00:00
Benjamin Peterson
1afec5d6bf
plug ref leak
2009-05-27 03:08:44 +00:00
Benjamin Peterson
39d43b4660
correctly handle descrs with __missing__
2009-05-27 02:43:46 +00:00
Raymond Hettinger
a68cad13ae
Fix field name conflicts for named tuples.
2009-05-27 02:24:45 +00:00
Ronald Oussoren
55d8828f98
Fixes issue 6110
2009-05-26 18:44:48 +00:00
Benjamin Peterson
aafa18aa05
teach the peepholer about SETUP_WITH
2009-05-26 12:49:59 +00:00
Georg Brandl
4ee8282229
#6112 : list.remove raises ValueError, not RuntimeError.
2009-05-26 07:50:23 +00:00
Collin Winter
57bef68bc0
Issue 5794: fix cPickle's unpickling of recursive tuples.
2009-05-26 04:12:39 +00:00
Georg Brandl
944f684ce6
Allow multiple context managers in one with statement, as proposed
...
in http://codereview.appspot.com/53094 and accepted by Guido.
The construct is transformed into multiple With AST nodes so that
there should be no problems with the semantics.
2009-05-25 21:02:56 +00:00
Michael Foord
04516611e7
Make assertSequenceEqual error messages less cryptic, particularly for nested sequences.
2009-05-25 20:36:56 +00:00
Benjamin Peterson
7285a2666e
fix error handling
2009-05-25 20:13:36 +00:00
Benjamin Peterson
49a6b0ef70
take into account the fact that SETUP_WITH pushes a finally block
2009-05-25 20:12:57 +00:00
Benjamin Peterson
1880d8b823
add a SETUP_WITH opcode
...
It speeds up the with statement and correctly looks up the special
methods involved.
2009-05-25 13:13:44 +00:00
Collin Winter
179bf213ea
Issue 5670: special-case pickling of dicts. This nearly doubles the performance of dict pickling in cPickle.
2009-05-25 04:34:39 +00:00
Benjamin Peterson
87e5006d8c
handle errors from _PyObject_LookupSpecial when __get__ fails
2009-05-25 02:40:21 +00:00
Benjamin Peterson
176a56c69b
make class skipping decorators the same as skipping every test of the class
...
This removes ClassTestSuite and a good bit of hacks.
2009-05-25 00:48:58 +00:00
Benjamin Peterson
a7724e59e0
stop using Py_FindMethod
2009-05-24 23:13:32 +00:00
Antoine Pitrou
36b6dfca00
Add Misc/python.pc to the list of ignored files
2009-05-24 20:46:06 +00:00
Antoine Pitrou
f2caeed9c6
Issue #3585 : Add pkg-config support.
...
It creates a python-2.7.pc file and a python.pc symlink in the
$(LIBDIR)/pkgconfig directory. Patch by Clinton Roy.
2009-05-24 20:23:57 +00:00
Martin v. Löwis
0b09c42ffe
Issue #6050 : Don't fail extracting a directory from a zipfile if
...
the directory already exists.
2009-05-24 19:30:52 +00:00
Martin v. Löwis
53b578eba1
Issue #6065 : Do not try to build a version-independent
...
installer if the package has extension modules.
Also add NEWS entry for #5311 .
2009-05-24 19:10:52 +00:00
Gregory P. Smith
d03e1b4475
add a versionadded tag for set_tunnel
2009-05-24 18:00:13 +00:00
Antoine Pitrou
d49e375eed
Issue #1309352 : fcntl now converts its third arguments to a C `long` rather
...
than an int, which makes some operations possible under 64-bit Linux (e.g.
DN_MULTISHOT with F_NOTIFY).
2009-05-24 15:40:09 +00:00
Antoine Pitrou
4fe3858991
Fix build under Windows
2009-05-24 12:15:04 +00:00
Senthil Kumaran
e266f25cf1
Fixed Issue1424152, urllib2 fails with HTTPS over Proxy.
2009-05-24 09:14:50 +00:00