]>
granicus.if.org Git - python/log
Amaury Forgeot d'Arc [Wed, 10 Jun 2009 20:30:19 +0000 (20:30 +0000)]
Fix a typo spotted by Nick Coghlan.
Tarek Ziadé [Wed, 10 Jun 2009 18:49:50 +0000 (18:49 +0000)]
Distutils: started code cleanup and test coverage for cygwinccompiler
Raymond Hettinger [Wed, 10 Jun 2009 16:15:40 +0000 (16:15 +0000)]
Fix signed/unsigned compiler warning.
Raymond Hettinger [Wed, 10 Jun 2009 16:15:02 +0000 (16:15 +0000)]
Issue 6256: Fix stacklevel in warning message.
Benjamin Peterson [Wed, 10 Jun 2009 13:45:31 +0000 (13:45 +0000)]
fix spelling
Amaury Forgeot d'Arc [Tue, 9 Jun 2009 23:37:11 +0000 (23:37 +0000)]
Missing import in test_curses, uncovered by some buildbots.
(There are still a few test files that don't use the standard layout)
Amaury Forgeot d'Arc [Tue, 9 Jun 2009 23:18:50 +0000 (23:18 +0000)]
Both kind of types are concerned.
Amaury Forgeot d'Arc [Tue, 9 Jun 2009 23:08:13 +0000 (23:08 +0000)]
#6201: Fix test_winreg on Windows:
since the introduction of the SETUP_WITH opcode,
__enter__ and __exit__ methods must belong to the type,
and are not retrieved at the instance level (__dict__ or __getattr__).
Add a note in whatsnew about this incompatibility;
old style classes are not affected.
Amaury Forgeot d'Arc [Tue, 9 Jun 2009 22:53:16 +0000 (22:53 +0000)]
Avoid invoking the parser/compiler just to test the presence of a function.
Benjamin Peterson [Tue, 9 Jun 2009 21:13:43 +0000 (21:13 +0000)]
update symbol.py from with statement changes
Benjamin Peterson [Tue, 9 Jun 2009 17:29:51 +0000 (17:29 +0000)]
explain why keyword names are not just NAME
Benjamin Peterson [Tue, 9 Jun 2009 17:24:26 +0000 (17:24 +0000)]
make ast.c depend on the grammar
Eric Smith [Tue, 9 Jun 2009 12:38:08 +0000 (12:38 +0000)]
Restored a test that was erroneously removed. See issue 6198.
R. David Murray [Tue, 9 Jun 2009 00:44:22 +0000 (00:44 +0000)]
Issue 2947: document how return code handling translates from
os.popen to subprocess. Also fixes reference link in the
os.spawn documentation.
Benjamin Peterson [Mon, 8 Jun 2009 23:44:13 +0000 (23:44 +0000)]
remove error checks already done in set_context()
Benjamin Peterson [Mon, 8 Jun 2009 22:18:32 +0000 (22:18 +0000)]
remove useless assertion
Ronald Oussoren [Mon, 8 Jun 2009 21:12:41 +0000 (21:12 +0000)]
This is a fix for Issue5809: you shouldn't specify both --enable-framework and
--enable-shared
Ronald Oussoren [Mon, 8 Jun 2009 20:54:59 +0000 (20:54 +0000)]
This checkin adds a symlink to the lib directory of a framework install
of Python (on OSX), and the end result of that is that the combination of
``python-config --ldflags`` and ``python-config --libs`` refers to an actually
existing location.
I've done this in preference to changing python-config to specify
'-framework Python' for linking because that doesn't work when you have multiple
versions of python installed (because '-framework Python' will always link to
the 'Current' version of the framework, without a possibility to specify a
specific version).
Georg Brandl [Mon, 8 Jun 2009 18:41:36 +0000 (18:41 +0000)]
Typo fix.
Georg Brandl [Mon, 8 Jun 2009 16:03:41 +0000 (16:03 +0000)]
#6238: add fillchar to string.just function family.
Georg Brandl [Mon, 8 Jun 2009 13:34:52 +0000 (13:34 +0000)]
#6194: O_SHLOCK/O_EXLOCK are not really more platform independent than lockf().
Georg Brandl [Mon, 8 Jun 2009 07:57:35 +0000 (07:57 +0000)]
Remove period from end of headings.
Benjamin Peterson [Sun, 7 Jun 2009 23:12:44 +0000 (23:12 +0000)]
backport r73273
Benjamin Peterson [Sun, 7 Jun 2009 22:55:36 +0000 (22:55 +0000)]
remove has_key
Benjamin Peterson [Sun, 7 Jun 2009 22:54:35 +0000 (22:54 +0000)]
use booleans for flags
Benjamin Peterson [Sun, 7 Jun 2009 22:35:00 +0000 (22:35 +0000)]
always inherit from an appropiate base class
Benjamin Peterson [Sun, 7 Jun 2009 22:33:11 +0000 (22:33 +0000)]
inherit from object
Georg Brandl [Sun, 7 Jun 2009 20:37:52 +0000 (20:37 +0000)]
Add Ezio.
Kristján Valur Jónsson [Sun, 7 Jun 2009 16:43:23 +0000 (16:43 +0000)]
http://bugs.python.org/issue6192
Add a feature to disable the Nagle algorithm on sockets in TCPServer
Benjamin Peterson [Sun, 7 Jun 2009 16:24:48 +0000 (16:24 +0000)]
backport r73268
Georg Brandl [Sat, 6 Jun 2009 18:21:58 +0000 (18:21 +0000)]
#6224: s/JPython/Jython/, and remove one link to a module nine years old.
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