]>
granicus.if.org Git - python/log
Serhiy Storchaka [Mon, 24 Feb 2014 12:43:03 +0000 (14:43 +0200)]
Issue #19619: Blacklist non-text codecs in method API
str.encode, bytes.decode and bytearray.decode now use an
internal API to throw LookupError for known non-text encodings,
rather than attempting the encoding or decoding operation and
then throwing a TypeError for an unexpected output type.
The latter mechanism remains in place for third party non-text
encodings.
Backported changeset
d68df99d7a57 .
Serhiy Storchaka [Mon, 24 Feb 2014 11:57:00 +0000 (13:57 +0200)]
Issue #20535: PYTHONWARNING no longer affects the run_tests.py script.
Patch by Arfrever Frehtes Taifersar Arahesis.
Georg Brandl [Mon, 24 Feb 2014 08:35:07 +0000 (09:35 +0100)]
Closes #20755: port sphinx-1.1 fixes from default
Georg Brandl [Mon, 24 Feb 2014 08:26:53 +0000 (09:26 +0100)]
Closes #20735: remove erroneous deprecated marker from stringprep docs
Terry Jan Reedy [Mon, 24 Feb 2014 04:39:57 +0000 (23:39 -0500)]
whitespace
Terry Jan Reedy [Mon, 24 Feb 2014 04:33:08 +0000 (23:33 -0500)]
Issue #9974: When untokenizing, use row info to insert backslash+newline.
Original patches by A. Kuchling and G. Rees (#12691).
Terry Jan Reedy [Sun, 23 Feb 2014 23:00:31 +0000 (18:00 -0500)]
Issue #20750, Enable roundtrip tests for new 5-tuple untokenize. The
constructed examples and all but 7 of the test/test_*.py files (run with -ucpu)
pass. Remove those that fail the new test from the selection list.
Patch partly based on patches by G. Brandl (#8478) and G. Rees (#12691).
Antoine Pitrou [Sun, 23 Feb 2014 18:39:06 +0000 (19:39 +0100)]
Issue #20743: Fix a reference leak in test_tcl.
Victor Stinner [Sun, 9 Feb 2014 12:11:53 +0000 (13:11 +0100)]
Issue #20571: skip test_readline() of test_codecs for Windows code page 65001.
The decoder does not support partial decoding yet for this code page.
Georg Brandl [Sun, 23 Feb 2014 07:24:37 +0000 (08:24 +0100)]
Update pydoc topics.
Terry Jan Reedy [Sun, 23 Feb 2014 05:37:16 +0000 (00:37 -0500)]
Issue #20730: Fix typo reported by Claudiu Popa.
Zachary Ware [Thu, 20 Feb 2014 21:36:34 +0000 (15:36 -0600)]
Issue #20221: Removed conflicting (or circular) hypot definition
when compiled with VS 2010 or above. Initial patch by Tabrez Mohammed.
Benjamin Peterson [Thu, 20 Feb 2014 04:06:24 +0000 (23:06 -0500)]
merge 3.2 (#20695)
Benjamin Peterson [Thu, 20 Feb 2014 04:05:26 +0000 (23:05 -0500)]
bump Python-ast.c
Benjamin Peterson [Thu, 20 Feb 2014 03:55:16 +0000 (22:55 -0500)]
update logo url (#20695)
Benjamin Peterson [Thu, 20 Feb 2014 03:56:35 +0000 (22:56 -0500)]
open retrieved file in binary mode, since it's now compressed
Serhiy Storchaka [Wed, 19 Feb 2014 17:03:58 +0000 (19:03 +0200)]
Merge heads
Zachary Ware [Wed, 19 Feb 2014 16:44:47 +0000 (10:44 -0600)]
Issue #20510: Confirm that the code attribute of the SystemExit
exception raised by sys.exit is None when no code is given.
As suggested by Serhiy Storchaka.
Serhiy Storchaka [Wed, 19 Feb 2014 16:44:12 +0000 (18:44 +0200)]
Issue #20672: Fixed tests for TarFile.list() on non-UTF-8 locales.
Serhiy Storchaka [Wed, 19 Feb 2014 16:34:05 +0000 (18:34 +0200)]
Fixed grid_columnconfigure() and grid_rowconfigure() methods of
Tkinter widgets to work in wantobjects=True mode.
Victor Stinner [Tue, 18 Feb 2014 21:00:53 +0000 (22:00 +0100)]
Issue #19612: On Windows, subprocess.Popen.communicate() now ignores
OSError(22, 'Invalid argument') when writing input data into stdin, whereas
the process already exited.
Zachary Ware [Tue, 18 Feb 2014 17:33:18 +0000 (11:33 -0600)]
Issue #20609: Fix building 64-bit binaries on 32-bit Windows.
Zachary Ware [Tue, 18 Feb 2014 14:39:04 +0000 (08:39 -0600)]
Issue #20510: Rewrote test_exit in test_sys to match existing comments
and to modernize. Patch by Gareth Rees.
Terry Jan Reedy [Tue, 18 Feb 2014 04:12:16 +0000 (23:12 -0500)]
Issue #8478: Untokenizer.compat now processes first token from iterator input.
Patch based on lines from Georg Brandl, Eric Snow, and Gareth Rees.
Terry Jan Reedy [Mon, 17 Feb 2014 21:49:06 +0000 (16:49 -0500)]
whitespace
Terry Jan Reedy [Mon, 17 Feb 2014 21:45:48 +0000 (16:45 -0500)]
Untokenize: An logically incorrect assert tested user input validity.
Replace it with correct logic that raises ValueError for bad input.
Issues #8478 and #12691 reported the incorrect logic.
Add an Untokenize test case and an initial test method.
Benjamin Peterson [Sun, 16 Feb 2014 19:52:01 +0000 (14:52 -0500)]
Benjamin Peterson [Sun, 16 Feb 2014 19:12:57 +0000 (14:12 -0500)]
backout
2807a5f011e4 for causing #20621
Benjamin Peterson [Sun, 16 Feb 2014 19:11:56 +0000 (14:11 -0500)]
backout
d28242a636c7 so I can backout
2807a5f011e4
Benjamin Peterson [Sun, 16 Feb 2014 17:46:30 +0000 (12:46 -0500)]
do not line break reference
Andrew Kuchling [Sun, 16 Feb 2014 17:09:35 +0000 (12:09 -0500)]
#12211: remove paragraph about NaNs
Andrew Kuchling [Sun, 16 Feb 2014 16:11:25 +0000 (11:11 -0500)]
#12211: clarify math.copysign() documentation and docstring
Andrew Kuchling [Sat, 15 Feb 2014 22:11:06 +0000 (17:11 -0500)]
#20241: use correct RFC number
Andrew Kuchling [Sat, 15 Feb 2014 22:05:26 +0000 (17:05 -0500)]
#16728: Mention collections.abc.Sequence in 'sequence' glossary entry
Andrew Kuchling [Sat, 15 Feb 2014 21:39:37 +0000 (16:39 -0500)]
Clarify versionchanged sentence. Closes #20497.
Andrew Kuchling [Sat, 15 Feb 2014 20:33:44 +0000 (15:33 -0500)]
#20237: make a revision pass over the XML vulnerabilities section
Benjamin Peterson [Sat, 15 Feb 2014 18:19:59 +0000 (13:19 -0500)]
add missing test assertion (closes #20080)
Patch by Vajrasky Kok.
Benjamin Peterson [Sat, 15 Feb 2014 18:02:52 +0000 (13:02 -0500)]
give non-iterable TypeError a message (closes #20507)
Ezio Melotti [Sat, 15 Feb 2014 14:58:52 +0000 (16:58 +0200)]
#19890: fix typo in multiprocessing docs. Patch by Mike Short.
Ezio Melotti [Sat, 15 Feb 2014 11:01:08 +0000 (13:01 +0200)]
#20634: fix typo in IDLE README noticed by Saimadhav Heblikar.
Ned Deily [Fri, 14 Feb 2014 06:50:42 +0000 (22:50 -0800)]
Issue #20605: Make test_socket getaddrinfo OS X segfault test more robust.
Serhiy Storchaka [Thu, 13 Feb 2014 08:45:14 +0000 (10:45 +0200)]
Fixed typo in previous commit (issue #6815).
Serhiy Storchaka [Thu, 13 Feb 2014 08:13:53 +0000 (10:13 +0200)]
Issue #6815: os.path.expandvars() now supports non-ASCII environment
variables names and values.
Serhiy Storchaka [Wed, 12 Feb 2014 08:52:35 +0000 (10:52 +0200)]
Issue #17671: Fixed a crash when use non-initialized io.BufferedRWPair.
Based on patch by Stephen Tu.
Serhiy Storchaka [Wed, 12 Feb 2014 07:55:01 +0000 (09:55 +0200)]
Issue #19255: Clear error after failed PyDict_SetItem() on shutdown.
This silences a Coverity complain.
Ned Deily [Wed, 12 Feb 2014 01:57:37 +0000 (17:57 -0800)]
Add references for Xcode and the Python Developer's Guide
to the internal Mac/README file.
Benjamin Peterson [Tue, 11 Feb 2014 15:16:16 +0000 (10:16 -0500)]
avoid name clash with posix_close (closes #20594)
Serhiy Storchaka [Tue, 11 Feb 2014 08:30:59 +0000 (10:30 +0200)]
Issue #19856: shutil.move() failed to move a directory to other directory
on Windows if source name ends with os.altsep.
Benjamin Peterson [Tue, 11 Feb 2014 03:19:02 +0000 (22:19 -0500)]
don't put runtime values in array initializer for C89 compliance (closes #20588)
Georg Brandl [Mon, 10 Feb 2014 21:05:16 +0000 (22:05 +0100)]
Fix trailing whitespace.
Georg Brandl [Mon, 10 Feb 2014 21:04:20 +0000 (22:04 +0100)]
merge with 3.3.4 releasing repo
Georg Brandl [Mon, 10 Feb 2014 20:56:33 +0000 (21:56 +0100)]
Post-release updates.
Serhiy Storchaka [Mon, 10 Feb 2014 17:20:22 +0000 (19:20 +0200)]
issue12085: Use more Pythonic way to check _child_created.
_active shouldn't be cached, it set to None on shutdown.
Serhiy Storchaka [Sun, 9 Feb 2014 11:33:53 +0000 (13:33 +0200)]
Issue #20437: Fixed 21 potential bugs when deleting objects references.
Georg Brandl [Sun, 9 Feb 2014 07:59:00 +0000 (08:59 +0100)]
Added tag v3.3.4 for changeset
7ff62415e426
Georg Brandl [Sun, 9 Feb 2014 07:57:59 +0000 (08:57 +0100)]
news entry
R David Murray [Sat, 8 Feb 2014 22:54:56 +0000 (17:54 -0500)]
#14983: always add a line end after a MIME boundary marker.
This is more RFC compliant (see issue) and fixes a problem with
signature verifiers rejecting the part when signed. There is some
amount of backward compatibility concern here since it changes
the output, but the RFC issue coupled with fixing the problem
with signature verifiers seems worth the small risk of breaking
code that depends on the current incorrect output.
Senthil Kumaran [Sat, 8 Feb 2014 22:28:03 +0000 (14:28 -0800)]
Include the mention of ResourceWarning being displayed by default by the test runner.
Addressing #issue 20529
Antoine Pitrou [Sat, 8 Feb 2014 22:03:56 +0000 (23:03 +0100)]
Issue #20540: Fix a performance regression (vs. Python 3.2) when layering a multiprocessing Connection over a TCP socket.
For small payloads, Nagle's algorithm would introduce idle delays before the entire transmission of a message.
Charles-François Natali [Sat, 8 Feb 2014 21:54:11 +0000 (22:54 +0100)]
Issue #20065: socketmodule: Fix build error when AF_CAN is defined without the
proper CAN headers.
R David Murray [Sat, 8 Feb 2014 18:12:00 +0000 (13:12 -0500)]
#16983: Apply postel's law to encoded words inside quoted strings.
This applies only to the new parser. The old parser decodes encoded words
inside quoted strings already, although it gets the whitespace wrong
when it does so.
This version of the patch only handles the most common case (a single encoded
word surrounded by quotes), but I haven't seen any other variations of this in
the wild yet, so its good enough for now.
R David Murray [Sat, 8 Feb 2014 16:48:20 +0000 (11:48 -0500)]
#19772: Do not mutate message when downcoding to 7bit.
This is a bit of an ugly hack because of the way generator pieces together the
output message. The deepcopys aren't too expensive, though, because we know it
is only called on messages that are not multiparts, and the payload (the thing
that could be large) is an immutable object.
Test and preliminary work on patch by Vajrasky Kok.
Serhiy Storchaka [Sat, 8 Feb 2014 14:38:35 +0000 (16:38 +0200)]
Issue #20553. Use specific asserts in ipaddress tests.
Terry Jan Reedy [Sat, 8 Feb 2014 14:02:26 +0000 (09:02 -0500)]
Issue #20406: Use Python application icons for Idle window title bars.
Patch mostly by Serhiy Storchaka.
Nick Coghlan [Sat, 8 Feb 2014 13:39:54 +0000 (23:39 +1000)]
Fix #18805 NEWS entry
Nick Coghlan [Sat, 8 Feb 2014 13:17:36 +0000 (23:17 +1000)]
Issue #18805: better netmask validation in ipaddress
Serhiy Storchaka [Sat, 8 Feb 2014 13:06:08 +0000 (15:06 +0200)]
Issue #20549: Use specific asserts in mailbox, smtplib and poplib tests.
Serhiy Storchaka [Sat, 8 Feb 2014 12:50:08 +0000 (14:50 +0200)]
Issue #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref tests.
Serhiy Storchaka [Sat, 8 Feb 2014 12:28:33 +0000 (14:28 +0200)]
Issue #20546: Use specific asserts in int tests.
Serhiy Storchaka [Sat, 8 Feb 2014 12:01:29 +0000 (14:01 +0200)]
Issue #20538: UTF-7 incremental decoder produced inconsistant string when
input was truncated in BASE64 section.
R David Murray [Fri, 7 Feb 2014 20:02:19 +0000 (15:02 -0500)]
#17369: Improve handling of broken RFC2231 values in get_filename.
This fixes a regression relative to python2.
R David Murray [Fri, 7 Feb 2014 18:47:40 +0000 (13:47 -0500)]
#20013: don't raise socket error when selected mailbox deleted.
I'm checking this in without a test because not much of this code
is tested and I don't have time to work up the necessary extensions
to the existing test framework.
The patch itself was tested by the person who reported the bug.
R David Murray [Fri, 7 Feb 2014 18:03:08 +0000 (13:03 -0500)]
#19063: the unicode-in-set_payload problem isn't getting fixed in 3.4.
Serhiy Storchaka [Fri, 7 Feb 2014 08:06:39 +0000 (10:06 +0200)]
Issue #20532: Tests which use _testcapi now are marked as CPython only.
Serhiy Storchaka [Thu, 6 Feb 2014 22:26:57 +0000 (00:26 +0200)]
Silence BytesWarning (backport
267a4d4d9d65 ).
Serhiy Storchaka [Thu, 6 Feb 2014 20:49:45 +0000 (22:49 +0200)]
Issue #20363. Fixed BytesWarning triggerred by test suite.
Patch by Berker Peksag.
Serhiy Storchaka [Thu, 6 Feb 2014 19:10:41 +0000 (21:10 +0200)]
Fix empty strings to empty bytes objects.
Brett Cannon [Thu, 6 Feb 2014 14:46:08 +0000 (09:46 -0500)]
Issue #20488: Update docs to say importlib is *the* implementaiton of
import and not *an* implementation.
Serhiy Storchaka [Thu, 6 Feb 2014 07:26:56 +0000 (09:26 +0200)]
Issue #20520: Fixed readline test in test_codecs.
Ned Deily [Thu, 6 Feb 2014 01:02:29 +0000 (17:02 -0800)]
Issue #20374: delete spurious empty line
Ned Deily [Thu, 6 Feb 2014 01:02:29 +0000 (17:02 -0800)]
Issue #20374: delete spurious empty line
Ned Deily [Thu, 6 Feb 2014 00:53:10 +0000 (16:53 -0800)]
Issue #20374: Avoid compiler warnings when compiling readline with libedit.
Georg Brandl [Sun, 9 Feb 2014 07:43:05 +0000 (08:43 +0100)]
Bump to 3.3.4 final
Ned Deily [Thu, 6 Feb 2014 00:53:10 +0000 (16:53 -0800)]
Issue #20374: Avoid compiler warnings when compiling readline with libedit.
R David Murray [Wed, 5 Feb 2014 19:53:40 +0000 (14:53 -0500)]
#14515: clarify that TemporaryDirectory's __enter__ returns the name.
Serhiy Storchaka [Wed, 5 Feb 2014 18:53:36 +0000 (20:53 +0200)]
Issue #19920: TarFile.list() no longer fails when outputs a listing
containing non-encodable characters. Added tests for TarFile.list().
Based on patch by Vajrasky Kok.
Serhiy Storchaka [Wed, 5 Feb 2014 11:42:01 +0000 (13:42 +0200)]
Issue #20498: Fixed io.StringIO tests for newline='\n'. Added new tests.
Christian Heimes [Tue, 4 Feb 2014 23:29:17 +0000 (00:29 +0100)]
Issue #20515: Fix NULL pointer dereference introduced by issue #20368
CID
1167595
Vinay Sajip [Tue, 4 Feb 2014 16:28:07 +0000 (16:28 +0000)]
Issue #20509: Added cross-reference in documentation.
Benjamin Peterson [Tue, 4 Feb 2014 15:10:55 +0000 (10:10 -0500)]
restore namespacing of pyexpat symbols (closes #19186)
Ned Deily [Mon, 3 Feb 2014 21:58:31 +0000 (13:58 -0800)]
Issue #20474: Fix "unexpected success" test_socket failures on OS X 10.7+.
Serhiy Storchaka [Mon, 3 Feb 2014 20:31:09 +0000 (22:31 +0200)]
Skip expr* tests for large integers for Tcl <8.5.
The '**' operator is available only since 8.5 and in any case such large
integers are not supported on Tcl <8.5.
Antoine Pitrou [Mon, 3 Feb 2014 19:59:59 +0000 (20:59 +0100)]
Issue #20426: When passing the re.DEBUG flag, re.compile() displays the debug output every time it is called, regardless of the compilation cache.
Serhiy Storchaka [Mon, 3 Feb 2014 19:33:33 +0000 (21:33 +0200)]
Issue #19761: Fixed Tkinter tests on OS X.
Serhiy Storchaka [Mon, 3 Feb 2014 19:24:07 +0000 (21:24 +0200)]
Issue #20368: The null character now correctly passed from Tcl to Python.
Improved error handling in variables-related commands.
Serhiy Storchaka [Mon, 3 Feb 2014 18:41:34 +0000 (20:41 +0200)]
Issue #20368: Add tests for Tkinter methods exprstring(), exprdouble(),
exprlong() and exprboolean().
Andrew Kuchling [Mon, 3 Feb 2014 14:04:02 +0000 (09:04 -0500)]
Use different word
Vinay Sajip [Mon, 3 Feb 2014 11:51:45 +0000 (11:51 +0000)]
Added cookbook entry on logging filter configuration using dictConfig().
Antoine Pitrou [Sun, 2 Feb 2014 22:37:29 +0000 (23:37 +0100)]
Issue #20435: Fix _pyio.StringIO.getvalue() to take into account newline translation settings.
Ned Deily [Sun, 2 Feb 2014 21:59:49 +0000 (13:59 -0800)]
Issue #19990: Install test/imghdrdata.