Raymond Hettinger
22f2da3ccc
merge
2014-05-19 07:34:08 +01:00
Raymond Hettinger
ae4bab71e3
Don't grow strings by concatenation. Use ''.join() instead.
2014-05-18 21:02:25 +01:00
Antoine Pitrou
f48ff0dd6c
Issue #21430 : additions to the description of non-blocking SSL sockets
2014-05-18 00:56:53 +02:00
Antoine Pitrou
75e03388d8
Issue #21430 : additions to the description of non-blocking SSL sockets
2014-05-18 00:55:13 +02:00
Brian Quinlan
20efceb757
Issue #21362 : concurrent.futures does not validate that max_workers is proper
2014-05-17 13:51:10 -07:00
Antoine Pitrou
0dfce56cd1
Mention ipaddress improvements.
2014-05-15 22:55:40 +02:00
Antoine Pitrou
b9d9ce73d7
Better organization of the what's new
2014-05-15 22:47:33 +02:00
Antoine Pitrou
d87fcf438b
Issue #21364 : remove recommendation of broken pattern.
2014-05-15 22:39:41 +02:00
Antoine Pitrou
2d1ec06484
Issue #21364 : remove recommendation of broken pattern.
2014-05-15 22:38:56 +02:00
Victor Stinner
ef5b4e3dc3
Issue #21488 : Fix doc of codecs.decode() and codecs.encode(), no keyword support.
...
Patch written by Brad Aylsworth.
2014-05-14 17:08:45 +02:00
R David Murray
37f524f001
Merge: #21347 : use string not list in shell=True example.
2014-05-14 10:10:14 -04:00
R David Murray
ae9d193dc4
#21347 : use string not list in shell=True example.
...
Patch by Akira.
2014-05-14 10:09:52 -04:00
Antoine Pitrou
43e3d9409d
Issue #19775 : Add a samefile() method to pathlib Path objects.
...
Initial patch by Vajrasky Kok.
2014-05-13 10:50:15 +02:00
Jason R. Coombs
61f61dc679
Merge doc change from 3.3
2014-05-12 22:41:49 -04:00
Jason R. Coombs
73308d6869
Merge doc change from 3.3
2014-05-12 22:41:15 -04:00
Jason R. Coombs
13266fb5c8
Update docs to reflect resurrection of Setuptools over Distribute
2014-05-12 22:40:49 -04:00
Eric Snow
b7f1be309e
Merge from 3.4 (for #21226 ).
2014-05-12 18:25:00 -06:00
Eric Snow
08197a4616
Issue #21226 : Set all attrs in PyImport_ExecCodeModuleObject.
2014-05-12 17:54:55 -06:00
Victor Stinner
933da8efb7
(Merge 3.4) Issue #21485 : remove unnecesary .flush() calls in the asyncio
...
subprocess code example
2014-05-12 23:25:25 +02:00
Victor Stinner
b0539b27d9
Issue #21485 : remove unnecesary .flush() calls in the asyncio subprocess code
...
example
2014-05-12 23:25:09 +02:00
Antoine Pitrou
5fb195f854
Issue #16531 : ipaddress.IPv4Network and ipaddress.IPv6Network now accept an (address, netmask) tuple argument, so as to easily construct network objects from existing addresses.
2014-05-12 20:36:46 +02:00
Gregory P. Smith
3a17e21755
merge from 3.4 - clean up the subprocess docs warning-soup and
...
s/Unix/POSIX/.
2014-05-11 13:29:36 -07:00
Gregory P. Smith
8e0aa051e6
Change all references to Unix to POSIX in the subprocess docs. It's
...
more accurate and sounds less like a strange tale of yore.
2014-05-11 13:28:35 -07:00
Gregory P. Smith
6436cba9db
Remove the warning-soup from the subprocess documentation by adding
...
a Security Considerations section as preferred by both the devguide
and documentation users who do not wish to go insane.
2014-05-11 13:26:21 -07:00
Benjamin Peterson
384a3ea5c5
merge 3.4
2014-05-11 11:19:17 -07:00
Benjamin Peterson
5c8ce188ee
remove confusing delete indexing ( closes #21466 )
2014-05-11 11:18:51 -07:00
Raymond Hettinger
c89a451ae1
By popular demand, add back a security warning.
2014-05-11 02:26:23 -07:00
Raymond Hettinger
a7894f7f4c
Remove the redundant and poorly worded warning message.
...
The paragraph above already says, clearly and correctly, that
"However, being completely deterministic, it is not suitable for
all purposes, and is completely unsuitable for cryptographic purposes."
Also we should make any promises about SystemRandom or os.urandom()
being cryptographically secure (they may be, but be can't validate
that promise). Further, those are actual random number generators
not psuedo-random number generators.
2014-05-10 14:05:28 -07:00
Brett Cannon
6eaac13c92
Issue #21156 : importlib.abc.InspectLoader.source_to_code() is now a
...
staticmethod.
2014-05-09 12:28:22 -04:00
Brett Cannon
a237a98753
Merge for issue #21438
2014-05-09 11:56:07 -04:00
Brett Cannon
062fcac9a4
Issue #21438 : Document what loaders don't require a module name for
...
load_module().
2014-05-09 11:55:49 -04:00
Brett Cannon
f25f25796b
Merge for issue #21157
2014-05-09 10:37:55 -04:00
Brett Cannon
f26702b86e
Issue #21157 : Touch up imp docs to be more explicit about importlib
...
alternatives.
2014-05-09 10:37:31 -04:00
R David Murray
ef8f7792f3
Merge #21300 : fix typo
2014-05-08 10:06:17 -04:00
R David Murray
a83ade1d60
#21300 : fix typo
2014-05-08 10:05:47 -04:00
Tim Golden
ba74885e0c
Issue19643 Fix whitespace
2014-05-07 18:08:08 +01:00
Tim Golden
783377998a
Issue19643 Add an example of shutil.rmtree which shows how to cope with readonly files on Windows
2014-05-07 18:05:45 +01:00
R David Murray
5915505796
Merge: #21300 : Clean up the docs for the email "policy" arguments.
2014-05-06 21:33:50 -04:00
R David Murray
e25244657c
#21300 : Clean up the docs for the email "policy" arguments.
2014-05-06 21:33:18 -04:00
Zachary Ware
ed49265b91
Merge with 3.4
2014-05-06 09:19:16 -05:00
Zachary Ware
9fafc9f79a
Add prompts to interactive example.
...
This makes it match the new example below, and allows Sphinx's
"hide the prompts and output" feature to work.
2014-05-06 09:18:17 -05:00
Zachary Ware
4e6688d2b2
Issue #21366 : Document the fact that ``return`` in a ``finally`` clause
...
overrides a ``return`` in the ``try`` suite.
2014-05-06 09:07:51 -05:00
Zachary Ware
8edd532026
Issue #21366 : Document the fact that ``return`` in a ``finally`` clause
...
overrides a ``return`` in the ``try`` suite.
2014-05-06 09:07:13 -05:00
Guido van Rossum
a4790965f4
Merge 3.4->default: asyncio docs: ProactorEventLoop does not support SSL.
2014-05-05 07:35:29 -07:00
Guido van Rossum
5280d2e399
asyncio docs: ProactorEventLoop does not support SSL.
2014-05-05 07:34:56 -07:00
Victor Stinner
db067af12a
Issue #21233 : Add new C functions: PyMem_RawCalloc(), PyMem_Calloc(),
...
PyObject_Calloc(), _PyObject_GC_Calloc(). bytes(int) and bytearray(int) are now
using ``calloc()`` instead of ``malloc()`` for large objects which is faster
and use less memory (until the bytearray buffer is filled with data).
2014-05-02 22:31:14 +02:00
Stefan Krah
b151f8f60b
Issue #10650 : Remove the non-standard 'watchexp' parameter from the
...
Decimal.quantize() method in the Python version. It had never been
present in the C version.
2014-04-30 19:15:38 +02:00
Gregory P. Smith
30a6df5b64
Document the subprocess Popen.args attribute (issue21353)
2014-04-29 11:34:15 -07:00
Gregory P. Smith
d8ea56d26d
Document the subprocess Popen.args attribute (issue21353)
2014-04-29 11:33:56 -07:00
Gregory P. Smith
024c5eecbc
Document the subprocess Popen.args attribute (issue21353)
2014-04-29 11:33:23 -07:00