Commit Graph

76800 Commits

Author SHA1 Message Date
Serhiy Storchaka 7898043868 Issue #15989: Fix several occurrences of integer overflow
when result of PyLong_AsLong() narrowed to int without checks.
2013-01-15 01:12:17 +02:00
Serhiy Storchaka 5f1cfbb5c0 Issue #9720: zipfile now writes correct local headers for files larger than 4 GiB. 2013-01-15 00:41:43 +02:00
Serhiy Storchaka 64bfcc4c22 Issue #9720: zipfile now writes correct local headers for files larger than 4 GiB. 2013-01-15 00:38:17 +02:00
Serhiy Storchaka 182d7cd531 Issue #9720: zipfile now writes correct local headers for files larger than 4 GiB. 2013-01-15 00:31:39 +02:00
Serhiy Storchaka 1652651ae9 Null merge 2013-01-15 00:11:19 +02:00
Andrew Svetlov 1bd7f02c81 Issue #5066: Update IDLE docs
Patch by Todd Rovito
2013-01-14 19:27:36 +02:00
Giampaolo Rodola' 67da89446a fix for previous commit related to issue 10527 which didn't have the intended effect as per http://bugs.python.org/issue10527#msg179895 2013-01-14 02:24:25 +01:00
Giampaolo Rodola' 0c8ad61c95 fix for previous commit related to issue 10527 which didn't have the intended effect as per http://bugs.python.org/issue10527#msg179895 2013-01-14 02:24:05 +01:00
Richard Oudkerk 0ee84e04da Issue #16955: Fix the poll() method for multiprocessing's socket
connections on Windows.
2013-01-13 22:52:13 +00:00
Richard Oudkerk ed9e06cb21 Issue #16955: Fix the poll() method for multiprocessing's socket
connections on Windows.
2013-01-13 22:46:48 +00:00
Serhiy Storchaka 9e189f0a28 Cleanup the docs ElementTree a bit. 2013-01-13 22:24:27 +02:00
Serhiy Storchaka f1b045f417 Describe the default_namespace parameter of ElemetTree.write. 2013-01-13 22:04:43 +02:00
Serhiy Storchaka 03530b980e Describe the default_namespace parameter of ElemetTree.write. 2013-01-13 21:58:04 +02:00
Eli Bendersky e9af827fb1 Cleanup the docs ElementTree a bit and describe the default_namespace parameter. In the code, replace the old outdated Doxygen-ish comment above ElementTree.write by a proper docstring. 2013-01-13 06:27:51 -08:00
Eli Bendersky 31efc746d5 Add Ariel to Misc/ACKS 2013-01-13 06:05:34 -08:00
Eli Bendersky a9a2ef5550 Close #14377: Add a new parameter to ElementTree.write and some module-level
serialization functions - short_empty_elements. It controls how elements
without contents are emitted.

