Georg Brandl
95517e4aee
merge with 3.4
2014-10-28 22:45:36 +01:00
Georg Brandl
2b07b0e868
Closes #22249 : use IPPROTO_TCP constant instead of SOL_TCP constant for getaddrinfo() proto param
2014-10-28 22:45:27 +01:00
Georg Brandl
96d836833e
merge with 3.4
2014-10-28 22:40:53 +01:00
Georg Brandl
c943e79384
Remove duplicate bullet point.
2014-10-28 22:40:48 +01:00
Georg Brandl
0235709b8c
merge with 3.4
2014-10-28 21:41:58 +01:00
Georg Brandl
bb2d669292
Closes #22736 : move seealso to the bottom of the section about RE syntax.
2014-10-28 21:41:51 +01:00
Georg Brandl
a3e80deac1
merge with 3.4
2014-10-28 21:38:54 +01:00
Georg Brandl
89c558da00
Closes #22748 : there are no PyString C functions in 3.x.
2014-10-28 21:38:49 +01:00
Georg Brandl
3fab2085b7
merge with 3.4
2014-10-28 21:35:42 +01:00
Georg Brandl
01546a88b8
Closes #22749 : remove outdated advice to use clock() for accurate timing.
2014-10-28 21:35:35 +01:00
Antoine Pitrou
be8d06f523
Issue #18216 : gettext now raises an error when a .mo file has an unsupported major version number. Patch by Aaron Hill.
2014-10-28 20:17:51 +01:00
Georg Brandl
b7374d0271
merge with 3.4
2014-10-28 17:15:26 +01:00
Georg Brandl
75f7490843
PYTHONY2K is long gone. Remove traces from the docs and manpage.
2014-10-28 17:15:10 +01:00
Ezio Melotti
788f2adeae
#22196 : link to Enum in the nametuple documentation. Patch by Karmen Dykstra.
2014-10-28 15:07:14 +01:00
Ezio Melotti
993c782565
#22196 : link to Enum in the nametuple documentation. Patch by Karmen Dykstra.
2014-10-28 15:07:14 +01:00
Ezio Melotti
a7d19fe93b
#22237 : merge with 3.4.
2014-10-28 12:58:47 +01:00
Ezio Melotti
9b1e92f5a1
#22237 : document that sorted() is guaranteed to be stable. Initial patch by Martin Panter.
2014-10-28 12:57:11 +01:00
Nick Coghlan
b0effcc8ac
Merge issue #22711 from 3.4
2014-10-26 00:02:50 +10:00
Nick Coghlan
3894ae20ea
Issue #22711 : improve links in new distribution docs
...
- key term hyperlinks for distutils, setuptools & wheel
- distutils landing page links directly to setuptools docs
- short summary of setuptools benefits provided with link
2014-10-26 00:00:04 +10:00
Berker Peksag
8625dde150
Issue #22723 : Make link styling more accessible.
...
Patch by Buck Golemon.
2014-10-25 05:21:17 +03:00
Berker Peksag
6d1c149a46
Issue #22723 : Make link styling more accessible.
...
Patch by Buck Golemon.
2014-10-25 05:20:49 +03:00
Antoine Pitrou
821b5a1ed1
Fix markup and spacing.
2014-10-23 23:03:35 +02:00
Antoine Pitrou
b64bca9852
Issue #13918 : Provide a locale.delocalize() function which can remove
...
locale-specific number formatting from a string representing a number,
without then converting it to a specific type. Patch by Cédric Krier.
2014-10-23 22:52:31 +02:00
Victor Stinner
7744cf7d5e
Merge 3.4 (asyncio doc)
2014-10-23 22:39:11 +02:00
Victor Stinner
2cef300187
asyncio doc: fix typo in an example
2014-10-23 22:38:46 +02:00
Victor Stinner
7cf710af3b
Merge 3.4 (open doc)
2014-10-22 09:57:30 +02:00
Victor Stinner
c803bd84b5
Issue #22695 : Fix syntax of open() doc
2014-10-22 09:55:44 +02:00
Antoine Pitrou
35cd53a940
Issue #22660 : update various mentions in the ssl module documentation.
2014-10-21 00:16:00 +02:00
Antoine Pitrou
4b4ddb2190
Issue #22660 : update various mentions in the ssl module documentation.
2014-10-21 00:14:39 +02:00
Jesus Cea
b6cdc1c01b
MERGE: Docs: 'os.pwrite()' needs bytes, not strings
2014-10-20 16:19:33 +02:00
Jesus Cea
67503c5f1c
Docs: 'os.pwrite()' needs bytes, not strings
2014-10-20 16:18:24 +02:00
Robert Collins
f920c2122b
Close #19746 : expose unittest discovery errors on TestLoader.errors
...
This makes it possible to examine the errors from unittest discovery
without executing the test suite - important when the test suite may
be very large, or when enumerating the test ids from a test suite.
2014-10-20 13:24:05 +13:00
Benjamin Peterson
8c06ac5e58
merge 3.4
2014-10-19 10:48:06 -04:00
Benjamin Peterson
0fc08fd2c7
merge 3.3
2014-10-19 10:47:58 -04:00
Benjamin Peterson
9fc59c9fc2
make plural s lowercase
2014-10-19 10:47:49 -04:00
Ethan Furman
58b2ddf392
Issue7186: document that __doc__ is not inherited by subclasses
2014-10-17 22:25:47 -07:00
Ethan Furman
f87f515057
Issue7186: document that __doc__ is not inherited by subclasses
2014-10-17 22:25:22 -07:00
Robert Collins
933430ab69
Issue #17401 : document closefd in io.FileIO docs and add to repr
...
closefd was documented in the open docs but not the matching FileIO
class documented. Further, closefd, part of the core state for the
object was not shown.
In review it was noted that the open docs are a little confusing about
the interaction between closefd and paths, so tweaked them at the same
time.
2014-10-18 13:32:43 +13:00
Benjamin Peterson
20521cd039
merge 3.4
2014-10-15 13:40:46 -04:00
Victor Stinner
7f314ed71b
asyncio doc: write simpler examples to introduce asyncio
2014-10-15 18:49:16 +02:00
Berker Peksag
6554b86b1f
Issue #21338 : Add silent mode for compileall.
...
quiet parameters of compile_{dir, file, path} functions now have
a multilevel value.
Also, -q option of the CLI now have a multilevel value.
Patch by Thomas Kluyver.
2014-10-15 11:10:57 +03:00
Ethan Furman
41d31967c6
Issue20386: SocketType is again socket.socket; the IntEnum SOCK constants are SocketKind
2014-10-14 18:57:58 -07:00
Ethan Furman
7184bac544
Issue20386: SocketType is again socket.socket; the IntEnum SOCK constants are SocketKind
2014-10-14 18:56:53 -07:00
Charles-François Natali
98c745a773
Issue #18643 : Add socket.socketpair() on Windows.
2014-10-14 21:22:44 +01:00
Victor Stinner
395c73436e
Merge 3.4 (asyncio doc)
2014-10-14 00:53:13 +02:00
Victor Stinner
39892055cd
asyncio doc: rewrite subprocess doc
...
* add a new example using transport and protocol
* rewrite the example using streams to make it much simpler (remove error
handling, use a simpler Python code)
* copy (and adapt) more documentation from the subprocess module:
- add a note about Process.wait() deadlock
- add a note about shell injection
- etc.
* sort Process methods and attributes in the same order than subprocess.Popen
methods and attributes, so the documentation looks closer
* list differences between Process and subprocess.Popen APIs
2014-10-14 00:52:07 +02:00
Victor Stinner
3c95062f52
asyncio doc: protocol_factory of subprocess_exec() and subprocess_shell() must
...
instanciate a subclass of SubprocessProtocol
2014-10-14 00:02:10 +02:00
Victor Stinner
4270a24dd9
asyncio doc: document BaseSubprocessTransport.close() method
...
Modify also the get_pipe_transport() doc to mention explicitly the supported
file descriptors.
2014-10-13 23:56:43 +02:00
Alex Gaynor
e6f8c5025a
Use https:// URLs for the bug tracker in the :issue: role.
...
Thanks to Ezio for noticing this
2014-10-13 12:58:03 -07:00
Alex Gaynor
e285cdd997
Use https:// URLs for the bug tracker in the :issue: role.
...
Thanks to Ezio for noticing this
2014-10-13 12:58:03 -07:00
Alex Gaynor
53dfcd86e9
issue22626: Use https:// for a link to the bug tracker
2014-10-13 12:55:21 -07:00
Alex Gaynor
88f64ce06c
issue22626: Use https:// for a link to the bug tracker
2014-10-13 12:55:21 -07:00
Benjamin Peterson
e6798bb551
merge 3.4
2014-10-13 11:55:11 -04:00
Benjamin Peterson
157da6fdd2
merge 3.3
2014-10-13 11:55:02 -04:00
Benjamin Peterson
77a75b3db1
note xmlrpclib doesn't verify certs (yet)
2014-10-13 11:54:50 -04:00
Victor Stinner
3efa148aa3
Merge 3.4 (asyncio doc)
2014-10-13 00:56:02 +02:00
Victor Stinner
ed8e3a987e
asyncio: add missing @coroutine decorator
2014-10-13 00:55:50 +02:00
Victor Stinner
6682efa246
Merge 3.4 (asyncio doc)
2014-10-13 00:10:02 +02:00
Victor Stinner
ab1c853079
asyncio doc: update debug traces
2014-10-12 21:37:16 +02:00
Victor Stinner
980dd84f92
asyncio doc: more explicit doc for async()
...
The function schedules the execution of coroutines, it's not just a wrapper for
something.
2014-10-12 21:36:17 +02:00
Victor Stinner
33f6abe4ae
asyncio doc: reformat create_server() doc
...
Fix also the reate_unix_connection() doc: the method is not support on Windows,
not need to mention that ssl is not support with ProactorEventLoop.
2014-10-12 20:36:04 +02:00
Victor Stinner
ed051594d7
asyncio doc: add TCP echo client/server using streams
2014-10-12 20:18:16 +02:00
R David Murray
5382c2590c
Merge: #17325 : Improve distutils PyPI documentation.
2014-10-12 13:14:50 -04:00
R David Murray
2ac7a89843
#17325 : Improve distutils PyPI documentation.
...
Patch by Chris Jerdonek.
2014-10-12 13:14:12 -04:00
Georg Brandl
7728fe8e87
merge with 3.4
2014-10-12 16:13:38 +02:00
Georg Brandl
62b08136d7
Closes #22586 : clarify meaning of allow_fragments in urlparse.
2014-10-12 16:13:32 +02:00
Victor Stinner
e0c988ac7f
Merge 3.4 (asyncio doc)
2014-10-12 11:35:22 +02:00
Victor Stinner
5366434336
asyncio doc: enhance TCP client example
2014-10-12 11:35:09 +02:00
Victor Stinner
cfbea3a02e
asyncio doc: clarify how servers create protocol instances
2014-10-12 11:30:17 +02:00
Victor Stinner
65dc79b7a5
Merge 3.4 (asyncio doc)
2014-10-12 11:25:10 +02:00
Victor Stinner
c7edffdddd
asyncio doc: add UDP client and server examples
2014-10-12 11:24:26 +02:00
Victor Stinner
c2721b41d3
asyncio doc: use server.wait_closed() in TCP echo server example
2014-10-12 11:13:40 +02:00
Berker Peksag
8a01b71f35
Issue #22613 : Fix reprlib.Repr subclass example on Python 3.
...
Reported by Jacques Ducasse.
2014-10-12 05:11:40 +03:00
Berker Peksag
edd6ec2dd3
Issue #22613 : Fix reprlib.Repr subclass example on Python 3.
...
Reported by Jacques Ducasse.
2014-10-12 05:11:16 +03:00
Nick Coghlan
870903e986
Merge issue #21061 fix from 3.4
2014-10-12 10:25:33 +10:00
Nick Coghlan
36d8ef9cc7
Issue #21061 : correctly note redirect_stdout is reentrant
2014-10-12 10:25:00 +10:00
Victor Stinner
1867e3ef9e
Merge 3.4 (asyncio doc)
2014-10-11 16:30:21 +02:00
Victor Stinner
ccd8e34508
asyncio doc: socket.socketpair() is not available on Windows yet
2014-10-11 16:30:02 +02:00
Victor Stinner
a75e887259
Merge with 3.4 (asyncio doc)
2014-10-11 16:17:21 +02:00
Victor Stinner
04e6df330d
asyncio doc: add examples showing the 3 ways to wait for data from an open
...
socket
2014-10-11 16:16:27 +02:00
Victor Stinner
6888b96cee
asyncio doc: cleanup Hello World examples
2014-10-11 16:15:58 +02:00
Victor Stinner
5121a9ba4a
asyncio doc: the "Get HTTP headers" example now supports HTTPS
2014-10-11 15:52:14 +02:00
Georg Brandl
35aa10be6c
merge with 3.4
2014-10-11 15:04:20 +02:00
Georg Brandl
dbf8344404
Closes #18959 : move optparse and imp to new "superseded modules" chapter
2014-10-11 14:47:11 +02:00
Georg Brandl
e8ea355b72
Closes #21687 : delimiter in Py_SetPath is platform dependent
2014-10-11 14:36:02 +02:00
Georg Brandl
c5dd095a9b
Closes #21675 : fix ordering of description in library intro
2014-10-11 14:32:34 +02:00
Zachary Ware
fc260a9a97
Closes #15414 : Merge with 3.4
2014-10-10 16:05:54 -05:00
Zachary Ware
a13dab47cb
Issue #15414 : Clean and correct the os.path.join docs.
...
In particular, correctly describe the behavior of ntpath.join.
Based on a patch by Dave Sawyer.
2014-10-10 16:03:14 -05:00
Terry Jan Reedy
082c6cb183
Merge with 3.4
2014-10-10 16:00:39 -04:00
Terry Jan Reedy
f9bd920cfa
Issue 22603: add missing 'self'. Patch by Francisco Fernández Castaño.
2014-10-10 16:00:18 -04:00
Victor Stinner
2debf15593
Issue #22564 : cleanup SSLObject doc
2014-10-10 13:04:08 +02:00
Victor Stinner
29611452b7
Issue #22564 : ssl doc, add more links to the non-blocking section
2014-10-10 12:52:43 +02:00
Victor Stinner
805b262d38
Issue #22564 : ssl doc: reorganize and reindent documentation of SSLObject and
...
MemoryBIO; move documentation of SSLContext.wrap_bio()
2014-10-10 12:49:08 +02:00
Victor Stinner
9558e90315
Merge 3.4
2014-10-10 12:47:01 +02:00
Victor Stinner
cfb2a0a855
Issue #22564 : ssl doc: mention asyncio in the non-blocking section
2014-10-10 12:45:10 +02:00
Victor Stinner
92127a5edb
Merge 3.4
2014-10-10 12:43:17 +02:00
Victor Stinner
d28fe8c8f4
Issue #22564 : ssl doc: mention how SSLSocket are usually created
2014-10-10 12:07:19 +02:00
Victor Stinner
3c3d3c73f3
Issue #22564 : ssl doc: use "class" marker to document the SSLSocket class
2014-10-10 12:06:51 +02:00
Victor Stinner
41f92c2818
Issue #22564 : ssl doc: document read(), write(), pending, server_side and
...
server_hostname methods and attributes of SSLSocket.
2014-10-10 12:05:56 +02:00
Victor Stinner
851a6cc071
Issue #22564 : ssl doc: fix typos
2014-10-10 12:04:15 +02:00
Serhiy Storchaka
7438e4b56f
Issue 1519638: Now unmatched groups are replaced with empty strings in re.sub()
...
and re.subn().
2014-10-10 11:06:31 +03:00
R David Murray
2623a5db6f
Merge: #18176 : Change generic UCD PropList link to version specific link.
2014-10-09 20:47:31 -04:00
R David Murray
5f16f90d1b
#18176 : Change generic UCD PropList link to version specific link.
2014-10-09 20:45:59 -04:00
R David Murray
532783bd5e
Merge: #18176 : fix another reference and add it to the makeunicodedata comment.
2014-10-09 17:41:55 -04:00
R David Murray
5bd62420f4
#18176 : fix another reference and add it to the makeunicodedata comment.
2014-10-09 17:39:48 -04:00
R David Murray
5ac125cde3
Merge: #18176 : updated stdtypes UCD link, added reminder to makeunicodedata.
2014-10-09 17:33:15 -04:00
R David Murray
7445a383a6
#18176 : updated stdtypes UCD link, added reminder to makeunicodedata.
...
Patch by Alexander Belopolsky.
2014-10-09 17:30:33 -04:00
R David Murray
4487dd0ed5
#18615 : Make sndhdr return namedtuples.
...
Patch by Claudiu Popa.
2014-10-09 16:59:30 -04:00
Victor Stinner
8786ea36d0
(Merge 3.4) Closes #22580 : Fix documentation of PyUnicode_Tailmatch()
...
The result type is Py_ssize_t (and not int).
2014-10-09 11:11:49 +02:00
Victor Stinner
13d3aa502d
Closes #22580 : Fix documentation of PyUnicode_Tailmatch()
...
The result type is Py_ssize_t (and not int).
2014-10-09 11:11:25 +02:00
Berker Peksag
882c95c7dc
whatsnew: Fix markup.
2014-10-09 11:46:56 +03:00
Berker Peksag
fa0423b271
whatsnew: Add PEP 478.
2014-10-09 11:38:19 +03:00
Berker Peksag
f88c070825
Issue #22576 : Fix signatures of FTP.storbinary() and FTP.storlines() methods.
...
The correct parameter name is "fp", not "file".
2014-10-08 13:15:36 +03:00
Berker Peksag
b2fdafe3d2
Issue #22576 : Fix signatures of FTP.storbinary() and FTP.storlines() methods.
...
The correct parameter name is "fp", not "file".
2014-10-08 13:15:04 +03:00
Larry Hastings
c78319d9b8
Mostly-null-merge from 3.4 branch following 3.4.2 release.
2014-10-08 02:56:18 -07:00
Larry Hastings
2ce95d7b7c
Merge from 3.4.2 release head back into 3.4 mainline.
2014-10-08 02:50:50 -07:00
Benjamin Peterson
b91ed56b9b
merge 3.4
2014-10-06 21:11:25 -04:00
Benjamin Peterson
57fb11b255
use source role instead of linking to svn
2014-10-06 21:10:25 -04:00
Georg Brandl
2756e7e281
merge with 3.4
2014-10-06 17:51:53 +02:00
Georg Brandl
9205e9ebdc
Closes #16155 : fix a few errors in doctest output of the FAQ pages.
2014-10-06 17:51:09 +02:00
Georg Brandl
1f6afef2ea
merge with 3.4
2014-10-06 16:57:02 +02:00
Georg Brandl
7fa4a8f15a
Closes #12148 : clarify "or's together option flags" in doctest docs.
2014-10-06 16:56:43 +02:00
Georg Brandl
033ec051f8
merge with 3.4
2014-10-06 16:48:38 +02:00
Georg Brandl
4dd27a3edb
Closes #21782 : the default hash(x) is not exactly id(x) but derived from it.
2014-10-06 16:45:23 +02:00
Georg Brandl
4f8fed28f0
merge with 3.4
2014-10-06 16:19:20 +02:00
Georg Brandl
a94ad1e508
Closes #10031 : overhaul the "imports" section of the programming FAQ.
...
Remove the advice to never use relative imports; it is a leftover from 2.x implicit relative imports.
Remove the advice to locally import modules in __init__, it is a strange practice.
Remove the advice to use "from ... import *" with some modules.
2014-10-06 16:02:09 +02:00
Georg Brandl
92b47a4d0f
merge with 3.4
2014-10-06 14:38:58 +02:00
Georg Brandl
f6d6dc2e36
Clean up the docs of PyObject_IsSubclass and PyObject_IsInstance, and mention that they call the PEP 3119 methods.
2014-10-06 14:38:53 +02:00
Georg Brandl
4ae7839e19
merge with 3.4
2014-10-06 14:15:13 +02:00
Georg Brandl
a920b6d762
Closes #22507 : document that PyType_IsSubtype does not call __subclasscheck__.
2014-10-06 14:15:06 +02:00
Georg Brandl
c53bc48068
merge with 3.4
2014-10-06 13:54:43 +02:00
Georg Brandl
eb7e8f607e
Document builtin classes as such, not functions.
2014-10-06 13:54:36 +02:00
Georg Brandl
b65ff1d4f3
merge with 3.4
2014-10-06 12:58:36 +02:00
Georg Brandl
97435166aa
Closes #22565 : fix argument types of PyErr_WarnEx.
2014-10-06 12:58:00 +02:00
Terry Jan Reedy
9dedc638ec
Merge with 3.4
2014-10-06 02:04:48 -04:00
Terry Jan Reedy
c6ad57608b
Issue #22546 : update doc for mini-language float None presentation type.
2014-10-06 02:04:33 -04:00
Larry Hastings
c6256e5f7d
Update pydoc topics and fix supsicious markup for 3.4.2 final.
2014-10-05 19:03:48 -07:00
Benjamin Peterson
1fe8ada4e5
merge 3.4 ( #18494 )
2014-10-05 21:20:51 -04:00
Benjamin Peterson
1c262a6c75
PyObject not PyType ( closes #18494 )
2014-10-05 21:20:36 -04:00
Antoine Pitrou
b1fdf47ff5
Issue #21965 : Add support for in-memory SSL to the ssl module.
...
Patch by Geert Jansen.
2014-10-05 20:41:53 +02:00
R David Murray
861470c836
#16518 : Bring error messages in harmony with docs ("bytes-like object")
...
Some time ago we changed the docs to consistently use the term 'bytes-like
object' in all the contexts where bytes, bytearray, memoryview, etc are used.
This patch (by Ezio Melotti) completes that work by changing the error
messages that previously reported that certain types did "not support the
buffer interface" to instead say that a bytes-like object is required. (The
glossary entry for bytes-like object references the discussion of the buffer
protocol in the docs.)
2014-10-05 11:47:01 -04:00
Georg Brandl
31e34fe7a3
merge with 3.4
2014-10-05 16:38:25 +02:00
Georg Brandl
340c749a3a
Closes #19477 : remove outdated documentation of tp_print type object slot.
2014-10-05 16:38:02 +02:00
R David Murray
7790f840b7
Merge: #14201 : Update ctypes docs to match behavior changed from 214b28d7a999.
2014-10-04 18:25:29 -04:00
R David Murray
9db487b31f
#14201 : Update ctypes docs to match behavior changed from 214b28d7a999.
...
Original patch by Erik Johansson, slightly updated by Meador Inge.
2014-10-04 18:25:07 -04:00
Antoine Pitrou
4aae276eca
Issue #11271 : concurrent.futures.Executor.map() now takes a *chunksize*
...
argument to allow batching of tasks in child processes and improve
performance of ProcessPoolExecutor. Patch by Dan O'Reilly.
2014-10-04 20:20:10 +02:00
Nick Coghlan
2e6a907993
Merge packaging doc updates from 3.4
2014-10-04 21:16:08 +10:00
Nick Coghlan
5c4fbd5fdf
Realign packaging docs with PyPUG changes
2014-10-04 21:11:25 +10:00
R David Murray
84bf989cc2
Merge: #14056 : Small improvements to the tarfile documentation.
2014-10-03 20:19:09 -04:00
R David Murray
bf92bceaaa
#14056 : Small improvements to the tarfile documentation.
...
Patch by Éric Araujo with help from Lars Gustäbel.
2014-10-03 20:18:48 -04:00
R David Murray
df75fee9a3
#22508 : Drop email __version__ string. It no longer means anything.
...
A debian code search (by Tshepang Lekhonkhobe) turned up only one package
checking email.__version__...and it was the 2.7-only mailman package. Since
Barry approves this change, it seems safe enough to make it...
2014-10-03 13:02:47 -04:00
Zachary Ware
4d2aba3ab3
Merge with 3.4
2014-10-03 10:56:22 -05:00
Zachary Ware
7280561b5b
Fix a few typo/grammar issues in the multiprocessing docs.
...
Reported by Scott Hinton on docs@.
2014-10-03 10:55:12 -05:00
Georg Brandl
3f1ef9efd5
Closes #18729 : minor markup improvement.
2014-10-02 12:37:50 +02:00
Georg Brandl
b83f56f915
merge with 3.4
2014-10-02 08:39:01 +02:00
Georg Brandl
c0a8f8ce84
closes #22528 : add source links to symtable and compileall
2014-10-02 08:38:39 +02:00
Georg Brandl
60db5137bc
merge with 3.4
2014-10-02 08:27:11 +02:00
Georg Brandl
ea7ec2b481
Remove unused and now removed config value.
2014-10-02 08:27:05 +02:00
Terry Jan Reedy
55f763426b
Merge with 3.4
2014-10-02 00:17:08 -04:00
Terry Jan Reedy
6e978d2754
Issue #21971 : Index and update turtledemo doc.
2014-10-02 00:16:31 -04:00
Terry Jan Reedy
cf4d6997a3
Merge with 3.4
2014-10-01 15:39:05 -04:00
Terry Jan Reedy
1895f2b544
Issue 22492: Be explicit that print does not support binary mode files.
...
Original patch by Georg Brandl.
2014-10-01 15:37:42 -04:00
Georg Brandl
f7b2aa514e
merge with 3.4
2014-10-01 19:42:09 +02:00
Georg Brandl
0428e6cc89
Remove old overridden version of a Sphinx CSS file.
...
All Python-specific styling is now in the theme anyway.
2014-10-01 19:41:31 +02:00
Georg Brandl
42c189efe4
merge with 3.4
2014-10-01 19:28:33 +02:00
Georg Brandl
fd3a15a0cc
Make pydoctheme compatible with Sphinx 1.3 HTML output changes.
2014-10-01 19:28:23 +02:00
Georg Brandl
ea68398355
Closes #20218 : Added convenience methods read_text/write_text and read_bytes/
...
write_bytes to pathlib.Path objects.
Thanks to Christopher Welborn and Ram Rachum for original patches.
2014-10-01 19:12:33 +02:00
Ned Deily
14366f3a8e
Fix overlooked conf.py setting in flattening of Doc directory.
2014-09-30 18:41:37 -07:00
R David Murray
bbf4ae51e4
Merge #21739 : mention subtle difference between loops and listcomps in tutorial.
2014-09-30 21:26:24 -04:00
R David Murray
6bd68608ff
#21739 : mention subtle difference between loops and listcomps in tutorial.
...
We don't want to go into a full explanation of scopes at this point in the
tutorial, so we just mention that the loop creates or overwrites a persistent
variable while the listcomp doesn't. Not mentioning this would lead someone
to incorrectly assume loops and listcomps were *completely* equivalent, which
would confuse them later.
Original patch by Rose Ames, tweaked to remove the word 'scope'.
2014-09-30 21:25:38 -04:00
Terry Jan Reedy
cd09571894
Merge with 3.4
2014-09-30 19:08:02 -04:00
Terry Jan Reedy
b6271f2d2b
Issue 22465: grammar, number agreement.
2014-09-30 19:07:49 -04:00
Georg Brandl
61bd1dcf9b
Move Doc/tools/sphinxext content to Doc/tools, there is no need for the nested subdirectory anymore.
2014-09-30 22:56:38 +02:00
Georg Brandl
97e9ec688c
Move Doc/tools/sphinxext content to Doc/tools, there is no need for the nested subdirectory anymore.
2014-09-30 22:51:30 +02:00
Georg Brandl
c8da4287a7
merge with 3.4
2014-09-30 22:24:08 +02:00
Georg Brandl
2b1a0a30c9
Dont define an empty SPHINXOPTS, which overrides a definition from the environment.
2014-09-30 22:23:57 +02:00
Georg Brandl
7552eb89b9
merge with 3.4
2014-09-30 22:17:48 +02:00
Georg Brandl
bae334cda9
Prepare sphinx extensions for 1.3.
2014-09-30 22:17:41 +02:00
Benjamin Peterson
8de5b40fc2
merge 3.4 ( #22528 )
2014-09-30 16:02:26 -04:00
Benjamin Peterson
45d929dc64
add link to pdb source ( closes #22528 )
2014-09-30 16:02:06 -04:00
Antoine Pitrou
550ff723a0
Reorganize C API docs of the exception API
2014-09-30 21:56:10 +02:00
Antoine Pitrou
0676a406bf
Issue #18711 : Add a new `PyErr_FormatV` function, similar to `PyErr_Format` but accepting a `va_list` argument.
2014-09-30 21:16:27 +02:00
Serhiy Storchaka
9baa5b2de2
Issue #22437 : Number of capturing groups in regular expression is no longer
...
limited by 100.
2014-09-29 22:49:23 +03:00
R David Murray
c31e6227f9
#17442 : Add chained traceback support to InteractiveInterpreter.
...
Patch by Claudiu Popa.
2014-09-29 11:25:00 -04:00
R David Murray
d034ece5b3
Merge: #20135 : FAQ entry for list mutation. (See also 90b07d422bd9.)
...
I accidentally merged this in 90b07d422bd9; this merge addresses the
last review comments on the patch.
2014-09-29 10:19:20 -04:00
R David Murray
12dc0d96e0
#20135 : FAQ entry for list mutation. (See also 6375bf34fff6.)
...
I accidentally committed this in 6375bf34fff6; this changeset addresses the
last review comments on the patch.
This is a perennial question and something someone opens a ticket for probably
every other month or so, so I'm surprised we didn't already have a FAQ entry
for it.
The original patch was written by M. Votz, refined first by Ezio Melotti and
further refined by me.
2014-09-29 10:17:28 -04:00
R David Murray
c081262be6
#10510 : Fix bug in forward port of 2.7 distutils patch.
...
Pointed out by Arfrever.
2014-09-28 11:01:42 -04:00
R David Murray
623ae29469
#10510 : Fix bug in forward port of 2.7 distutils patch.
...
Pointed out by Arfrever.
2014-09-28 11:01:11 -04:00
Berker Peksag
131caba074
Revert #22251
2014-09-28 00:01:55 +03:00
Berker Peksag
9c1dba2758
Revert #22251
2014-09-28 00:00:58 +03:00
Berker Peksag
f7fee33104
Issue #22251 : Fix ReST markup to avoid errors building docs.
2014-09-27 23:22:35 +03:00
Berker Peksag
3749404ba5
Issue #22251 : Fix ReST markup to avoid errors building docs.
2014-09-27 23:21:35 +03:00
R David Murray
6f1e400d97
Merge: #18854 : make it explicit that is_multipart does not mean 'multipart/xxx'.
2014-09-27 15:38:15 -04:00
R David Murray
9cc5fd7b59
#18854 : make it explicit that is_multipart does not mean 'multipart/xxx'.
...
Original patch (and the idea of using _structure) by Abhilash Raj.
2014-09-27 15:37:40 -04:00
R David Murray
10177be421
Merge: #20974 : Update version table in email intro.
2014-09-27 15:00:10 -04:00
R David Murray
1f3a88fe55
#20974 : Update version table in email intro.
...
Note that the email version string in 3.3 and 3.4 is inaccurate, since it
still exists but wasn't updated while the code was.
2014-09-27 14:59:36 -04:00
Berker Peksag
fe21e4d4d7
Issue #16324 : _charset parameter of MIMEText now also accepts email.charset.Charset instances.
...
Initial patch by Claude Paroz.
2014-09-27 00:57:29 +03:00
Berker Peksag
4f6355f861
Issue #17462 : Add a paragraph about advantages of argparse over optparse.
...
Patch by Anastasia Filatova.
2014-09-26 15:35:02 +03:00
Berker Peksag
6c1f0ad665
Issue #17462 : Add a paragraph about advantages of argparse over optparse.
...
Patch by Anastasia Filatova.
2014-09-26 15:34:26 +03:00
Benjamin Peterson
64b2a94f10
merge 3.4 ( #22484 )
2014-09-24 20:22:49 -04:00
Benjamin Peterson
efd713b82b
allow archives for rc releases to be built ( closes #22484 )
2014-09-24 20:22:24 -04:00
R David Murray
49e2bcbb4b
Merge: Improve English phrasing in asyncio task docs.
2014-09-24 11:09:42 -04:00
R David Murray
22dd8334cd
Improve English phrasing in asyncio task docs.
2014-09-24 11:09:09 -04:00
Benjamin Peterson
21df71ae8e
merge 3.4 ( #22459 )
2014-09-22 22:44:21 -04:00
Benjamin Peterson
eb83ffe1b3
fix error in split() examples ( closes #22459 )
...
Patch by Raúl Cumplido.
2014-09-22 22:43:50 -04:00
Ned Deily
b682fd3dbb
Issue #21431 : merge from 3.4
2014-09-22 14:44:22 -07:00
Georg Brandl
90d76ca765
Closes #21431 : make docs depend on Sphinx 1.2 and fix pydoc-topics builder to
...
return Unicode strings on Python 3.
2014-09-22 21:18:24 +02:00
Jesus Cea
e6c27c9f6b
MERGE: Typo: headeronly -> headersonly
2014-09-22 00:44:17 +02:00
Jesus Cea
ca2e02cfe6
Typo: headeronly -> headersonly
2014-09-22 00:43:39 +02:00
Antoine Pitrou
6e311aa748
Issue #21332 : Ensure that ``bufsize=1`` in subprocess.Popen() selects line buffering, rather than block buffering.
2014-09-21 21:15:42 +02:00
Antoine Pitrou
afe8d0646c
Issue #21332 : Ensure that ``bufsize=1`` in subprocess.Popen() selects line buffering, rather than block buffering.
2014-09-21 21:10:56 +02:00
Georg Brandl
9e7fbde67f
merge with 3.4
2014-09-21 00:38:13 +02:00
Georg Brandl
3f40c40dea
Doc: remove invalid uses of ":option:" which will emit warnings in Sphinx 1.3.
2014-09-21 00:35:08 +02:00
R David Murray
7c4093ca95
Merge: #21091 : make is_attachment a method.
2014-09-20 18:16:39 -04:00
R David Murray
8a97896a76
#21091 : make is_attachment a method.
...
Since EmailMessage is a provisional API we can fix API bugs in a
maintenance release, but I used a trick suggested by Serhiy to
maintain backward compatibility with 3.4.0/1.
2014-09-20 18:05:28 -04:00
Benjamin Peterson
004c00b7f4
merge 3.4
2014-09-19 17:30:21 -04:00
Benjamin Peterson
cbfaa7b9d3
standardize pep 466 relnote style
2014-09-19 17:27:03 -04:00
Benjamin Peterson
49d77fd58a
remove extra letter
2014-09-19 17:29:08 -04:00
Benjamin Peterson
ce30237493
whatsnew for pep 466 ssl backport
2014-09-19 17:23:21 -04:00
Senthil Kumaran
8b7e161ac3
backport context argument of urlopen ( #22366 ) for pep 476
2014-09-19 15:23:30 +08:00
Senthil Kumaran
a5c85b3f5f
Issue #22366 : urllib.request.urlopen will accept a context object (SSLContext)
...
as an argument which will then used be for HTTPS connection.
Patch by Alex Gaynor.
2014-09-19 15:23:30 +08:00
Vinay Sajip
c58c7d487b
Closes #22436 : Merged documentation update from 3.4.
2014-09-18 18:02:29 +01:00
Vinay Sajip
2f1cd8a7fc
Issue #22436 : Improved documentation for getEffectiveLevel() and getLevelName().
2014-09-18 18:01:12 +01:00
Senthil Kumaran
2f2920a17f
merge from 3.4
...
Issue #16827 : Make Interpreter introduction section of the tutorial more
focussed and move advanced section and customization information to a separate
file called appendix.
Patch credits: Jamayla Wiley, Ya-Ting Huang and James Brewer.
2014-09-18 21:37:26 +08:00
Senthil Kumaran
15e4833662
Issue #16827 : Make Interpreter introduction section of the tutorial more
...
focussed and move advanced section and customization information to a separate
file called appendix.
Patch credits: Jamayla Wiley, Ya-Ting Huang and James Brewer.
2014-09-18 21:30:28 +08:00
Berker Peksag
de88b88bd8
Issue #14824 : Update Repr.repr_TYPE documentation to use correct name mangling implementation.
...
Patch by Chris Rebert.
2014-09-18 06:05:37 +03:00
Berker Peksag
2d510e3bab
Issue #14824 : Update Repr.repr_TYPE documentation to use correct name mangling implementation.
...
Patch by Chris Rebert.
2014-09-18 06:05:14 +03:00
Berker Peksag
60efd79dc5
Issue #21706 : Add a versionchanged directive to the functional API docs.
2014-09-18 05:23:14 +03:00
Ethan Furman
d9925a18ec
Close issue21706: add 'start' parameter to functional API
2014-09-16 20:35:55 -07:00
Ethan Furman
52351c7037
Issue21738: clarify usage of __new__ in Enum subclasses
2014-09-16 19:14:00 -07:00
Ethan Furman
f75805edb8
Issue21738: clarify usage of __new__ in Enum subclasses
2014-09-16 19:13:31 -07:00
Łukasz Langa
dfdd2f7ef8
Closes #18159 : ConfigParser getters not available on SectionProxy
2014-09-15 02:08:41 -07:00
Łukasz Langa
34cea14f74
Fix full-stop whitespace in configparser docs
2014-09-14 23:37:03 -07:00
Vinay Sajip
02a8f9e9ac
Closes #20537 : logging methods now accept an exception instance as well as a Boolean value or exception tuple. Thanks to Yury Selivanov for the patch.
2014-09-14 21:29:11 +01:00
Benjamin Peterson
50ff85812f
merge 3.4
2014-09-13 01:45:50 -04:00
Benjamin Peterson
7c8b89e156
make hg link secure
2014-09-13 01:44:34 -04:00
Brett Cannon
f1a8df0ac9
Issue #16104 : Allow compileall to do parallel bytecode compilation.
...
Both compileall.compile_dir() and the CLI for compileall now allow for
specifying how many workers to use (or 0 to use all CPUs).
Thanks to Claudiu Popa for the patch.
2014-09-12 10:39:48 -04:00
Vinay Sajip
a56411e5d4
Closes #22386 : merged fix from 3.4.
2014-09-11 23:08:48 +01:00
Vinay Sajip
d1d4fbff63
Issue #22386 : fixed regression.
2014-09-11 23:06:09 +01:00
Serhiy Storchaka
c2edcdd194
Issue #13968 : The glob module now supports recursive search in
...
subdirectories using the "**" pattern.
2014-09-11 12:17:37 +03:00
Benjamin Peterson
eeca5f82fd
merge 3.4 ( #22380 )
2014-09-10 17:13:36 -04:00
Benjamin Peterson
6d46dff5b5
y2k compliance, lol ( closes #22380 )
2014-09-10 17:13:06 -04:00
Serhiy Storchaka
dd6507eb86
Issue #22369 : Change "context manager protocol" to "context management protocol".
2014-09-10 23:45:42 +03:00
Serhiy Storchaka
148679982f
Issue #22369 : Change "context manager protocol" to "context management protocol".
2014-09-10 23:43:41 +03:00
Serhiy Storchaka
38684c3663
imaplib.IMAP4 now supports the context manager protocol.
...
Original patch by Tarek Ziadé.
2014-09-09 19:07:49 +03:00
Barry Warsaw
d78742a260
- Issue #16662 : load_tests() is now unconditionally run when it is present in
...
a package's __init__.py. TestLoader.loadTestsFromModule() still accepts
use_load_tests, but it is deprecated and ignored. A new keyword-only
attribute `pattern` is added and documented. Patch given by Robert Collins,
tweaked by Barry Warsaw.
2014-09-08 14:21:37 -04:00
Nick Coghlan
4a4b679515
Merge issue #22295 fix from 3.4
2014-09-06 20:40:00 +10:00
Nick Coghlan
1d52096d14
Issue #22295 : Adopt 'python -m pip' as the preferred invocation
2014-09-06 20:38:23 +10:00
Nick Coghlan
af117ed3d7
Issue #22346 : also include asyncio PEP 411 notice in 3.4
2014-09-06 19:43:06 +10:00
Guido van Rossum
779d453fc9
Add PEP-411-compliant note about asyncio being provisional. Fixes issue #22346 .
2014-09-05 19:28:40 -07:00