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
Serhiy Storchaka
92bf919ed0
Issue #22581 : Use more "bytes-like object" throughout the docs and comments.
2014-12-05 22:26:10 +02: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
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
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
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
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