Victor Stinner
8c1a4a2326
Issue #23046 : Expose the BaseEventLoop class in the asyncio namespace
2015-01-06 01:03:58 +01:00
Benjamin Peterson
63b55580fb
emphasize that cffi is better than extension modules for portability
2015-01-05 14:38:46 -06:00
Ned Deily
1418320850
Issue #22165 : Skip test_undecodable_filename on OS X prior to 10.5.
...
10.4 systems do not allow creation of files with such filenames.
2015-01-05 01:02:30 -08:00
Berker Peksag
d91082c777
Issue #18644 : Fix a ResourceWarning in formatter.test().
...
Patch by Vajrasky Kok.
2015-01-05 09:19:40 +02:00
Benjamin Peterson
b461000a3f
the current marshal version is 4 ( closes #23167 )
...
Patch by Dmitry Kazakov.
2015-01-04 16:29:48 -06:00
Benjamin Peterson
10ecaa2416
merge 3.3 ( closes #23165 )
2015-01-04 16:05:39 -06:00
Benjamin Peterson
72c2a0f60a
merge 3.2 ( closes #23165 )
2015-01-04 16:03:59 -06:00
Benjamin Peterson
f18bf6fd2d
add some overflow checks before multiplying ( closes #23165 )
2015-01-04 16:03:17 -06:00
Gregory P. Smith
5719ef17ba
fix issue23157 - time_hashlib hadn't been ported to Python 3.
2015-01-04 00:36:04 -08:00
Donald Stufft
b8f35ff57b
Upgrade the bundled pip to 6.0.6 and the bundled setuptools to 11.0
2015-01-03 05:20:23 -05:00
Ned Deily
4592497f9d
Add missing URL link to Modernize docs.
2015-01-03 00:45:55 -08:00
Ned Deily
4705235022
Update copyright dates in OS X installer.
2014-12-31 16:30:26 -08:00
Benjamin Peterson
a453749a78
merge 3.3
2014-12-31 18:11:22 -06:00
Benjamin Peterson
7919acb920
merge 3.2
2014-12-31 18:10:13 -06:00
Benjamin Peterson
47e782a67a
update for copyright for 2015
2014-12-31 18:09:36 -06:00
Benjamin Peterson
bab69bf655
update docs for #23111
2014-12-30 15:17:03 -06:00
Benjamin Peterson
36fe7926f8
make PROTOCOL_SSLv23 the default protocol version for ftplib ( closes #23111 )
2014-12-30 15:15:43 -06:00
Benjamin Peterson
3cd1af51f6
merge 3.3 ( #23130 )
2014-12-30 10:09:17 -06:00
Benjamin Peterson
9582b33933
merge 3.2 ( #23130 )
2014-12-30 10:08:52 -06:00
Benjamin Peterson
44e4b98ff0
delete old ftpmirror script, which now has security bugs ( closes #23130 )
2014-12-30 10:08:16 -06:00
Benjamin Peterson
5feeebaa84
use a proper m-dash
2014-12-28 22:14:15 -06:00
Berker Peksag
a1a1409e42
Issue #23125 : Update nose project page link.
...
Reported by Damien Marié.
2014-12-28 18:48:33 +02:00
Victor Stinner
956de691f8
Issue #22926 : In debug mode, call_soon(), call_at() and call_later() methods of
...
asyncio.BaseEventLoop now use the identifier of the current thread to ensure
that they are called from the thread running the event loop.
Before, the get_event_loop() method was used to check the thread, and no
exception was raised when the thread had no event loop. Now the methods always
raise an exception in debug mode when called from the wrong thread. It should
help to notice misusage of the API.
2014-12-26 21:07:52 +01:00
Victor Stinner
d7ff5a5375
asyncio: sync with Tulip
...
* Fix pyflakes warnings: remove unused imports and variables
* asyncio.test_support now uses test.support and test.script_helper if available
2014-12-26 21:16:42 +01:00
Victor Stinner
fe02e39029
Issue #22585 : On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(),
...
instead of reading /dev/urandom, to get pseudo-random bytes.
2014-12-21 01:16:38 +01:00
Benjamin Peterson
94cb7a2429
fix behavior of trailing slash redirection when a query string is involved ( closes #23112 )
2014-12-26 10:53:43 -06:00
R David Murray
8c4e112afc
#23040 : Clarify treatment of encoding and errors when component is bytes.
...
Patch by Wojtek Ruszczewski.
2014-12-24 21:23:18 -05:00
Benjamin Peterson
a54f07504f
update correct French examples ( #23109 )
2014-12-24 16:07:02 -06:00
Benjamin Peterson
643eb4464a
improve incorrect French ( #23109 )
...
Following suggestions from Clément.
2014-12-24 13:58:05 -06:00
Benjamin Peterson
b33bb89b1a
doucment that Py_SetPath copies its argument ( closes #23110 )
2014-12-24 10:49:11 -06:00
Donald Stufft
c8d94ba8f4
Upgrade pip to 6.0.2 and setuptools to 8.2.1
2014-12-23 09:18:38 -05:00
Victor Stinner
952ec98abb
asyncio doc: update also Queue docstrings
2014-12-22 22:09:50 +01:00
Victor Stinner
4f9b773a64
asyncio doc: Fix doc of get and put methods of Queue
2014-12-22 22:07:06 +01:00
Benjamin Peterson
10e76b67c9
allow more operations to work on detached streams ( closes #23093 )
...
Patch by Martin Panter.
2014-12-21 20:51:50 -06:00
Serhiy Storchaka
fe3dc376fa
Issue #19104 : pprint now produces evaluable output for wrapped strings.
2014-12-20 20:57:15 +02:00
Serhiy Storchaka
f65d1d3b02
Issue #23071 : "namereplace_errors" was added only in 3.5.
2014-12-20 18:53:01 +02:00
Serhiy Storchaka
de3ee5b94f
Issue #23071 : Added missing names to codecs.__all__. Patch by Martin Panter.
2014-12-20 17:42:38 +02:00
Barry Warsaw
a62b96b86c
Fix typo.
2014-12-19 11:21:35 -05:00
Barry Warsaw
904c481099
Fix typo.
2014-12-19 11:20:00 -05:00
Victor Stinner
4d825b45a0
asyncio: IocpProactor.wait_for_handle() test now also checks the result of the
...
future
2014-12-19 17:10:44 +01:00
Victor Stinner
1b9763d0a9
asyncio: sync with Tulip
...
* Fix a race condition in BaseSubprocessTransport._try_finish().
If the process exited before the _post_init() method was called, scheduling
the call to _call_connection_lost() with call_soon() is wrong:
connection_made() must be called before connection_lost().
Reuse the BaseSubprocessTransport._call() method to schedule the call to
_call_connection_lost() to ensure that connection_made() and
connection_lost() are called in the correct order.
* Add repr(PipeHandle)
* Fix typo
2014-12-18 23:47:27 +01:00
Victor Stinner
dc7765d12c
asyncio: sync with Tulip
2014-12-18 12:29:53 +01:00
Victor Stinner
3a1c738e6c
Issue #23074 : asyncio.get_event_loop() now raises an exception if the thread
...
has no event loop even if assertions are disabled.
2014-12-18 01:20:10 +01:00
Berker Peksag
2338156fa4
Issue #23070 : Fix a comment in the tutorial.
...
"Python" has 6 characters, not 7.
Reported by Ross Burnett.
2014-12-17 14:56:47 +02:00
Raymond Hettinger
558dcf38e6
Issue #23049 : Pure python equivalent shouldn't imply more exactitude than is really there.
2014-12-16 18:16:57 -08:00
Serhiy Storchaka
5bbd231f27
Issue #15513 : Added a __sizeof__ implementation for pickle classes.
2014-12-16 19:39:08 +02:00
Serhiy Storchaka
05dadcfb28
Issue #19858 : pickletools.optimize() now aware of the MEMOIZE opcode, can
...
produce more compact result and no longer produces invalid output if input
data contains MEMOIZE opcodes together with PUT or BINPUT opcodes.
2014-12-16 18:00:56 +02:00
Terry Jan Reedy
df9386940a
Issue #20577 : move configuration of FormatParagraph extension to new extension
...
configuration dialog. Patch by Tal Einat.
2014-12-16 03:21:26 -05:00
Victor Stinner
4d5115c7b5
asyncio doc: call_soon() does not call immediatly the callback. Patch written
...
by Martin Panter.
2014-12-15 17:50:55 +01:00
Benjamin Peterson
4c11c92578
remove extra ssl imports ( closes #23053 )
...
Patch from Jan Matejek.
2014-12-15 10:04:13 -05:00