Patch by Serhiy Storchaka. Feature initially proposed by Ariel Poliak.
2013-01-13 06:04:43 -08:00
Eli Bendersky a50ff1887d Issue #16922: fixed findtext() to return empty Unicode string instead of empty bytes object when there's no text.
Patch by Serhiy Storchaka.
2013-01-13 05:26:31 -08:00
Eli Bendersky 25771b3749 Issue #16922: fixed findtext() to return empty Unicode string instead of empty bytes object when there's no text.
Patch by Serhiy Storchaka.
2013-01-13 05:26:07 -08:00
Eli Bendersky a9edb6c4d1 Merge 3.2 and revert changes since the changes in 3.3 are a bit different 2013-01-13 05:25:17 -08:00
Eli Bendersky b09b167419 Issue #16922: fixed findtext() to return empty Unicode string instead of empty bytes object when there's no text.
Patch by Serhiy Storchaka.
2013-01-13 05:22:05 -08:00
Eli Bendersky e5bdfef742 null merge 2013-01-13 05:17:52 -08:00
Eli Bendersky 253a843f15 merge heads 2013-01-13 05:17:19 -08:00
Eli Bendersky 03f0e57fea merge heads 2013-01-13 05:16:36 -08:00
Eli Bendersky 3ed84421ef Clean trailing whitespace in _elementtree.c 2013-01-13 05:15:52 -08:00
Eli Bendersky 4583990143 Clean trailing whitespace in _elementtree.c 2013-01-13 05:14:47 -08:00
Charles-François Natali b402a5c01b Fix test_posix failure on NetBSD buildbots: sched_setparam() and
sched_setscheduler() can fail with EINVAL if the process scheduling policy is
neither SCHED_FIFO nor SCHED_RR.
2013-01-13 14:13:25 +01:00
Charles-François Natali adbfcb83a2 test_asyncore: wait explicitly for a thread termination (this dangling thread
could be the cause of a random failure).
2013-01-13 14:12:35 +01:00
Charles-François Natali c78de46912 Fix test_posix failure on NetBSD buildbots: sched_setparam() and
sched_setscheduler() can fail with EINVAL if the process scheduling policy is
neither SCHED_FIFO nor SCHED_RR.
2013-01-13 14:10:37 +01:00
Charles-François Natali 1ea12ff04d test_asyncore: wait explicitly for a thread termination (this dangling thread
could be the cause of a random failure).
2013-01-13 14:08:01 +01:00
Charles-François Natali ce1519d250 test_asyncore: wait explicitly for a thread termination (this dangling thread
could be the cause of a random failure).
2013-01-13 13:56:52 +01:00
Benjamin Peterson fa3965ab76 merge 3.3 2013-01-12 21:22:33 -05:00
Benjamin Peterson 0e5c48a917 make deque_clear void, since it's infallible 2013-01-12 21:22:18 -05:00
Eli Bendersky abdcf2c579 fix versionadded to 3.4 2013-01-12 14:02:29 -08:00
Antoine Pitrou 6b4e2a9c02 In test_ssl, threaded tests shouldn't need the network resource to be enabled 2013-01-12 22:00:54 +01:00
Antoine Pitrou db5012ab47 In test_ssl, threaded tests shouldn't need the "network" resource to be enabled 2013-01-12 22:00:09 +01:00
Antoine Pitrou e9bb4733d9 Issue #16923: Fix ResourceWarnings in test_ssl. 2013-01-12 21:56:56 +01:00
Antoine Pitrou e1ceb50cdf Issue #16923: Fix ResourceWarnings in test_ssl. 2013-01-12 21:54:44 +01:00
Antoine Pitrou 1e37e9efa9 SSLContext.load_dh_params() now properly closes the input file. 2013-01-12 21:44:33 +01:00
Antoine Pitrou 457a2292ca SSLContext.load_dh_params() now properly closes the input file. 2013-01-12 21:43:45 +01:00
R David Murray 14d080eaa1 #16259: delete some no-longer-used code from regrtest.
dash_R is only called from one location, and from that location
an indirect_test is passed.
2013-01-12 11:34:38 -05:00
Serhiy Storchaka 52f80a7041 Issue #16829: IDLE printing no longer fails if there are spaces or other
special characters in the file path.
2013-01-12 18:17:24 +02:00
Serhiy Storchaka 69db587f86 Issue #16829: IDLE printing no longer fails if there are spaces or other
special characters in the file path.
2013-01-12 18:16:18 +02:00
Serhiy Storchaka 74fe9f307d Issue #16829: IDLE printing no longer fails if there are spaces or other
special characters in the file path.
2013-01-12 18:13:24 +02:00
Charles-François Natali 6c566b3ce9 Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
returns ESRCH for a zombie process, which is not POSIX-compliant.
2013-01-12 16:55:31 +01:00
Charles-François Natali dbc744ac74 Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
returns ESRCH for a zombie process, which is not POSIX-compliant.
2013-01-12 16:54:45 +01:00
Charles-François Natali 53221e371d Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
returns ESRCH for a zombie process, which is not POSIX-compliant.
2013-01-12 16:52:20 +01:00
Eli Bendersky 8f35e842eb clean trailing whitespace 2013-01-12 07:44:47 -08:00
Eli Bendersky c31f77355c clean trailing whitespace 2013-01-12 07:44:32 -08:00
Eli Bendersky 288b438795 Issues #15083 and #16992: port find.* method tests to unittest 2013-01-12 07:43:35 -08:00
Eli Bendersky ceab1a950b Issues #15083 and #16992: port find.* method tests to unittest 2013-01-12 07:42:46 -08:00