Commit Graph

91125 Commits

Author SHA1 Message Date
Martin Panter fa9ea04673 Issue #25590: Merge rlcompleter change from 3.4 into 3.5 2015-11-13 23:10:39 +00:00
Martin Panter 06622ead80 Issue #25590: Make rlcompleter only call getattr() once per attribute
Previously it was called another time via hasattr(), and both calls were
made once for dir(f) and again for dir(f.__class__).  This includes a
backport of changing from a list to a set from revision 4dbb315fe667.
2015-11-13 22:47:00 +00:00
Martin Panter 75559affad Issue #25498: Update error message for 3.5 2015-11-13 22:12:58 +00:00
Martin Panter 0da4ac1f21 Issue #25498: Merge ctypes crash fix from 3.4 into 3.5 2015-11-13 22:12:12 +00:00
Martin Panter 1bb651540e Issue #25498: Fix GC crash due to ctypes objects wrapping a memoryview
This was a regression caused by revision 1da9630e9b7f.  Based on patch by
Eryksun.
2015-11-13 21:43:39 +00:00
Yury Selivanov c73771afd8 Merge 3.4 2015-11-13 12:29:03 -05:00
Yury Selivanov abe9625eeb asyncio: Fix sporadic failing unittests in debug mode 2015-11-13 12:28:48 -05:00
Serhiy Storchaka 19a70e7f5d Issue #25462: The hash of the key now is calculated only once in most
operations in C implementation of OrderedDict.
2015-11-13 14:48:36 +02:00
Victor Stinner 33be3e3d5b Merge 3.4 (issue #25605) 2015-11-13 09:14:05 +01:00
Victor Stinner 9cccfcecc8 Issue #25605: Document exceptions raised by fcntl.ioctl() and fcntl.flock() 2015-11-13 09:13:48 +01:00
Terry Jan Reedy 30c328f611 Merge with 3.4 2015-11-12 15:24:50 -05:00
Terry Jan Reedy 5496ba2ddb Indent 2015-11-12 15:24:33 -05:00
Terry Jan Reedy 8f1a98058f Merge with 3.4 2015-11-12 15:06:20 -05:00
Terry Jan Reedy c15a7c615e Whitespace 2015-11-12 15:06:07 -05:00
Terry Jan Reedy e19f3ec072 Merge with 3.4 2015-11-12 15:03:17 -05:00
Terry Jan Reedy d0c0f0041c Issue #25313: Change the handling of new built-in text color themes to better
address the compatibility problem introduced by the addition of IDLE Dark.
Consistently use the revised idleConf.CurrentTheme everywhere in idlelib.
2015-11-12 15:02:57 -05:00
Serhiy Storchaka 2f85555531 Issue #25607: Restore old distutils logging threshold after running tests that
parse command line arguments.
2015-11-12 19:47:14 +02:00
Serhiy Storchaka 84023247b4 Issue #25607: Restore old distutils logging threshold after running tests that
parse command line arguments.
2015-11-12 19:46:23 +02:00
Serhiy Storchaka ef2462ea3f Restore old distutils logging threshold after running test_log. 2015-11-12 13:15:56 +02:00
Serhiy Storchaka fda7fe0148 Restore old distutils logging threshold after running test_log. 2015-11-12 13:15:41 +02:00
Serhiy Storchaka 609a2e17ad Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now
rejects builtin types with not defined __new__.
Added tests for non-pickleable types.
2015-11-12 11:31:51 +02:00
Serhiy Storchaka d7a4415599 Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now
rejects builtin types with not defined __new__.
Added tests for non-pickleable types.
2015-11-12 11:23:04 +02:00
Benjamin Peterson 45bde5d2ee merge 3.4 (#25530) 2015-11-11 22:45:22 -08:00
Benjamin Peterson a9dcdabccb always set OP_NO_SSLv3 by default (closes #25530) 2015-11-11 22:38:41 -08:00
Benjamin Peterson 86429bd174 merge 3.5 (#25569) 2015-11-11 22:14:08 -08:00
Benjamin Peterson eda06c8f5e fix memory leak in _get_crl_dp (closes #25569)
Patch started by Stéphane Wirtel.
2015-11-11 22:07:38 -08:00
Zachary Ware a99ab63d06 Merge with 3.4 2015-11-11 23:33:50 -06:00
Zachary Ware 71a0b43854 Rewrite re.VERBOSE section.
It now has slightly better rationale and a less awkward wording in the
explanation.

Inspired by a report of a neither/or conflict by 'animalize' on docs@.
2015-11-11 23:32:14 -06:00
Zachary Ware c730931fa1 Issue #25603: Add missing parenthesis. 2015-11-11 22:59:44 -06:00
Zachary Ware ccbc8dedec Fix awkward grammar in whatsnew.
Reported on docs@ by Keith Briggs.
2015-11-11 22:53:47 -06:00
Serhiy Storchaka 35abe19c24 Issue #25595: Fixed test_deleted_cwd in test_importlib on AIX. 2015-11-11 08:26:59 +02:00
Serhiy Storchaka c6ce13d910 Issue #6598: Avoid clock wrapping around in test_make_msgid_collisions.
Use time.monotonic instead of time.clock.
2015-11-10 19:51:56 +02:00
Serhiy Storchaka e1dc3d47e0 Issue #6598: Avoid clock wrapping around in test_make_msgid_collisions.
Use time.monotonic or time.time instead of time.clock.
2015-11-10 19:50:14 +02:00
Stefan Krah 7c3f3859a5 Fix Visual Studio warning. 2015-11-10 18:35:19 +01:00
Stefan Krah 0ce5b6e268 Iaaue #25598: Fix memory_hex from #9951 for non-contiguous buffers. 2015-11-10 18:17:22 +01:00
Serhiy Storchaka e46e09d0f5 Issue #25263: Fixed the tkinter.test.test_tkinter.test_font.FontTest test
failure when the test is ran the second time.

The root attribute was set in parent class in setUpClass and then
overridded in child class in tearDownClass.
2015-11-10 15:31:38 +02:00
Serhiy Storchaka 40fe35a95e Issue #25263: Fixed the tkinter.test.test_tkinter.test_font.FontTest test
failure when the test is ran the second time.

The root attribute was set in parent class in setUpClass and then
overridded in child class in tearDownClass.
2015-11-10 15:30:35 +02:00
Victor Stinner c379ade1bb pytime.c: rename pygettimeofday_new() to pygettimeofday()
I forgot to rename it in my previous refactoring of pytime.c.
2015-11-10 12:11:39 +01:00
Raymond Hettinger d2f6974240 Improve appearance of example code 2015-11-10 00:09:34 -08:00
Raymond Hettinger 549e34cc7b Remove confusing section from named tuple recipes. 2015-11-10 00:00:00 -08:00
Serhiy Storchaka 4f1c1879cb Added missed periods at the ends of sentences in Misc/NEWS. 2015-11-10 00:31:10 +02:00
Serhiy Storchaka fed16ec7c2 Added missed periods at the ends of sentences in Misc/NEWS. 2015-11-10 00:20:43 +02:00
Serhiy Storchaka acdb0207cd Fixed markup in Misc/NEWS. 2015-11-09 23:43:56 +02:00
Serhiy Storchaka faf7060fa0 Fixed markup in Misc/NEWS. 2015-11-09 23:41:39 +02:00
Serhiy Storchaka 04b5700b36 Issue #25584: Added "escape" to the __all__ list in the glob module.
From patch by Xavier de Gaye.
2015-11-09 23:18:19 +02:00
Serhiy Storchaka 735b790fed Issue #25584: Fixed recursive glob() with patterns starting with '**'. 2015-11-09 23:12:07 +02:00
Serhiy Storchaka b63902a748 Issue #25582: Fixed 100 MB memory leak in test_ctypes. 2015-11-09 22:31:10 +02:00
Steve Dower ba270147e4 Issue #24306: Sets component ID for launcher to match 3.5 and later to avoid downgrading. 2015-11-07 10:07:04 -08:00
Serhiy Storchaka 411dfd871c Issue #22643: Skip test_case_operation_overflow on computers with low memory. 2015-11-07 16:54:48 +02:00
Serhiy Storchaka 608c213530 Issue #892902: Added new tests for pickling recursive collections. 2015-11-07 11:16:10 +02:00