]>
granicus.if.org Git - python/log
Petri Lehtinen [Thu, 28 Jun 2012 10:48:17 +0000 (13:48 +0300)]
#9559: Append data to single-file mailbox files if messages are only added
If messages were only added, a new file is no longer created and
renamed over the old file when flush() is called on an mbox, MMDF or
Babyl mailbox.
Antoine Pitrou [Wed, 27 Jun 2012 15:41:07 +0000 (17:41 +0200)]
Flush stdout and stderr when running tests in parallel
(helps getting results in real-time when stdio is transmitted over a pipe or socket)
Antoine Pitrou [Wed, 27 Jun 2012 15:27:21 +0000 (17:27 +0200)]
Allow passing extra testing options to the buildbot test scripts
Antoine Pitrou [Tue, 26 Jun 2012 21:04:48 +0000 (23:04 +0200)]
Issue #15079: make a test applicable to both C and Python versions of the pickle module.
Patch by Stefan Mihaila.
David Malcolm [Tue, 26 Jun 2012 18:06:23 +0000 (14:06 -0400)]
Issue #14443: ensure that brp-python-bytecompile is invoked with the correct
python executable
The __os_install_macro defines some post-processing activities during an rpm
build; one of the scripts it calls is brp-python-bytecompile, which can take
an argument: the python executable with which to byte-compile .py files in the
package payload.
In some older versions of rpm (e.g. in RHEL 6), this invocation doesn't pass
in an argument, and brp-python-bytecompile defaults to using /usr/bin/python,
which can lead to the .py files being byte-compiled for the wrong version of
python. This has been fixed in later versions of rpm by passing in
%{__python} as an argument to brp-python-bytecompile.
Workaround this by detecting if __os_install_post has a 0-argument invocation
of brp-python-bytecompile, and if so generating an equivalent macro that has
the argument, and explicitly provide the new definition within the specfile.
Senthil Kumaran [Tue, 26 Jun 2012 12:00:15 +0000 (20:00 +0800)]
issue13666 - Fixing datetime documentation example when using tzinfo
Senthil Kumaran [Tue, 26 Jun 2012 06:17:19 +0000 (14:17 +0800)]
Issue #13685 - Update argparse help message for % sign usage.
Vinay Sajip [Mon, 25 Jun 2012 22:18:45 +0000 (23:18 +0100)]
Issue #15179: Closed socket on connection failure. Thanks to Kazutaka Morita for the patch.
Antoine Pitrou [Mon, 25 Jun 2012 16:08:54 +0000 (18:08 +0200)]
Backport test_nntplib fixes from default.
Stefan Krah [Mon, 25 Jun 2012 12:57:18 +0000 (14:57 +0200)]
Issue #15171: Try the HOST_PYTHON hack for 3.2.
Gregory P. Smith [Mon, 25 Jun 2012 08:13:32 +0000 (01:13 -0700)]
Backout change
e8f44ebacda7052267318cecf5b6f128d35add17 . Reverting the test
to using signal.alarm(1) instead of signal.setitimer(signal.ITIMER_REAL, 0.1).
This is an attempt to see if this change is what caused the ubuntu arm buildbot
to hang in test_io's test_interrupted_write_retry_text.
Discussion in Issue #12268.
Georg Brandl [Sun, 24 Jun 2012 20:48:03 +0000 (22:48 +0200)]
Fix a bunch of "versionchanged" related markup errors.
Georg Brandl [Sun, 24 Jun 2012 18:06:54 +0000 (20:06 +0200)]
Refer test_xmlrpc_net to the new buildbot URL at buildbot.python.org.
Georg Brandl [Sun, 24 Jun 2012 18:01:05 +0000 (20:01 +0200)]
Partial backport of
612f34e31270 : fix spacing error in exception message.
Gregory P. Smith [Sun, 24 Jun 2012 06:55:39 +0000 (23:55 -0700)]
Fixes issue #12268: File readline, readlines and read() or readall() methods
no longer lose data when an underlying read system call is interrupted.
IOError is no longer raised due to a read system call returning EINTR
from within these methods.
Gregory P. Smith [Sun, 24 Jun 2012 06:46:37 +0000 (23:46 -0700)]
Speed up test_io by >2x by reducing the sleep time using setitimer instead of
alarm for the signal tests.
Martin v. Löwis [Sat, 23 Jun 2012 17:36:08 +0000 (19:36 +0200)]
The build target of this makefile is python3.dll, not python32.dll.
Antoine Pitrou [Sat, 23 Jun 2012 12:42:38 +0000 (14:42 +0200)]
Issue #15142: Fix reference leak when deallocating instances of types created using PyType_FromSpec().
Mark Dickinson [Sat, 23 Jun 2012 11:12:52 +0000 (12:12 +0100)]
Issue #12965: More PyLong_As* clarifications. Thanks Stefan Krah.
Mark Dickinson [Sat, 23 Jun 2012 10:14:22 +0000 (11:14 +0100)]
Issue #12965: Clean up C-API docs for PyLong_AsLongLong(AndOverflow); clarify that __int__ will be called for non-PyLongs
Mark Dickinson [Sat, 23 Jun 2012 09:49:12 +0000 (10:49 +0100)]
Issue #12965: Clean up C-API docs for PyLong_AsLong(AndOverflow); clarify that __int__ will be called for non-PyLongs
Charles-François Natali [Sat, 23 Jun 2012 08:17:05 +0000 (10:17 +0200)]
Remove useless test (flowinfo is unsigned).
Alexander Belopolsky [Fri, 22 Jun 2012 00:34:09 +0000 (20:34 -0400)]
Issue #14653: email.utils.mktime_tz() no longer relies on system
mktime() when timezone offest is supplied.
Hynek Schlawack [Thu, 21 Jun 2012 18:20:25 +0000 (20:20 +0200)]
#10053: Don't close FDs when FileIO.__init__ fails
Loosely based on the work by Hirokazu Yamamoto.
Nadeem Vawda [Tue, 19 Jun 2012 23:35:22 +0000 (01:35 +0200)]
Fix GzipFile's handling of filenames given as bytes objects.
Richard Oudkerk [Mon, 18 Jun 2012 14:54:57 +0000 (15:54 +0100)]
Issue #15101: Make pool finalizer avoid joining current thread.
Petri Lehtinen [Mon, 18 Jun 2012 07:43:53 +0000 (10:43 +0300)]
Fix NEWS entry for #15036
R David Murray [Sun, 17 Jun 2012 19:26:35 +0000 (15:26 -0400)]
Update out of date docstring.
Ezio Melotti [Sun, 17 Jun 2012 12:10:59 +0000 (14:10 +0200)]
#14840: Add a bit on the difference between tuples and lists. Initial patch by Zachary Ware.
Nick Coghlan [Sun, 17 Jun 2012 11:27:18 +0000 (21:27 +1000)]
Ignore X-Antivirus headers in test_nntplib
Nick Coghlan [Sun, 17 Jun 2012 11:10:21 +0000 (21:10 +1000)]
Issue #15095: Use better assertions in test_imaplib
Nick Coghlan [Sun, 17 Jun 2012 08:57:20 +0000 (18:57 +1000)]
Issue #15043: skip test_gdb if the custom hooks can't be loaded
Nick Coghlan [Sun, 17 Jun 2012 08:27:11 +0000 (18:27 +1000)]
Issue #15044: Handle Fedora 17's approach to ndbm compatibility
Petri Lehtinen [Fri, 15 Jun 2012 17:50:51 +0000 (20:50 +0300)]
#15036: Make a repeated changes and flushes work with single-file mailboxes
Antoine Pitrou [Fri, 15 Jun 2012 17:11:31 +0000 (19:11 +0200)]
Issue #14933: fix misleading doc about weakref support in extension types.
Martin v. Löwis [Thu, 14 Jun 2012 13:37:21 +0000 (15:37 +0200)]
Issue #14937: Fix typo. Patch by Roger Serwy.
Sandro Tosi [Wed, 13 Jun 2012 22:37:09 +0000 (00:37 +0200)]
Issue #15060: better fix, thanks to review on #python-dev
Sandro Tosi [Wed, 13 Jun 2012 21:58:54 +0000 (23:58 +0200)]
Issue #15060: fix typo in socket doc; Patch by anatoly techtonik
Richard Oudkerk [Mon, 11 Jun 2012 14:12:12 +0000 (15:12 +0100)]
Issue #10133: Make multiprocessing deallocate buffer if socket read fails.
Patch by Hallvard B Furuseth.
Terry Jan Reedy [Thu, 7 Jun 2012 23:41:04 +0000 (19:41 -0400)]
Issue #12510: Revise and triple # of calltip tests, with an eye to unittest
use. Make the get_entity 'method' a module function as it did not use 'self'.
Delete buggy _find_constructor function that is not needed, at least in 3.x.
Revise get_argspec so all tests pass. Add and fix NEWS entries.
Richard Oudkerk [Wed, 6 Jun 2012 18:04:57 +0000 (19:04 +0100)]
Issue #13854: Properly handle non-integer, non-string arg to SystemExit
Previously multiprocessing only expected int or str. It also wrongly
used an exit code of 1 when the argument was a string instead of zero.
Richard Oudkerk [Wed, 6 Jun 2012 18:04:57 +0000 (19:04 +0100)]
Issue #12157: pool.map() does not handle empty iterable correctly
Initial patch by mouad
Nick Coghlan [Thu, 7 Jun 2012 12:41:34 +0000 (22:41 +1000)]
Nudge readers towards a more accurate mental model for loop else clauses
Gregory P. Smith [Tue, 5 Jun 2012 20:26:39 +0000 (13:26 -0700)]
Fixes issue #15000: support the odd x32 abi on posixsubprocess's system call.
Gregory P. Smith [Sun, 3 Jun 2012 21:39:26 +0000 (14:39 -0700)]
Revert the modification of e.strerror in 3.2 as that kind of change could
break someone's over specified test that depends on the exact error message.
Gregory P. Smith [Sun, 3 Jun 2012 21:36:01 +0000 (14:36 -0700)]
Move the 14992 note to the correct section.
Gregory P. Smith [Sun, 3 Jun 2012 21:30:44 +0000 (14:30 -0700)]
Fixes Issue #14992: os.makedirs(path, exist_ok=True) would raise an OSError
when the path existed and had the S_ISGID mode bit set when it was not
explicitly asked for. This is no longer an exception as mkdir cannot control
if the OS sets that bit for it or not.
Martin v. Löwis [Sun, 3 Jun 2012 10:32:42 +0000 (12:32 +0200)]
PEP 3131: support non-ASCII characters in auto-completion of identifiers.
Martin v. Löwis [Sun, 3 Jun 2012 10:26:09 +0000 (12:26 +0200)]
Do not try to insert control characters.
Martin v. Löwis [Sun, 3 Jun 2012 09:55:32 +0000 (11:55 +0200)]
Issue #14937: Perform auto-completion of filenames in strings even for non-ASCII filenames.
Terry Jan Reedy [Sun, 3 Jun 2012 04:27:54 +0000 (00:27 -0400)]
Issue 12510: Expand 2 bare excepts. Improve comments. Change deceptive name
'name' to 'expression' as the latter is what the string actually represents.
The bug in this issue was only catching NameError and AttributeError when
evaluating an expression that was not necessarily a name.
Terry Jan Reedy [Sun, 3 Jun 2012 00:22:58 +0000 (20:22 -0400)]
Issue 10365: Add and replace comments; condense defaulted attribute access.
Code patch by Roger Serwy.
Sandro Tosi [Sat, 2 Jun 2012 21:41:19 +0000 (23:41 +0200)]
backport
c4bd68be5fc6 to 3.2
Sandro Tosi [Sat, 2 Jun 2012 17:40:02 +0000 (19:40 +0200)]
Issue #14926: fix docstring highlight
Sandro Tosi [Sat, 2 Jun 2012 16:22:02 +0000 (18:22 +0200)]
refer to time.strftime
R David Murray [Sat, 2 Jun 2012 15:20:29 +0000 (11:20 -0400)]
#14957: fix doc typo.
Benjamin Peterson [Sat, 2 Jun 2012 06:57:36 +0000 (23:57 -0700)]
don't leak if the __class__ closure is set
R David Murray [Fri, 1 Jun 2012 20:19:36 +0000 (16:19 -0400)]
#14957: clarify splitlines docs.
Initial patch by Michael Driscoll, I added the example.
Sandro Tosi [Fri, 1 Jun 2012 18:23:20 +0000 (20:23 +0200)]
Issue #14968: set 'Inplace Operators' as subsection; patch by Lars Buitinck
Ned Deily [Thu, 31 May 2012 16:17:29 +0000 (09:17 -0700)]
Issue #14962: Update text coloring in IDLE shell window after changing
options. Patch by Roger Serwy.
Vinay Sajip [Thu, 31 May 2012 11:37:04 +0000 (12:37 +0100)]
Added test skip under Windows, as not applicable there.
Brian Curtin [Tue, 29 May 2012 23:41:30 +0000 (18:41 -0500)]
Add news item for #14943
Brian Curtin [Tue, 29 May 2012 23:34:45 +0000 (18:34 -0500)]
Fix #14943. Update the proper default value and list the proper argument names in the explanation.
Ned Deily [Tue, 29 May 2012 17:43:36 +0000 (10:43 -0700)]
Issue #10997: Prevent a duplicate entry in IDLE's "Recent Files" menu.
Antoine Pitrou [Mon, 28 May 2012 20:22:34 +0000 (22:22 +0200)]
Issue #14775: Fix a potential quadratic dict build-up due to the garbage collector repeatedly trying to untrack dicts.
Additional comments by Tim Silk.
Meador Inge [Mon, 28 May 2012 19:21:16 +0000 (14:21 -0500)]
Issue #9041: raised exception is misleading
An issue in ctypes.c_longdouble, ctypes.c_double, and ctypes.c_float that
caused an incorrect exception to be returned in the case of overflow has been
fixed.
Nick Coghlan [Mon, 28 May 2012 12:34:46 +0000 (22:34 +1000)]
Issue #14443: Tell rpmbuild to use the correct version of Python
Terry Jan Reedy [Mon, 28 May 2012 02:56:49 +0000 (22:56 -0400)]
Issue14929: Stop Idle 3.x from closing on Unicode decode errors when grepping.
Patch by Roger Serwy.
Terry Jan Reedy [Mon, 28 May 2012 01:29:17 +0000 (21:29 -0400)]
Issue12510: Attempting to get invalid tooltip no longer closes Idle.
Original patch by Roger Serwy.
R David Murray [Sun, 27 May 2012 21:17:53 +0000 (17:17 -0400)]
#11785: fix the :mod: references in email package submodule titles.
Terry Jan Reedy [Sun, 27 May 2012 00:43:17 +0000 (20:43 -0400)]
#10365 Trim trailing whitespace
Terry Jan Reedy [Sun, 27 May 2012 00:23:45 +0000 (20:23 -0400)]
Issue #10365: File open dialog now works instead of crashing
even when parent window is closed. Patch by Roger Serwy.
Terry Jan Reedy [Sat, 26 May 2012 20:31:00 +0000 (16:31 -0400)]
Issue #14876: Use user-selected font for highlight configuration.
Patch by Roger Serwy.
Senthil Kumaran [Sat, 26 May 2012 01:53:32 +0000 (09:53 +0800)]
Issue #14920: Fix the help(urllib.parse) failure on locale C terminals. Just have ascii in help msg
Richard Oudkerk [Fri, 25 May 2012 11:57:58 +0000 (12:57 +0100)]
Issue #14881: Allow normal non-main thread to spawn a dummy process
Fix suggested by Itay Brandes
Hynek Schlawack [Fri, 25 May 2012 08:05:53 +0000 (10:05 +0200)]
#4841: Fix FileIO constructor to honor closefd when called repeatedly
Patch by Victor Stinner.
Petri Lehtinen [Thu, 24 May 2012 18:44:07 +0000 (21:44 +0300)]
#14863: Update the documentation of os.fdopen()
There's no bufsize argument anymore, and os.fdopen() is only a very
thin wrapper around open() anymore. Change the documentation to
reflect that.
Senthil Kumaran [Thu, 24 May 2012 13:56:17 +0000 (21:56 +0800)]
Issue #14036: return None when port in urlparse cross 65535
Florent Xicluna [Wed, 23 May 2012 15:42:50 +0000 (17:42 +0200)]
Remove duplicate entries in Misc/NEWS.
Petri Lehtinen [Tue, 22 May 2012 17:48:16 +0000 (20:48 +0300)]
#14472: Update .gitignore
Patch by Matej Cepl.
Hynek Schlawack [Tue, 22 May 2012 14:12:18 +0000 (16:12 +0200)]
Restore [] where default arguments are not keywords
Reverts some changes of
d13fdd97cc8e .
Ezio Melotti [Mon, 21 May 2012 23:49:06 +0000 (17:49 -0600)]
#14875: Use float('inf') instead of float('
1e66666 ') in the json module.
Hynek Schlawack [Mon, 21 May 2012 09:01:54 +0000 (11:01 +0200)]
#14804: Remove [] around optional arguments with default values
Hynek Schlawack [Sun, 20 May 2012 16:32:53 +0000 (18:32 +0200)]
Fix `versionchanged` tags for json.load
`versionchanged` tags about 2.7 are useless in 3.x branches.
Vinay Sajip [Sun, 20 May 2012 14:36:17 +0000 (15:36 +0100)]
Fixes #14864: Added documentation on how to undo the effects of a logging.disable() call.
Hynek Schlawack [Sun, 20 May 2012 10:03:17 +0000 (12:03 +0200)]
Document when json.load's parse_constant behaviour changed
It doesn't get called on 'null', 'true', 'false' since
f686aced02a3 .
Senthil Kumaran [Sun, 20 May 2012 08:58:30 +0000 (16:58 +0800)]
Fix for issue14426 - buildbots here I come
Senthil Kumaran [Sun, 20 May 2012 04:06:24 +0000 (12:06 +0800)]
news for Issue14426
Senthil Kumaran [Sun, 20 May 2012 04:05:16 +0000 (12:05 +0800)]
Issue #14426: Correct the Date format in Expires attribute of Set-Cookie. Patch by Federico Reghenzani and Müte Invert
Petri Lehtinen [Sat, 19 May 2012 15:34:06 +0000 (18:34 +0300)]
#14494: Document that absolute imports became default in 3.0 instead of 2.7.
Ezio Melotti [Sat, 19 May 2012 14:15:19 +0000 (17:15 +0300)]
#14072: Fix parsing of tel URIs in urlparse by making the check for ports stricter.
Senthil Kumaran [Sat, 19 May 2012 08:58:09 +0000 (16:58 +0800)]
Fix Issue14721: Send Content-length: 0 for empty body () in the http.client requests
Senthil Kumaran [Sat, 19 May 2012 00:12:00 +0000 (08:12 +0800)]
Issue9374 - Generic parsing of query and fragment portion of urls for any scheme
Petri Lehtinen [Fri, 18 May 2012 18:51:11 +0000 (21:51 +0300)]
#14798: pyclbr now raises ImportError instead of KeyError for missing packages
Petri Lehtinen [Fri, 18 May 2012 18:19:17 +0000 (21:19 +0300)]
Fix time.time() references in the time module docs
Closes #14842.
Martin v. Löwis [Fri, 18 May 2012 13:28:43 +0000 (15:28 +0200)]
Drop double quoting again. I'm at a loss when to quote and when not.
Martin v. Löwis [Fri, 18 May 2012 13:28:01 +0000 (15:28 +0200)]
Upgrade OpenSSL to 1.0.0j
Martin v. Löwis [Fri, 18 May 2012 12:24:09 +0000 (14:24 +0200)]
merge heads
Martin v. Löwis [Fri, 18 May 2012 12:17:43 +0000 (14:17 +0200)]
Add another set of quotes to make cmd.exe happy.
Martin v. Löwis [Fri, 18 May 2012 12:16:53 +0000 (14:16 +0200)]
Fetch openssl directory from pyproject.vsprops.