]>
granicus.if.org Git - python/log
Georg Brandl [Sat, 6 Jun 2009 17:51:31 +0000 (17:51 +0000)]
#6204: use a real reference instead of "see later".
Georg Brandl [Sat, 6 Jun 2009 17:50:05 +0000 (17:50 +0000)]
#6211: elaborate a bit on ways to call the function.
Georg Brandl [Sat, 6 Jun 2009 05:54:34 +0000 (05:54 +0000)]
#6206: fix test__locale.
Benjamin Peterson [Fri, 5 Jun 2009 19:09:28 +0000 (19:09 +0000)]
only test for named pipe when os.stat doesn't raise #6209
Michael Foord [Fri, 5 Jun 2009 14:14:34 +0000 (14:14 +0000)]
Fix unittest discovery tests for Windows. Issue 6199
Tarek Ziadé [Fri, 5 Jun 2009 13:37:29 +0000 (13:37 +0000)]
reverting r72823 : Python trunk has to use latin-1 encoding
Eric Smith [Fri, 5 Jun 2009 12:33:26 +0000 (12:33 +0000)]
Removed tests so that test_float pass on Windows. See issue 6198.
Hirokazu Yamamoto [Fri, 5 Jun 2009 05:15:58 +0000 (05:15 +0000)]
Fix test__locale on windows (Backport of r72365)
Georg Brandl [Thu, 4 Jun 2009 18:59:58 +0000 (18:59 +0000)]
Add test for #3684.
Eric Smith [Thu, 4 Jun 2009 17:58:15 +0000 (17:58 +0000)]
Minor documentation fixes for logging.
Georg Brandl [Thu, 4 Jun 2009 10:27:21 +0000 (10:27 +0000)]
#6175: document that inet_aton supports alternate input formats with less than three dots.
Georg Brandl [Thu, 4 Jun 2009 10:22:31 +0000 (10:22 +0000)]
#6176: fix man page section for flock(2).
Georg Brandl [Thu, 4 Jun 2009 10:15:57 +0000 (10:15 +0000)]
#5967: note that the C slicing APIs do not support negative indices.
Georg Brandl [Thu, 4 Jun 2009 10:10:41 +0000 (10:10 +0000)]
Better name for "Ctor".
Georg Brandl [Thu, 4 Jun 2009 09:15:12 +0000 (09:15 +0000)]
#3584: ignore trailing newlines when placing the caret for a SyntaxError location.
Georg Brandl [Thu, 4 Jun 2009 08:58:32 +0000 (08:58 +0000)]
#5767: remove sgmlop support from xmlrpclib; the sgmlop parser does not do much validation and is no longer much faster than e.g. the cElementTree XMLParser.
Tarek Ziadé [Thu, 4 Jun 2009 07:31:52 +0000 (07:31 +0000)]
improved test coverage for distutils.command.install and cleaned it up
Benjamin Peterson [Thu, 4 Jun 2009 01:40:29 +0000 (01:40 +0000)]
use the offical api
Georg Brandl [Wed, 3 Jun 2009 23:23:45 +0000 (23:23 +0000)]
Avoid PendingDeprecationWarnings emitted by deprecated unittest methods.
Georg Brandl [Wed, 3 Jun 2009 21:21:09 +0000 (21:21 +0000)]
#6174: fix indentation in code example.
Josiah Carlson [Wed, 3 Jun 2009 19:51:52 +0000 (19:51 +0000)]
Fix for line wrap ugly.
Josiah Carlson [Wed, 3 Jun 2009 19:46:21 +0000 (19:46 +0000)]
This fixes bug 5798 on OS X.
This should also fix disconnect behavior cross-platform.
Tarek Ziadé [Wed, 3 Jun 2009 11:20:44 +0000 (11:20 +0000)]
assertion message was dropped
Tarek Ziadé [Wed, 3 Jun 2009 11:12:08 +0000 (11:12 +0000)]
more cleanup and test coverage for distutils.extension
Tarek Ziadé [Wed, 3 Jun 2009 10:26:26 +0000 (10:26 +0000)]
added some tests for distutils.extension + code cleanup
Georg Brandl [Wed, 3 Jun 2009 07:25:35 +0000 (07:25 +0000)]
Use the preferred form of raise statements in the docs.
Michael Foord [Tue, 2 Jun 2009 18:08:27 +0000 (18:08 +0000)]
Restore default testRunner argument in unittest.main to None. Issue 6177
Tarek Ziadé [Tue, 2 Jun 2009 15:58:43 +0000 (15:58 +0000)]
improved distutils.spawn test coverage + cleaned it up
Kristján Valur Jónsson [Tue, 2 Jun 2009 13:14:08 +0000 (13:14 +0000)]
http://bugs.python.org/issue6117
Fix O(n**2) performance problem in socket._fileobject
Mark Dickinson [Tue, 2 Jun 2009 07:39:26 +0000 (07:39 +0000)]
Typo in socket.py. Thanks Pablo Torres Navarrete.
Gregory P. Smith [Tue, 2 Jun 2009 05:25:34 +0000 (05:25 +0000)]
Fixes issue6169: it was possible for two ipaddr network addresses to compare
as both < and > than eachother.
Antoine Pitrou [Mon, 1 Jun 2009 23:23:16 +0000 (23:23 +0000)]
Fix compilation error with gcc 4.3.2
Tarek Ziadé [Mon, 1 Jun 2009 22:22:13 +0000 (22:22 +0000)]
improved distutils.dist test coverage, pep-8 compliancy
Amaury Forgeot d'Arc [Mon, 1 Jun 2009 20:53:18 +0000 (20:53 +0000)]
#4547: When debugging a very large function, it was not always
possible to update the lineno attribute of the current frame.
Gregory P. Smith [Mon, 1 Jun 2009 17:40:41 +0000 (17:40 +0000)]
Sync up __version__ number with the version of the ipaddr-py project this
library came from that it matches.
Remove the former apache license text now that its been contributed to PSF to
avoid confusion.
Martin v. Löwis [Mon, 1 Jun 2009 04:10:03 +0000 (04:10 +0000)]
Issue #6158: package Sine-1000Hz-300ms.aif.
Andrew M. Kuchling [Mon, 1 Jun 2009 00:14:19 +0000 (00:14 +0000)]
The class for regexes isn't called RegexObject any more; correct the text
Guilherme Polo [Sun, 31 May 2009 21:31:21 +0000 (21:31 +0000)]
Improved PanedWindow.add's docstring. 'subcomand' is a Tcl term, and the possible options and values are the same accepted by paneconfigure (not configure).
R. David Murray [Sun, 31 May 2009 19:15:57 +0000 (19:15 +0000)]
Issue 3848: document the fact that epoll register raises an IOError if
an fd is registered twice, and add some additional epoll tests. Patch
by Christian Heimes.
Antoine Pitrou [Sun, 31 May 2009 18:05:51 +0000 (18:05 +0000)]
Uninitialized file type would lead to __exit__ lookup failure when site.py
tries to read *.pth files on interpreter startup.
Benjamin Peterson [Sun, 31 May 2009 15:00:27 +0000 (15:00 +0000)]
__enter__ and __exit__ must be on the class
Benjamin Peterson [Sun, 31 May 2009 14:43:00 +0000 (14:43 +0000)]
remove function import
Antoine Pitrou [Sun, 31 May 2009 14:20:14 +0000 (14:20 +0000)]
Issue #6152: New option '-j'/'--multiprocess' for regrtest allows running
regression tests in parallel, shortening the total runtime.
Georg Brandl [Sun, 31 May 2009 14:15:25 +0000 (14:15 +0000)]
Fix markup.
Benjamin Peterson [Sun, 31 May 2009 00:42:42 +0000 (00:42 +0000)]
fix signature
Antoine Pitrou [Sat, 30 May 2009 21:45:40 +0000 (21:45 +0000)]
Update ACKS
Antoine Pitrou [Sat, 30 May 2009 21:39:25 +0000 (21:39 +0000)]
The test for #5330 wasn't correct.
Antoine Pitrou [Sat, 30 May 2009 21:27:00 +0000 (21:27 +0000)]
Issue #5330: C functions called with keyword arguments were not reported by
the various profiling modules (profile, cProfile). Patch by Hagen Fürstenau.
Gregory P. Smith [Sat, 30 May 2009 19:58:11 +0000 (19:58 +0000)]
Add more examples to the ipaddr documentation.
Georg Brandl [Sat, 30 May 2009 10:45:40 +0000 (10:45 +0000)]
Rewrap a few long lines.
Georg Brandl [Sat, 30 May 2009 10:34:25 +0000 (10:34 +0000)]
Fix markup problem.
Georg Brandl [Sat, 30 May 2009 10:33:23 +0000 (10:33 +0000)]
Fix some more small markup problems.
Georg Brandl [Sat, 30 May 2009 07:31:25 +0000 (07:31 +0000)]
Use preferred form of raising exceptions.
Georg Brandl [Sat, 30 May 2009 07:26:04 +0000 (07:26 +0000)]
#6146: fix markup bug.
Benjamin Peterson [Sat, 30 May 2009 03:10:52 +0000 (03:10 +0000)]
no fdatasync on macos
Benjamin Peterson [Fri, 29 May 2009 21:48:19 +0000 (21:48 +0000)]
add with statements
Raymond Hettinger [Fri, 29 May 2009 21:20:41 +0000 (21:20 +0000)]
Move the basic examples section back to the beginning.
Michael Foord [Fri, 29 May 2009 20:33:46 +0000 (20:33 +0000)]
Add test discovery to unittest. Issue 6001.
R. David Murray [Fri, 29 May 2009 19:30:27 +0000 (19:30 +0000)]
Issue 6141: document that the first item of args is still the
command name even when executable is specified.
R. David Murray [Fri, 29 May 2009 17:31:05 +0000 (17:31 +0000)]
Refactor test parameterization to resolve update timing problem.
Martin v. Löwis [Fri, 29 May 2009 15:58:08 +0000 (15:58 +0000)]
Issue #4873: Fix resource leaks in error cases of pwd and grp.
Tarek Ziadé [Fri, 29 May 2009 08:08:07 +0000 (08:08 +0000)]
Fixed #6131: test_modulefinder leaked when run after test_distutils
Raymond Hettinger [Fri, 29 May 2009 04:58:52 +0000 (04:58 +0000)]
Issue 5982: Classmethod and staticmethod expose wrapped function with __func__.
Jeffrey Yasskin [Fri, 29 May 2009 03:44:31 +0000 (03:44 +0000)]
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.
Raymond Hettinger [Fri, 29 May 2009 01:46:48 +0000 (01:46 +0000)]
Deprecate contextlib.nested(). The with-statement now provides this functionality directly.
Raymond Hettinger [Fri, 29 May 2009 01:36:26 +0000 (01:36 +0000)]
Issue 5150: Add rstrip() option to IDLE's format menu.
R. David Murray [Thu, 28 May 2009 18:49:23 +0000 (18:49 +0000)]
Backport smtplib auth tests from r72990.
Tarek Ziadé [Thu, 28 May 2009 13:55:51 +0000 (13:55 +0000)]
using 'tar' then 'gzip' in the test, because 'tar -czf' is not supported under some platforms
Tarek Ziadé [Thu, 28 May 2009 12:53:54 +0000 (12:53 +0000)]
Fixed #6048: Distutils uses the tarfile module instead of the tar command now
Philip Jenvey [Thu, 28 May 2009 05:58:44 +0000 (05:58 +0000)]
explicitly close files
Philip Jenvey [Thu, 28 May 2009 03:12:16 +0000 (03:12 +0000)]
further hint to where the open docs really are
Philip Jenvey [Thu, 28 May 2009 03:10:59 +0000 (03:10 +0000)]
explicitly close the file, merged from py3k
Benjamin Peterson [Thu, 28 May 2009 03:02:13 +0000 (03:02 +0000)]
switch library reference and language reference
R. David Murray [Wed, 27 May 2009 20:07:21 +0000 (20:07 +0000)]
fix issue #6121 by stripping spaces from the argument in the 'help'
function.
Benjamin Peterson [Wed, 27 May 2009 03:08:44 +0000 (03:08 +0000)]
plug ref leak
Benjamin Peterson [Wed, 27 May 2009 02:43:46 +0000 (02:43 +0000)]
correctly handle descrs with __missing__
Raymond Hettinger [Wed, 27 May 2009 02:24:45 +0000 (02:24 +0000)]
Fix field name conflicts for named tuples.
Ronald Oussoren [Tue, 26 May 2009 18:44:48 +0000 (18:44 +0000)]
Fixes issue 6110
Benjamin Peterson [Tue, 26 May 2009 12:49:59 +0000 (12:49 +0000)]
teach the peepholer about SETUP_WITH
Georg Brandl [Tue, 26 May 2009 07:50:23 +0000 (07:50 +0000)]
#6112: list.remove raises ValueError, not RuntimeError.
Collin Winter [Tue, 26 May 2009 04:12:39 +0000 (04:12 +0000)]
Issue 5794: fix cPickle's unpickling of recursive tuples.
Georg Brandl [Mon, 25 May 2009 21:02:56 +0000 (21:02 +0000)]
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.
Michael Foord [Mon, 25 May 2009 20:36:56 +0000 (20:36 +0000)]
Make assertSequenceEqual error messages less cryptic, particularly for nested sequences.
Benjamin Peterson [Mon, 25 May 2009 20:13:36 +0000 (20:13 +0000)]
fix error handling
Benjamin Peterson [Mon, 25 May 2009 20:12:57 +0000 (20:12 +0000)]
take into account the fact that SETUP_WITH pushes a finally block
Benjamin Peterson [Mon, 25 May 2009 13:13:44 +0000 (13:13 +0000)]
add a SETUP_WITH opcode
It speeds up the with statement and correctly looks up the special
methods involved.
Collin Winter [Mon, 25 May 2009 04:34:39 +0000 (04:34 +0000)]
Issue 5670: special-case pickling of dicts. This nearly doubles the performance of dict pickling in cPickle.
Benjamin Peterson [Mon, 25 May 2009 02:40:21 +0000 (02:40 +0000)]
handle errors from _PyObject_LookupSpecial when __get__ fails
Benjamin Peterson [Mon, 25 May 2009 00:48:58 +0000 (00:48 +0000)]
make class skipping decorators the same as skipping every test of the class
This removes ClassTestSuite and a good bit of hacks.
Benjamin Peterson [Sun, 24 May 2009 23:13:32 +0000 (23:13 +0000)]
stop using Py_FindMethod
Antoine Pitrou [Sun, 24 May 2009 20:46:06 +0000 (20:46 +0000)]
Add Misc/python.pc to the list of ignored files
Antoine Pitrou [Sun, 24 May 2009 20:23:57 +0000 (20:23 +0000)]
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.
Martin v. Löwis [Sun, 24 May 2009 19:30:52 +0000 (19:30 +0000)]
Issue #6050: Don't fail extracting a directory from a zipfile if
the directory already exists.
Martin v. Löwis [Sun, 24 May 2009 19:10:52 +0000 (19:10 +0000)]
Issue #6065: Do not try to build a version-independent
installer if the package has extension modules.
Also add NEWS entry for #5311.
Gregory P. Smith [Sun, 24 May 2009 18:00:13 +0000 (18:00 +0000)]
add a versionadded tag for set_tunnel
Antoine Pitrou [Sun, 24 May 2009 15:40:09 +0000 (15:40 +0000)]
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).
Antoine Pitrou [Sun, 24 May 2009 12:15:04 +0000 (12:15 +0000)]
Fix build under Windows
Senthil Kumaran [Sun, 24 May 2009 09:14:50 +0000 (09:14 +0000)]
Fixed Issue1424152, urllib2 fails with HTTPS over Proxy.
Jeffrey Yasskin [Sat, 23 May 2009 23:23:01 +0000 (23:23 +0000)]
Issue #6042:
lnotab-based tracing is very complicated and isn't documented very well. There
were at least 3 comment blocks purporting to document co_lnotab, and none did a
very good job. This patch unifies them into Objects/lnotab_notes.txt which
tries to completely capture the current state of affairs.
I also discovered that we've attached 2 layers of patches to the basic tracing
scheme. The first layer avoids jumping to instructions that don't start a line,
to avoid problems in if statements and while loops. The second layer
discovered that jumps backward do need to trace at instructions that don't
start a line, so it added extra lnotab entries for 'while' and 'for' loops, and
added a special case for backward jumps within the same line. I replaced these
patches by just treating forward and backward jumps differently.
R. David Murray [Sat, 23 May 2009 21:48:06 +0000 (21:48 +0000)]
Add smtplib test from issue 5259.