]>
granicus.if.org Git - python/log
Brian Curtin [Fri, 28 May 2010 15:49:21 +0000 (15:49 +0000)]
Fix #8405 for slow buildbots. Remove the sleep on startup and move the
pipe communication into a loop to retry in case a buildbot gets even slower.
Martin v. Löwis [Fri, 28 May 2010 15:28:47 +0000 (15:28 +0000)]
Issue #
1759169 : Drop _XOPEN_SOURCE on Solaris.
Benjamin Peterson [Fri, 28 May 2010 03:10:31 +0000 (03:10 +0000)]
2to3 doesn't fix test_support #6583
Benjamin Peterson [Fri, 28 May 2010 02:12:36 +0000 (02:12 +0000)]
remove non-ascii coding per PEP 8
Victor Stinner [Thu, 27 May 2010 22:29:48 +0000 (22:29 +0000)]
Issue #8835: test_support.transient_internet() catchs gaierror(EAI_NONAME) and
gaierror(EAI_NODATA)
Andrew M. Kuchling [Thu, 27 May 2010 21:29:59 +0000 (21:29 +0000)]
Add item
Alexander Belopolsky [Thu, 27 May 2010 20:55:27 +0000 (20:55 +0000)]
Issue #7150: Raise OverflowError if the result of adding or subtracting
timedelta from date or datetime falls outside of the MINYEAR:MAXYEAR range.
Andrew M. Kuchling [Thu, 27 May 2010 13:30:09 +0000 (13:30 +0000)]
Remove top-level 'General Questions' section, pushing up the questions it contains
Andrew M. Kuchling [Thu, 27 May 2010 13:22:53 +0000 (13:22 +0000)]
Rewrite wxWidgets section
Alexander Belopolsky [Wed, 26 May 2010 20:57:04 +0000 (20:57 +0000)]
Added Andrej Krpic. (Thanks for issue #7879 patch.)
Alexander Belopolsky [Wed, 26 May 2010 20:45:37 +0000 (20:45 +0000)]
Issue #7879: Skip negative timestamps test on any Windows platform
using unittest.skipIf decorator.
Alexander Belopolsky [Wed, 26 May 2010 19:43:16 +0000 (19:43 +0000)]
Issue #7879: Do not test negative timestamps on any Windows platform
including Windows CE.
Mark Dickinson [Wed, 26 May 2010 19:06:33 +0000 (19:06 +0000)]
Issue #8825: additional testcases for int(string, 0) and long(string, 0).
Victor Stinner [Wed, 26 May 2010 17:25:28 +0000 (17:25 +0000)]
Issue #7449: Skip test_socketserver if threading support is disabled
Victor Stinner [Tue, 25 May 2010 22:30:32 +0000 (22:30 +0000)]
Issue #3798: Write sys.exit() message to sys.stderr to use stderr encoding and
error handler, instead of writing to the C stderr file in utf-8
Martin v. Löwis [Tue, 25 May 2010 20:06:02 +0000 (20:06 +0000)]
Add Alexander Belopolsky.
Mark Dickinson [Tue, 25 May 2010 19:44:49 +0000 (19:44 +0000)]
Fix a NameError in test_enumerate.
Mark Dickinson [Tue, 25 May 2010 19:01:08 +0000 (19:01 +0000)]
Issue #8816: Extra tests for some built-in functions. These tests are
ports of IronPython tests. Thanks Gregory Nofi.
R. David Murray [Tue, 25 May 2010 15:32:06 +0000 (15:32 +0000)]
Issue 8818: urlparse/urlsplit keyword is 'scheme', not 'default_scheme'.
R. David Murray [Tue, 25 May 2010 15:20:46 +0000 (15:20 +0000)]
Issue 8143: sync unquote in urlparse with urllib; add comment about doing so.
unquote is duplicated in the two files to avoid a circular reference.
(This is fixed in Python3.) Updates keep getting made to the public unquote
without fixing the urlparse one, however, so this fix syncs the two
and adds a comment to both to make sure changes are applied to both.
Brian Curtin [Tue, 25 May 2010 15:06:15 +0000 (15:06 +0000)]
Fix #2810 - handle the case where some registry calls return
ERROR_MORE_DATA, requiring another call to get the remaining data.
Patch by Daniel Stutzbach
Andrew M. Kuchling [Tue, 25 May 2010 13:34:08 +0000 (13:34 +0000)]
Add three items
Brett Cannon [Tue, 25 May 2010 02:53:04 +0000 (02:53 +0000)]
Make the contributor list alphabetical again.
Benjamin Peterson [Tue, 25 May 2010 02:23:32 +0000 (02:23 +0000)]
correct default docs
Benjamin Peterson [Mon, 24 May 2010 22:04:53 +0000 (22:04 +0000)]
set svn:eol-style
Georg Brandl [Mon, 24 May 2010 21:37:54 +0000 (21:37 +0000)]
#8616: update module name
Victor Stinner [Mon, 24 May 2010 21:37:28 +0000 (21:37 +0000)]
Add the author of the last fix (Issue #6662)
Victor Stinner [Mon, 24 May 2010 21:33:24 +0000 (21:33 +0000)]
Issue #6662: Fix parsing of malformatted charref (&#bad;)
Georg Brandl [Mon, 24 May 2010 21:29:07 +0000 (21:29 +0000)]
#8016: add the CP858 codec (approved by Benjamin). (Also add CP720 to the tests, it was missing there.)
Steven Bethard [Mon, 24 May 2010 03:45:26 +0000 (03:45 +0000)]
Fix default value for version help. Approved by Benjamin on python-dev: http://mail.python.org/pipermail/python-dev/2010-May/100231.html
Steven Bethard [Mon, 24 May 2010 02:38:00 +0000 (02:38 +0000)]
argparse documentation updates (including updates to optparse and getopt documentation that were promised in the PEP)
Georg Brandl [Sun, 23 May 2010 21:29:29 +0000 (21:29 +0000)]
#
1436346 : make it more obvious that timetuple[7] is yday.
Georg Brandl [Sat, 22 May 2010 21:26:21 +0000 (21:26 +0000)]
NEWS rewrap and punctuation consistency.
Benjamin Peterson [Sat, 22 May 2010 18:52:21 +0000 (18:52 +0000)]
Merged revisions 80937,81478 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r80937 | benjamin.peterson | 2010-05-07 14:10:58 -0500 (Fri, 07 May 2010) | 1 line
remove redundant unicode call
........
r81478 | benjamin.peterson | 2010-05-22 13:47:39 -0500 (Sat, 22 May 2010) | 1 line
ensure doctests have some future_features
........
Victor Stinner [Sat, 22 May 2010 13:44:25 +0000 (13:44 +0000)]
Fix my last commit (r81471) about codecs
Rememder: don't touch the code just before a commit
Victor Stinner [Sat, 22 May 2010 13:37:56 +0000 (13:37 +0000)]
Issue #6268: More bugfixes about BOM, UTF-16 and UTF-32
* Fix seek() method of codecs.open(), don't write the BOM twice after seek(0)
* Fix reset() method of codecs, UTF-16, UTF-32 and StreamWriter classes
* test_codecs: use "w+" mode instead of "wt+". "t" mode is not supported by
Solaris or Windows, but does it really exist? I found it the in the issue.
Georg Brandl [Sat, 22 May 2010 11:43:25 +0000 (11:43 +0000)]
#8635: document enumerate() start parameter in docstring.
Georg Brandl [Sat, 22 May 2010 11:31:16 +0000 (11:31 +0000)]
Underscore the name of an internal utility function.
Georg Brandl [Sat, 22 May 2010 11:29:19 +0000 (11:29 +0000)]
Issue #3924: Ignore cookies with invalid "version" field in cookielib.
Georg Brandl [Sat, 22 May 2010 08:17:23 +0000 (08:17 +0000)]
#8785: less confusing description of regex.find*.
Victor Stinner [Sat, 22 May 2010 02:11:07 +0000 (02:11 +0000)]
Issue #6268: Fix seek() method of codecs.open(), don't read the BOM twice
after seek(0)
Victor Stinner [Fri, 21 May 2010 22:50:28 +0000 (22:50 +0000)]
Issue #5640: Fix Shift-JIS incremental encoder for error handlers different
than strict
Georg Brandl [Fri, 21 May 2010 22:03:29 +0000 (22:03 +0000)]
#8709: mention Windows support for os.devnull.
Georg Brandl [Fri, 21 May 2010 21:48:57 +0000 (21:48 +0000)]
typo
Georg Brandl [Fri, 21 May 2010 21:47:05 +0000 (21:47 +0000)]
Correct info for Semaphore.acquire() semantics under OSX.
Benjamin Peterson [Fri, 21 May 2010 21:35:44 +0000 (21:35 +0000)]
simplify and modernize updatecache()
Benjamin Peterson [Fri, 21 May 2010 21:32:49 +0000 (21:32 +0000)]
remove debugging rubish
Benjamin Peterson [Fri, 21 May 2010 21:31:24 +0000 (21:31 +0000)]
ensure the last line has a trailing newline #8782
Georg Brandl [Fri, 21 May 2010 21:30:47 +0000 (21:30 +0000)]
#8707: remove duplicate paragraph part.
Benjamin Peterson [Fri, 21 May 2010 21:17:22 +0000 (21:17 +0000)]
fix name
Benjamin Peterson [Fri, 21 May 2010 21:16:12 +0000 (21:16 +0000)]
use addCleanup
Georg Brandl [Fri, 21 May 2010 20:58:12 +0000 (20:58 +0000)]
Add missing parameter in SimpleXMLRPCServer signature.
Georg Brandl [Fri, 21 May 2010 20:52:46 +0000 (20:52 +0000)]
typo
Benjamin Peterson [Fri, 21 May 2010 20:51:45 +0000 (20:51 +0000)]
return NotImplemented from Mapping when comparing to a non-mapping #8729
Georg Brandl [Fri, 21 May 2010 20:24:45 +0000 (20:24 +0000)]
#8783: replace link to now dead hash collision FAQ.
Vinay Sajip [Fri, 21 May 2010 17:41:34 +0000 (17:41 +0000)]
Updated logging documentation with more dictConfig information.
Antoine Pitrou [Fri, 21 May 2010 17:12:38 +0000 (17:12 +0000)]
Issue #5753: A new C API function, :cfunc:`PySys_SetArgvEx`, allows
embedders of the interpreter to set sys.argv without also modifying
sys.path. This helps fix `CVE-2008-5983
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5983>`_.
Benjamin Peterson [Thu, 20 May 2010 22:23:37 +0000 (22:23 +0000)]
fix extra 't' #8778
Brett Cannon [Thu, 20 May 2010 18:37:55 +0000 (18:37 +0000)]
Turned out that if you used explicit relative import syntax
(e.g. from .os import sep) and it failed, import would still try the implicit
relative import semantics of an absolute import (from os import sep). That's
not right, so when level is negative, only do explicit relative import
semantics.
Fixes issue #7902. Thanks to Meador Inge for the patch.
Victor Stinner [Thu, 20 May 2010 11:29:45 +0000 (11:29 +0000)]
libpython.py: fix support of non-BMP unicode characters
Forward port some code from Python3:
* join surrogate pairs if sizeof(Py_UNICODE)==2
* Enable non-BMP test on narrow builds using u"\U0001D121" instead of
unichr(0x1D121)
Tarek Ziadé [Wed, 19 May 2010 22:20:14 +0000 (22:20 +0000)]
#8759: Fixed user paths in sysconfig for posix and os2 schemes
Stefan Krah [Wed, 19 May 2010 15:59:40 +0000 (15:59 +0000)]
Fix typo.
Stefan Krah [Wed, 19 May 2010 15:46:39 +0000 (15:46 +0000)]
Fix typos in docstrings.
Ezio Melotti [Wed, 19 May 2010 00:32:52 +0000 (00:32 +0000)]
Fix typo in argparse doc.
Giampaolo Rodolà [Tue, 18 May 2010 20:04:31 +0000 (20:04 +0000)]
Fix issue #8573 (asyncore._strerror bug): fixed os.strerror typo; included NameError in the tuple of expected exception; added test case for asyncore._strerror.
Senthil Kumaran [Tue, 18 May 2010 13:40:23 +0000 (13:40 +0000)]
Doc Fix. Correct link to Zephyr ASDL Abstract page.
Vinay Sajip [Tue, 18 May 2010 08:16:27 +0000 (08:16 +0000)]
Fixed minor typo in ReST markup.
Senthil Kumaran [Tue, 18 May 2010 03:20:43 +0000 (03:20 +0000)]
Fix minor typo.
Antoine Pitrou [Mon, 17 May 2010 19:56:59 +0000 (19:56 +0000)]
Issue #7079: Fix a possible crash when closing a file object while using
it from another thread. Patch by Daniel Stutzbach.
Florent Xicluna [Mon, 17 May 2010 13:35:09 +0000 (13:35 +0000)]
Issue #
1285086 : Speed up urllib.quote and urllib.unquote for simple cases.
Tarek Ziadé [Mon, 17 May 2010 10:54:43 +0000 (10:54 +0000)]
upgraded distutils docs w.r.t. the manifest regeneration
Florent Xicluna [Mon, 17 May 2010 10:39:07 +0000 (10:39 +0000)]
Slight style cleanup.
Tarek Ziadé [Mon, 17 May 2010 10:06:20 +0000 (10:06 +0000)]
Fixed #8688: Distutils now recalculates MANIFEST everytime.
Andrew M. Kuchling [Sun, 16 May 2010 23:31:16 +0000 (23:31 +0000)]
Add cross-reference to later section
Antoine Pitrou [Sun, 16 May 2010 23:11:46 +0000 (23:11 +0000)]
Clear the OpenSSL error queue each time an error is signalled.
When the error queue is not emptied, strange things can happen on the next SSL call, depending on the OpenSSL version.
Antoine Pitrou [Sun, 16 May 2010 14:16:56 +0000 (14:16 +0000)]
Document that SSL v2 is insecure.
Victor Stinner [Sun, 16 May 2010 00:34:40 +0000 (00:34 +0000)]
Use with open() as fo: ... instead of try: fo = open(...) finally: fo.close()
fo is not set if the open() fails.
Victor Stinner [Sat, 15 May 2010 22:55:28 +0000 (22:55 +0000)]
Use 4-spaces for indentation (instead of tabs) in pgen outputs
Regenerate (reindent) Python/graminit.c
Victor Stinner [Sat, 15 May 2010 22:19:27 +0000 (22:19 +0000)]
reindent _cursesmodule.c
Use untabify.py + emacs (python3 mode) + manual editions for
Py_BEGIN_ALLOW_THREADS / Py_END_ALLOW_THREADS
Amaury Forgeot d'Arc [Sat, 15 May 2010 21:45:30 +0000 (21:45 +0000)]
Remove unused variable, and fix a compilation warning on Windows
Victor Stinner [Sat, 15 May 2010 21:00:59 +0000 (21:00 +0000)]
NEWS: strip trailing spaces
Benjamin Peterson [Sat, 15 May 2010 17:48:55 +0000 (17:48 +0000)]
use TestCase skip method
Stefan Krah [Sat, 15 May 2010 09:31:08 +0000 (09:31 +0000)]
If the timeout is exceeded, count the tests as skipped instead of just
issuing a warning.
Victor Stinner [Fri, 14 May 2010 21:52:26 +0000 (21:52 +0000)]
Fix regression introduced by r81154 (Issue #5099, subprocess destructor)
Victor Stinner [Fri, 14 May 2010 15:53:20 +0000 (15:53 +0000)]
Issue #8711: add paragraph titles to c-api/unicode.rst
(Python2 doesn't have PyUnicode_DecodeFSDefault*() functions)
Victor Stinner [Fri, 14 May 2010 14:20:07 +0000 (14:20 +0000)]
Doc: replace PEP xxx by :pep:`xxx` to create a link on the PEP
Brett Cannon [Fri, 14 May 2010 00:21:48 +0000 (00:21 +0000)]
subprocess.Popen.__del__ referenced global objects, which is a no-no thanks to
interpreter shutdown semantics. Same issue goes for the methods that __del__
called. Now all the methods capture the global objects it needs as default
values to private parameters (could have stuck them on the class object itself,
but since the objects have nothing directly to do with the class that seemed
wrong).
There is no test as making one that works is hard. This patch was
verified against a consistently failing test in Mercurial's test suite, though,
so it has been tested in some regard.
Closes issue #5099. Thanks to Mary Stern for the bug report and Gabriel
Genellina for writing another patch for the same issue and attempting to write
a test.
Brett Cannon [Thu, 13 May 2010 23:59:41 +0000 (23:59 +0000)]
test_site was failing under darwin for non-framework builds because a test was
assuming framework-specific site-packages directories were being used.
Florent Xicluna [Thu, 13 May 2010 23:46:48 +0000 (23:46 +0000)]
Revert changeset r81150 which helped diagnose issue #8423 on some OS X buildbot.
Florent Xicluna [Thu, 13 May 2010 21:41:05 +0000 (21:41 +0000)]
Improve test feedback to troubleshoot issue #8423 on OS X.
Florent Xicluna [Thu, 13 May 2010 21:40:01 +0000 (21:40 +0000)]
Better test skipping, with message in the log.
Benjamin Peterson [Thu, 13 May 2010 21:14:10 +0000 (21:14 +0000)]
rip out mention of types.ListType #8703
Florent Xicluna [Thu, 13 May 2010 18:16:06 +0000 (18:16 +0000)]
Revert the additional OS X information (r81140). Keep the endianness information.
Florent Xicluna [Thu, 13 May 2010 17:05:29 +0000 (17:05 +0000)]
Add sensible information about the OS X platform to diagnose issue #8423:
test_pep277 fails on "x86 Tiger" buildbot but not on "PPC Tiger".
Victor Stinner [Thu, 13 May 2010 16:22:15 +0000 (16:22 +0000)]
Fix verb tense in skip message.
Ooops, merge also r80334 (patch by r.david.murray)
Victor Stinner [Thu, 13 May 2010 16:18:14 +0000 (16:18 +0000)]
Issue #8422, test_genericpath: skip the creation of a directory with an invalid
UTF name on Mac OS X because the OS deny it (the name have to be a valid UTF8
string).
Merge r80163 from py3k branch.
Senthil Kumaran [Thu, 13 May 2010 03:25:21 +0000 (03:25 +0000)]
Fix Issue8657 - adding git and git+ssh as know schemes.
Mark Dickinson [Wed, 12 May 2010 19:53:36 +0000 (19:53 +0000)]
Fix unused variable in test_factorial.
Andrew M. Kuchling [Wed, 12 May 2010 18:56:48 +0000 (18:56 +0000)]
#8696: add documentation for logging.config.dictConfig (PEP 391)
Antoine Pitrou [Wed, 12 May 2010 14:02:34 +0000 (14:02 +0000)]
Improve _ssl.c formatting