]>
granicus.if.org Git - python/log
Terry Jan Reedy [Tue, 13 Aug 2013 23:51:04 +0000 (19:51 -0400)]
Issue #18425: Add docstrings to IdleHistory.py. Remove redundant 'history_'
prefix from two attributes and two methods of History class.
Victor Stinner [Tue, 13 Aug 2013 23:39:14 +0000 (01:39 +0200)]
Issue #18405: Improve the entropy of crypt.mksalt().
Ezio Melotti [Tue, 13 Aug 2013 09:53:40 +0000 (12:53 +0300)]
#18687: remove obsolete comment. Patch by Févry Thibault.
Ned Deily [Tue, 13 Aug 2013 08:12:41 +0000 (01:12 -0700)]
Issue 18724: Fix typo noticed by Susan Tan.
Senthil Kumaran [Tue, 13 Aug 2013 05:25:27 +0000 (22:25 -0700)]
Increasing test coverage of ftplib. Patch by Muhammad Jehanzeb
Felix Crux [Mon, 12 Aug 2013 21:39:51 +0000 (17:39 -0400)]
Documenting that json.load may raise a ValueError.
Issue #18680: JSONDecoder should document that it raises a ValueError
for malformed data
David Wolever [Mon, 12 Aug 2013 20:56:02 +0000 (16:56 -0400)]
Issue #17701: Improving strftime documentation.
Larry Hastings [Mon, 12 Aug 2013 17:49:30 +0000 (13:49 -0400)]
Issue #18667: Add missing "HAVE_FCHOWNAT" symbol to posix._have_functions.
Eli Bendersky [Sun, 11 Aug 2013 22:38:08 +0000 (15:38 -0700)]
Issue #12645: Clarify and reformat the documentation of import_fresh_module
Serhiy Storchaka [Sun, 11 Aug 2013 17:12:20 +0000 (20:12 +0300)]
Issue #18706: Fix a test for issue #18681 so it no longer breaks test_codeccallbacks*.
Ezio Melotti [Sun, 11 Aug 2013 10:04:50 +0000 (13:04 +0300)]
#18663: document that assertAlmostEqual also works when the values are equal and add tests.
Terry Jan Reedy [Sat, 10 Aug 2013 22:17:13 +0000 (18:17 -0400)]
Issue #18676: Change 'positive' to 'non-negative' in queue.py put and get
docstrings and ValueError messages. Patch by Zhongyue Luo
Terry Jan Reedy [Sat, 10 Aug 2013 21:46:24 +0000 (17:46 -0400)]
Issue #18429: Add user-oriented News entry about Format / Format Paragraph
now working with comment block selections. Patch was part of 18226 patch.
Terry Jan Reedy [Sat, 10 Aug 2013 20:56:28 +0000 (16:56 -0400)]
Issue #18226: Add docstrings and unittests for idlelib/FormatParagraph.py.
Move comment code to a separate function so it can be separately tested.
Original patches by Todd Rovito and Phil Webster.
Ezio Melotti [Sat, 10 Aug 2013 16:59:36 +0000 (19:59 +0300)]
#18681: Fix a NameError in imp.reload() (noticed by Weizhao Li).
R David Murray [Sat, 10 Aug 2013 16:08:41 +0000 (12:08 -0400)]
Merge heads.
R David Murray [Sat, 10 Aug 2013 16:01:47 +0000 (12:01 -0400)]
#8112: Update the documenting xmlrpc server to use getfullargspec.
Before this patch it would raise an error when trying to display
documentation for a method that used annotations.
Patch by Claudiu Popa.
Ezio Melotti [Sat, 10 Aug 2013 15:57:12 +0000 (18:57 +0300)]
#18505: fix duplicate name and remove duplicate test. Patch by Vajrasky Kok.
Ezio Melotti [Sat, 10 Aug 2013 15:47:07 +0000 (18:47 +0300)]
Fix a couple of typos.
Ezio Melotti [Sat, 10 Aug 2013 15:37:05 +0000 (18:37 +0300)]
#18453: fix unused variables in test_xmlrpc. Patch by Vajrasky Kok.
Ezio Melotti [Sat, 10 Aug 2013 15:30:29 +0000 (18:30 +0300)]
#18465: fix unused variables in test_minidom. Patch by Vajrasky Kok.
Ezio Melotti [Sat, 10 Aug 2013 15:20:09 +0000 (18:20 +0300)]
#18484: improve test coverage of http.cookiejar. Patch by Vajrasky Kok.
Ezio Melotti [Sat, 10 Aug 2013 15:07:25 +0000 (18:07 +0300)]
#18483: add one more date format in test_http2time_formats. Patch by Vajrasky Kok.
Eli Bendersky [Sat, 10 Aug 2013 12:57:27 +0000 (05:57 -0700)]
Issue #18668: Further clarify m_size setting for non-negative values
R David Murray [Fri, 9 Aug 2013 20:17:00 +0000 (16:17 -0400)]
#18600: In 3.3, as_string does not accept a policy keyword.
Also, document the policy keyword that was added to Message in 3.3.
Ezio Melotti [Thu, 8 Aug 2013 17:12:28 +0000 (20:12 +0300)]
#18357: add tests for dictview set difference. Patch by Fraser Tweedale.
Ezio Melotti [Thu, 8 Aug 2013 16:36:36 +0000 (19:36 +0300)]
#18581: remove duplicate test and run a test class that was skipped. Initial patch by Vajrasky Kok.
Serhiy Storchaka [Thu, 8 Aug 2013 13:47:43 +0000 (16:47 +0300)]
Fix a typo in PyUnicode_CopyCharacters() documentation.
Ezio Melotti [Thu, 8 Aug 2013 12:45:56 +0000 (15:45 +0300)]
#18267: make whitespace consistent and fix an operator.
Ezio Melotti [Thu, 8 Aug 2013 12:03:45 +0000 (15:03 +0300)]
#18273: move the tests in Lib/test/json_tests to Lib/test/test_json and make them discoverable by unittest. Patch by Zachary Ware.
Eli Bendersky [Wed, 7 Aug 2013 12:52:20 +0000 (05:52 -0700)]
Issue #18668: Properly document setting m_size in PyModuleDef
Christian Heimes [Tue, 6 Aug 2013 13:59:16 +0000 (15:59 +0200)]
Issue #18368: PyOS_StdioReadline() no longer leaks memory when realloc() fails.
Mark Dickinson [Mon, 5 Aug 2013 16:57:01 +0000 (17:57 +0100)]
Issue #18661: typo in grp.struct_group docstring. Thanks Vajrasky Kok.
R David Murray [Sun, 4 Aug 2013 19:48:29 +0000 (15:48 -0400)]
#18657: remove duplicate entries from Misc/ACKS.
Patch by Madison May.
Raymond Hettinger [Sun, 4 Aug 2013 19:43:37 +0000 (12:43 -0700)]
Silence compiler warnings for strict function prototype declarations.
Terry Jan Reedy [Sun, 4 Aug 2013 19:39:03 +0000 (15:39 -0400)]
Issue #18151: Replace remaining Idle 'open...close' pairs with 'with open'.
Raymond Hettinger [Sun, 4 Aug 2013 19:00:36 +0000 (12:00 -0700)]
Silence compiler warning for an unused declaration
Raymond Hettinger [Sun, 4 Aug 2013 18:51:03 +0000 (11:51 -0700)]
Silence compiler warning about an uninitialized variable
Charles-Francois Natali [Mon, 20 May 2013 17:08:19 +0000 (19:08 +0200)]
Issue #17684: Fix some test_socket failures due to limited FD passing support
on OS-X. Patch by Jeff Ramnani.
Eli Bendersky [Sun, 4 Aug 2013 01:52:32 +0000 (18:52 -0700)]
Issue #17902: Clarify doc of ElementTree.iterparse
Eli Bendersky [Sun, 4 Aug 2013 00:47:47 +0000 (17:47 -0700)]
Issue #17011: Fix caching of xpath path when namespaces are present.
Thanks to Stefan Behnel for the report and proposed solution & test.
Serhiy Storchaka [Sat, 3 Aug 2013 22:04:15 +0000 (01:04 +0300)]
Issue #16741: Remove testing of implementation artifact.
Serhiy Storchaka [Sat, 3 Aug 2013 20:46:19 +0000 (23:46 +0300)]
Issue #18647: Temporary disable the "nothing to repeat" check to make buildbots happy.
Serhiy Storchaka [Sat, 3 Aug 2013 18:17:04 +0000 (21:17 +0300)]
Merge heads
Martin v. Löwis [Sat, 3 Aug 2013 18:09:42 +0000 (20:09 +0200)]
Issue #16067: Add description into MSI file to replace installer's temporary name.
Serhiy Storchaka [Sat, 3 Aug 2013 17:55:06 +0000 (20:55 +0300)]
Issue #16741: Fix an error reporting in int().
Serhiy Storchaka [Sat, 3 Aug 2013 16:18:38 +0000 (19:18 +0300)]
Issue #17998: Fix an internal error in regular expression engine.
doko@ubuntu.com [Sat, 3 Aug 2013 14:12:33 +0000 (16:12 +0200)]
- Fix a fcntl test case on KFreeBSD, Debian #708653 (Petr Salinger).
Nick Coghlan [Sat, 3 Aug 2013 12:56:30 +0000 (22:56 +1000)]
Close #18396: fix spurious test_signal failure on Windows
signal.getsignal returns None for some signals if faulthandler
is enabled (Patch by Jeremy Kloth)
Ned Deily [Sat, 3 Aug 2013 01:02:21 +0000 (18:02 -0700)]
Issue #17046: Fix test_subprocess test_executable_without_cwd broken test case.
Charles-François Natali [Fri, 2 Aug 2013 08:21:20 +0000 (10:21 +0200)]
Issue #18325: Fix a test_kqueue failure on OpenBSD: kevent's data and event
members are integers.
Ned Deily [Fri, 2 Aug 2013 06:51:27 +0000 (23:51 -0700)]
Issue #18517: Move definition of "xxlimited" extension to detect_modules().
Ned Deily [Fri, 2 Aug 2013 05:12:29 +0000 (22:12 -0700)]
Issue #18627: Fix typo noticed by Vajrasky Kok.
Ned Deily [Fri, 2 Aug 2013 04:21:15 +0000 (21:21 -0700)]
Issue #17557: Fix os.getgroups() to work with the modified behavior of
getgroups(2) on OS X 10.8. Original patch by Mateusz Lenik.
Larry Hastings [Fri, 2 Aug 2013 02:34:46 +0000 (19:34 -0700)]
Issue #17899: Fix rare file descriptor leak in os.listdir().
(Done as separate patch from trunk as the code has diverged quite a bit.)
Antoine Pitrou [Thu, 1 Aug 2013 19:12:45 +0000 (21:12 +0200)]
Issue #18589: fix hyperlinking of type slots (tp_*)
Christian Heimes [Wed, 31 Jul 2013 22:08:16 +0000 (00:08 +0200)]
Initialize utime with 0. It fixes a couple of compiler warnung:
warning: 'utime.mtime_ns' may be used uninitialized in this function [-Wmaybe-uninitialized]
Christian Heimes [Wed, 31 Jul 2013 21:49:48 +0000 (23:49 +0200)]
merge
Christian Heimes [Wed, 31 Jul 2013 21:47:56 +0000 (23:47 +0200)]
Silence warning about set but unused variable inside compile_atom() in non-debug builds
Terry Jan Reedy [Wed, 31 Jul 2013 02:31:06 +0000 (22:31 -0400)]
Issue #18573: More copy-paste fixes to assertWarns entry.
Ned Deily [Tue, 30 Jul 2013 21:30:15 +0000 (14:30 -0700)]
Issue #15494: Install new test/support directory.
R David Murray [Tue, 30 Jul 2013 19:51:57 +0000 (15:51 -0400)]
#16273: Fix tutorial discussion of seek/tell (opaque text-mode values).
Patch by Sijin Joseph.
R David Murray [Tue, 30 Jul 2013 19:37:11 +0000 (15:37 -0400)]
#18601: fix error made when difflib example was converted to use 'with'.
R David Murray [Tue, 30 Jul 2013 18:42:40 +0000 (14:42 -0400)]
#18584: s/testcleanup/testsetup/ until we switch to Sphinx 1.1.
testcleanup directive is new as of 1.1, and we are currently running
1.0.7. But using testsetup works just as well, and avoids the
unknown directive error when building the docs.
Antoine Pitrou [Tue, 30 Jul 2013 18:09:03 +0000 (20:09 +0200)]
Simplify example of PyErr_Fetch() use
Christian Heimes [Tue, 30 Jul 2013 13:44:13 +0000 (15:44 +0200)]
Add simple test for resource.getpagesize()
Christian Heimes [Tue, 30 Jul 2013 13:33:30 +0000 (15:33 +0200)]
Add more tests for hashlib and hash object attributes
Christian Heimes [Tue, 30 Jul 2013 13:32:57 +0000 (15:32 +0200)]
Issue #18599: Fix name attribute of _sha1.sha1() object. It now returns
'SHA1' instead of 'SHA'.
Eli Bendersky [Tue, 30 Jul 2013 13:12:49 +0000 (06:12 -0700)]
Issue #18593: fix typo in comment
Terry Jan Reedy [Tue, 30 Jul 2013 05:36:48 +0000 (01:36 -0400)]
Make all idle test case names end with 'Test'.
R David Murray [Mon, 29 Jul 2013 19:49:58 +0000 (15:49 -0400)]
#18584: make doctest examples in email documentation pass.
With the exception of the 'as_string' call in the policy docs.
That one is a separate issue.
Note that when building the docs sphinx is complaining about
.. testcleanup:: being an invalid directive. I don't know
why this is, as I'm following the sphinx docs...but fortunately
the action is to omit the text in the body, so the generated
documentation is correct.
Nick Coghlan [Mon, 29 Jul 2013 07:51:16 +0000 (17:51 +1000)]
Third attempt to fix #15415 on Windows
With help from jkloth on IRC, so it will hopefully work
this time :)
Nick Coghlan [Mon, 29 Jul 2013 05:18:09 +0000 (15:18 +1000)]
Attempt to fix #15415 on Windows
Terry Jan Reedy [Sun, 28 Jul 2013 20:39:44 +0000 (16:39 -0400)]
Update gui section of idle test README.
Terry Jan Reedy [Sun, 28 Jul 2013 20:25:16 +0000 (16:25 -0400)]
Issue #18441: Remove check from test_text.py in 3.3,4 (already done in 2.7).
Nick Coghlan [Sun, 28 Jul 2013 12:11:50 +0000 (22:11 +1000)]
Close #15415: Factor out temp dir helpers to test.support
Patch by Chris Jerdonek
Nick Coghlan [Sun, 28 Jul 2013 11:06:50 +0000 (21:06 +1000)]
Issue #15494: test.support is now a package rather than a module
Also including this change in 3.3 to help avoid spurious conflicts
between the two most active branches.
(Initial patch by Indra Talip)
Terry Jan Reedy [Sun, 28 Jul 2013 04:00:20 +0000 (00:00 -0400)]
Issue #18441: Make test.support.requires('gui') skip when it should.
Victor Stinner [Sun, 28 Jul 2013 00:56:50 +0000 (02:56 +0200)]
doc of PYTHONFAULTHANDLER env var: add missing "versionadded" tag
Benjamin Peterson [Sat, 27 Jul 2013 21:06:56 +0000 (14:06 -0700)]
add a test for issue #17669 (closes #18565)
Patch from Phil Connell.
Terry Jan Reedy [Sat, 27 Jul 2013 20:15:29 +0000 (16:15 -0400)]
Issue #18573: Complete copy-paste from assertRaises entry to assertWarns entry.
Victor Stinner [Sat, 27 Jul 2013 00:41:03 +0000 (02:41 +0200)]
Issue #15893: Remove dead code
Victor Stinner [Fri, 26 Jul 2013 23:04:56 +0000 (01:04 +0200)]
Issue #15893: frozenmain.c now handles PyMem_Malloc() failure
Christian Heimes [Fri, 26 Jul 2013 22:33:13 +0000 (00:33 +0200)]
Issue #18552: Check return value of PyArena_AddPyObject() in obj2ast_object().
Victor Stinner [Fri, 26 Jul 2013 22:03:47 +0000 (00:03 +0200)]
Parser/asdl_c.py: use Py_CLEAR()
Victor Stinner [Fri, 26 Jul 2013 22:00:36 +0000 (00:00 +0200)]
According to the PEP 7, C code must "use 4-space indents"
Replace 8 spaces with 4.
Christian Heimes [Fri, 26 Jul 2013 21:04:29 +0000 (23:04 +0200)]
Issue #18561: Skip name in ctypes' _build_callargs() if name is NULL.
CID 486199
Christian Heimes [Fri, 26 Jul 2013 20:49:26 +0000 (22:49 +0200)]
Issue #18560: Fix potential NULL pointer dereference in sum()
Christian Heimes [Fri, 26 Jul 2013 20:45:00 +0000 (22:45 +0200)]
Issue #18559: Fix NULL pointer dereference error in _pickle module
Christian Heimes [Fri, 26 Jul 2013 13:54:07 +0000 (15:54 +0200)]
Handle yet another potential failure in testcapi
CID
1058280
Christian Heimes [Fri, 26 Jul 2013 13:51:18 +0000 (15:51 +0200)]
Check return value of PyLong_FromLong(X509_get_version()). It might be NULL if
X509_get_version() grows beyond our small int cache.
CID
1058279
Christian Heimes [Fri, 26 Jul 2013 13:26:18 +0000 (15:26 +0200)]
remove surplus and wrong Py_DECREF() introduced in
33891989c9cf
Christian Heimes [Fri, 26 Jul 2013 13:06:48 +0000 (15:06 +0200)]
Fix declaration-after-statement of
d49f65ff4f3c
Christian Heimes [Fri, 26 Jul 2013 13:03:50 +0000 (15:03 +0200)]
Fix memory leaks and add checks for failing malloc() calls to testcapi module
CID
1058288
Christian Heimes [Fri, 26 Jul 2013 12:52:18 +0000 (14:52 +0200)]
Fix possible NULL pointer dereferences in testcapi module
CID
1058280
CID
1058282
CID
1058284
Christian Heimes [Fri, 26 Jul 2013 12:45:37 +0000 (14:45 +0200)]
Fix possible NULL pointer dereference in PyCurses_Start_Color()
CID
1058276
Brett Cannon [Thu, 25 Jul 2013 21:34:00 +0000 (17:34 -0400)]
Issue #18556: Check the return value for PyUnicode_AsWideChar() in
U_set() from ctypes.
CID #486657
R David Murray [Thu, 25 Jul 2013 17:24:15 +0000 (13:24 -0400)]
#15130: remove repeat of abstract paragraph from socket howto body.
Patch by Tshepang Lekhonkhobe.
R David Murray [Thu, 25 Jul 2013 16:11:55 +0000 (12:11 -0400)]
#18503: small cleanups in test_email.
Patch by Vajrasky Kok.
Christian Heimes [Thu, 25 Jul 2013 09:46:10 +0000 (11:46 +0200)]
Issue #18549: Eliminate dead code in socket_ntohl().
CID 982369