R David Murray
7bd04867e5
merge #15545 : fix sqlite3.iterdump regression on unsortable row_factory objects.
...
The fix for issue 9750 introduced a regression by sorting the row objects
returned by fetchall. But if a row_factory such as sqlite3.Row is used, the
rows may not be sortable (in Python3), which leads to an exception. The
sorting is still a nice idea, so the patch moves the sort into the sql.
Fix and test by Peter Otten.
2013-01-10 11:13:34 -05:00
R David Murray
b52312923b
#15545 : fix sqlite3.iterdump regression on unsortable row_factory objects.
...
The fix for issue 9750 introduced a regression by sorting the row objects
returned by fetchall. But if a row_factory such as sqlite3.Row is used, the
rows may not be sortable (in Python3), which leads to an exception. The
sorting is still a nice idea, so the patch moves the sort into the sql.
Fix and test by Peter Otten.
2013-01-10 11:04:09 -05:00
Eli Bendersky
15d24b7c4c
Merge 3.3
2013-01-10 06:36:07 -08:00
Eli Bendersky
8eee081d40
Update Misc/NEWS for issue #16076
2013-01-10 06:35:18 -08:00
Eli Bendersky
bb48151c8c
Issue #16913 : Fix Element.itertext()'s handling of text with XML entities.
...
Patch by Serhiy Storchaka
2013-01-10 06:31:05 -08:00
Eli Bendersky
e6174ca85e
Issue #16913 : Fix Element.itertext()'s handling of text with XML entities.
...
Patch by Serhiy Storchaka
2013-01-10 06:27:53 -08:00
Eli Bendersky
e474022192
normalize whitespace
2013-01-10 06:07:14 -08:00
Eli Bendersky
458c0d5a77
normalize whitespace
2013-01-10 06:07:00 -08:00
Eli Bendersky
065eeb1085
Issue #16076 : make _elementtree.Element pickle-able in a way that is compatible
...
with the Python version of the class.
Patch by Daniel Shahaf.
2013-01-10 06:06:01 -08:00
Eli Bendersky
698bdb2a6c
Issue #16076 : make _elementtree.Element pickle-able in a way that is compatible
...
with the Python version of the class.
Patch by Daniel Shahaf.
2013-01-10 06:01:06 -08:00
Ezio Melotti
5b1acc0dff
#16910 : merge with 3.3.
2013-01-10 07:46:29 +02:00
Ezio Melotti
0dceb560b6
#16910 : test_bytes, test_unicode, and test_userstring now work with unittest test discovery. Patch by Zachary Ware.
2013-01-10 07:43:26 +02:00
Ezio Melotti
47b988609f
#16905 : merge with 3.3.
2013-01-10 06:53:34 +02:00
Ezio Melotti
2688e81064
#16905 : test_bufio now works with unittest test discovery. Initial patch by Berker Peksag.
2013-01-10 06:52:23 +02:00
Ezio Melotti
09a8e163da
#16898 : merge with 3.3.
2013-01-10 06:12:43 +02:00
Ezio Melotti
b21af554ee
#16898 : test_bufio now works with unittest test discovery. Patch by Zachary Ware.
2013-01-10 06:11:34 +02:00
Ezio Melotti
e1b0d3e123
#16888 : merge with 3.3.
2013-01-10 06:06:31 +02:00
Ezio Melotti
1d3e96dbe2
#16888 : test_array now works with unittest test discovery. Patch by Zachary Ware.
2013-01-10 06:04:50 +02:00
Ezio Melotti
af5b688f71
#16896 : merge with 3.3.
2013-01-10 05:29:33 +02:00
Ezio Melotti
47236db1d0
#16896 : test_asyncore now works with unittest test discovery. Patch by Zachary Ware.
2013-01-10 05:28:52 +02:00
Ezio Melotti
9e97071fe0
#16897 : merge with 3.3.
2013-01-10 04:33:17 +02:00
Ezio Melotti
f472a90d31
#16897 : test_bisect now works with unittest test discovery. Initial patch by Zachary Ware.
2013-01-10 04:32:01 +02:00
Ezio Melotti
594f20cd00
Merge unittest.mock examples fixes.
2013-01-10 03:44:00 +02:00
Ezio Melotti
e212370fea
Use correct methods in unittest.mock examples.
2013-01-10 03:43:33 +02:00
Ezio Melotti
11b3a6056f
#16852 : merge with 3.3.
2013-01-10 03:29:45 +02:00
Ezio Melotti
d0dfe9ad46
#16852 : test_genericpath, test_posixpath, test_ntpath, and test_macpath now work with unittest test discovery. Patch by Zachary Ware.
2013-01-10 03:12:50 +02:00
Charles-François Natali
f424f3856d
Issue #16876 : Optimize epoll.poll() by keeping a per-instance epoll events
...
buffer instead of allocating a new one at each poll().
2013-01-09 19:00:26 +01:00
Benjamin Peterson
0b32a480bd
merge 3.3 ( #16906 )
2013-01-09 09:52:22 -06:00
Benjamin Peterson
0c270a8bb7
correct static string clearing loop ( closes #16906 )
2013-01-09 09:52:01 -06:00
Serhiy Storchaka
df558cb3b1
Issue #16491 : IDLE now prints chained exception tracebacks.
2013-01-09 12:26:54 +02:00
Serhiy Storchaka
7131749959
Issue #16491 : IDLE now prints chained exception tracebacks.
2013-01-09 12:24:48 +02:00
Serhiy Storchaka
78470b4c3a
Issue #16491 : IDLE now prints chained exception tracebacks.
2013-01-09 12:21:57 +02:00
Serhiy Storchaka
2f3be0f1d8
Issue #16843 : Make concurrent tests for sched module deterministic.
2013-01-09 00:15:14 +02:00
Serhiy Storchaka
369a7822d6
Issue #16843 : Make concurrent tests for sched module deterministic.
2013-01-09 00:13:38 +02:00
Serhiy Storchaka
24a3ef6999
Issue #11461 : Fix the incremental UTF-16 decoder. Original patch by
...
Amaury Forgeot d'Arc. Added tests for partial decoding of non-BMP
characters.
2013-01-08 23:41:55 +02:00
Serhiy Storchaka
ae3b32ad6b
Issue #11461 : Fix the incremental UTF-16 decoder. Original patch by
...
Amaury Forgeot d'Arc. Added tests for partial decoding of non-BMP
characters.
2013-01-08 23:40:52 +02:00
Serhiy Storchaka
dbfc80851a
Null merge
2013-01-08 23:19:42 +02:00
Serhiy Storchaka
040c3c81c1
Null merge
2013-01-08 23:18:42 +02:00
Serhiy Storchaka
48e188e573
Issue #11461 : Fix the incremental UTF-16 decoder. Original patch by
...
Amaury Forgeot d'Arc. Added tests for partial decoding of non-BMP
characters.
2013-01-08 23:14:24 +02:00
Serhiy Storchaka
dec798eb46
Fix out of bound read in UTF-32 decoder on "narrow Unicode" builds.
2013-01-08 22:45:42 +02:00
Charles-François Natali
cd18e78897
Issue #16836 : Enable IPv6 support even if IPv6 is disabled on the build host.
2013-01-08 20:03:07 +01:00
Charles-François Natali
1aa004b45d
Issue #16836 : Enable IPv6 support even if IPv6 is disabled on the build host.
2013-01-08 19:51:56 +01:00
Charles-François Natali
f6fd794fac
Issue #16836 : Enable IPv6 support even if IPv6 is disabled on the build host.
2013-01-08 19:49:42 +01:00
Vinay Sajip
f43c4d66be
Issue #16884 : Merged doc fix from 3.3.
2013-01-08 11:27:18 +00:00
Vinay Sajip
9a546530bb
Issue #16884 : Merged doc fix from 3.2.
2013-01-08 11:26:30 +00:00
Vinay Sajip
21b30827bc
Issue #16884 : Updated docs to use 'note' directives in a couple of places missed earlier.
2013-01-08 11:25:42 +00:00
Serhiy Storchaka
1a03ac832d
Issue #15845 : Fix comparison between bytes and string.
...
Patch by Alessandro Moura.
2013-01-08 11:38:45 +02:00
Serhiy Storchaka
f6fb3a3206
Issue #15845 : Fix comparison between bytes and string.
2013-01-08 11:36:54 +02:00
Serhiy Storchaka
4ab23bfbeb
Issue #15845 : Fix comparison between bytes and string.
2013-01-08 11:32:58 +02:00
Chris Jerdonek
15738427f6
Issue #16854 : Fix regrtest.usage() regression introduced in 6e2e5adc0400.
...
This fixes a regression introduced in the commit for issue #15302 , which
switched regrtest from getopt to argparse.
2013-01-07 17:07:32 -08:00