R David Murray
1351ee704b
#14758 : Fix the fix (fix getaddrinfo in mock_socket)
...
I forgot to run all the affected tests when I fixed smtpd.
2014-06-11 16:10:10 -04:00
Zachary Ware
ba9fb0d83f
Fix doc build warning
2014-06-11 15:02:25 -05:00
R David Murray
012a83ab26
#14758 : Need to specify the desired socket type in the getaddrinfo call.
...
This worked by accident on Linux because the SOCK_STREAM was returned
first, but on the FreeBSD the SOCK_DGRAM is first in the list.
2014-06-11 15:17:50 -04:00
R David Murray
6ffface429
#19840 : Add copy_function to shutil.move.
...
Patch by Claudiu Popa.
2014-06-11 14:40:13 -04:00
R David Murray
6fe56a329d
#14758 : add IPv6 support to smtpd.
...
Patch by Milan Oberkirch.
2014-06-11 13:48:58 -04:00
R David Murray
1144da5821
#19662 : Eliminate warnings in other test modules that use smtpd.
...
Eventually these will want to convert to decode_data=False, I think.
2014-06-11 12:27:40 -04:00
R David Murray
554bcbf1b9
#19662 : add decode_data to smtpd so you can get at DATA in bytes form.
...
Otherwise smtpd is restricted to 7bit clean data, since even if the
incoming data is actually utf-8, it will often break things to decode
it before parsing the message.
Patch by Maciej Szulik, with some adjustments (mostly the warning
support).
2014-06-11 11:18:08 -04:00
Senthil Kumaran
38ee9afb34
merge from 3.4
2014-06-11 06:19:47 -07:00
Senthil Kumaran
e9738239ba
#21693 - Fix the broken link for pylons project.
2014-06-11 06:19:21 -07:00
Larry Hastings
d9d7567eac
Issue #21629 : Merge from 3.4.
2014-06-11 04:36:09 -07:00
Larry Hastings
f150378ef0
Issue #21629 : Fix Argument Clinic's "--converters" feature.
2014-06-11 04:31:29 -07:00
Vinay Sajip
99537627fd
Closes #21709 : Merged fix from 3.4.
2014-06-11 08:04:16 +01:00
Vinay Sajip
80f2262dcf
Issue #21709 : Remove references to __file__ when part of a frozen application.
2014-06-11 08:01:32 +01:00
Serhiy Storchaka
ec87a13e5d
PyErr_NormalizeException doesn't like being called with an exception set
...
(issues #21677 , #21310 ).
2014-06-11 07:19:39 +03:00
Serhiy Storchaka
76d3f14e01
PyErr_NormalizeException doesn't like being called with an exception set
...
(issues #21677 , #21310 ).
2014-06-11 07:18:53 +03:00
Giampaolo Rodola'
915d14190e
fix issue #17552 : add socket.sendfile() method allowing to send a file over a socket by using high-performance os.sendfile() on UNIX. Patch by Giampaolo Rodola'·
2014-06-11 03:54:30 +02:00
Serhiy Storchaka
b398d33c65
Issue #18039 : dbm.dump.open() now always creates a new database when the
...
flag has the value 'n'. Patch by Claudiu Popa.
2014-06-10 21:16:00 +03:00
Zachary Ware
4c4cde7829
Issue #21688 : Merge with 3.4
2014-06-10 12:08:20 -05:00
Zachary Ware
5989511183
Issue #21688 : Give informative error message when hhc.exe cannot be found.
...
Initial patch by Olive Kilburn.
2014-06-10 12:07:45 -05:00
Victor Stinner
791e5531c9
(Merge 3.4) Issue #21596 : asyncio.wait(): mention that the sequence of futures
...
must not be empty.
2014-06-10 11:16:18 +02:00
Victor Stinner
db74d982d4
Issue #21596 : asyncio.wait(): mention that the sequence of futures must not
...
be empty.
2014-06-10 11:16:05 +02:00
Victor Stinner
f10642e8a9
Merge 3.4
2014-06-10 10:26:38 +02:00
Victor Stinner
bb2fc5b2a5
Issue #21326 : Add a new is_closed() method to asyncio.BaseEventLoop
...
Add BaseEventLoop._closed attribute and use it to check if the event loop was
closed or not, instead of checking different attributes in each subclass of
BaseEventLoop.
run_forever() and run_until_complete() methods now raise a RuntimeError('Event loop is
closed') exception if the event loop was closed.
BaseProactorEventLoop.close() now also cancels "accept futures".
2014-06-10 10:23:10 +02:00
Victor Stinner
601f86207b
(Merge 3.4) Issue #21700 : Fix asyncio doc, add DatagramProtocol
2014-06-10 09:21:07 +02:00
Victor Stinner
15386652bf
Issue #21700 : Fix asyncio doc, add DatagramProtocol
2014-06-10 09:19:26 +02:00
Terry Jan Reedy
eb5ba067c9
Merge with 3.4
2014-06-10 02:49:54 -04:00
Terry Jan Reedy
4762382d63
Issue #21695 : Catch AttributeError created when user closes grep output window
...
while still being written to. With no console, this closed Idle.
Also add missing import and a few other changes.
2014-06-10 02:49:35 -04:00
R David Murray
fa66e01f19
Merge: #20903 : clarify what happens when an smtp connection timeout occurs.
2014-06-09 16:41:27 -04:00
R David Murray
6ceca4e3d8
#20903 : clarify what happens when an smtp connection timeout occurs.
...
Patch by Milan Oberkirch.
2014-06-09 16:41:06 -04:00
Serhiy Storchaka
3a56117a60
Issue #21310 : Fixed possible resource leak in failed open().
2014-06-09 13:35:43 +03:00
Serhiy Storchaka
f10063e3c3
Issue #21310 : Fixed possible resource leak in failed open().
2014-06-09 13:32:34 +03:00
Kushal Das
047f14c3c6
Closes #21256 : Printout of keyword args in deterministic order in mock calls.
...
Printout of keyword args should be in deterministic order in
a mock function call. This will help to write better doctests.
2014-06-09 13:45:56 +05:30
Serhiy Storchaka
85e4235c0e
Issue #21677 : Fixed chaining nonnormalized exceptions in io close() methods.
2014-06-09 09:15:42 +03:00
Serhiy Storchaka
8a8f7f9830
Issue #21677 : Fixed chaining nonnormalized exceptions in io close() methods.
2014-06-09 09:13:04 +03:00
Nick Coghlan
9f488512a8
Issue #21569 : merge from 3.4
2014-06-09 13:30:33 +10:00
Nick Coghlan
b1f59cecc9
Issue #21569 : Fix incorrect cross reference
2014-06-09 13:14:54 +10:00
Victor Stinner
350985da89
Issue #21515 : Fix typo in a comment, thanks Arfrever for the report
2014-06-09 00:05:47 +02:00
Zachary Ware
8c6f189964
Merge with 3.4
2014-06-08 14:43:08 -05:00
Zachary Ware
9789185e36
Issue #21683 : Add Tix build to the Windows buildbot scripts.
2014-06-08 14:28:13 -05:00
Terry Jan Reedy
564562faab
Merge with 3.4 whitespace
2014-06-08 14:57:42 -04:00
Terry Jan Reedy
c6a66ccb06
whitespace
2014-06-08 14:57:24 -04:00
Terry Jan Reedy
eaeb0d060c
Merge with 3.4
2014-06-08 14:49:30 -04:00
Terry Jan Reedy
6d4f8f0fea
Merge heads.
2014-06-08 14:49:07 -04:00
Terry Jan Reedy
ba229d9597
Issue #21682 : Replace EditorWindow with mock to eliminate memory leaks.
...
Patch by Saimadhav Heblikar. (2 head merge)
2014-06-08 14:47:26 -04:00
Benjamin Peterson
4fb01ffe66
backout 0fb7789b5eeb for test breakage ( #20578 )
2014-06-07 23:18:12 -07:00
Benjamin Peterson
eac219436c
merge 3.4 ( #11709 )
2014-06-07 20:17:29 -07:00
Benjamin Peterson
159824ea2a
make sure the builtin help function doesn't fail when sys.stdin is not a valid file ( closes #11709 )
...
Original patch by Amaury Forgeot d'Arc with a test by bdettmer.
2014-06-07 20:14:26 -07:00
Benjamin Peterson
10e847bbc7
add BufferedIOBase.readinto1 ( closes #20578 )
...
Patch by Nikolaus Rath.
2014-06-07 20:06:48 -07:00
Benjamin Peterson
66f80e92c3
merge 3.4 ( #12063 )
2014-06-07 17:55:53 -07:00
Benjamin Peterson
96e0430dfb
document TokenError and unclosed expression behavior ( closes #12063 )
...
Patch by Amandine Lee.
2014-06-07 17:47:41 -07:00