Antoine Pitrou
26795baaa8
Issue #15955 : Add an option to limit output size when decompressing LZMA data.
...
Patch by Nikolaus Rath and Martin Panter.
2015-01-17 16:22:18 +01:00
Georg Brandl
0443c92ee1
merge with 3.4
2015-01-15 08:16:25 +01:00
Georg Brandl
caa12dab69
Closes #23244 : fix typo. Thanks Mayank Tripathi for the patch.
2015-01-15 08:16:01 +01:00
Ethan Furman
61f50bb488
Issue22997: minor doc update; thanks to Simoen Visser
2015-01-14 22:32:29 -08:00
Ethan Furman
8a12329281
Issue22997: minor doc update; thanks to Simoen Visser
2015-01-14 22:31:50 -08:00
Ethan Furman
e62430eda4
Issue22988: clarify yield and exception blocks
2015-01-14 22:26:04 -08:00
Ethan Furman
2f825af728
Issue22988: clarify yield and exception blocks
2015-01-14 22:25:27 -08:00
Ethan Furman
9fdb0fe17b
Issue20467: clarify __init__'s role
2015-01-14 21:57:15 -08:00
Ethan Furman
845d33c526
Issue20467: clarify __init__'s role
2015-01-14 21:56:49 -08:00
Ethan Furman
119479f705
Issue20467: clarify __init__'s role
2015-01-14 21:56:10 -08:00
Georg Brandl
3be472b5f7
Closes #23181 : codepoint -> code point
2015-01-14 08:26:30 +01:00
Victor Stinner
4ec042278f
Issue #22560 , asyncio doc: ProactorEventLoop now supports SSL!
2015-01-14 00:30:22 +01:00
Benjamin Peterson
610bc6a211
merge 3.4 ( #23221 )
2015-01-13 09:20:31 -05:00
Benjamin Peterson
82f34ada45
fix instances of consecutive articles ( closes #23221 )
...
Patch by Karan Goel.
2015-01-13 09:17:24 -05:00
Antoine Pitrou
17cba7daf5
Issue #19777 : Provide a home() classmethod on Path objects.
...
Contributed by Victor Salgado and Mayank Tripathi.
2015-01-12 21:03:41 +01:00
Antoine Pitrou
2cae11e87e
Issue #22952 : improve multiprocessing doc introduction and defer notes until appropriate.
...
Patch by Davin Potts.
2015-01-11 15:06:39 +01:00
Antoine Pitrou
73dd030c8b
Issue #22952 : improve multiprocessing doc introduction and defer notes until appropriate.
...
Patch by Davin Potts.
2015-01-11 15:05:29 +01:00
Mark Dickinson
cc8617b93a
Issue #21092 : Merge from 3.4.
2015-01-11 13:22:44 +00:00
Mark Dickinson
dfe0b2326b
Issue #21902 : Replace incorrect 'hyperbolic arc sine' (etc.) with 'inverse hyperbolic sine' (etc.). Remove meaningless reference to radians.
2015-01-11 13:08:05 +00:00
Mark Dickinson
a5d0c7c2fd
Issue #23185 : add math.inf and math.nan constants.
2015-01-11 11:55:29 +00:00
Brett Cannon
02d8454002
Issue #23014 : Make importlib.abc.Loader.create_module() required when
...
importlib.abc.Loader.exec_module() is also defined.
Before this change, create_module() was optional **and** could return
None to trigger default semantics. This change now reduces the
options for choosing default semantics to one and in the most
backporting-friendly way (define create_module() to return None).
2015-01-09 11:39:21 -05:00
Victor Stinner
863c69cfeb
Merge 3.4 (asyncio doc)
2015-01-09 16:00:30 +01:00
Victor Stinner
7eb10311be
asyncio: SelectSelector is limited to 512 sockets on Windows
2015-01-09 15:59:44 +01:00
Victor Stinner
a092a615f5
asyncio doc: fix section of event loop examples
2015-01-09 15:58:41 +01:00
Victor Stinner
25638d3109
Merge 3.4 (asyncio doc)
2015-01-09 01:32:25 +01:00
Victor Stinner
399c59d7bd
asyncio doc: list limitations to run subprocesses from different threads
2015-01-09 01:32:02 +01:00
Berker Peksag
a65766e5ea
Issue #20487 : Clarify meaning of "side effect" in the magic mock documentation.
...
Patch by A.M. Kuchling.
2015-01-07 21:15:33 +02:00
Berker Peksag
283f1aa881
Issue #20487 : Clarify meaning of "side effect" in the magic mock documentation.
...
Patch by A.M. Kuchling.
2015-01-07 21:15:02 +02:00
Benjamin Peterson
4cb17812d9
expose the client's cipher suites from the handshake ( closes #23186 )
2015-01-07 11:14:26 -06:00
Nick Coghlan
f212636fe3
Issue #19548 : clean up merge issues in codecs docs
...
Patch by Martin Panter to clean up some problems with the merge
of the codecs docs changes from Python 3.4.
2015-01-07 13:14:47 +10:00
Nick Coghlan
582acb75e9
Merge issue 19548 changes from 3.4
2015-01-07 00:37:01 +10:00
Nick Coghlan
b9fdb7a452
Issue 19548: update codecs module documentation
...
- clarified the distinction between text encodings and other codecs
- clarified relationship with builtin open and the io module
- consolidated documentation of error handlers into one section
- clarified type constraints of some behaviours
- added tests for some of the new statements in the docs
2015-01-07 00:22:00 +10:00
Victor Stinner
3ce67a9560
Issue #23177 : Document that ssl.RAND_egd() is not available with LibreSSL
2015-01-06 13:53:09 +01:00
Zachary Ware
4908f7158f
Merge with 3.4
2015-01-06 00:45:52 -06:00
Zachary Ware
5819cfa5aa
Cosmetic fixes to the 'Develop with asyncio' page
2015-01-06 00:40:43 -06:00
Benjamin Peterson
743ffe248c
merge 3.4
2015-01-05 14:39:06 -06:00
Benjamin Peterson
63b55580fb
emphasize that cffi is better than extension modules for portability
2015-01-05 14:38:46 -06:00
Benjamin Peterson
dc5fdc5bb3
merge 3.4 ( #23167 )
2015-01-04 16:30:13 -06:00
Benjamin Peterson
b461000a3f
the current marshal version is 4 ( closes #23167 )
...
Patch by Dmitry Kazakov.
2015-01-04 16:29:48 -06:00
Ned Deily
99f7249264
Add missing URL link to Modernize docs.
2015-01-03 00:46:24 -08:00
Ned Deily
4592497f9d
Add missing URL link to Modernize docs.
2015-01-03 00:45:55 -08:00
Benjamin Peterson
52074ac866
merge 3.4
2014-12-31 18:11:34 -06: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
0396cd7067
merge 3.4
2014-12-30 15:17:09 -06:00
Benjamin Peterson
bab69bf655
update docs for #23111
2014-12-30 15:17:03 -06:00
Antoine Pitrou
8477ed6048
Issue #19776 : Add a expanduser() method on Path objects.
...
Patch by Serhiy.
2014-12-30 20:54:45 +01:00
Benjamin Peterson
53553c4376
merge 3.4
2014-12-28 22:14:23 -06:00
Benjamin Peterson
5feeebaa84
use a proper m-dash
2014-12-28 22:14:15 -06:00
Berker Peksag
4dcd61f1f3
Issue #23125 : Update nose project page link.
...
Reported by Damien Marié.
2014-12-28 18:48:58 +02:00
Berker Peksag
a1a1409e42
Issue #23125 : Update nose project page link.
...
Reported by Damien Marié.
2014-12-28 18:48:33 +02:00
Berker Peksag
be6a5da755
Remove the redundant second argument of versionadded directive.
...
The versionadded directive is already placed in the scope of the
HTTPStatus documentation.
2014-12-25 14:14:09 +02:00
R David Murray
3ab6ba4744
Merge: #23040 : Clarify treatment of encoding and errors when component is bytes.
2014-12-24 21:24:07 -05: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
3226f9618f
merge 3.4
2014-12-24 16:07:19 -06:00
Benjamin Peterson
a54f07504f
update correct French examples ( #23109 )
2014-12-24 16:07:02 -06:00
Benjamin Peterson
724bdce8b8
merge 3.4 ( #23109 )
2014-12-24 13:58:47 -06:00
Benjamin Peterson
643eb4464a
improve incorrect French ( #23109 )
...
Following suggestions from Clément.
2014-12-24 13:58:05 -06:00
Benjamin Peterson
7a120ecdf4
merge 3.4 ( #23110 )
2014-12-24 10:51:10 -06:00
Benjamin Peterson
b33bb89b1a
doucment that Py_SetPath copies its argument ( closes #23110 )
2014-12-24 10:49:11 -06:00
Serhiy Storchaka
e4db76967d
Issue #21793 : Added http.HTTPStatus enums (i.e. HTTPStatus.OK,
...
HTTPStatus.NOT_FOUND). Patch by Demian Brecht.
2014-12-23 16:28:28 +02:00
Victor Stinner
1bdef7aefa
Merge 3.4 (asyncio doc)
2014-12-22 22:07:29 +01:00
Victor Stinner
4f9b773a64
asyncio doc: Fix doc of get and put methods of Queue
2014-12-22 22:07:06 +01:00
Barry Warsaw
16ef7f6426
Fixed typo.
2014-12-19 11:20:16 -05:00
Barry Warsaw
904c481099
Fix typo.
2014-12-19 11:20:00 -05:00
Berker Peksag
64c8914048
Issue #23070 : Fix a comment in the tutorial.
...
"Python" has 6 characters, not 7.
Reported by Ross Burnett.
2014-12-17 14:57:13 +02: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
3339f68141
merge
2014-12-16 18:17:18 -08: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
Victor Stinner
53703406ab
Merge 3.4 (asyncio doc)
2014-12-15 17:51:16 +01: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
Berker Peksag
e0f4bc7608
Issue #23047 : Fix typo in pyporting.rst.
...
Patch by Chaitanya agrawal.
2014-12-13 15:49:01 +02:00
Berker Peksag
bd62f0a6e4
Issue #23047 : Fix typo in pyporting.rst.
...
Patch by Chaitanya agrawal.
2014-12-13 15:48:22 +02:00
Ned Deily
a4158a0408
Issue #17128 : Merge / update from 3.4
2014-12-13 00:32:51 -08:00
Ned Deily
5d3febf0cf
Issue #17128 : Use private version of OpenSSL for 3.x OS X 10.5+ installers.
...
Among other issues, the Apple-supplied 0.9.7 libs for the 10.5 ABI cannot
verify newer SHA-256 certs as now used by python.org services. Document
in the installer ReadMe some of the certificate management issues that
users now need to be more concerned with due to PEP 476's enabling cert
verification by default. For now, continue to use the Apple-supplied
0.9.8 libs for the 10.6+ installer since they use Apple private APIs to
verify certificates using the system- and user-managed CA keychain stores.
2014-12-13 00:17:46 -08:00
Brett Cannon
5632aff9c1
Merge with 3.4 for porting HOWTO tweaks
2014-12-12 15:14:09 -05:00
Brett Cannon
90783ebf27
Address some comments from Nick Coghlan
2014-12-12 15:13:43 -05:00
Benjamin Peterson
f615d1fe8e
remove reference to dead irc channel ( closes #23038 )
2014-12-12 09:56:33 -05:00
Raymond Hettinger
d2a296a73a
Issue 23005: Fix typos
2014-12-11 23:56:32 -08:00
Serhiy Storchaka
b252b5ab0c
Issue #22823 : Fixed an output of sets in examples.
2014-12-11 10:30:21 +02:00
Terry Jan Reedy
e40031d1db
whitespace
2014-12-10 18:49:58 -05:00
Terry Jan Reedy
06c6218d00
Issue #23006 whitespace
2014-12-10 18:48:23 -05:00
Terry Jan Reedy
b67f6e27e1
Issue #23006 : Improve the documentation and indexing of dict.__missing__.
...
Add an entry in the language datamodel special methods section.
Revise and index its discussion in the stdtypes mapping/dict section.
2014-12-10 18:38:19 -05:00
Benjamin Peterson
82c05a54a2
fix path to patchlevel.py
2014-12-10 11:04:17 -05:00
R David Murray
c9f5f2ddc7
#22918 : Drop obsolete mention of 'keys' in datamodel __iter__ docs.
...
Patch by Chaitanya Agrawal.
2014-12-10 09:51:01 -05:00
Berker Peksag
8b1cbd2b7c
Issue #12602 : Add missing cross-references to runpy and using/cmdline docs.
...
Patch by Éric Araujo.
2014-12-10 01:47:02 +02:00
Benjamin Peterson
e3b743cd3e
fix reference by adding module name
2014-12-07 17:26:38 -05:00
Benjamin Peterson
a090f01bb6
HTTPSConnection: prefer the context's check_hostname attribute over the constructor parameter ( #22959 )
2014-12-07 13:18:25 -05:00
Benjamin Peterson
b92fd01189
note that sslv3 may not be available
2014-12-06 11:36:32 -05:00
Brett Cannon
17be09c475
Fix a bad link
2014-12-05 18:11:05 -05:00
Serhiy Storchaka
b757c83ec6
Issue #22581 : Use more "bytes-like object" throughout the docs and comments.
2014-12-05 22:25:22 +02:00
Brett Cannon
6b335196c5
Issue #22914 : Update the Python 2/3 porting HOWTO to describe a more
...
automated process.
2014-12-05 10:56:12 -05:00
Terry Jan Reedy
3ab745e386
Edit Menus section of Idle doc. Make menu entries match current Idle in order
...
and case. Edit some of the explanatory sentences and end all with a period.
2014-12-05 02:43:07 -05:00
Yury Selivanov
a5ef83244b
docs.inspect: Fix BoundArguments example. Issue #22998 .
2014-12-04 22:47:44 -05:00
Terry Jan Reedy
bb37b4ca73
Issue #3068 : Document the new Configure Extensions dialog and menu entry.
2014-12-04 01:26:04 -05:00
Terry Jan Reedy
f56849486b
Issue #16893 : For Idle doc, move index entries, copy no-subprocess section
...
from idlelib/help.txt, add 'C' comment, and remove obsolete ^Z comment
Original patch by Zach Ware.
2014-12-04 00:54:59 -05:00
Antoine Pitrou
2b207badd6
Fix #22987 : update the compatibility matrix for a SSLv23 client.
2014-12-03 20:00:56 +01:00
Serhiy Storchaka
1ad088f3ea
Issue #14099 : ZipFile.open() no longer reopen the underlying file. Objects
...
returned by ZipFile.open() can now operate independently of the ZipFile even
if the ZipFile was created by passing in a file-like object as the first
argument to the constructor.
2014-12-03 09:11:57 +02:00
Victor Stinner
d87de83582
Closes #22475 : asyncio doc, fix Task.get_stack() doc
2014-12-02 17:57:04 +01:00
Victor Stinner
039f703b7b
Close #22473 : asyncio doc: rephrase Future with run_forever() example
2014-12-02 17:52:45 +01:00
Serhiy Storchaka
56a6d855e2
Removed duplicated words in in comments and docs.
2014-12-01 18:28:43 +02:00
Benjamin Peterson
b7138e24e3
context is keyword-only
2014-11-29 23:38:17 -05:00
Benjamin Peterson
c1da3d1ed8
add context parameter to xmlrpclib.ServerProxy ( #22960 )
...
Patch by Alex Gaynor.
2014-11-29 23:32:57 -05:00
Victor Stinner
e7182979d6
Closes #22348 : Rephrase asyncio.StreamWriter.drain() documentation
...
Patch written by Martin Richard.
2014-11-28 17:45:41 +01:00
Victor Stinner
1deee54e0c
asyncio doc: reformat event loop policy doc
2014-11-28 13:58:28 +01:00
Victor Stinner
8464c24c82
asyncio doc: explain how to pass keywords to callbacks (functools.partial)
2014-11-28 13:15:41 +01:00
Serhiy Storchaka
7a6915e17d
Issue #21514 : The documentation of the json module now refers to new JSON RFC
...
7159 instead of obsoleted RFC 4627.
2014-11-27 19:41:47 +02:00
Zachary Ware
4847035458
pydoc: Add a note about setting PAGER to affect console output pagination.
...
Suggested by James Lowden on docs@.
2014-11-26 23:44:25 -06:00
Ethan Furman
b004943e9b
(3.4) Issue22780: reword NotImplemented docs to emphasise should
2014-11-26 21:15:35 -08:00
Zachary Ware
61aebca09d
pydoc: Remove mention of '-g' command line option, document its removal.
2014-11-26 22:57:35 -06:00
Berker Peksag
c8c64e30e8
Issue #20351 : Add examples for csv.DictReader and csv.DictWriter.
...
Patch by Charles-Axel Dein.
2014-11-24 23:46:30 +02:00
Benjamin Peterson
43052a14c1
add context parameter to HTTPHandler ( closes #22788 )
2014-11-23 20:36:44 -06:00
Benjamin Peterson
dbd4bcfcca
correct versionchanged version
2014-11-23 20:09:31 -06:00
Benjamin Peterson
7243b574e5
don't require OpenSSL SNI to pass hostname to ssl functions ( #22921 )
...
Patch by Donald Stufft.
2014-11-23 17:04:34 -06:00
Benjamin Peterson
378e15d7ab
document that cadefault does nothing now
2014-11-23 11:43:33 -06:00
Benjamin Peterson
8ac7cbb253
merge 3.4
2014-12-12 09:56:54 -05:00
Raymond Hettinger
31094a191e
merge
2014-12-11 23:56:53 -08:00
Serhiy Storchaka
c02d188a84
Issue #22823 : Use set literals instead of creating a set from a list.
...
Fixed an output of sets in examples.
2014-12-11 10:28:14 +02:00
Terry Jan Reedy
afd6f63739
Merge with 3.4
2014-12-10 18:50:13 -05:00
Terry Jan Reedy
3b46f5ac18
Merge with 3.4
2014-12-10 18:49:02 -05:00
Terry Jan Reedy
e6b2b78a7d
Merge 3.4
2014-12-10 18:39:45 -05:00
Benjamin Peterson
649e1f141a
merge 3.4
2014-12-10 11:05:35 -05:00
R David Murray
892dbd18e1
Merge: #22918 : Drop obsolete mention of 'keys' in datamodel __iter__ docs.
2014-12-10 09:51:27 -05:00
Berker Peksag
0ecd7ba968
Issue #12602 : Add missing cross-references to runpy and using/cmdline docs.
...
Patch by Éric Araujo.
2014-12-10 01:47:50 +02:00
Benjamin Peterson
e3e8b07bcb
merge 3.4
2014-12-07 17:26:43 -05:00
Benjamin Peterson
b46247bee5
merge 3.4 ( #22959 )
2014-12-07 13:47:34 -05:00
Antoine Pitrou
5db1bb81ff
Issue #22696 : Add function :func:`sys.is_finalizing` to know about interpreter shutdown.
2014-12-07 01:28:27 +01:00
Benjamin Peterson
b9859daeeb
merge 3.4
2014-12-06 11:37:18 -05:00
Brett Cannon
9f7c7924c3
Merge with 3.4
2014-12-05 18:11:15 -05:00
Serhiy Storchaka
efb4835f36
Merge heads
2014-12-05 22:28:27 +02:00
Serhiy Storchaka
92bf919ed0
Issue #22581 : Use more "bytes-like object" throughout the docs and comments.
2014-12-05 22:26:10 +02:00
Brett Cannon
d5ea39d1b8
Issue #22394 : Add a 'venv' command to Doc/Makefile.
...
This will create a venv using the interpreter specified by the PYTHON
variable for the Makefile that also install Sphinx. Typical usage is
expected to be:
cd Doc
make venv PYTHON=../python
make html PYTHON=venv/bin/python3
2014-12-05 15:17:31 -05:00
Brett Cannon
1a7b8d1439
Merge with 3.4
2014-12-05 11:01:30 -05:00
Terry Jan Reedy
02d37d5dd2
Merge with 3.4. Edit Menus section of Idle doc.
2014-12-05 02:43:29 -05:00
Yury Selivanov
ed648a35ec
docs.inspect: Fix BoundArguments example. Issue #22998 .
2014-12-04 22:48:47 -05:00
Terry Jan Reedy
74aee426c1
Merge with 3.4
2014-12-04 01:26:35 -05:00
Terry Jan Reedy
c50041880d
Merge with 3.4
2014-12-04 00:55:16 -05:00
Antoine Pitrou
af12676659
Fix #22987 : update the compatibility matrix for a SSLv23 client.
2014-12-03 20:03:11 +01:00
Serhiy Storchaka
f4adbae927
Issue #14099 : ZipFile.open() no longer reopen the underlying file. Objects
...
returned by ZipFile.open() can now operate independently of the ZipFile even
if the ZipFile was created by passing in a file-like object as the first
argument to the constructor.
2014-12-03 09:14:36 +02:00
Victor Stinner
b16edc8087
Merge 3.4 (asyncio doc)
2014-12-02 18:01:07 +01:00
Victor Stinner
3bf4647152
Merge 3.4 (asyncio doc)
2014-12-02 17:52:57 +01:00
Serhiy Storchaka
83000a490a
Removed duplicated words in in comments and docs.
2014-12-01 18:30:14 +02:00
Serhiy Storchaka
22a309a434
Issue #21032 : Deprecated the use of re.LOCALE flag with str patterns or
...
re.ASCII. It was newer worked.
2014-12-01 11:50:07 +02:00
Benjamin Peterson
27ee75f191
merge 3.4
2014-11-29 23:38:23 -05:00
Benjamin Peterson
e39bba2ab1
merge 3.4 ( #22960 )
2014-11-29 23:34:30 -05:00
Berker Peksag
bb44fe0a0b
Issue #22389 : Add contextlib.redirect_stderr().
2014-11-28 23:28:06 +02:00
Victor Stinner
79d784ab7b
(Merge 3.4) Closes #22348 : Rephrase asyncio.StreamWriter.drain() documentation
...
Patch written by Martin Richard.
2014-11-28 17:46:05 +01:00
Victor Stinner
74210e1e0f
(Merge 3.4) asyncio doc: reformat event loop policy doc
2014-11-28 13:58:53 +01:00
Victor Stinner
07ff92a0d2
(Merge 3.4) asyncio doc: explain how to pass keywords to callbacks
...
(functools.partial)
2014-11-28 13:16:03 +01:00
Serhiy Storchaka
715f01b565
Issue #21514 : The documentation of the json module now refers to new JSON RFC
...
7159 instead of obsoleted RFC 4627.
2014-11-27 19:45:31 +02:00
Zachary Ware
f25e3bfefa
Merge with 3.4
2014-11-26 23:56:10 -06:00
Ethan Furman
9b55089999
Issue22780: reword NotImplemented docs to emphasise should
2014-11-26 21:17:53 -08:00
Zachary Ware
9b4cc6bc6b
Merge with 3.4
2014-11-26 22:58:25 -06:00
Benjamin Peterson
33f8f15bdd
add readline.append_history_file ( closes #22940 )
...
patch by "bru"
2014-11-26 13:58:16 -06:00
Berker Peksag
87f6c2212e
Issue #19676 : Tweak documentation a bit.
...
* Updated version info to 3.5
* Fixed a markup error
* Added a versionadded directive to namereplace_errors documentation
2014-11-25 18:59:20 +02:00
Serhiy Storchaka
166ebc4e5d
Issue #19676 : Added the "namereplace" error handler.
2014-11-25 13:57:17 +02:00
Berker Peksag
6cecf68c7b
Issue #20351 : Add examples for csv.DictReader and csv.DictWriter.
...
Patch by Charles-Axel Dein.
2014-11-24 23:47:06 +02:00
Benjamin Peterson
a90e92dac8
update versionchanged
2014-11-23 20:38:37 -06:00
Benjamin Peterson
6c22e65773
merge 3.4 ( #22788 )
2014-11-23 20:38:13 -06:00
Benjamin Peterson
f9284ae8ed
merge 3.4 ( #22921 )
2014-11-23 17:06:39 -06:00
Benjamin Peterson
f1a3240ba8
merge 3.4
2014-11-23 11:43:43 -06:00
Raymond Hettinger
828d932a2c
PEP 479: Don't let StopIteration bubble out of calls to next() inside a generator.
2014-11-22 21:56:23 -08:00
Brett Cannon
b6e2556d8f
Issue #22834 : Have import suppress FileNotFoundError when the current
...
working directory no longer exists.
Thanks to Martin Panter for the bug report.
2014-11-21 12:19:28 -05:00
Serhiy Storchaka
df4518ca4b
Issue #22453 : Removed non-documented macro PyObject_REPR().
2014-11-18 23:34:33 +02:00
Nick Coghlan
c216c48699
Close #19494 : add urrlib.request.HTTPBasicPriorAuthHandler
...
This auth handler adds the Authorization header to the first
HTTP request rather than waiting for a HTTP 401 Unauthorized
response from the server as the default HTTPBasicAuthHandler
does.
This allows working with websites like https://api.github.com which do
not follow the strict interpretation of RFC, but more the dicta in the
end of section 2 of RFC 2617:
> A client MAY preemptively send the corresponding Authorization
> header with requests for resources in that space without receipt
> of another challenge from the server. Similarly, when a client
> sends a request to a proxy, it may reuse a userid and password in
> the Proxy-Authorization header field without receiving another
> challenge from the proxy server. See section 4 for security
> considerations associated with Basic authentication.
Patch by Matej Cepl.
2014-11-12 23:33:50 +10:00
Serhiy Storchaka
f4f314ba3f
Issue #22845 : Improved formatting of dis documentation.
2014-11-11 10:02:46 +02:00
Serhiy Storchaka
f751a9e6a2
Issue #22845 : Improved formatting of dis documentation.
2014-11-11 10:02:11 +02:00
Berker Peksag
731a15347b
Issue #22839 : Fix Snapshot.statistics() link.
2014-11-10 23:15:56 +02:00
Berker Peksag
4900877bca
Issue #22839 : Fix Snapshot.statistics() link.
2014-11-10 23:15:32 +02:00
Serhiy Storchaka
ad446d57a9
Issue #22578 : Added attributes to the re.error class.
2014-11-10 13:49:00 +02:00
Berker Peksag
39e4c4d873
Issue #21650 : Add an `--sort-keys` option to json.tool CLI.
2014-11-10 09:56:54 +02:00
Raymond Hettinger
ffd842e1d6
Issue #22824 : Updated reprlib output format for sets to use set literals.
2014-11-09 22:30:36 -08:00
Raymond Hettinger
87fc6f5c8e
merge
2014-11-09 17:21:20 -08:00
Raymond Hettinger
86e9b6b164
Issue 22830: Clarify docs for functools.cmp_to_key().
2014-11-09 17:20:56 -08:00
Raymond Hettinger
df1b699447
Issue #22823 : Use set literals instead of creating a set from a list
2014-11-09 15:56:33 -08:00
Berker Peksag
bf764a1912
Issue #22695 : Fix rendering of the deprecated-removed role in HTML.
2014-11-08 22:41:00 +02:00
Berker Peksag
eb1a3cd4ea
Issue #22695 : Fix rendering of the deprecated-removed role in HTML.
2014-11-08 22:40:22 +02:00
Berker Peksag
ea07bd2f81
Issue #22808 : Link to the correct time method in BaseEventLoop.call_at().
...
Patch by Mark Grandi.
2014-11-07 19:51:37 +02:00
Berker Peksag
b556399fb5
Issue #22808 : Link to the correct time method in BaseEventLoop.call_at().
...
Patch by Mark Grandi.
2014-11-07 19:51:07 +02:00
Brett Cannon
d0c4ef175b
Issue #22242 : Try to make some import-related loader details clearer.
...
Thanks to Jon Poler for pointing this out.
2014-11-07 11:29:33 -05:00
Raymond Hettinger
2ac09cbe5e
merge
2014-11-05 21:28:19 -08:00
Raymond Hettinger
dc69e03ef3
Issue 22803: Add missing versionadded directive.
2014-11-05 21:27:56 -08:00
Georg Brandl
e6e54ab9b5
merge with 3.4
2014-11-05 20:20:45 +01:00
Georg Brandl
b9b389efed
Closes #22525 : clarify documentation for ast.literal_eval().
2014-11-05 20:20:28 +01:00
Robert Collins
bf2bda3c97
Close #22457 : Honour load_tests in the start_dir of discovery.
...
We were not honouring load_tests in a package/__init__.py when that was the
start_dir parameter, though we do when it is a child package. The fix required
a little care since it introduces the possibility of infinite recursion.
2014-11-05 03:09:01 +13:00
Benjamin Peterson
4a358de34e
context has been backported so fix versionchanged
2014-11-03 17:04:01 -05:00
Benjamin Peterson
1cca273669
merge 3.4 ( #22417 )
2014-11-03 14:36:48 -05:00
Benjamin Peterson
4ffb075271
PEP 476: enable HTTPS certificate verification by default ( #22417 )
...
Patch by Alex Gaynor with some modifications by me.
2014-11-03 14:29:33 -05:00
Benjamin Peterson
030dbb91a9
merge 3.4
2014-11-02 13:19:15 -05:00
Benjamin Peterson
a5c9c37dd5
wrap
2014-11-02 13:17:56 -05:00
R David Murray
c58e3a449b
Merge asyncio doc English phrasing fix.
2014-11-02 12:33:37 -05:00
R David Murray
64f10d4f5e
Reflow paragraph.
2014-11-02 12:32:26 -05:00
R David Murray
3ca68e77b8
Fix English phrasing.
2014-11-02 12:31:47 -05:00
Serhiy Storchaka
c1ded29f8e
Issue #22388 : Unified the style of "Contributed by" sentences in What's New.
2014-11-02 19:22:02 +02:00
Serhiy Storchaka
e5cf4868d3
Issue #22388 : Unified the style of "Contributed by" sentences in What's New.
2014-11-02 19:18:52 +02:00
Ethan Furman
8be6fac103
standardize Enum docs by referring to 'special methods' instead of __dunder__ methods
2014-11-01 07:40:22 -07:00
Berker Peksag
8f791d358b
Issue #6623 : Remove deprecated Netrc class in the ftplib module.
...
Patch by Matt Chaput.
2014-11-01 10:45:57 +02:00
Ethan Furman
8906f14a68
issue22780: update NotImplemented description
2014-10-31 16:48:41 -07:00
Georg Brandl
455de40a6e
merge with 3.4
2014-10-31 10:54:10 +01:00
Georg Brandl
36ac510956
Closes #22771 : "verbose" is unused; deprecate it.
2014-10-31 10:54:06 +01:00
Georg Brandl
e21a531ef1
merge with 3.4
2014-10-31 10:39:29 +01:00
Georg Brandl
a4c8c47961
#22613 : remaining corrections in extending/reference docs (thanks Jacques Ducasse)
2014-10-31 10:38:49 +01:00
Georg Brandl
8ed75cd8e9
#22613 : minor other fixes in library docs (thanks Jacques Ducasse)
2014-10-31 10:25:48 +01:00
Georg Brandl
2677faecf5
#22613 : document Cmd.cmdqueue (thanks Jacques Ducasse)
2014-10-31 10:25:38 +01:00
Georg Brandl
717e02896f
#22613 : fix heading levels in tracemalloc docs (thanks Jacques Ducasse)
2014-10-31 10:21:07 +01:00
Georg Brandl
9b1b0e54e7
#22613 : elaborate on arguments of shutil archival functions (thanks Jacques Ducasse)
2014-10-31 10:02:40 +01:00
Georg Brandl
f30132fdc9
#22613 : explain what "buffer" is in the struct documentation (thanks Jacques Ducasse)
2014-10-31 09:46:41 +01:00
Georg Brandl
e4196d3f2e
#22613 : fix several factual errors in builtin docs (thanks Jacques Ducasse)
2014-10-31 09:41:46 +01:00
Georg Brandl
fe98180bce
merge with 3.4
2014-10-31 09:29:48 +01:00
Georg Brandl
f0d2ed73ac
minor grammar fixes (from docs@python.org)
2014-10-31 09:29:38 +01:00
Georg Brandl
db3f318681
Doc: updadate suspicious ignore rules
2014-10-31 08:03:20 +01:00
Georg Brandl
4433ff958b
unittest.mock docs: fix use of default role
2014-10-31 07:59:37 +01:00
Georg Brandl
7ad3df69a6
unittest.mock docs: fix use of default role
2014-10-31 07:59:37 +01:00
Georg Brandl
e075f1617f
merge with 3.4
2014-10-30 22:56:04 +01:00
Georg Brandl
35903c809f
Sphinx extension: move imports to the module top
2014-10-30 22:55:13 +01:00
Georg Brandl
dbbc3a964b
merge with 3.4
2014-10-30 22:52:06 +01:00
Georg Brandl
5aa761db52
pyporting howto: fix link target
2014-10-30 22:52:02 +01:00
Georg Brandl
c876cec216
merge with 3.4
2014-10-30 22:50:48 +01:00
Georg Brandl
884217cb60
distutils example: fix invalid rst in description string
2014-10-30 22:50:46 +01:00
Georg Brandl
55c2ae8cb1
merge with 3.4
2014-10-30 22:50:00 +01:00
Georg Brandl
3b4cf554e5
rstlint: make the "html leaked markup" regex a bit less sensitive
2014-10-30 22:49:54 +01:00
Georg Brandl
0b452c19b7
merge with 3.4
2014-10-30 22:45:30 +01:00
Georg Brandl
ef08bde8b8
minor markup fix: no inline markup is allowed in a module synopsis
2014-10-30 22:45:27 +01:00
Georg Brandl
9ac894aeff
merge with 3.4
2014-10-30 22:45:01 +01:00
Georg Brandl
2273b096ce
rstlint: we do not use svn anymore
2014-10-30 22:44:41 +01:00
Georg Brandl
759a02cacd
merge with 3.4
2014-10-30 22:35:59 +01:00
Georg Brandl
95988f98ea
rstlint: add more directives we use
2014-10-30 22:35:55 +01:00
Georg Brandl
4f8e2a9813
merge with 3.4
2014-10-30 22:31:35 +01:00
Georg Brandl
eb9106c928
Doc/contents: avoid false positive in rstlint
2014-10-30 22:31:32 +01:00
Georg Brandl
dd6b84d715
merge with 3.4
2014-10-30 22:31:08 +01:00
Georg Brandl
f2b56518f9
rstlint: recognize "deprecated-removed" directive
2014-10-30 22:30:01 +01:00
Georg Brandl
6b4c847c4f
Doc: fix default role usage (except in unittest mock docs)
2014-10-30 22:26:26 +01:00
Georg Brandl
93a56cdc37
Doc: fix default role usage (except in unittest mock docs)
2014-10-30 22:25:41 +01:00
Robert Collins
659dd625b4
Close #7559 : ImportError when loading a test now shown as ImportError.
...
Previously the ImportError was only shown if the top level containing
package failed to import, with other ImportErrors showing up as
AttributeError - hiding the real cause. As part of this,
`TestLoader.loadTestsFromNames` now captures errors to self.errors.
2014-10-30 08:27:27 +13:00
Georg Brandl
bad8d4bb53
merge with 3.4
2014-10-29 10:57:42 +01:00
Georg Brandl
b7354a65ce
Fixing broken links in doc, part 4: some more breaks and redirects
2014-10-29 10:57:37 +01:00
Georg Brandl
0ef496678a
linkcheck: ignore issue URLs and PEP URLs (the latter until the PEPs are on www.python.org again).
2014-10-29 10:57:01 +01:00
Georg Brandl
794e9bf1fe
merge with 3.4
2014-10-29 10:27:06 +01:00
Georg Brandl
525d355984
Fixing broken links in doc, part 3: the rest
2014-10-29 10:26:56 +01:00
Georg Brandl
9bdcb3bc8a
Fixing broken links in doc, part 2: howto/
2014-10-29 09:37:43 +01:00
Georg Brandl
77fe77d4af
Fixing broken links in doc, part 1: faq/
2014-10-29 09:24:54 +01:00
Georg Brandl
9e67d801bd
merge with 3.4
2014-10-29 09:00:37 +01:00
Georg Brandl
728e4debd8
Fix external links to docs.python.org to use internal links instead.
2014-10-29 09:00:30 +01:00
Georg Brandl
b425891b6e
merge with 3.4
2014-10-29 08:55:18 +01:00
Georg Brandl
5e722f698e
Remove now-dead link to IDLE debugger doc and add PyCharm to the commercial IDEs.
2014-10-29 08:55:14 +01:00
Georg Brandl
d64fa1e11e
merge with 3.4
2014-10-29 08:52:51 +01:00
Georg Brandl
485922ea1f
Update "where is python.org hosted" FAQ.
2014-10-29 08:52:43 +01:00
Georg Brandl
cadc3fdcb5
Merge with 3.4
2014-10-29 08:37:29 +01:00
Georg Brandl
e73778c1ac
Use https:// URLs when referring to python.org hosts.
2014-10-29 08:36:35 +01:00