Terry Jan Reedy
eba3633f34
Merge with 3.4
2014-06-13 14:23:57 -04:00
Terry Jan Reedy
bc7c96b9ea
Issue #20043 : Add direct test for _thread.
2014-06-13 14:23:43 -04:00
Zachary Ware
a4d1e461a7
Merge with 3.4
2014-06-13 09:43:32 -05:00
Zachary Ware
ee0e5104b8
Per Martin [1], PGO is no longer used for official releases.
...
[1] https://mail.python.org/pipermail/python-dev/2014-June/135018.html
2014-06-13 09:43:15 -05:00
Zachary Ware
ff7cfb21d9
Issue #21745 : Merge with 3.4
2014-06-13 09:39:24 -05:00
Zachary Ware
4856a6ae7d
Issue #21745 : Mention VS2010 SP1 as a solution for LNK1123 errors
2014-06-13 09:38:50 -05:00
Victor Stinner
8a1ba194db
Merge 3.4 (null merge)
2014-06-13 14:58:55 +02:00
Victor Stinner
b2788fe854
Issue #16136 : VMSError is done, bye bye VMS
2014-06-13 14:58:48 +02:00
Victor Stinner
583a068189
Issue #16136 : VMSError is done, bye bye VMS
2014-06-13 14:55:47 +02:00
Antoine Pitrou
9e82b17e9d
Issue #21711 : support for "site-python" directories has now been removed from the site module (it was deprecated in 3.4).
2014-06-12 19:41:30 -04:00
Vinay Sajip
b6cf631f9c
Issue #21709 : Merged update from 3.4.
2014-06-12 23:38:16 +01:00
Vinay Sajip
194bcaf4dc
Issue #21709 : Improved implementation to cover the frozen module case.
2014-06-12 23:36:33 +01:00
Victor Stinner
e7efff5bb8
(Merge 3.4) asyncio: Tulip issue 173: Enhance repr(Handle) and repr(Task)
...
repr(Handle) is shorter for function: "foo" instead of "<function foo at
0x...>". It now also includes the source of the callback, filename and line
number where it was defined, if available.
repr(Task) now also includes the current position in the code, filename and
line number, if available. If the coroutine (generator) is done, the line
number is omitted and "done" is added.
2014-06-12 18:39:42 +02:00
Victor Stinner
307bccc6ff
asyncio: Tulip issue 173: Enhance repr(Handle) and repr(Task)
...
repr(Handle) is shorter for function: "foo" instead of "<function foo at
0x...>". It now also includes the source of the callback, filename and line
number where it was defined, if available.
repr(Task) now also includes the current position in the code, filename and
line number, if available. If the coroutine (generator) is done, the line
number is omitted and "done" is added.
2014-06-12 18:39:26 +02:00
Terry Jan Reedy
2d8d9d57b5
Merge with 3.4
2014-06-12 01:03:35 -04:00
Terry Jan Reedy
f54432e2a1
Issue #12387 : Add missing upper(lower)case versions of default Windows key
...
bindings for Idle so Caps Lock does not disable them. Patch by Roger Serwy.
2014-06-12 01:03:08 -04:00
R David Murray
130a566a13
Suppress a couple more DeprecationWarnings in the test suite.
2014-06-11 17:09:43 -04:00
Zachary Ware
dbb7aa5bd1
Closes #21713 : Merge with 3.4
2014-06-11 15:28:31 -05:00
Zachary Ware
732ac3214b
Issue #21713 : Fix typo in a comment. Found by Joseph Shen.
2014-06-11 15:27:04 -05:00
R David Murray
475a476237
Eliminate DeprecationWarning in test_concurrent_futures.
2014-06-11 16:25:05 -04:00
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