]>
granicus.if.org Git - python/log
Benjamin Peterson [Sun, 19 Jan 2014 03:31:27 +0000 (22:31 -0500)]
correct news entry for #18574
Benjamin Peterson [Sun, 19 Jan 2014 02:50:35 +0000 (21:50 -0500)]
add Nikolaus Rath to ACKS
Benjamin Peterson [Sun, 19 Jan 2014 02:50:18 +0000 (21:50 -0500)]
fix handling of 100-continue status code (closes #18574)
R David Murray [Sat, 18 Jan 2014 19:56:10 +0000 (14:56 -0500)]
#19855: restore use of LC_ALL, not LC_MESSAGES
I didn't realize LC_ALL was an override, and I should have. I tried to
make a test, but it is not clear that the LC variables actually affect
the strings that uuid is using to parse the command output.
Serhiy Storchaka [Sat, 18 Jan 2014 16:30:33 +0000 (18:30 +0200)]
Issue #20270: urllib.urlparse now supports empty ports.
Serhiy Storchaka [Sat, 18 Jan 2014 14:28:08 +0000 (16:28 +0200)]
Issue #20244: Fixed possible file leaks when unexpected error raised in
tarfile open functions.
Serhiy Storchaka [Sat, 18 Jan 2014 14:14:10 +0000 (16:14 +0200)]
Issue #20243: TarFile no longer raise ReadError when opened in write mode.
Serhiy Storchaka [Sat, 18 Jan 2014 13:53:05 +0000 (15:53 +0200)]
Issue #20238: TarFile opened with external fileobj and "w:gz" mode didn't
write complete output on close.
Serhiy Storchaka [Sat, 18 Jan 2014 13:35:37 +0000 (15:35 +0200)]
Issue #20245: The open functions in the tarfile module now correctly handle empty mode.
Benjamin Peterson [Sat, 18 Jan 2014 05:49:04 +0000 (00:49 -0500)]
rm extra whitespace
Benjamin Peterson [Sat, 18 Jan 2014 05:47:00 +0000 (00:47 -0500)]
link to builtin open not io.open
Benjamin Peterson [Sat, 18 Jan 2014 05:45:56 +0000 (00:45 -0500)]
describe type of Popen streams (closes #17814)
Patch more or less by Nikolaus Rath.
Zachary Ware [Fri, 17 Jan 2014 21:23:42 +0000 (15:23 -0600)]
Issue #20265: Updated some parts of the Using Windows document.
Includes:
-mention cx_Freeze instead of py2exe (at least until py2exe supports Python 3)
-update ActivePython link
-Remove mention of platforms that were never supported by Python 3 (Win9x, DOS)
Gregory P. Smith [Fri, 17 Jan 2014 20:08:49 +0000 (12:08 -0800)]
avoid a compiler warning about assigning const char * to char *.
Gregory P. Smith [Fri, 17 Jan 2014 20:01:22 +0000 (12:01 -0800)]
sort os.listxattr results before comparing it to avoid depending on the
ordering of the directory information in the underlying filesystem.
Vinay Sajip [Fri, 17 Jan 2014 18:36:02 +0000 (18:36 +0000)]
Added example to recently added cookbook entry.
Zachary Ware [Fri, 17 Jan 2014 15:30:03 +0000 (09:30 -0600)]
Fix some typos/grammar in current sections of NEWS.
Zachary Ware [Fri, 17 Jan 2014 14:59:44 +0000 (08:59 -0600)]
Issue #20266: Update parts of the Windows FAQ
Serhiy Storchaka [Thu, 16 Jan 2014 16:48:45 +0000 (18:48 +0200)]
Issue #19936: Remove executable bits from C source files and several forgotten
test files.
Serhiy Storchaka [Thu, 16 Jan 2014 15:20:02 +0000 (17:20 +0200)]
Merge heads
Serhiy Storchaka [Thu, 16 Jan 2014 15:15:49 +0000 (17:15 +0200)]
Issue #19936: Added executable bits or shebang lines to Python scripts which
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface. Fixed
shebang line to use python3 executable in the unittestgui script.
Benjamin Peterson [Thu, 16 Jan 2014 15:10:13 +0000 (10:10 -0500)]
linkify chain.from_iterable (closes #20272)
Benjamin Peterson [Thu, 16 Jan 2014 14:52:38 +0000 (09:52 -0500)]
update pysqlite website (closes #20278)
Stefan Krah [Thu, 16 Jan 2014 13:33:27 +0000 (14:33 +0100)]
Issue #19936: Disable shebang lines in order to prevent using a random
system python.
Vinay Sajip [Wed, 15 Jan 2014 15:09:05 +0000 (15:09 +0000)]
Added cookbook entry on alternative formatting styles.
Vinay Sajip [Wed, 15 Jan 2014 13:28:39 +0000 (13:28 +0000)]
Clarified documentation note on module-level convenience functions.
Zachary Ware [Tue, 14 Jan 2014 22:03:11 +0000 (16:03 -0600)]
Issue #20255: Update the about and bugs pages.
Zachary Ware [Tue, 14 Jan 2014 15:09:48 +0000 (09:09 -0600)]
Issue #20253: Fixed a typo in the ipaddress docs that advertised an
illegal attribute name. Found by INADA Naoki.
Zachary Ware [Tue, 14 Jan 2014 14:44:49 +0000 (08:44 -0600)]
Fix typo. Found by David Pesta on docs@.
Zachary Ware [Tue, 14 Jan 2014 14:40:53 +0000 (08:40 -0600)]
Fix typo. Found by David Pesta on docs@.
Georg Brandl [Tue, 14 Jan 2014 11:00:45 +0000 (12:00 +0100)]
Closes #20258: Sphinx toolchain: move back to Jinja2 2.3.1 with support for Py2.5.
Benjamin Peterson [Tue, 14 Jan 2014 05:27:42 +0000 (00:27 -0500)]
add test for #20251
Benjamin Peterson [Tue, 14 Jan 2014 05:21:49 +0000 (00:21 -0500)]
remove overly strict assertion (closes #20251)
Benjamin Peterson [Tue, 14 Jan 2014 04:56:05 +0000 (23:56 -0500)]
correct defaultdict signature in docstring (closes #20250)
Patch from Andrew Barnert.
Benjamin Peterson [Tue, 14 Jan 2014 04:12:55 +0000 (23:12 -0500)]
merge 3.2 (#20246)
Benjamin Peterson [Tue, 14 Jan 2014 03:59:38 +0000 (22:59 -0500)]
complain when nbytes > buflen to fix possible buffer overflow (closes #20246)
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.