]>
granicus.if.org Git - python/log
Serhiy Storchaka [Thu, 23 Jan 2014 14:08:35 +0000 (16:08 +0200)]
Third attempt to fix test_user_command on OpenSolaris.
Serhiy Storchaka [Thu, 23 Jan 2014 12:38:44 +0000 (14:38 +0200)]
Other attempt to fix test_user_command on OpenSolaris.
Serhiy Storchaka [Thu, 23 Jan 2014 09:03:02 +0000 (11:03 +0200)]
Try to fix test_user_command on OpenSolaris where floats can have different
string representation in Tcl and Python.
Serhiy Storchaka [Thu, 23 Jan 2014 07:42:46 +0000 (09:42 +0200)]
Added test_user_command in test_tcl.
It tests the convertion Tcl values to Python values when Tcl calls a command
implemented on Python. Currently all values are passed as strings.
Terry Jan Reedy [Thu, 23 Jan 2014 05:36:37 +0000 (00:36 -0500)]
Issue #17390: Add Python version to Idle editor window title bar.
Original patches by Edmond Burnett and Kent Johnson.
Richard Oudkerk [Thu, 23 Jan 2014 00:11:04 +0000 (00:11 +0000)]
Issue #14548: Make multiprocessing finalizers check pid before
running to cope with possibility of gc running just after fork.
(Backport from 3.x.)
Stefan Krah [Wed, 22 Jan 2014 12:18:09 +0000 (13:18 +0100)]
Fix test failures --without-threads.
Terry Jan Reedy [Wed, 22 Jan 2014 02:12:13 +0000 (21:12 -0500)]
Issue #20818: Remove code from idlelib.CallTipWindow.showtip that is now
completely redundant. After 16638 patch, CallTips.get_argspec trims over-long
signature strings as well as docstring lines.
Terry Jan Reedy [Wed, 22 Jan 2014 01:45:03 +0000 (20:45 -0500)]
Issue #16638: Include up to 5 docstring header lines (before first blank) in
Idle calltips. This is needed for builtins, such 3.x bytes (which is why 5).
Based on patch by Serhiy Storchaka.
Florent Xicluna [Wed, 22 Jan 2014 00:33:59 +0000 (01:33 +0100)]
Issue #17825: Cursor ^ is correctly positioned for SyntaxError and IndentationError.
Stefan Krah [Tue, 21 Jan 2014 22:05:52 +0000 (23:05 +0100)]
Issue #20246: Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts.
Terry Jan Reedy [Tue, 21 Jan 2014 20:36:36 +0000 (15:36 -0500)]
Issue #16630: Make Idle calltips work even when __getattr__ raises.
Initial patch by Roger Serwy.
Georg Brandl [Tue, 21 Jan 2014 18:21:18 +0000 (19:21 +0100)]
Fix markup error.
Terry Jan Reedy [Tue, 21 Jan 2014 08:07:43 +0000 (03:07 -0500)]
Issue #16655: Explain why Idle's test_calltips has 'fragile' tests of builtins.
I do not expect a problem in 2.7, but backported this anyway, 'in case'.
Terry Jan Reedy [Tue, 21 Jan 2014 05:31:07 +0000 (00:31 -0500)]
Issue #21222: Whitespace
Terry Jan Reedy [Tue, 21 Jan 2014 05:26:10 +0000 (00:26 -0500)]
Issue #20122: Idlelib: Move tests in 3.x CallTips.py to test_calltips.py.
For 2.7 backport, fix get_arg_spec as needed to make expanded tests pass.
Serhiy Storchaka [Mon, 20 Jan 2014 19:57:09 +0000 (21:57 +0200)]
Issue #20262: Warnings are raised now when duplicate names are added in the
ZIP file or too long ZIP file comment is truncated.
Benjamin Peterson [Mon, 20 Jan 2014 05:10:23 +0000 (00:10 -0500)]
put notes in a ..note section
Benjamin Peterson [Mon, 20 Jan 2014 05:09:53 +0000 (00:09 -0500)]
document that a new Python thread context is created in ctypes callbacks (closes #6627)
Patch by Nikolaus Rath.
Benjamin Peterson [Sun, 19 Jan 2014 02:50:35 +0000 (21:50 -0500)]
add Nikolaus Rath to ACKS
R David Murray [Sat, 18 Jan 2014 19:55:09 +0000 (14:55 -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:09 +0000 (18:30 +0200)]
Issue #20270: urllib and urlparse now support empty ports.
Serhiy Storchaka [Sat, 18 Jan 2014 14:14:00 +0000 (16:14 +0200)]
Issue #20243: TarFile no longer raise ReadError when opened in write mode.
Serhiy Storchaka [Sat, 18 Jan 2014 13:54:32 +0000 (15:54 +0200)]
Backported test for issue #20238.
Serhiy Storchaka [Sat, 18 Jan 2014 13:35:19 +0000 (15:35 +0200)]
Issue #20245: The open functions in the tarfile module now correctly handle empty mode.
Zachary Ware [Fri, 17 Jan 2014 15:29:24 +0000 (09:29 -0600)]
Fix some typos/grammar in current sections of NEWS.
Serhiy Storchaka [Fri, 17 Jan 2014 07:27:56 +0000 (09:27 +0200)]
Issue #20086: Restored the use of locale-independing mapping instead of
locale-depending str.lower() in locale.normalize().
Benjamin Peterson [Thu, 16 Jan 2014 21:56:22 +0000 (16:56 -0500)]
fix error check
Serhiy Storchaka [Thu, 16 Jan 2014 16:59:17 +0000 (18:59 +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.
Benjamin Peterson [Thu, 16 Jan 2014 14:52:38 +0000 (09:52 -0500)]
update pysqlite website (closes #20278)
Vinay Sajip [Wed, 15 Jan 2014 13:27:58 +0000 (13:27 +0000)]
Clarified documentation note on module-level convenience functions.
Zachary Ware [Tue, 14 Jan 2014 22:01:32 +0000 (16:01 -0600)]
Issue #20255: Update the about and bugs pages.
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 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:17 +0000 (20:38 -0600)]
Fix typo. Pointed out by Finn Ellis on docs@.
R David Murray [Mon, 13 Jan 2014 18:54:54 +0000 (13:54 -0500)]
#20236: Fix sphinx markup.
Serhiy Storchaka [Mon, 13 Jan 2014 17:08:51 +0000 (19:08 +0200)]
Backported test for the open of non-existent tarfile.
Serhiy Storchaka [Mon, 13 Jan 2014 12:22:45 +0000 (14:22 +0200)]
Fixed typo.
Senthil Kumaran [Mon, 13 Jan 2014 00:04:08 +0000 (16:04 -0800)]
Issue #19082: Working SimpleXMLRPCServer and xmlrpclib examples, both in modules and documentation.
Serhiy Storchaka [Sun, 12 Jan 2014 10:11:47 +0000 (12:11 +0200)]
Issue #20138: Backport tests for handling non-ASCII URLs in the
wsgiref.application_uri() and wsgiref.request_uri() functions.
Senthil Kumaran [Sun, 12 Jan 2014 06:16:55 +0000 (22:16 -0800)]
Adding test coverage for cgi.FieldStorage based on the scenario mentioned in issue #19097
Serhiy Storchaka [Sat, 11 Jan 2014 11:12:58 +0000 (13:12 +0200)]
tkinter.Text.debug() now always returns 0/1.
Fixed regression inroduced in issue #6157.
Serhiy Storchaka [Fri, 10 Jan 2014 22:09:50 +0000 (00:09 +0200)]
Try to fix some ttk tests. Error messages were changed in 8.6b3.
Serhiy Storchaka [Fri, 10 Jan 2014 20:43:03 +0000 (22:43 +0200)]
Fixed test_tempfilepager in test_pydoc on Windows.
Filename such as r'c:\users\db3l\appdata\local\temp\tmph3vkvf' contains '\t'
which is interpreted by ast.literal_eval() as a tabulation.
Serhiy Storchaka [Fri, 10 Jan 2014 13:34:51 +0000 (15:34 +0200)]
Issue #20086: Output more details when test_getsetlocale_issue1813 is failed.
Serhiy Storchaka [Fri, 10 Jan 2014 13:05:27 +0000 (15:05 +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:36:56 +0000 (13:36 +0200)]
Issue #19886: Use better estimated memory requirements for bigmem tests.
Incorrect requirements can cause memory swapping.
Serhiy Storchaka [Thu, 9 Jan 2014 21:13:48 +0000 (23:13 +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 18:52:12 +0000 (19:52 +0100)]
Issue #20207: Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly asked for.
Benjamin Peterson [Thu, 9 Jan 2014 17:10:30 +0000 (11:10 -0600)]
clear zip stat cache after each ref leak run
Benjamin Peterson [Thu, 9 Jan 2014 15:36:10 +0000 (09:36 -0600)]
fix zipimport ref leak
R David Murray [Wed, 8 Jan 2014 23:08:37 +0000 (18:08 -0500)]
Fix verb tense.
Gregory P. Smith [Wed, 8 Jan 2014 02:39:48 +0000 (18:39 -0800)]
cleanup for the issue 19081 fix - pull the file open and close outside of the
zip_searchorder scanning loop in get_module_code().
[already done in 3.3 and 3.4]
Serhiy Storchaka [Tue, 7 Jan 2014 17:32:58 +0000 (19:32 +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 _stringify() for non-ASCII strings.
* 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.
Gregory P. Smith [Tue, 7 Jan 2014 09:11:09 +0000 (01:11 -0800)]
Should fix the issue19081 fix on Windows. Don't let the previous
posix module ImportError cause the nt module import to fail.
Gregory P. Smith [Mon, 6 Jan 2014 17:51:32 +0000 (09:51 -0800)]
normalize whitespace from prior issue19081 fix commit.
Gregory P. Smith [Mon, 6 Jan 2014 17:50:19 +0000 (09:50 -0800)]
news entry for issue19081 fix.
Gregory P. Smith [Mon, 6 Jan 2014 17:46:46 +0000 (09:46 -0800)]
Fixes issue19081: When a zipimport .zip file in sys.path being imported
from is modified during the lifetime of the Python process after
zipimport has already opened and cached the zip's table of contents
it now fstat's the file after opening it upon every attempt to access
anything within and will re-read the table of contents if the .zip file
inode, size or mtime have changed.
It would've been nicer to hold any .zip file used by zipimport open for the
duration of the process but that would be more invasive and add an additional
open file descriptor to all zipimport using processes. It also would likely
not fix the problem on Windows due to different filesystem semantics.
R David Murray [Sun, 5 Jan 2014 22:14:08 +0000 (17:14 -0500)]
#
1065986 : add missing error handler in pydoc unicode fix.
R David Murray [Sun, 5 Jan 2014 17:35:59 +0000 (12:35 -0500)]
#
1065986 : Make pydoc handle unicode strings.
Patch by Akira Kitada.
R David Murray [Fri, 3 Jan 2014 22:26:21 +0000 (17:26 -0500)]
#16039/#20118: temporarily skip failing imaplib SSL test.
The fix the test is testing prevents a DOS attack, and the failure
mode will also prevent the DOS attack, so for now skip the test.
Either the test or the code does need fixing, however.
R David Murray [Fri, 3 Jan 2014 18:59:22 +0000 (13:59 -0500)]
closes 16039: CVE-2013-1752: limit line length in imaplib readline calls.
R David Murray [Thu, 2 Jan 2014 18:38:02 +0000 (13:38 -0500)]
#17282: Document unittest.main defaultTest argument.
Ned Deily [Wed, 1 Jan 2014 21:03:24 +0000 (13:03 -0800)]
Update copyright dates in Mac plists.
Benjamin Peterson [Wed, 1 Jan 2014 04:02:22 +0000 (22:02 -0600)]
update copyright year
Benjamin Peterson [Sat, 28 Dec 2013 16:33:58 +0000 (10:33 -0600)]
complain if the codec doesn't return unicode
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.
Serhiy Storchaka [Sat, 28 Dec 2013 08:18:44 +0000 (10:18 +0200)]
Fixed the wave module testing on big-endian platforms.
array.fromfile() works only with file objects, not io.FileIO instances.
Serhiy Storchaka [Thu, 26 Dec 2013 19:20:46 +0000 (21:20 +0200)]
Issue #20027: Fixed locale aliases for devanagari locales.
Serhiy Storchaka [Thu, 26 Dec 2013 18:08:34 +0000 (20:08 +0200)]
Backported tests for Tkinter variables.
Serhiy Storchaka [Thu, 26 Dec 2013 18:05:53 +0000 (20:05 +0200)]
Issue #20067: Tkinter variables now work when wantobjects is false.
R David Murray [Thu, 26 Dec 2013 03:26:59 +0000 (22:26 -0500)]
#20063: Remove inaccurate/confusing statement about support of 'pop' method.
Patch by Gennadiy Zlobin.
Serhiy Storchaka [Wed, 25 Dec 2013 15:35:11 +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:28:50 +0000 (17:28 +0200)]
Issue #19320: test_tcl no longer fails when wantobjects is false.
Serhiy Storchaka [Wed, 25 Dec 2013 14:35:20 +0000 (16:35 +0200)]
Issue #19020: Tkinter now uses splitlist() instead of split() in configure
methods.
Serhiy Storchaka [Wed, 25 Dec 2013 12:24:17 +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:06 +0000 (11:04 +0200)]
Removed spaces before colons and semicolons.
Serhiy Storchaka [Mon, 23 Dec 2013 16:19:34 +0000 (18:19 +0200)]
Removed spaces before commas and periods.
Benjamin Peterson [Mon, 23 Dec 2013 01:45:12 +0000 (19:45 -0600)]
update Barry's email (closes #19563)
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:35:53 +0000 (01:35 +0100)]
Issue #12226: HTTPS is now used by default when connecting to PyPI.
Serhiy Storchaka [Sat, 21 Dec 2013 21:51:15 +0000 (23:51 +0200)]
Issue #20048: Fixed ZipExtFile.peek() when it is called on the boundary of
the uncompress buffer and read() goes through more than one readbuffer.
This is partial backport of changeset
028e8e0b03e8 .
Serhiy Storchaka [Fri, 20 Dec 2013 16:22:38 +0000 (18:22 +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:23 +0000 (22:31 +0200)]
Merge heads
Serhiy Storchaka [Thu, 19 Dec 2013 20:28:25 +0000 (22:28 +0200)]
Don't use sebTest() in tests for issue #5815.
Zachary Ware [Thu, 19 Dec 2013 19:44:19 +0000 (13:44 -0600)]
Issue #19683: Removed empty tests from test_minidom.
Initial patch by Ajitesh Gupta.
Serhiy Storchaka [Thu, 19 Dec 2013 19:21:06 +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:44:48 +0000 (16:44 +0100)]
Issue #20026: Fix the sqlite module to handle correctly invalid isolation level
(wrong type).
Serhiy Storchaka [Thu, 19 Dec 2013 14:26:56 +0000 (16:26 +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:42:18 +0000 (11:42 +0000)]
Issue #19902: Added list of logging levels.
Benjamin Peterson [Wed, 18 Dec 2013 21:36:34 +0000 (15:36 -0600)]
update url to spec (closes #20018)
Gregory P. Smith [Wed, 18 Dec 2013 19:25:26 +0000 (11:25 -0800)]
remove trailing spaces.
Zachary Ware [Wed, 18 Dec 2013 18:18:36 +0000 (12:18 -0600)]
Issue #20005: Fix typo in operator docs. Patch by Claudiu Popa.
Serhiy Storchaka [Wed, 18 Dec 2013 14:45:37 +0000 (16:45 +0200)]
Issue #19492: Silently skipped distutils tests now reported as skipped.
R David Murray [Wed, 18 Dec 2013 02:27:56 +0000 (21:27 -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.
Serhiy Storchaka [Tue, 17 Dec 2013 19:49:48 +0000 (21:49 +0200)]
Issue #20007: HTTPResponse.read(0) no more prematurely closes connection.
Original patch by Simon Sapin.
R David Murray [Tue, 17 Dec 2013 17:09:46 +0000 (12:09 -0500)]
20004: Note that the setter in csv.DictReader is broken.
This is a comment in the code because only someone reading the code would try
setting fieldnames to None in the first place...