]>
granicus.if.org Git - python/log
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...
Serhiy Storchaka [Tue, 17 Dec 2013 15:32:20 +0000 (17:32 +0200)]
Circumventing a bug in glibc (issue #17976).
Patch by Jaakko Moisio.
Serhiy Storchaka [Tue, 17 Dec 2013 13:09:45 +0000 (15:09 +0200)]
Issue #16404: Add checks for return value of PyInt_FromLong() in
sys.getwindowsversion() and ossaudiodev.setparameters().
Reported by Ned Batchelder.
Serhiy Storchaka [Tue, 17 Dec 2013 12:59:29 +0000 (14:59 +0200)]
Fixed leak in sys.flags initialization.
Serhiy Storchaka [Tue, 17 Dec 2013 12:53:32 +0000 (14:53 +0200)]
Skip test for issue #17976 if /dev/null is not available.
Serhiy Storchaka [Tue, 17 Dec 2013 12:40:06 +0000 (14:40 +0200)]
Issue #17976: Fixed potential problem with file.write() not detecting IO error
by inspecting the return value of fwrite(). Based on patches by Jaakko Moisio
and test by Victor Stinner.
Serhiy Storchaka [Mon, 16 Dec 2013 16:43:00 +0000 (18:43 +0200)]
Removed old implementation of ntpath.splitunc() (issue #19912).
Zachary Ware [Mon, 16 Dec 2013 14:58:10 +0000 (08:58 -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:11 +0000 (15:16 +0200)]
Merge heads
Serhiy Storchaka [Mon, 16 Dec 2013 13:15:29 +0000 (15:15 +0200)]
Issue #19912: Fixed numerous bugs in ntpath.splitunc().
* splitunc() no more returns illegal result for paths with redundant slashes.
* splitunc() now correctly processes the u'İ' character
(U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE).
* Added new tests for splitunc().
Charles-François Natali [Sun, 15 Dec 2013 18:07:44 +0000 (19:07 +0100)]
Issue #19965: Make sure that Python-ast.h is properly taken into account in the
makefile.
Serhiy Storchaka [Sat, 14 Dec 2013 18:34:33 +0000 (20:34 +0200)]
Issue #19623: Fixed writing to unseekable files in the aifc module.
Fixed writing 'ulaw' (lower case) compressed AIFC files.
Serhiy Storchaka [Sat, 14 Dec 2013 17:11:04 +0000 (19:11 +0200)]
Issue #17919: Fixed integer overflow in the eventmask parameter.
Ezio Melotti [Sat, 14 Dec 2013 10:42:29 +0000 (12:42 +0200)]
#19981: fix typo in email.mailbox docs. Patch by Claudiu Popa.
Serhiy Storchaka [Fri, 13 Dec 2013 10:09:05 +0000 (12:09 +0200)]
Issue #17919: select.poll.poll() again works with poll.POLLNVAL on AIX.
Victor Stinner [Fri, 13 Dec 2013 01:37:09 +0000 (02:37 +0100)]
Issue #14432: Generator now clears the borrowed reference to the thread state
Fix a crash when a generator is created in a C thread that is destroyed while
the generator is still used. The issue was that a generator contains a frame,
and the frame kept a reference to the Python state of the destroyed C thread.
The crash occurs when a trace function is setup.
Gregory P. Smith [Wed, 11 Dec 2013 02:22:03 +0000 (18:22 -0800)]
Fixes Issue #17200: telnetlib's read_until and expect timeout was broken by the
fix to Issue #14635 in Python 2.7.4 to be interpreted as milliseconds
instead of seconds when the platform supports select.poll (ie: everywhere).
It is now treated as seconds once again.
Ned Deily [Wed, 11 Dec 2013 00:21:58 +0000 (16:21 -0800)]
Issue #18270: Prevent possible IDLE AttributeError on OS X when no initial
shell window is present. (Original patch by Terry Reedy)
Zachary Ware [Tue, 10 Dec 2013 22:06:46 +0000 (16:06 -0600)]
Issue #19572: Replace a return that shouldn't have been removed from test_os.
This should fix the test_os failure on the AMD64 Windows 7 buildbot.
Zachary Ware [Tue, 10 Dec 2013 20:14:28 +0000 (14:14 -0600)]
Issue #19928: Fix test on Windows
Zachary Ware [Tue, 10 Dec 2013 20:09:20 +0000 (14:09 -0600)]
Issue #19572: More silently skipped tests explicitly skipped.
Nadeem Vawda [Tue, 10 Dec 2013 16:23:00 +0000 (17:23 +0100)]
Skip test for #19878 on Windows.
Ezio Melotti [Tue, 10 Dec 2013 12:05:46 +0000 (14:05 +0200)]
#19943: fix typo noticed by Jakub Wilk.
Nick Coghlan [Tue, 10 Dec 2013 11:18:32 +0000 (21:18 +1000)]
Issue #19407: add Python Packaging User Guide notes
The stdlib docs for package distribution and building extensions
are rather dated, and that isn't expected to change for 2.7 and
3.3.
The Python Packaging User Guide isn't complete either, but it's
already a much better road map for new users than the existing
stdlib docs.
Serhiy Storchaka [Tue, 10 Dec 2013 08:20:11 +0000 (10:20 +0200)]
Issue #19928: Implemented a test for repr() of cell objects.
Serhiy Storchaka [Tue, 10 Dec 2013 08:04:41 +0000 (10:04 +0200)]
Issue #19481: print() of unicode, str or bytearray subclass instance in IDLE
no more hangs.
Victor Stinner [Tue, 10 Dec 2013 00:23:22 +0000 (01:23 +0100)]
Issue #19932: Fix typo in import.h, missing whitespaces in function prototypes.
Serhiy Storchaka [Sun, 8 Dec 2013 15:44:50 +0000 (17:44 +0200)]
Issue #19099: The struct module now supports Unicode format strings.
Nadeem Vawda [Sun, 8 Dec 2013 14:31:50 +0000 (15:31 +0100)]
Closes #19878: Fix segfault in bz2 module.
Initial patch by Vajrasky Kok.
Serhiy Storchaka [Fri, 6 Dec 2013 21:23:15 +0000 (23:23 +0200)]
Issue #16373: Prevent infinite recursion for ABC Set class comparisons.
Vinay Sajip [Fri, 6 Dec 2013 11:21:15 +0000 (11:21 +0000)]
Added minor clarification in logging HOWTO.
Antoine Pitrou [Thu, 5 Dec 2013 22:46:32 +0000 (23:46 +0100)]
Issue #18840: Introduce the json module in the tutorial, and deemphasize the pickle module.
Kristján Valur Jónsson [Thu, 5 Dec 2013 10:03:45 +0000 (10:03 +0000)]
Issue #7105: weak dict iterators are fragile because of unpredictable GC runs
Backport the fix from pyton 3.x for this issue.
Tim Peters [Wed, 4 Dec 2013 03:49:30 +0000 (21:49 -0600)]
Fudge - http.client doesn't exist in 2.7. Use Queue.Empty instead.
Tim Peters [Wed, 4 Dec 2013 03:02:05 +0000 (21:02 -0600)]
Issue #19138: doctest's IGNORE_EXCEPTION_DETAIL now allows no detail at all.
Grafted from
c80083ad142d .
Eli Bendersky [Mon, 2 Dec 2013 13:53:35 +0000 (05:53 -0800)]
Issue #19814: Clarify argparse's docs w.r.t prefix matching
Serhiy Storchaka [Sun, 1 Dec 2013 15:30:55 +0000 (17:30 +0200)]
Fixed JSON tests on wide build when ran from *.pyc files (issue #11489).
Alexandre Vassalotti [Sun, 1 Dec 2013 01:43:42 +0000 (17:43 -0800)]
Issue #6477: Revert
fbb97f6eb3b3 as it broke test_xpickle.
Alexandre Vassalotti [Sun, 1 Dec 2013 00:56:36 +0000 (16:56 -0800)]
Merge heads.
Alexandre Vassalotti [Sun, 1 Dec 2013 00:52:03 +0000 (16:52 -0800)]
Issue #6477: Added pickling support for singletons and their types.
Vinay Sajip [Sat, 30 Nov 2013 22:43:13 +0000 (22:43 +0000)]
Issue #19789: Clarified documentation for logging.disable.
Alexandre Vassalotti [Sat, 30 Nov 2013 22:02:47 +0000 (14:02 -0800)]
Fix typo in Misc/NEWS.
Alexandre Vassalotti [Sat, 30 Nov 2013 21:24:13 +0000 (13:24 -0800)]
Issue #16231: Allow false values other than None to be used as persistent IDs.
Zachary Ware [Thu, 28 Nov 2013 05:56:04 +0000 (23:56 -0600)]
Issue #19595: Re-enable a long-disabled test in test_winsound
Serhiy Storchaka [Fri, 29 Nov 2013 10:16:53 +0000 (12:16 +0200)]
Issue #19795: Improved markup of True/False constants.
Eli Bendersky [Thu, 28 Nov 2013 14:37:25 +0000 (06:37 -0800)]
Fix indentation from previous commit
Eli Bendersky [Thu, 28 Nov 2013 14:25:45 +0000 (06:25 -0800)]
Issue #19815: Fix segfault when parsing empty namespace declaration.
Based on patches by Christian Heimes and Vajrasky Kok
Serhiy Storchaka [Wed, 27 Nov 2013 06:57:33 +0000 (08:57 +0200)]
Skip test_find_mac on Windows (issue #19804).
This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin.