]>
granicus.if.org Git - python/log
Zachary Ware [Tue, 14 Jan 2014 02:38:57 +0000 (20:38 -0600)]
Fix typo.
Vinay Sajip [Mon, 13 Jan 2014 21:59:56 +0000 (21:59 +0000)]
Issue #20242: Fixed basicConfig() format strings for the alternative formatting styles.
R David Murray [Mon, 13 Jan 2014 18:51:17 +0000 (13:51 -0500)]
#20236: Fix sphinx markup.
R David Murray [Mon, 13 Jan 2014 18:19:21 +0000 (13:19 -0500)]
#20206, #5803: more efficient algorithm that doesn't truncate output.
This fixes an edge case (20206) where if the input ended in a character
needing encoding but there was no newline on the string, the last byte
of the encoded character would be dropped. The fix is to use a more
efficient algorithm, provided by Serhiy Storchaka (5803), that does not
have the bug.
Serhiy Storchaka [Mon, 13 Jan 2014 17:07:33 +0000 (19:07 +0200)]
Test the open of non-exitent tarfile in all modes.
Serhiy Storchaka [Mon, 13 Jan 2014 12:23:18 +0000 (14:23 +0200)]
Fixed typo.
Senthil Kumaran [Mon, 13 Jan 2014 00:06:58 +0000 (16:06 -0800)]
Issue #19082: Working xmlrpc.server and xmlrpc.client examples. Both in modules and in documentation.
Serhiy Storchaka [Sun, 12 Jan 2014 10:08:11 +0000 (12:08 +0200)]
Issue #20138: The wsgiref.application_uri() and wsgiref.request_uri()
functions now conform to PEP 3333 when handle non-ASCII URLs.
Georg Brandl [Sun, 12 Jan 2014 07:10:39 +0000 (08:10 +0100)]
merge heads
Georg Brandl [Sun, 12 Jan 2014 07:09:01 +0000 (08:09 +0100)]
Doc: update Sphinx toolchain also in make.bat
Senthil Kumaran [Sun, 12 Jan 2014 06:20:16 +0000 (22:20 -0800)]
Issue #19092 - Raise a correct exception when cgi.FieldStorage is given an
invalid file-obj. Also use __bool__ to determine the bool of the FieldStorage
object.
Georg Brandl [Sat, 11 Jan 2014 19:04:19 +0000 (20:04 +0100)]
Update Sphinx toolchain.
Serhiy Storchaka [Sat, 11 Jan 2014 11:13:46 +0000 (13:13 +0200)]
tkinter.Text.debug() now always returns 0/1.
Fixed a regression inroduced in issue #6157.
Serhiy Storchaka [Sat, 11 Jan 2014 09:52:20 +0000 (11:52 +0200)]
Fixed the serve.py script.
The application object must return an iterable yielding bytestrings.
Serhiy Storchaka [Fri, 10 Jan 2014 22:10:04 +0000 (00:10 +0200)]
Try to fix some ttk tests. Error messages were changed in 8.6b3.
Benjamin Peterson [Fri, 10 Jan 2014 15:22:40 +0000 (09:22 -0600)]
fix build when SCHED_SPORADIC is defined (closes #20217)
Serhiy Storchaka [Fri, 10 Jan 2014 13:06:59 +0000 (15:06 +0200)]
Issue #19804: The test_find_mac test in test_uuid is now skipped if the
ifconfig executable is not available.
Serhiy Storchaka [Fri, 10 Jan 2014 11:37:54 +0000 (13:37 +0200)]
Issue #19886: Use better estimated memory requirements for bigmem tests.
Incorrect requirements can cause memory swapping.
Serhiy Storchaka [Thu, 9 Jan 2014 21:14:27 +0000 (23:14 +0200)]
Issue #13107: argparse and optparse no longer raises an exception when output
a help on environment with too small COLUMNS. Based on patch by
Elazar Gershuni.
Antoine Pitrou [Thu, 9 Jan 2014 20:28:48 +0000 (21:28 +0100)]
Try to fix test_ssl failures on some buildbots
Antoine Pitrou [Thu, 9 Jan 2014 19:07:41 +0000 (20:07 +0100)]
Remove conditional: it is useless at this point (OpenSSL headers are not yet included)
Antoine Pitrou [Thu, 9 Jan 2014 19:02:20 +0000 (20:02 +0100)]
Issue #20207: Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly asked for.
Serhiy Storchaka [Thu, 9 Jan 2014 18:12:49 +0000 (20:12 +0200)]
Do not reset the line number because we already set file position to correct
value.
(fixes error in patch for issue #18960)
Benjamin Peterson [Thu, 9 Jan 2014 17:10:30 +0000 (11:10 -0600)]
clear zip stat cache after each ref leak run
Serhiy Storchaka [Thu, 9 Jan 2014 16:36:09 +0000 (18:36 +0200)]
Issue #18960: Fix bugs with Python source code encoding in the second line.
* The first line of Python script could be executed twice when the source
encoding (not equal to 'utf-8') was specified on the second line.
* Now the source encoding declaration on the second line isn't effective if
the first line contains anything except a comment.
* As a consequence, 'python -x' works now again with files with the source
encoding declarations specified on the second file, and can be used again
to make Python batch files on Windows.
* The tokenize module now ignore the source encoding declaration on the second
line if the first line contains anything except a comment.
* IDLE now ignores the source encoding declaration on the second line if the
first line contains anything except a comment.
* 2to3 and the findnocoding.py script now ignore the source encoding
declaration on the second line if the first line contains anything except
a comment.
Benjamin Peterson [Thu, 9 Jan 2014 15:36:10 +0000 (09:36 -0600)]
fix zipimport ref leak
Serhiy Storchaka [Thu, 9 Jan 2014 12:50:20 +0000 (14:50 +0200)]
Issue #20078: Reading malformed zipfiles no longer hangs with 100% CPU
consumption.
R David Murray [Wed, 8 Jan 2014 23:09:29 +0000 (18:09 -0500)]
Fix verb tense in base64 docs, and the phrasing of a news entry.
Victor Stinner [Wed, 8 Jan 2014 15:01:31 +0000 (16:01 +0100)]
Issue #20113: Fix test_posix on OpenIndiana
Victor Stinner [Wed, 8 Jan 2014 14:21:28 +0000 (15:21 +0100)]
Issue #20113: os.readv() and os.writev() now raise an OSError exception on
error instead of returning -1.
Gregory P. Smith [Wed, 8 Jan 2014 02:30:07 +0000 (18:30 -0800)]
Fixes Issue #19081: When a zipimport .zip file in sys.path being imported from
is modified during the lifetime of the Python process after zipimport has
already cached the zip's table of contents we detect this and recover
rather than read bad data from the .zip (causing odd import errors).
Serhiy Storchaka [Tue, 7 Jan 2014 17:27:42 +0000 (19:27 +0200)]
Issue #20072: Fixed multiple errors in tkinter with wantobjects is False.
* Misc.image_names(), Misc.image_types(), Wm.wm_colormapwindows(), and
LabelFrame.panes() now always return a tuple.
* Fixed error of comparing str and int in tt.LabeledScale._adjust().
* ttk.Notebook.index() now always returns int.
* ttk.Notebook.tabs() now always returns a tuple.
* ttk.Entry.bbox() now always returns a tuple of ints.
* ttk.Entry.validate() now always correctly works.
* ttk.Combobox.current() now always returns int.
* ttk.Panedwindow.sashpos() now always returns int.
* ttk.Treeview.bbox() now always returns a tuple of ints.
* ttk.Treeview.get_children() now always returns a tuple.
* ttk.Treeview.exists() now always correctly works.
* ttk.Treeview.index() now always returns int.
* ttk.Treeview.tag_has() now always returns 0 or 1.
* And numerous other errors in methods which returns a tuple, list or dict.
* Fixed ttk tests for wantobjects is False.
Stefan Krah [Sat, 4 Jan 2014 12:03:48 +0000 (13:03 +0100)]
Whitespace.
Martin v. Löwis [Sat, 4 Jan 2014 10:20:45 +0000 (11:20 +0100)]
Regenerate python34stub.def.
Martin v. Löwis [Sat, 4 Jan 2014 09:01:42 +0000 (10:01 +0100)]
Issue #17432: Drop UCS2 from names of Unicode functions in python3.def.
Benjamin Peterson [Thu, 2 Jan 2014 22:47:50 +0000 (16:47 -0600)]
correct word for __annotations__ doc (closes #20110)
Patch from Claudiu Popa.
R David Murray [Thu, 2 Jan 2014 18:37:26 +0000 (13:37 -0500)]
#17282: Document unittest.main defaultTest argument.
Benjamin Peterson [Thu, 2 Jan 2014 18:24:08 +0000 (12:24 -0600)]
avoid parameter name clash (closes #20108)
Benjamin Peterson [Thu, 2 Jan 2014 18:22:30 +0000 (12:22 -0600)]
remove brackets
Zachary Ware [Thu, 2 Jan 2014 15:41:10 +0000 (09:41 -0600)]
Issue #20101: Allow test_monotonic to pass on Windows machines on which
time.get_clock_info('monotonic').resolution == 0.
015600099999999999
This is just a workaround pending a real resolution to #20101.
Victor Stinner [Thu, 2 Jan 2014 11:53:13 +0000 (12:53 +0100)]
Issue #18829: Add tests for the csv module for invalid characters (delimiter,
escapechar, quotechar)
Victor Stinner [Thu, 2 Jan 2014 10:49:27 +0000 (11:49 +0100)]
parser: fix usage of Py_BuildValue() to build a parser error
Fix typo: "os" format => "Os"
Ned Deily [Wed, 1 Jan 2014 21:05:03 +0000 (13:05 -0800)]
Update copyright dates in Mac plists.
Benjamin Peterson [Wed, 1 Jan 2014 04:02:22 +0000 (22:02 -0600)]
update copyright year
Antoine Pitrou [Wed, 1 Jan 2014 01:50:45 +0000 (02:50 +0100)]
Issue #20055: Fix test_shutil under Windows with symlink privileges held.
Patch by Vajrasky Kok.
R David Murray [Tue, 31 Dec 2013 22:33:47 +0000 (17:33 -0500)]
Clarify the wording of a news entry.
Zachary Ware [Tue, 31 Dec 2013 18:09:26 +0000 (12:09 -0600)]
str subclasses may have non-empty __slots__, bytes subclasses can't.
Senthil Kumaran [Sun, 29 Dec 2013 01:36:18 +0000 (17:36 -0800)]
Backporing the fix from Issue #12692
Antoine Pitrou [Sat, 28 Dec 2013 16:26:33 +0000 (17:26 +0100)]
Issue #19422: Explicitly disallow non-SOCK_STREAM sockets in the ssl module, rather than silently let them emit clear text data.
R David Murray [Fri, 27 Dec 2013 16:24:32 +0000 (11:24 -0500)]
#18116: backport fix to 3.3 since real-world failure mode demonstrated.
In issue 20074 it was pointed out that getpass would fail with a traceback if
stdin was, for example /dev/null, which is a non-unlikely scenario.
Also backported the tests from issue 17484 as modified by issue 18116.
(What I really did was copy getpass.py and test_getpass.py from their
state on tip as of
17bd04fbf3d3 ).
Serhiy Storchaka [Thu, 26 Dec 2013 19:20:59 +0000 (21:20 +0200)]
Issue #20027: Fixed locale aliases for devanagari locales.
Serhiy Storchaka [Thu, 26 Dec 2013 18:06:05 +0000 (20:06 +0200)]
Issue #20067: Tkinter variables now work when wantobjects is false.
Zachary Ware [Thu, 26 Dec 2013 15:53:49 +0000 (09:53 -0600)]
Issue #19938: Re-enabled test_bug_1333982 in test_dis, which had been
disabled since 3.0 due to the changes in listcomp handling.
Serhiy Storchaka [Wed, 25 Dec 2013 15:35:24 +0000 (17:35 +0200)]
test_debug in test_tkinter/test_text no longer fails when wantobjects is false.
Serhiy Storchaka [Wed, 25 Dec 2013 15:29:01 +0000 (17:29 +0200)]
Issue #19320: test_tcl no longer fails when wantobjects is false.
Serhiy Storchaka [Wed, 25 Dec 2013 14:35:38 +0000 (16:35 +0200)]
Issue #19020: Tkinter now uses splitlist() instead of split() in configure
methods.
Serhiy Storchaka [Wed, 25 Dec 2013 12:24:35 +0000 (14:24 +0200)]
Issue #20058: sys.stdin.readline() in IDLE now always returns only one line.
Serhiy Storchaka [Tue, 24 Dec 2013 09:04:36 +0000 (11:04 +0200)]
Removed spaces before colons and semicolons.
Serhiy Storchaka [Mon, 23 Dec 2013 16:56:08 +0000 (18:56 +0200)]
Issue #20033: makelocalealias.py now works with non-ASCII locales and produces
the same result as in 2.x.
Serhiy Storchaka [Mon, 23 Dec 2013 16:20:51 +0000 (18:20 +0200)]
Removed spaces before commas and periods.
Benjamin Peterson [Mon, 23 Dec 2013 01:45:38 +0000 (19:45 -0600)]
update Barry's email (#19563)
Antoine Pitrou [Sun, 22 Dec 2013 18:37:17 +0000 (19:37 +0100)]
Fix bootstrap issue by importing the cgi module lazily
Antoine Pitrou [Sun, 22 Dec 2013 17:13:51 +0000 (18:13 +0100)]
Fix TypeError on "setup.py upload --show-response".
Antoine Pitrou [Sun, 22 Dec 2013 00:57:01 +0000 (01:57 +0100)]
s/lightweight/minimal/, as per issue #11379.
Antoine Pitrou [Sun, 22 Dec 2013 00:45:42 +0000 (01:45 +0100)]
Issue #12226: HTTPS is now used by default when connecting to PyPI.
Antoine Pitrou [Sun, 22 Dec 2013 00:35:53 +0000 (01:35 +0100)]
Issue #12226: HTTPS is now used by default when connecting to PyPI.
Antoine Pitrou [Sat, 21 Dec 2013 23:44:01 +0000 (00:44 +0100)]
Fix urllib.request.build_opener mocking in test_distutils (should fix some random buildbot failures)
Antoine Pitrou [Sat, 21 Dec 2013 21:57:56 +0000 (22:57 +0100)]
Issue #20045: Fix "setup.py register --list-classifiers".
Antoine Pitrou [Sat, 21 Dec 2013 21:19:46 +0000 (22:19 +0100)]
Fix DeprecationWarnings in test suite
Antoine Pitrou [Sat, 21 Dec 2013 21:14:56 +0000 (22:14 +0100)]
Issue #18879: When a method is looked up on a temporary file, avoid closing the file before the method is possibly called.
Zachary Ware [Fri, 20 Dec 2013 19:25:07 +0000 (13:25 -0600)]
Update test.outstanding_bugs.py
Serhiy Storchaka [Fri, 20 Dec 2013 16:23:26 +0000 (18:23 +0200)]
Issue #20034: Updated alias mapping to most recent locale.alias file
from X.org distribution using makelocalealias.py.
Serhiy Storchaka [Thu, 19 Dec 2013 20:31:46 +0000 (22:31 +0200)]
Don't use sebTest() in tests for issue #5815.
Zachary Ware [Thu, 19 Dec 2013 19:44:56 +0000 (13:44 -0600)]
Issue #19683: Removed empty tests from test_minidom. Patch by Ajitesh Gupta.
Serhiy Storchaka [Thu, 19 Dec 2013 19:21:25 +0000 (21:21 +0200)]
Issue #5815: Fixed support for locales with modifiers. Fixed support for
locale encodings with hyphens.
Victor Stinner [Thu, 19 Dec 2013 15:47:04 +0000 (16:47 +0100)]
Issue #20025: ssl.RAND_bytes() and ssl.RAND_pseudo_bytes() now raise a
ValueError if num is negative (instead of raising a SystemError).
Victor Stinner [Thu, 19 Dec 2013 15:38:03 +0000 (16:38 +0100)]
Issue #20026: Fix the sqlite module to handle correctly invalid isolation level
(wrong type).
Serhiy Storchaka [Thu, 19 Dec 2013 14:27:18 +0000 (16:27 +0200)]
Issue #18829: csv.Dialect() now checks type for delimiter, escapechar and
quotechar fields. Original patch by Vajrasky Kok.
Vinay Sajip [Thu, 19 Dec 2013 11:50:24 +0000 (11:50 +0000)]
Issue #19902: Added list of logging levels.
Benjamin Peterson [Wed, 18 Dec 2013 21:35:18 +0000 (15:35 -0600)]
update url to spec (closes #20018)
Gregory P. Smith [Wed, 18 Dec 2013 19:27:05 +0000 (11:27 -0800)]
remove trailing spaces.
Zachary Ware [Wed, 18 Dec 2013 18:21:49 +0000 (12:21 -0600)]
Issue #20005: Fix typo in operator docs. Patch by Claudiu Popa.
Serhiy Storchaka [Wed, 18 Dec 2013 14:41:01 +0000 (16:41 +0200)]
Issue #19492: Silently skipped distutils tests now reported as skipped.
R David Murray [Wed, 18 Dec 2013 02:13:16 +0000 (21:13 -0500)]
#19855: uuid.get_node now looks on the PATH for executables on unix.
Patch by Serhiy Storchaka.
Antoine Pitrou [Tue, 17 Dec 2013 23:28:36 +0000 (00:28 +0100)]
Issue #20006: Fix sporadic failures in test_weakset.
Antoine Pitrou [Tue, 17 Dec 2013 23:29:30 +0000 (00:29 +0100)]
Revert misled test change in
f189da5bda26 .
Serhiy Storchaka [Tue, 17 Dec 2013 19:50:02 +0000 (21:50 +0200)]
Issue #20007: HTTPResponse.read(0) no more prematurely closes connection.
Original patch by Simon Sapin.
Serhiy Storchaka [Tue, 17 Dec 2013 13:11:24 +0000 (15:11 +0200)]
Issue #16404: Add checks for return value of PyLong_FromLong() in
sys.getwindowsversion() and ossaudiodev.setparameters().
Reported by Ned Batchelder.
Serhiy Storchaka [Tue, 17 Dec 2013 12:59:42 +0000 (14:59 +0200)]
Fixed leak in sys.flags initialization.
Victor Stinner [Mon, 16 Dec 2013 21:36:50 +0000 (22:36 +0100)]
Close #19999: tolerate coarse time when testing time.monotonic() on very
busy/slow buildbot
Christian Heimes [Mon, 16 Dec 2013 20:15:44 +0000 (21:15 +0100)]
Issue #19919: Fix flacky SSL test. connect_ex() sometimes returns
EWOULDBLOCK on Windows or VMs hosted on Windows.
Zachary Ware [Mon, 16 Dec 2013 15:02:41 +0000 (09:02 -0600)]
Issue #19987: Re-write test_alias_fallback in test_winsound to have two
acceptable outcomes: success or RuntimeError. Without being able to
actually hear whether a sound was played, either one could be right, but
any other error would be a failure.
Serhiy Storchaka [Mon, 16 Dec 2013 13:16:35 +0000 (15:16 +0200)]
Merge heads
Serhiy Storchaka [Mon, 16 Dec 2013 13:13:28 +0000 (15:13 +0200)]
Issue #19912: Fixed numerous bugs in ntpath.splitunc().
* splitunc() no more return illegal result for paths with redundant slashes.
* splitunc() now correctly processes the 'İ' character
(U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE).
* Deprecation warnings now emitted for every use of splitunc().
* Added tests for splitunc().
Charles-François Natali [Mon, 16 Dec 2013 12:49:19 +0000 (13:49 +0100)]
Merge.
Serhiy Storchaka [Mon, 16 Dec 2013 12:34:55 +0000 (14:34 +0200)]
Issue #19911: ntpath.splitdrive() now correctly processes the 'İ' character
(U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE).
Christian Heimes [Mon, 16 Dec 2013 12:27:16 +0000 (13:27 +0100)]
Issue #17919: add missing import of USHRT_MAX
Charles-François Natali [Mon, 16 Dec 2013 11:02:42 +0000 (12:02 +0100)]
Merge.
R David Murray [Mon, 16 Dec 2013 01:49:38 +0000 (20:49 -0500)]
#19532: make compileall with no file/dir args respect -f and -q.
Patch by Vajrasky Kok.
Stefan Krah [Sun, 15 Dec 2013 19:45:08 +0000 (20:45 +0100)]
Issue #19986: Avoid an incorrect warning of older gcc versions.