Victor Stinner
23f628de4a
Issue #20616 : Add a format() method to tracemalloc.Traceback.
2014-02-16 23:53:38 +01:00
Andrew Kuchling
c77974e033
Merge from 3.3
2014-02-16 12:18:17 -05:00
Andrew Kuchling
3137885c36
#12211 : remove paragraph about NaNs
2014-02-16 12:09:35 -05:00
Andrew Kuchling
87a113b807
Merge from 3.3
2014-02-16 11:15:13 -05:00
Andrew Kuchling
8cb1ec3274
#12211 : clarify math.copysign() documentation and docstring
2014-02-16 11:11:25 -05:00
Andrew Kuchling
a3d0ffe2c6
Merge from 3.3
2014-02-15 17:22:41 -05:00
Andrew Kuchling
e5235f1624
#20241 : use correct RFC number
2014-02-15 17:11:06 -05:00
Andrew Kuchling
ac6e578691
Merge from 3.3
2014-02-15 16:40:08 -05:00
Andrew Kuchling
46ff4ee81c
Clarify versionchanged sentence. Closes #20497 .
2014-02-15 16:39:37 -05:00
Benjamin Peterson
30f240150e
merge 3.3
2014-02-15 15:39:01 -05:00
Andrew Kuchling
4da9ab0357
#20237 : make a revision pass over the XML vulnerabilities section
2014-02-15 15:33:44 -05:00
Ezio Melotti
504f6e8653
#19890 : merge with 3.3.
2014-02-15 16:59:39 +02:00
Ezio Melotti
e426b71789
#19890 : fix typo in multiprocessing docs. Patch by Mike Short.
2014-02-15 16:58:52 +02:00
Victor Stinner
28773465e6
ayncio, Tulip issue 129: BaseEventLoop.sock_connect() now raises an error if
...
the address is not resolved (hostname instead of an IP address) for AF_INET and
AF_INET6 address families.
2014-02-13 09:24:37 +01:00
R David Murray
2167e29d31
whatsnew: os.path.samestat on windows, keyword defaults evaluation order.
2014-02-12 00:02:34 -05:00
R David Murray
d630e79cc7
whatsnew: object.__format__ raises TypeError on non-empty string.
...
See issues #7994 and #9856 . I also modified with wording of the format doc
entry to better match what really happens, and added a versionchanged to the
datamodel object.__format__ section.
2014-02-11 18:34:22 -05:00
Gregory P. Smith
bbe3335f65
Deprecate Popen.wait()'s undocumented endtime parameter. issue20572.
2014-02-11 09:21:03 -08:00
Larry Hastings
ad88d7a26b
Python 3.4.0rc1 release: Updated pydoc topics, fixed suspicious markup errors.
2014-02-10 04:26:10 -08:00
Larry Hastings
b082731fbb
Issue #20517 : Functions in the os module that accept two filenames
...
now register both filenames in the exception on failure.
This required adding new C API functions allowing OSError exceptions
to reference two filenames instead of one.
2014-02-09 22:05:19 -08:00
Eli Bendersky
136fea253e
More complete documentation of event loops and policies.
...
Documented the AbstractEventLoopPolicy interface explicitly and explained the
relation between the global loop & policy access functions. Added an initial
section that explains the connections in general terms. Documented missing XXX
methods.
2014-02-09 06:55:58 -08:00
Eli Bendersky
b73c83318d
Various formatting & grammar fixes in asyncio* docs.
2014-02-09 06:07:47 -08:00
Eli Bendersky
8b402629ae
Fix typo in library/ipc.rst
2014-02-09 05:54:13 -08:00
Benjamin Peterson
0b094ce170
do not line break reference
2014-02-16 12:46:30 -05:00
Victor Stinner
0c3949c963
asyncio: Remove Process.subprocess attribute; it's too easy to get inconsistent
...
Process and Popen objects
2014-02-09 02:51:40 +01:00
Brian Curtin
c9d1a6b85e
merge
2014-02-08 18:36:57 -06:00
Brian Curtin
a1afeec9aa
Spelling corrections. Submitted to python-dev by python@mrabarnett.plus.com
2014-02-08 18:36:14 -06:00
Victor Stinner
12c68b20b7
asyncio doc: fix gather() doc
2014-02-09 01:35:24 +01:00
Nick Coghlan
aa029dad50
Tweaks to What's New and some referenced docs
2014-02-09 10:10:24 +10:00
Nick Coghlan
96bb437ae8
Close #20563 : Declare ipaddress API stable
2014-02-09 09:18:26 +10:00
Senthil Kumaran
127242654d
merge from 3.3
...
Include the mention of ResourceWarning being displayed by default by the test runner.
Addressing #issue 20529
2014-02-08 14:28:44 -08:00
Senthil Kumaran
409ea5dac1
Include the mention of ResourceWarning being displayed by default by the test runner.
...
Addressing #issue 20529
2014-02-08 14:28:03 -08:00
Victor Stinner
c1567df61e
asyncio doc: document missing event loop methods
2014-02-08 23:22:58 +01:00
Victor Stinner
ffbe3c67df
asyncio doc: sort methods
2014-02-08 22:50:07 +01:00
Ethan Furman
ca1b794dac
Close issue20534: all pickle protocols now supported.
2014-02-08 11:36:27 -08:00
Nick Coghlan
73afe2a972
Close #20481 : Disallow mixed type input in statistics
...
The most appropriate coercion rules are not yet clear, so simply
disallowing mixed type input for 3.4.
(Committed on Steven's behalf)
2014-02-08 19:58:04 +10:00
Victor Stinner
85310a50a9
Issue #20505 : Remove resolution and _granularity from selectors and asyncio
...
* Remove selectors.BaseSelector.resolution attribute
* Remove asyncio.BaseEventLoop._granularity attribute
2014-02-07 23:34:58 +01:00
R David Murray
27e9de669b
#20531 : Revert e20f98a8ed71, the 3.4 version of the #19063 fix.
2014-02-07 12:40:37 -05:00
Victor Stinner
790202d613
asyncio doc: mention that asyncio is not thread-safe
2014-02-07 19:03:05 +01:00
R David Murray
02384bfa94
#20477 : add examples of using the new contentmanager API.
2014-02-07 10:55:17 -05:00
Serhiy Storchaka
303718c3d7
Fix empty strings to empty bytes objects.
2014-02-06 21:11:33 +02:00
Serhiy Storchaka
5e028ae09e
Fix empty strings to empty bytes objects.
2014-02-06 21:10:41 +02:00
Ethan Furman
c72e638643
Close issue20412: Updated Enum docs to have referencable Enum and IntEnum classes
2014-02-06 08:13:14 -08:00
Brett Cannon
3303b6abc8
Merge for issue #20488
2014-02-06 09:49:53 -05:00
Brett Cannon
07fbd78473
Issue #20488 : Update docs to say importlib is *the* implementaiton of
...
import and not *an* implementation.
2014-02-06 09:46:08 -05:00
Ronald Oussoren
94e44a935b
Issue #14455 : fix handling of unsigned long long values for binary plist files
...
Values in the range of an unsigned long long, but outside of the range
of a signed long long were serialized as a negative value.
Due to a bug in PyObjC my test scripts indicated that the previous behavior
matched Apple's plist code, instead the handle large unsigned values correctly.
The change to plistlib.py is from a patch by Serhiy.
2014-02-06 11:19:18 +01:00
R David Murray
58af25e930
#14515 : clarify that TemporaryDirectory's __enter__ returns the name.
2014-02-05 14:56:39 -05:00
R David Murray
23686074b0
#14515 : clarify that TemporaryDirectory's __enter__ returns the name.
2014-02-05 14:53:40 -05:00
Guido van Rossum
3c9bb69fa1
Add missing word ("thread") to sentence about call_soon_threadsafe.
2014-02-04 13:49:34 -08:00
Victor Stinner
5cb84ed5b1
asyncio doc: add an example to schedule a coroutine from a different thread
2014-02-04 18:18:27 +01:00
Vinay Sajip
d8b24d756a
Closes #20509 : Merged documentation update from 3.3.
2014-02-04 16:42:04 +00:00
Vinay Sajip
6068b6c977
Issue #20509 : Added cross-reference in documentation.
2014-02-04 16:28:07 +00:00
Victor Stinner
e48d4db000
asyncio doc: add an example of asyncio.subprocess with communicate() and wait()
2014-02-03 23:26:28 +01:00
Victor Stinner
b79eb0502c
asyncio.subprocess: Replace Process.get_subprocess() method with a
...
Process.subprocess read-only property
2014-02-03 23:08:14 +01:00
Benjamin Peterson
233eac42d4
remove extra backtick
2014-02-03 14:08:00 -05:00
Victor Stinner
3bc647c0fa
Issue #20472 : asyncio: Adjust the note about Mac OS X on PTY, specify that it
...
requires at least Mac OS X 10.6.
2014-02-03 00:35:46 +01:00
Antoine Pitrou
9c2389d282
Issue #20423 : fix documentation of io.StringIO's newline parameter
2014-02-02 22:49:03 +01:00
Antoine Pitrou
be7ff9f2f9
Issue #20423 : fix documentation of io.StringIO's newline parameter
2014-02-02 22:48:25 +01:00
Victor Stinner
084443809f
asyncio: document the new asyncio.subprocess module
2014-02-02 22:43:39 +01:00
R David Murray
4885f49e7f
whatsnew: filecmp.clear_cache, and reword description of cache in docs.
2014-02-02 11:11:01 -05:00
Victor Stinner
9592edb834
asyncio doc: add "asyncio-" prefix to references
2014-02-02 15:03:02 +01:00
Victor Stinner
606ab031c1
asyncio doc: add "Concurrency and multithreading" section
2014-02-01 03:18:58 +01:00
Victor Stinner
45b27ed53d
asyncio doc: document the granularity of the event loop
...
Improve also the "Logging" section
2014-02-01 02:36:43 +01:00
Zachary Ware
607bc3dd82
Merge with 3.3
2014-01-31 11:31:14 -06:00
Zachary Ware
19c1f3dce6
Fix unfinished thought in xml overview page. Suggested by Bo Bayles on docs@.
2014-01-31 11:30:36 -06:00
Yury Selivanov
d71e52fc33
inspect.doc: Soften the note about inspect.signature not supporting
...
all builtin functions.
2014-01-30 00:22:57 -05:00
Yury Selivanov
224c9c1f49
inspect.docs: Document constructors for Signature & Parameter #20442
2014-01-30 00:12:02 -05:00
Yury Selivanov
783568980a
inspect.docs: Document constructors for Signature & Parameter #20442
2014-01-30 00:10:54 -05:00
Victor Stinner
1ad5afc050
asyncio: document iscoroutine(), iscoroutinefunction() and wait_for()
...
Mention that wait_for() now accepts None for the timeout.
2014-01-30 00:18:50 +01:00
Victor Stinner
f40c66334d
asyncio doc: close the loop at exit
2014-01-28 23:32:40 +01:00
Ned Deily
eecbbad89b
Fix doc reference to OS X 10.9 Mavericks.
2014-01-27 19:03:07 -07:00
Victor Stinner
041ff9be13
asyncio doc: list Windows and Mac OS X limitations and explain how to work
...
around them
2014-01-28 02:24:22 +01:00
Victor Stinner
eedf1c1ebf
asyncio doc: subprocess_exec/subprocess_shell are not available on Windows
2014-01-27 23:01:41 +01:00
Yury Selivanov
2393dca472
inspect.signature: Use '/' to separate positional-only parameters from
...
the rest in Signature.__str__. #20356
2014-01-27 15:07:58 -05:00
Yury Selivanov
ea2d66e68a
doc/inspect: Clarify docs for __defaults__, add docs for __kwdefaults__ #20380
2014-01-27 14:26:28 -05:00
Victor Stinner
32970b8dec
asyncio: IncompleteReadError is a subclass of EOFError
2014-01-27 12:18:49 +01:00
Victor Stinner
b7f19ff94b
asyncio: document the IncompleteReadError exception
2014-01-27 11:58:49 +01:00
Victor Stinner
8b86348dfa
asyncio: document add_signal_handler/remove_signal_handler, add an example for
...
signals
2014-01-27 10:07:50 +01:00
Victor Stinner
b9915973f3
Issue #20367 : Fix behavior of concurrent.futures.as_completed() for duplicate
...
arguments. Patch by Glenn Langford.
2014-01-27 09:11:48 +01:00
Guido van Rossum
e6994ff6e3
Fix issue #20367 : concurrent.futures.as_completed() for duplicate arguments.
...
Patch by Glenn Langford.
2014-01-26 09:57:51 -08:00
Guido van Rossum
9ad116bcd0
Document asyncio.QueueFull/Empty.
2014-01-25 17:38:31 -08:00
Victor Stinner
669eeaf933
Merge latest Tulip into asyncio
...
- Make the new granularity attribute private
- Simplify BaseEventLoop._run_once(): avoid math.ceil(), use simple arithmetic
instead
2014-01-26 00:02:31 +01:00
Eric Snow
6029e08691
Issue 19944: Fix importlib.find_spec() so it imports parents as needed.
...
The function is also moved to importlib.util.
2014-01-25 15:32:46 -07:00
Victor Stinner
f67255ab94
Issue #20311 : asyncio: Add a granularity attribute to BaseEventLoop: maximum
...
between the resolution of the BaseEventLoop.time() method and the resolution of
the selector. The granuarility is used in the scheduler to round time and
deadline.
2014-01-25 15:01:33 +01:00
Victor Stinner
635fca9704
Issue #20311 : selectors: Add a resolution attribute to BaseSelector.
2014-01-25 14:56:48 +01:00
Victor Stinner
62f8eccdbf
asyncio doc: document StreamWriter.drain()
2014-01-24 18:47:26 +01:00
Victor Stinner
8c462c5a80
asyncio doc: move AbstractServer to the event loop page
...
Add also entries in the table of content for each synchronization primitive
class.
2014-01-24 18:11:43 +01:00
Victor Stinner
4b4f9ebfea
asyncio doc: add a "Coroutines and protocols" section
2014-01-24 17:33:20 +01:00
Victor Stinner
1374bd41b1
asyncio: mention that transports/protocols are low-level, streams are high-level
2014-01-24 15:34:19 +01:00
Larry Hastings
5c66189e88
Issue #20189 : Four additional builtin types (PyTypeObject,
...
PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type)
have been modified to provide introspection information for builtins.
Also: many additional Lib, test suite, and Argument Clinic fixes.
2014-01-24 06:17:25 -08:00
Victor Stinner
c520edc08b
asyncio doc: add an client example using streams
2014-01-23 11:25:48 +01:00
Victor Stinner
24f8ebf4c5
asyncio doc: Move streams to their own dedicated page
2014-01-23 11:05:01 +01:00
Victor Stinner
c8ea81330c
asyncio doc: link create_connection() to open_connection() and create_server()
...
to start_server()
Rename also the "Network functions" section to "Stream functions" and move it to the Stream section.
2014-01-23 11:02:09 +01:00
Victor Stinner
7235c05085
asyncio doc: move stream classes to their own class
2014-01-23 10:54:57 +01:00
Victor Stinner
3eb45d3eae
asyncio: Fix open_connection() documentation, writer is a StreamWriter
2014-01-23 10:20:18 +01:00
Zachary Ware
5116f78221
Issue #20301 : Merge with 3.3
2014-01-21 13:50:13 -06:00
Zachary Ware
f7d2874d30
Issue #20301 : Mention the correct KEY_* value as the default
...
for 'access' in winreg.DeleteKeyEx. Already correct in the docs
function signature and docstring. Noticed by Justin Foo.
2014-01-21 13:49:22 -06:00
Terry Jan Reedy
a67a79da24
Merge with 3.3
2014-01-21 00:02:17 -05:00
Terry Jan Reedy
30ffe7eb68
Issue #20222 : file is no longer a builtin in 3.x.
2014-01-21 00:01:51 -05:00
Antoine Pitrou
b6457249bf
Fix the description of pickle protocol numbers
2014-01-21 02:39:54 +01:00
Eli Bendersky
679688e70d
Fix grammar and add markup
2014-01-20 08:13:31 -08:00
Eli Bendersky
3245e79b82
Formatting & rst link markup fixes
2014-01-20 07:51:31 -08:00
Eli Bendersky
029981bbfc
Clarify what the loop arguments means for functions listed in 18.5.2.5
2014-01-20 07:02:22 -08:00
Eli Bendersky
2d26af82c1
Explain the 'result' argument in asyncio.sleep
2014-01-20 06:59:23 -08:00
Gregory P. Smith
5a6d4bf671
Fixes Issue #20165 : The unittest module no longer considers tests marked with
...
@expectedFailure successful if they pass.
2014-01-20 01:11:18 -08:00
Benjamin Peterson
27b490c713
merge 3.3 ( #6627 )
2014-01-20 00:12:24 -05:00
Benjamin Peterson
1cfe009b96
put notes in a ..note section
2014-01-20 00:10:23 -05:00
Benjamin Peterson
f6ffb4b264
document that a new Python thread context is created in ctypes callbacks ( closes #6627 )
...
Patch by Nikolaus Rath.
2014-01-20 00:09:53 -05:00
Benjamin Peterson
dc3cce077d
merge 3.3 ( #17811 )
2014-01-18 22:57:05 -05:00
Benjamin Peterson
e83ed43281
improve description of buffers argument for readv/writev ( closes #17811 )
...
Patch by Nikolaus Rath.
2014-01-18 22:54:59 -05:00
Benjamin Peterson
3c16c1d821
merge 3.3
2014-01-18 00:49:30 -05:00
Benjamin Peterson
af69fe2311
rm extra whitespace
2014-01-18 00:49:04 -05:00
Benjamin Peterson
9308c420d3
merge 3.3
2014-01-18 00:47:06 -05:00
Benjamin Peterson
eacec1ccff
link to builtin open not io.open
2014-01-18 00:47:00 -05:00
Benjamin Peterson
d8af6700b9
merge 3.3 ( #17814 )
2014-01-18 00:46:49 -05:00
Benjamin Peterson
3d8814e1d3
describe type of Popen streams ( closes #17814 )
...
Patch more or less by Nikolaus Rath.
2014-01-18 00:45:56 -05:00
Brett Cannon
24f60b4616
Issues #20194,20195: Add missing :deprecated: markers to some module
...
docs.
2014-01-17 12:06:28 -05:00
Brett Cannon
c089f70b54
Issue #18394 : Document that cgi.FieldStorage now cleans up after its
...
'file' attribute properly in Python 3.4.
Thanks to Marcel Hellkamp for pointing out the oversight.
2014-01-17 11:03:19 -05:00
Victor Stinner
9731183390
asyncio: oops, add missing word :-)
2014-01-17 10:31:02 +01:00
Victor Stinner
59759ff234
asyncio doc: replace "coroutine" with "coroutine object" or "coroutine function"
2014-01-16 19:30:21 +01:00
Victor Stinner
db39a0da0c
asyncio: add a new "Develop with asyncio" section to the documentation
2014-01-16 18:58:01 +01:00
Benjamin Peterson
5cacb84d83
merge 3.3 ( #20272 )
2014-01-16 10:10:26 -05:00
Benjamin Peterson
2989f587a7
linkify chain.from_iterable ( closes #20272 )
2014-01-16 10:10:13 -05:00
Benjamin Peterson
a65d121607
merge 3.3 ( #20278 )
2014-01-16 09:53:22 -05:00
Benjamin Peterson
216e47d834
update pysqlite website ( closes #20278 )
2014-01-16 09:52:38 -05:00
Vinay Sajip
3763f2bc07
Merged documentation update from 3.3.
2014-01-15 15:09:43 +00:00
Vinay Sajip
cbefe3b9a0
Added cookbook entry on alternative formatting styles.
2014-01-15 15:09:05 +00:00
Vinay Sajip
6ed2893aae
Merged documentation update from 3.3.
2014-01-15 13:29:24 +00:00
Vinay Sajip
350e623623
Clarified documentation note on module-level convenience functions.
2014-01-15 13:28:39 +00:00
Ronald Oussoren
6db6653bbc
Issue #14455 : Fix some issues with plistlib
...
* Negative integer support in binary plists was broken
* Better exception for invalid data
* Fix the versionadded/versionchanged markup in the documentation
* Add the interface cleanup to what's new for 3.4
2014-01-15 11:32:35 +01:00
Zachary Ware
5c15424aa9
Closes #20253 : Merge typo fix
2014-01-14 09:10:33 -06:00
Zachary Ware
9774ce0cab
Issue #20253 : Fixed a typo in the ipaddress docs that advertised an
...
illegal attribute name. Found by INADA Naoki.
2014-01-14 09:09:48 -06:00
Georg Brandl
92b7adb60d
merge
2014-01-14 12:27:44 +01:00
Zachary Ware
e74f96ded5
Merge typo fix.
2014-01-13 20:39:21 -06:00
Zachary Ware
80602e0e1b
Fix typo.
2014-01-13 20:38:57 -06:00
R David Murray
75ff6d284a
Merge #20236 : Fix sphinx markup.
2014-01-13 13:51:42 -05:00
R David Murray
66c9350a89
#20236 : Fix sphinx markup.
2014-01-13 13:51:17 -05:00
Senthil Kumaran
95be7ff911
merge from 3.3
...
Issue #19082 : Working xmlrpc.server and xmlrpc.client examples. Both in modules and in documentation.
2014-01-12 16:07:59 -08:00
Senthil Kumaran
939e2db48d
Issue #19082 : Working xmlrpc.server and xmlrpc.client examples. Both in modules and in documentation.
2014-01-12 16:06:58 -08:00
Georg Brandl
632c812942
small grammar fix.
2014-01-12 18:03:12 +01:00
Georg Brandl
fa5a765506
Fix minor markup bug: sub-toctrees should not have :numbered:
2014-01-11 19:52:17 +01:00
R David Murray
0ae7ae1fc9
whatsnew: InspectLoader.get_code now concrete, b32decode raises binascii.Error.
...
And a news item rephrase.
2014-01-08 18:16:02 -05:00
R David Murray
fdc58fd897
Merge: Fix verb tense in base64 docs, and the phrasing of a news entry.
2014-01-08 18:14:20 -05:00
R David Murray
78ee3289e9
Fix verb tense in base64 docs, and the phrasing of a news entry.
2014-01-08 18:09:29 -05:00
Brett Cannon
8d942296bb
Issue #19719 : Update various finder and loader ABCs such that their
...
old methods now provide implementations when PEP 451 APIs are present.
This should help with backwards-compatibility with code which has not
been updated to work with PEP 451.
2014-01-07 15:52:42 -05:00
R David Murray
0bce6e7462
whatsnew: expand 'dis' entry.
...
Also add one missing versionadded.
2014-01-07 14:30:17 -05:00
R David Murray
a101bdb88c
whatsnew: ssl getpeercert/do_handshake raise OSError, weakref __callback__.
...
Also add a missing word to gc entry, and delete a now-obsolete doc note
in the weakref __callback__ docs. (Opened an issue for rewriting
the section that compares finalizers and __del__ method.)
2014-01-06 16:32:05 -05:00
R David Murray
410d320703
whatsnew: XMLPullParser, plus some doc updates.
...
I was confused by the text saying that read_events "iterated", since it
actually returns an iterator (that's what a generator does) that the
caller must then iterate. So I tidied up the language. I'm not sure
what the sentence "Events provided in a previous call to read_events()
will not be yielded again." is trying to convey, so I didn't try to fix that.
Also fixed a couple more news items.
2014-01-04 23:52:50 -05:00
R David Murray
0056936a4b
whatsnew: deprecation of HTTPConnection's strict parameter.
2014-01-03 13:04:25 -05:00
R David Murray
42fa110035
whatsnew: unittest import time SkipTest reported as skip not error.
2014-01-03 13:03:36 -05:00
R David Murray
a475a8d313
whatsnew: http.server send_error explain parameter.
...
Also rewrote the send_error description for clarity and correct English.
2014-01-03 13:03:00 -05:00
Martin v. Löwis
24e43308b7
* Issue #16113 : Remove sha3 module again.
...
Patch by Christian Heimes, with modifications.
2014-01-03 14:05:06 +01:00
R David Murray
12e930f3a4
#17282 : Document unittest.main defaultTest argument.
2014-01-02 13:37:26 -05:00
Benjamin Peterson
3a990c69b8
remove brackets
2014-01-02 12:22:30 -06:00
R David Murray
6e731b0a41
Merge and update #17282 : Document unittest.main defaultTest argument.
...
In 3.4 defaultTest can also be a list (see issue 15132).
2014-01-02 13:43:02 -05:00
Benjamin Peterson
c22eaecd53
merge 3.3 ( closes #20108 )
2014-01-02 12:26:50 -06:00
R David Murray
d592bb2dc4
whatsnew: afic.open supports 'with'.
2013-12-31 13:45:38 -05:00
R David Murray
fced3ec2db
whatsnew: argparse FileType accepts errors and encodings args.
2013-12-31 11:18:01 -05:00
R David Murray
2bc930f044
whatsnew: epoll supports with.
...
Also reworded the description of the feature in the docs.
2013-12-31 11:17:21 -05:00
Michael Foord
4d1639f4e5
Closes issue 20031. Document unittest.TextTestRunner.run method.
2013-12-29 23:38:55 +00:00
Antoine Pitrou
3e86ba4e32
Issue #19422 : Explicitly disallow non-SOCK_STREAM sockets in the ssl module, rather than silently let them emit clear text data.
2013-12-28 17:26:33 +01:00
Antoine Pitrou
e6d2f159fc
Issue #19422 : Explicitly disallow non-SOCK_STREAM sockets in the ssl module, rather than silently let them emit clear text data.
2013-12-28 17:30:51 +01:00
R David Murray
473f45b4bc
whatsnew: rewrite urllib, doctest, and poplib sections.
...
Also collapse redundant versionadded/versionchanged markup in
poplib.stls entry.
2013-12-27 17:01:16 -05:00
R David Murray
0e814634e5
whatsnew for gc.get_stats, plus doc tweaks.
...
Clarified the "At the moment" wording, and added the get_stats entry in the
module summary that Serhiy noted was missing at the end of issue 16351.
Given that pydoc lists all the function docstrings, I'm not sure that module
summary section is actually needed; but, it is probably better to address that
when the module is converted to use Argument Clinic. In the meantime we
should keep the list complete.
2013-12-26 15:11:28 -05:00
R David Murray
575fb31955
shelf in with stmt, fish/csh in venv, ElementTree short_empty_elements keyword.
...
Also added versionadded for for fish/csh, fixed indentation of versionadded
for ElementTree.write, and make the behavior of shelf as a context manager
explicit in the docs.
2013-12-25 23:21:03 -05:00
R David Murray
3edcc7832e
#16832 : s/integer/object/ in docs/docstring, and add whatsnew entry.
2013-12-24 16:13:32 -05:00
Serhiy Storchaka
f47036c130
Removed spaces before colons and semicolons.
2013-12-24 11:04:36 +02:00
Serhiy Storchaka
89e84e7523
Removed spaces before colons and semicolons.
2013-12-24 11:05:24 +02:00
Serhiy Storchaka
2a6145290b
Removed spaces before commas and periods.
2013-12-23 18:21:57 +02:00
Serhiy Storchaka
a4d170d985
Removed spaces before commas and periods.
2013-12-23 18:20:51 +02:00
Nick Coghlan
6256fcbc97
Close #19734 : ignore pip env vars in ensurepip
2013-12-23 16:16:07 +10:00
Antoine Pitrou
a936c40ede
s/lightweight/minimal/, as per issue #11379 .
2013-12-22 01:57:45 +01:00
Antoine Pitrou
f20ea13996
s/lightweight/minimal/, as per issue #11379 .
2013-12-22 01:57:01 +01:00
R David Murray
ac18622126
Add links to discussion of multiprocessing spawn/forkserver feature.
2013-12-20 17:23:57 -05:00
R David Murray
748bad2cd0
Tidy up ssl whatsnew references, make ssl section formatting consistent.
...
Also remove some extra blank lines in the ssl doc acctions for tls1.1/1.2,
and reflow a paragraph.
2013-12-20 17:08:39 -05:00
R David Murray
cde1a06a54
Include sha3 addition in hashlib section of whatsnew.
...
And link to it from the summary, and link to the Hash Algorithms
section of hashlib from the linked description.
2013-12-20 16:33:52 -05:00
R David Murray
6d5cb07382
Move versionadded for tracemalloc into the standard location (right after title)
2013-12-20 14:48:50 -05:00
R David Murray
43ad138160
Move versionadded for ensurepip into the standard location (right after title)
2013-12-20 14:40:11 -05:00
R David Murray
6a14381530
Fix Sphinx markup for asyncio modules so :mod:`asyncio` links work.
2013-12-20 14:37:39 -05:00
R David Murray
fd1ff1c888
Add versionadded to enum docs.
2013-12-20 14:20:49 -05:00
Vinay Sajip
f468d5b259
Closes #19902 : Merged update from 3.3.
2013-12-19 11:51:19 +00:00
Vinay Sajip
800e11b406
Issue #19902 : Added list of logging levels.
2013-12-19 11:50:24 +00:00
Zachary Ware
e61f4df275
Closes #20005 : Fix typo in operator docs. Patch by Claudiu Popa.
2013-12-18 12:22:35 -06:00
Zachary Ware
0bffca006a
Issue #20005 : Fix typo in operator docs. Patch by Claudiu Popa.
2013-12-18 12:21:49 -06:00
Eric Snow
ca2d854df8
Issue #19713 : Update importlib docs for module spec changes, including deprecations.
2013-12-16 23:06:52 -07:00
Eli Bendersky
5100311bd8
Issue #20001 : Add the SVG source of the pathlib-inheritance diagram to Hg
2013-12-16 21:13:40 -08:00
Victor Stinner
1d006a2c0e
Backout a1a05e2724dd: shutil.which(bytes) is a new feature and my patch does not work on Windows
2013-12-16 23:39:40 +01:00
Victor Stinner
fffb96ba66
Issue #18283 : shutil.which() now supports bytes argument, not only text argument.
2013-12-16 22:48:48 +01:00
Antoine Pitrou
f6abb70b48
Mention specific exceptions instead of OSError where appropriate.
2013-12-16 21:00:53 +01:00
Antoine Pitrou
0048c98fef
Issue #19921 : When Path.mkdir() is called with parents=True, any missing parent is created with the default permissions, ignoring the mode argument (mimicking the POSIX "mkdir -p" command).
...
Patch by Serhiy.
2013-12-16 20:22:37 +01:00
Nick Coghlan
720c7e28cb
Issue #19700 : set __spec__ appropriately in runpy
...
Note that __spec__.name is not currently guaranteed to be in
sys.modules when the code is running, only __name__ is.
The "running module is in sys.modules" invariant will be
expanded to also cover __spec__.name in a subsequent patch.
2013-12-15 20:33:02 +10:00
R David Murray
530a69fafc
#19970 : fix additional typo in 3.4 asyncio docs.
2013-12-14 11:26:06 -05:00
Ezio Melotti
66f8518acb
#19981 : merge with 3.3.
2013-12-14 12:43:08 +02:00
Ezio Melotti
956040a7cc
#19981 : fix typo in email.mailbox docs. Patch by Claudiu Popa.
2013-12-14 12:42:29 +02:00
Brett Cannon
706a7296d7
merge for issue #19963
2013-12-13 13:58:47 -05:00
Brett Cannon
98620d87f2
Issue #19963 : Document that importlib.import_module() will import
...
parent packages automatically.
2013-12-13 13:57:41 -05:00
Victor Stinner
86e139ad65
asyncio doc: explain where does the task come from.
2013-12-13 12:51:24 +01:00
Victor Stinner
68bccb4922
asyncio doc: change style of the sequence diagram to focus on the control flow
2013-12-13 12:47:39 +01:00
Victor Stinner
2748bc735e
asyncio: remove references to the Tulip project, rename Tulip to asyncio.
...
Patch written by Vajrasky Kok.
2013-12-13 10:57:04 +01:00
Victor Stinner
1c4b892d71
Add a sequence diagram for the chained coroutines example
2013-12-12 12:35:17 +01:00
R David Murray
50bfbb9903
#19063 : fix set_payload handling of non-ASCII string input.
...
This version of the fix raises an error instead of accepting the invalid
input (ie: if a non-ASCII string is used but no charset is specified).
2013-12-11 16:52:11 -05:00
Eric Snow
b282b3d804
Issue #18864 : Add a setter for ModuleSpec.has_location.
2013-12-10 22:16:41 -07:00
Victor Stinner
a6fa15367f
asyncio doc: simplify task example
2013-12-10 12:20:14 +01:00
Victor Stinner
0839ed4730
asyncio doc: don't document Task.cancel(), already documented in Future.cancel()
2013-12-10 12:18:15 +01:00
Victor Stinner
742520be43
asyncio: document Task.current_task()
2013-12-10 12:14:50 +01:00
Victor Stinner
fc25d629ab
asyncio: don't document private functions
2013-12-10 02:52:49 +01:00
Victor Stinner
34f2946a11
asyncio: fix 2nd task example
2013-12-10 02:51:05 +01:00
Victor Stinner
dbd8950b28
asyncio doc: rewrite the callback hello world to use call_soon() instead of a
...
direct call.
2013-12-10 02:47:22 +01:00
Victor Stinner
b69d62dcac
assyncio doc: rewrite, improve and move coroutine, Future and Task examples
2013-12-10 02:09:46 +01:00
Victor Stinner
a881a7f205
asyncio doc: explain why the loop is running twice
2013-12-09 13:19:23 +01:00
Victor Stinner
d8f11e9265
asyncio: another Future example using add_done_callback()
2013-12-09 13:04:12 +01:00
Victor Stinner
45c2fd9f8a
asyncio doc: add an example with Future
2013-12-09 12:40:17 +01:00
Nadeem Vawda
bd6932a576
Closes #18430 : Document that peek() may change the position of the underlying
...
file for the BZ2File, GzipFile and LZMAFile classes.
2013-12-08 19:50:05 +01:00
Nadeem Vawda
6976104a36
#18430 : Document that peek() may change the position of the underlying file for
...
the BZ2File, GzipFile and LZMAFile classes.
2013-12-08 19:47:22 +01:00
doko@ubuntu.com
ca616a2709
- Issue #19736 : Add module-level statvfs constants defined for GNU/glibc
...
based systems.
2013-12-08 15:23:07 +01:00
Christian Heimes
5bb414d176
Issue #19343 : Expose FreeBSD-specific APIs in resource module. Original patch by Koobs.
2013-12-08 14:35:55 +01:00
Guido van Rossum
9710ff04ac
Silently ignore unregistering closed files. Fixes issue 19876. With docs and slight test refactor.
2013-12-07 15:57:01 -08:00
Alexandre Vassalotti
d05c9ff845
Issue #6784 : Strings from Python 2 can now be unpickled as bytes objects.
...
Initial patch by Merlijn van Deen.
I've added a few unrelated docstring fixes in the patch while I was at
it, which makes the documentation for pickle a bit more consistent.
2013-12-07 01:09:27 -08:00
Benjamin Peterson
d45a46b60d
merge 3.3 ( #19910 )
2013-12-06 20:12:51 -05:00
Benjamin Peterson
933142a8f2
document that compile() can take bytes ( closes #19910 )
2013-12-06 20:12:39 -05:00
Antoine Pitrou
9bcb1127f1
Mention pickle protocol 4, and some tweaks.
2013-12-07 01:05:57 +01:00
Antoine Pitrou
9858e8b98d
Issue #19900 : improve generalities at the start of the pickle module doc
2013-12-07 00:57:44 +01:00
Antoine Pitrou
d4d60554bc
Issue #19900 : improve generalities at the start of the pickle module doc
2013-12-07 00:56:59 +01:00
Antoine Pitrou
f9c54944df
Merge socket doc changes from 3.3
2013-12-04 21:15:24 +01:00
Antoine Pitrou
a5cc9d68b9
Tweak the socket module doc layout
2013-12-04 21:11:03 +01:00
Antoine Pitrou
e3658a70c3
Issue #19882 : tweak docs for socket.close()
2013-12-04 21:02:42 +01:00
Victor Stinner
31d83228c2
asyncio doc: add some notes on the ping example
2013-12-04 11:16:17 +01:00
Victor Stinner
99c2ab4b83
asyncio doc: oh, asyncio module has its own Future class
...
Improve also wait() documentation: mention that the first parameter is a
sequence
2013-12-03 19:17:25 +01:00
Victor Stinner
cf6f72e329
Fix typo in asyncio.AbstractServer documentation
2013-12-03 18:23:52 +01:00
Victor Stinner
c6fba92ebc
asyncio doc: add one more example of coroutines
2013-12-03 17:37:31 +01:00
Victor Stinner
85a2be7da7
ayncio: replace the disclamer with a seealso section
2013-12-03 15:04:36 +01:00
Victor Stinner
15faa9c8ad
asyncio doc: simplify ping example, remove the useless timeout
2013-12-03 15:04:18 +01:00
Victor Stinner
afbf827875
asyncio doc: fix definition of stop() method
2013-12-03 02:05:42 +01:00
Victor Stinner
933a8c82ce
asyncio doc: reorder methods; typo
2013-12-03 01:59:38 +01:00
Victor Stinner
1ca5ba611b
asyncio io: group transports and protocols in a new title
2013-12-03 01:49:43 +01:00
Victor Stinner
0c6f1ca40c
asyncio doc: write a complete TCP echo example, client and server
...
Example based on tcp_echo.py example from Tulip source code.
2013-12-03 01:46:39 +01:00
Victor Stinner
3e09e32c8a
asyncio doc: move coroutine example to the Task page
2013-12-03 01:22:06 +01:00
Victor Stinner
ea3183f5b8
Split asyncio documentation into subfiles
2013-12-03 01:08:00 +01:00
Victor Stinner
fa2ce78a21
asyncio doc: change level of titles
...
Remove also a duplicated Protocols section!
2013-12-03 00:56:27 +01:00
Victor Stinner
b3be72cac3
asyncio doc: reorder sections
2013-12-03 00:49:26 +01:00
Victor Stinner
34d8df5171
asyncio: document wait() function
2013-12-03 00:42:59 +01:00
Victor Stinner
dd339a248c
asyncio doc
...
* complete create_connection() prototype
* link to Server
* document get_extra_info() keys
2013-12-03 00:32:48 +01:00
Christian Heimes
a5768f7292
Issue #19785 : smtplib now supports SSLContext.check_hostname and server name
...
indication for TLS/SSL connections.
2013-12-02 20:44:17 +01:00
Christian Heimes
216d463b1f
Issue #19783 : nntplib now supports SSLContext.check_hostname and server name
...
indication for TLS/SSL connections.
2013-12-02 20:20:11 +01:00
Christian Heimes
1bc7068d7f
Issue #19784 : poplib now supports SSLContext.check_hostname and server name
...
indication for TLS/SSL connections.
2013-12-02 20:10:50 +01:00
Christian Heimes
b8a3f58158
merge
2013-12-02 20:02:04 +01:00
Christian Heimes
48aae57996
Issue #19782 : imaplib now supports SSLContext.check_hostname and server name
...
indication for TLS/SSL connections.
2013-12-02 20:01:29 +01:00
Serhiy Storchaka
475546facf
Fixed regex match representation in an example.
2013-12-02 20:23:19 +02:00
Victor Stinner
0c924b83ee
asyncio: sort some methods
2013-12-02 17:52:31 +01:00
Victor Stinner
b09f9b33d2
asyncio doc: group transport method by classes
...
Declare classes because they are mentionned in documentation of other functions
2013-12-02 17:46:04 +01:00
Victor Stinner
e91f180efe
asyncio: more documentation
2013-12-02 17:40:48 +01:00
Victor Stinner
be490633be
asyncio: document network functions, and stream reader/writer
2013-12-02 17:28:32 +01:00
Eli Bendersky
b55c4d4539
Issue #19814 : Clarify argparse's docs w.r.t prefix matching
2013-12-02 05:50:48 -08:00
Eli Bendersky
f3114532e4
Issue #19814 : Clarify argparse's docs w.r.t prefix matching
2013-12-02 05:49:54 -08:00
Victor Stinner
c37dd614b6
asyncio: document locks
2013-12-02 14:31:16 +01:00
Victor Stinner
0da1d29c8a
asyncio: document Queue classes
2013-12-02 14:06:03 +01:00
Victor Stinner
60efaae4f9
Document Task class and task functions
2013-12-02 13:47:23 +01:00
Victor Stinner
3c3c4f5a11
asyncio: cleanup doc
2013-12-02 13:04:25 +01:00
Victor Stinner
550a09ef86
Issue #19833 : Document more asyncio.BaseEventLoop methods
2013-12-02 12:41:54 +01:00
Victor Stinner
4e70bb84e6
Issue #19833 : add 2 examples to asyncio doc (hello world)
2013-12-02 12:21:30 +01:00
Victor Stinner
8dc434e092
Issue #19833 : asyncio doc: add class name to methods
2013-12-02 12:20:57 +01:00
Victor Stinner
5f5657ee50
(Merge 3.3) Issue #19728 : Fix sys.getfilesystemencoding() documentation
2013-12-02 12:17:29 +01:00
Victor Stinner
22d0418f71
Issue #19728 : Fix sys.getfilesystemencoding() documentation
2013-12-02 12:16:46 +01:00
Christian Heimes
e5b5edfa2c
Issue #19781 : ftplib now supports SSLContext.check_hostname and server name
...
indication for TLS/SSL connections.
2013-12-02 02:56:02 +01:00
Christian Heimes
1aa9a75fbf
Issue #19509 : Add SSLContext.check_hostname to match the peer's certificate
...
with server_hostname on handshake.
2013-12-02 02:41:19 +01:00
Charles-François Natali
837a6e012f
Issue #19849 : selectors: Document the possibility of early select() wakeup upon
...
EINTR.
2013-12-01 13:23:48 +01:00
Vinay Sajip
8b1e2f351d
Closes #19789 : Merged update from 3.3.
2013-11-30 22:46:29 +00:00
Vinay Sajip
a9c179bd3e
Issue #19789 : Clarified documentation for logging.disable.
2013-11-30 22:45:29 +00:00
Guido van Rossum
8519e5ade6
More realistic example for selectors.py.
2013-11-29 14:51:18 -08:00
Charles-François Natali
a951f3d1ac
Remove trailing blanks.
2013-11-29 18:57:47 +01:00
Charles-François Natali
a9f90bc602
Set the FDs non-blocking in the selectors example.
2013-11-29 18:52:51 +01:00
Serhiy Storchaka
0e90e99188
Issue #19795 : Improved markup of True/False constants.
2013-11-29 12:19:53 +02:00
Serhiy Storchaka
fbc1c26803
Issue #19795 : Improved markup of True/False constants.
2013-11-29 12:17:13 +02:00
Eli Bendersky
b6e66ebdf7
Some minor clarifications in the documentation of pathlib + inheritance diagram
2013-11-28 06:53:05 -08:00
Serhiy Storchaka
889d24ee3a
Revert unrelated changes introduced by changeset b2066bc8cab9 (issue #19795 ).
2013-11-29 23:40:35 +02:00
Ned Deily
c034156f26
Change pathlib documentation to use "raise" instead of "throw".
2013-11-27 14:42:55 -08:00
Victor Stinner
5362abf4ec
Issue #19818 : tracemalloc, the number of frame limit cannot be zero anymore
2013-11-27 23:39:55 +01:00
Victor Stinner
3c0481d426
Close #19798 : replace "maximum" term with "peak" in get_traced_memory()
...
documentation. Use also the term "current" for the current size.
2013-11-27 21:39:49 +01:00
Serhiy Storchaka
03cc56539f
Issue #19793 : Improved markup for True/False constants in pathlib documentation.
2013-11-26 21:37:12 +02:00
Serhiy Storchaka
6bfe39272e
Issue #19794 : Improved markup for True/False constants.
2013-11-26 17:33:13 +02:00
Serhiy Storchaka
22dc4d5fa8
Issue #19794 : Improved markup for True/False constants.
2013-11-26 17:32:16 +02:00
Georg Brandl
5831882c08
merge with 3.3
2013-11-26 08:25:45 +01:00
Georg Brandl
1833ac37b5
Markup fix.
2013-11-26 08:25:24 +01:00
Victor Stinner
8e3708d88b
Issue #18874 : allow to call tracemalloc.Snapshot.statistics(cumulative=True)
...
with traceback_limit=1
2013-11-26 00:45:47 +01:00
Victor Stinner
00773df9f3
Issue #18874 : apply Jim Jewett's patch on tracemalloc doc
2013-11-26 00:40:10 +01:00
Antoine Pitrou
c7cf5fca7c
Issue #19691 : remove outdated mention about RuntimeError
2013-11-25 19:11:07 +01:00
Antoine Pitrou
9527f16bf4
Issue #19691 : remove outdated mention about RuntimeError
2013-11-25 19:08:32 +01:00
Georg Brandl
d476ab1276
merge with 3.3
2013-11-25 08:52:24 +01:00
Georg Brandl
37b70bb908
Closes #19622 : clarify message about bufsize changes in 3.2.4 and 3.3.1.
2013-11-25 08:48:37 +01:00
Georg Brandl
db5e74fab3
Fix doc markup error.
2013-11-25 08:29:44 +01:00
Ezio Melotti
fb310a9ec6
Merge broken link fix from 3.3.
2013-11-25 06:41:00 +02:00
Ezio Melotti
f5005883ba
Fix broken link in html.entities docs.
2013-11-25 06:40:12 +02:00
Georg Brandl
ed007d5b1b
Fix suspicious markup in the docs.
2013-11-24 16:09:26 +01:00
Zachary Ware
a4b7a7548c
Issue #3158 : doctest can now find doctests in functions and methods
...
written in C.
As a part of this, a few doctests have been added to the builtins module
(on hex(), oct(), and bin()), a doctest has been fixed (hopefully on all
platforms) on float, and test_builtins now runs doctests in builtins.
2013-11-24 01:19:09 -06:00
Serhiy Storchaka
d27b455bbc
Issue #13477 : Added command line interface to the tarfile module.
...
Original patch by Berker Peksag.
2013-11-24 01:53:29 +02:00
Larry Hastings
3a9079742f
Issue #19722 : Added opcode.stack_effect(), which accurately
...
computes the stack effect of bytecode instructions.
2013-11-23 14:49:22 -08:00
Serhiy Storchaka
32eddc1bbc
Issue #16203 : Add re.fullmatch() function and regex.fullmatch() method,
...
which anchor the pattern at both ends of the string to match.
Original patch by Matthew Barnett.
2013-11-23 23:20:30 +02:00
Serhiy Storchaka
3062c9a6c8
Issue #19641 : Added the audioop.byteswap() function to convert big-endian
...
samples to little-endian and vice versa.
2013-11-23 22:26:01 +02:00
Serhiy Storchaka
6787a3806e
Issue #15204 : Deprecated the 'U' mode in file-like objects.
2013-11-23 22:12:06 +02:00
Ezio Melotti
6bdd98622e
#10712 : 2to3 has a new "asserts" fixer that replaces deprecated names of unittest methods.
2013-11-23 21:14:42 +02:00
Ezio Melotti
7571941db6
#19639 : update the repr of the match objects in the docs. Patch by Claudiu Popa.
2013-11-23 20:27:27 +02:00
Antoine Pitrou
c9dc4a2a8a
Issue #17810 : Implement PEP 3154, pickle protocol 4.
...
Most of the work is by Alexandre.
2013-11-23 18:59:12 +01:00
Ezio Melotti
95401c5f6b
#13633 : Added a new convert_charrefs keyword arg to HTMLParser that, when True, automatically converts all character references.
2013-11-23 19:52:05 +02:00
Serhiy Storchaka
be0c3250b1
Issue #19668 : Added support for the cp1125 encoding.
2013-11-23 18:52:23 +02:00
Antoine Pitrou
5bef410471
Tweak ssl docs
2013-11-23 16:16:29 +01:00
Christian Heimes
5de397e158
merge
2013-11-23 15:59:07 +01:00
Christian Heimes
4c05b472dd
Issue #19689 : Add ssl.create_default_context() factory function. It creates
...
a new SSLContext object with secure default settings.
2013-11-23 15:58:30 +01:00
Serhiy Storchaka
235c5e0dd6
Issue #17201 : ZIP64 extensions now are enabled by default.
...
Patch by William Mallard.
2013-11-23 15:55:38 +02:00
Christian Heimes
6b2ff98df4
Correct documentation clientAuth -> CLIENT_AUTH
2013-11-23 14:42:01 +01:00
Christian Heimes
72d28500b3
Issue #19292 : Add SSLContext.load_default_certs() to load default root CA
...
certificates from default stores or system stores. By default the method
loads CA certs for authentication of server certs.
2013-11-23 13:56:58 +01:00
Antoine Pitrou
a30d82f597
Document create_connection
2013-11-23 13:55:35 +01:00
Antoine Pitrou
9a62a1987f
Start documenting the event loop
2013-11-23 13:10:08 +01:00
Antoine Pitrou
4d1046c7e6
Document asyncio transport APIs
2013-11-23 12:50:52 +01:00
Victor Stinner
3728d6ced0
Issue #18874 : Remove tracemalloc.set_traceback_limit()
...
tracemalloc.start() now has an option nframe parameter
2013-11-23 12:37:20 +01:00
Victor Stinner
ed3b0bca3e
Issue #18874 : Implement the PEP 454 (tracemalloc)
2013-11-23 12:27:24 +01:00
Christian Heimes
2427b50fdd
Issue #8813 : X509_VERIFY_PARAM is only available on OpenSSL 0.9.8+
...
The patch removes the verify_flags feature on Mac OS X 10.4 with OpenSSL 0.9.7l 28 Sep 2006.
2013-11-23 11:24:32 +01:00
Nick Coghlan
9c1aed8f94
Close #7475 : Restore binary & text transform codecs
...
The codecs themselves were restored in Python 3.2, this
completes the restoration by adding back the convenience
aliases.
These aliases were originally left out due to confusing
errors when attempting to use them with the text encoding
specific convenience methods. Python 3.4 includes several
improvements to those errors, thus permitting the aliases
to be restored as well.
2013-11-23 11:13:36 +10:00
Guido van Rossum
f8d0ff9f42
Add source link for asyncio.
2013-11-22 16:53:25 -08:00
Antoine Pitrou
74193af0cf
Finish protocol documentation
2013-11-23 01:21:11 +01:00
Antoine Pitrou
a035e1b000
Start documenting protocols
2013-11-23 01:08:43 +01:00
Guido van Rossum
f0f5d3844a
Mention threadpool interface in asyncio overview.
2013-11-22 15:45:02 -08:00
Antoine Pitrou
bba8682200
Issue #19291 : add crude stubs to the asyncio docs
2013-11-23 00:34:26 +01:00
Andrew Kuchling
b3931d2111
Wording changes
2013-11-22 16:15:28 -05:00
Andrew Kuchling
7a4e2d1751
Wording changes to pathlib docs.
...
Only possibly-controversial change: joinpath() was described as:
"Calling this method is equivalent to indexing the path with each of
the *other* arguments in turn."
'Indexing' is an odd word to use, because you can't subscript Path or
PurePath objects, so I changed it to "combining".
2013-11-22 15:45:02 -05:00
Guido van Rossum
4da459c488
Fix markup of notes recommending asyncio.
2013-11-22 12:27:45 -08:00
Zachary Ware
9ae8742075
Merge heads
2013-11-22 14:04:01 -06:00
Zachary Ware
e19e3f0b91
Issue #18326 : merge with 3.3
2013-11-22 14:03:10 -06:00
Zachary Ware
e1391a0d68
Issue #18326 : Clarify that list.sort's arguments are keyword-only.
...
Also, attempt to reduce confusion in the glossary by not saying there are
different "types" of arguments and parameters.
2013-11-22 13:58:34 -06:00
Guido van Rossum
aa40775817
Add note to asyncore/asynchat recommending asyncio for new code.
2013-11-22 11:57:35 -08:00
Guido van Rossum
5467da860c
Move select, selectors, asyncio to section 18 (IPC).
2013-11-22 11:56:46 -08:00
Guido van Rossum
7a465647e4
asyncio: Pass cancellation from wrapping Future to wrapped Future. By Saúl Ibarra Corretgé (mostly).
2013-11-22 11:47:22 -08:00
Antoine Pitrou
31119e4f10
Issue #19673 : Add pathlib to the stdlib as a provisional module (PEP 428).
2013-11-22 17:38:12 +01:00
Eric Snow
b523f8433a
Implement PEP 451 (ModuleSpec).
2013-11-22 09:05:39 -07:00
Nick Coghlan
50c48b89e3
Close #17916 : dis.Bytecode based replacement for distb
...
- Bytecode.from_traceback() alternate constructor
- current_offset parameter and attribute
Patch by Claudiu Popa
2013-11-23 00:57:00 +10:00
Nick Coghlan
8fbdb097cf
Close #19552 : venv and pyvenv ensurepip integration
2013-11-23 00:30:34 +10:00
Christian Heimes
f22e8e5426
Issue #18147 : Add missing documentation for SSLContext.get_ca_certs().
...
Also change the argument name to the same name as getpeercert()
2013-11-22 02:22:51 +01:00
Christian Heimes
44109d7de7
Issue #17134 : Finalize interface to Windows' certificate store. Cert and
...
CRL enumeration are now two functions. enum_certificates() also returns
purpose flags as set of OIDs.
2013-11-22 01:51:30 +01:00
Christian Heimes
225877917e
Issue #8813 : Add SSLContext.verify_flags to change the verification flags
...
of the context in order to enable certification revocation list (CRL)
checks or strict X509 rules.
2013-11-21 23:56:13 +01:00
Ronald Oussoren
c5cf797342
Issue #14455 : plistlib now supports binary plists and has an updated API.
...
This patch adds support for binary plists on OSX to plistlib (based
on a patch by 'dpounces').
The patch also cleans up the API for the plistlib module.
2013-11-21 15:46:49 +01:00
Christian Heimes
bd3a7f90b5
Issue #18379 : SSLSocket.getpeercert() returns CA issuer AIA fields, OCSP
...
and CRL distribution points.
2013-11-21 03:40:15 +01:00
Christian Heimes
efff7060f8
Issue #18138 : Implement cadata argument of SSLContext.load_verify_location()
...
to load CA certificates and CRL from memory. It supports PEM and DER
encoded strings.
2013-11-21 03:35:02 +01:00
Christian Heimes
c4ab11050d
Issue #18775 : Add name and block_size attribute to HMAC object. They now
...
provide the same API elements as non-keyed cryptographic hash functions.
2013-11-20 17:35:06 +01:00
Christian Heimes
634919a9fa
Issue #17276 : MD5 as default digestmod for HMAC is deprecated. The HMAC
...
module supports digestmod names, e.g. hmac.HMAC('sha1').
2013-11-20 17:23:06 +01:00
Christian Heimes
985ecdcfc2
ssue #19183 : Implement PEP 456 'secure and interchangeable hash algorithm'.
...
Python now uses SipHash24 on all major platforms.
2013-11-20 11:46:18 +01:00
Ezio Melotti
4a9ee26750
#2927 : Added the unescape() function to the html module.
2013-11-19 20:28:45 +02:00
Andrew Kuchling
0e60f85ce4
Merge from 3.3
2013-11-19 11:06:44 -05:00
Andrew Kuchling
30c5ad2aa2
#1098749 : re-word gettext docs to not encourage using pygettext so much.
...
Also, add a link to the Babel package.
2013-11-19 11:05:20 -05:00
Serhiy Storchaka
58cf607d13
Issue #12892 : The utf-16* and utf-32* codecs now reject (lone) surrogates.
...
The utf-16* and utf-32* encoders no longer allow surrogate code points
(U+D800-U+DFFF) to be encoded.
The utf-32* decoders no longer decode byte sequences that correspond to
surrogate code points.
The surrogatepass error handler now works with the utf-16* and utf-32* codecs.
Based on patches by Victor Stinner and Kang-Hao (Kenny) Lu.
2013-11-19 11:32:41 +02:00
Serhiy Storchaka
fd32fffa5a
Issue #8402 : Added the escape() function to the glob module.
2013-11-18 13:06:43 +02:00
Antoine Pitrou
6dd0d461a4
Issue #17618 : Add Base85 and Ascii85 encoding/decoding to the base64 module.
2013-11-17 23:52:25 +01:00
Richard Oudkerk
cfac5181ed
Merge.
2013-11-17 17:03:19 +00:00
Richard Oudkerk
edcf8daaed
Issue 16998: Clarify that += on a shared value is not atomic.
2013-11-17 17:00:38 +00:00
Antoine Pitrou
6b2b084192
Issue #19508 : direct the user to read the security considerations for the ssl module
2013-11-17 15:36:03 +01:00
Antoine Pitrou
9eefe91fc2
Issue #19508 : direct the user to read the security considerations for the ssl module
2013-11-17 15:35:33 +01:00
Nick Coghlan
c610aba1ed
Close #19282 : Native context management in dbm
2013-11-17 15:59:51 +10:00
Ezio Melotti
eb8ea265ba
#19238 : merge with 3.3.
2013-11-17 02:47:38 +02:00
Ezio Melotti
2bbdfe7eda
#19238 : fix typo in documentation.
2013-11-17 02:47:12 +02:00
Ezio Melotti
745d54d2fa
#17806 : Added keyword-argument support for "tabsize" to str/bytes.expandtabs().
2013-11-16 19:10:57 +02:00
Serhiy Storchaka
452bab4acf
Issue #16685 : Added support for writing any bytes-like objects in the aifc,
...
sunau, and wave modules.
2013-11-16 14:01:31 +02:00
Serhiy Storchaka
7714ebbe0e
Issue #5202 : Added support for unseekable files in the wave module.
2013-11-16 13:04:00 +02:00
Vinay Sajip
9c10d6b800
Issue #19504 : Used American spelling for 'customize'.
2013-11-15 20:58:13 +00:00
Andrew Kuchling
587e970be6
Update e-mail address
2013-11-12 10:02:35 -05:00
Vinay Sajip
56b04352f8
Issue #19504 : Used American spelling for 'customize'.
2013-11-15 20:58:47 +00:00
Andrew Kuchling
7150787b7e
Merge from 3.3
2013-11-12 10:03:20 -05:00
Nick Coghlan
d0cf0635b3
Close #19406 : Initial implementation of ensurepip
...
Patch by Donald Stufft and Nick Coghlan
2013-11-11 22:11:55 +10:00
Serhiy Storchaka
711e91b283
Issue #16685 : Added support for any bytes-like objects in the audioop module.
...
Removed support for strings.
2013-11-10 21:44:36 +02:00
Serhiy Storchaka
74af9d3cc4
Merge heads
2013-11-10 21:05:38 +02:00
Serhiy Storchaka
81895f8ee3
Issue #19261 : Added support for writing 24-bit samples in the sunau module.
2013-11-10 21:02:53 +02:00
R David Murray
589327ea7a
Merge #18985 : Improve fcntl documentation.
2013-11-07 10:51:41 -05:00
R David Murray
d5a2f0b3a1
#18985 : Improve fcntl documentation.
...
Original patch by Vajrasky Kok, further improved (I hope) by me.
2013-11-07 10:51:07 -05:00
Nick Coghlan
07155c9c14
Fix typo in updated dis docs
2013-11-06 22:12:07 +10:00
Nick Coghlan
90b8e7d2bc
Close #19378 : address flaws in the new dis module APIs
...
- confusing line_offset parameter -> first_line parameter
- systematically test and fix new file parameter
- remove redundant Bytecode.show_info() API
- rename Bytecode.display_code() to Bytecode.dis() and have it
return the multi-line string rather than printing it directly
- eliminated some not-so-helpful helpers from the bytecode_helper
test support module
Also fixed a longstanding defect (worked around in the test suite)
where lines emitted by the dis module could include trailing white
space. That no longer happens, allowing the formatting tests to be
simplified to use plain string comparisons.
2013-11-06 22:08:36 +10:00
Victor Stinner
05f31bfef3
doc: fix typo
2013-11-06 01:48:45 +01:00
Tim Golden
607981402c
Issue #10197 Tweak docs for subprocess.getstatusoutput and align the documentation, the module docstring, and the function docstring.
2013-11-05 12:57:25 +00:00
Nick Coghlan
3daaf5f89d
Fix functools.partialmethod docs and __all__
2013-11-04 23:32:16 +10:00
Georg Brandl
e051b55049
Note that examples are sorted only for convenience.
2013-11-04 07:30:50 +01:00
R David Murray
bd90d09dd0
#18678 : Correct names of spwd struct members.
...
The old names (sp_nam and sp_pwd) are kept for backward compatibility. Since
this is a long standing bug that hasn't caused any real-world problems, I'm
not backporting it. However, it is worth fixing because the corrected names
match the documentation, and more importantly now match the C struct, just
like the other struct members.
Patch by Vajrasky Kok.
2013-11-03 19:54:05 -05:00
Tim Golden
834856aca9
Merge
2013-11-03 18:27:40 +00:00
Tim Golden
7a07cc90c7
Merge
2013-11-03 18:27:07 +00:00
Tim Golden
2964138371
Issue #10197 : Indicate availability of subprocess.get[status]output on Windows and add a note about the effects of universal newlines
2013-11-03 18:25:51 +00:00
Tim Golden
3a2abb5800
Issue #10197 : Indicate availability of subprocess.get[status]output on Windows and add a note about the effects of universal newlines
2013-11-03 18:24:50 +00:00
R David Murray
c3f57e4a35
Merge #19411 : Clarify that b2a_hex/hexlify returns a bytes object.
2013-11-03 13:22:17 -05:00
R David Murray
5fdb64b5a0
#19411 : Clarify that b2a_hex/hexlify returns a bytes object.
...
Initial patch by Vajrasky Kok.
2013-11-03 13:21:38 -05:00
Nick Coghlan
8e113b418d
Close #19403 : make contextlib.redirect_stdout reentrant
2013-11-03 17:00:51 +10:00
Nick Coghlan
f4cb48a72b
Issue #4331 : Added functools.partialmethod
...
Initial patch by Alon Horev
2013-11-03 16:41:46 +10:00
Ezio Melotti
88ebfb129b
#15114 : The html.parser module now raises a DeprecationWarning when the strict argument of HTMLParser or the HTMLParser.error method are used.
2013-11-02 17:08:24 +02:00
Brett Cannon
f6901c8baa
Issue #19410 : Put back in special-casing of '' for
...
importlib.machinery.FileFinder.
While originally moved to stop special-casing '' as PathFinder farther
up the typical call chain now uses the cwd in the instance of '', it
was deemed an unnecessary risk to breaking subclasses of FileFinder to
take the special-casing out.
2013-11-01 10:37:57 -04:00
Eli Bendersky
2915dd7103
Issue #19452 : Clarify the documentation of iterparse w.r.t. events argument.
...
In 3.3 iterparse accepts a tuple in events (the C accelerator enforces this).
This limitation was lifted in Python 3.4
2013-10-31 05:53:39 -07:00
Vinay Sajip
5605613f9c
Merged documentation update from 3.3.
2013-10-31 01:11:17 +00:00
Vinay Sajip
9b83d533e2
Corrected some incorrect cross-references.
2013-10-31 01:10:30 +00:00
Charles-François Natali
4574b49703
Issue #19172 : Add a get_map() method to selectors.
2013-10-30 20:31:04 +01:00
Christian Heimes
9f09120b83
merge
2013-10-29 22:21:16 +01:00
Christian Heimes
47674bc470
fix language
2013-10-29 22:19:39 +01:00
Christian Heimes
ee0bac66b2
Issue #19227 / Issue #18747 : Remove pthread_atfork() handler to remove OpenSSL re-seeding
...
It is causing trouble like e.g. hanging processes.
2013-10-29 21:11:55 +01:00
Christian Heimes
3046fe4c03
Issue #18747 : document issue with OpenSSL's CPRNG state and fork
2013-10-29 21:08:56 +01:00
Georg Brandl
3a19a89eac
merge with 3.3
2013-10-29 08:17:08 +01:00
Georg Brandl
21527bf72f
Closes #19416 : fix references in the nntplib docs.
2013-10-29 08:14:51 +01:00
Georg Brandl
1ed80b09ed
Fix wrong signature for two-argument newwin(). Found by Jacqueline Leykam on docs@.
2013-10-29 08:10:36 +01:00
Georg Brandl
ad3215362c
Fix typo: js_JP is not a valid locale.
2013-10-29 08:05:10 +01:00
Georg Brandl
325a1c2f37
Fix markup errors in the docs and amend suspicious ignores.
2013-10-27 09:16:01 +01:00
Georg Brandl
bf3f8eb960
Issue #16037 : HTTPMessage.readheaders() raises an HTTPException when more than
...
100 headers are read. Adapted from patch by Jyrki Pulliainen.
2013-10-27 07:34:48 +01:00
Georg Brandl
72c98d3a76
Issue #17997 : Change behavior of ``ssl.match_hostname()`` to follow RFC 6125,
...
for security reasons. It now doesn't match multiple wildcards nor wildcards
inside IDN fragments.
2013-10-27 07:16:53 +01:00
Brett Cannon
6fd25c39c4
Issue #19392 : Document that imp.reload() now relies on __loader__
...
being defined on top of __name__.
2013-10-25 13:46:15 -04:00
Georg Brandl
186729e812
merge with 3.3
2013-10-27 09:54:53 +01:00
Georg Brandl
b89b5df9c9
merge with 3.3
2013-10-27 07:46:09 +01:00
Nick Coghlan
367df12044
Assorted 3.4 What's New updates
...
- cross-references and attributions for inspect changes
- note improvements to inspect and pydoc handling of
metaclasses and dynamic attributes (courtesy of the
enum PEP)
- group all CPython implementation specific changes
into a common section
- add see also links for most of the PEPs
- fix the see also link for the release PEP
- add suitable caveats on Argument Clinic inclusion
- clarify the change to __wrapped__ handling
2013-10-27 01:57:34 +10:00
Antoine Pitrou
3b2f0f0459
Issue #19375 : The site module adding a "site-python" directory to sys.path, if it exists, is now deprecated.
2013-10-25 21:39:26 +02:00
Brett Cannon
6a4cbc00ab
merge
2013-10-25 13:53:06 -04:00
Brett Cannon
8ad37860c9
Tweak some doc wording for importlib.reload
2013-10-25 13:52:46 -04:00
bquinlan
c00cf53d84
Merge.
2013-10-26 04:51:18 +11:00
bquinlan
7749cb5c35
Issue #11161 : Update the documentation for ProcessPoolExecutor to note that it will not work in the interactive shell.
2013-10-26 04:49:55 +11:00
Brett Cannon
50aa32409b
merge from 3.3
2013-10-25 13:49:20 -04:00
Christian Heimes
c4a4b346a6
Issue #16595 : prlimit() needs Linux kernel 2.6.36+
2013-10-25 08:31:19 +02:00
Peter Moody
e5019d5183
#17400 : correct handling of 100.64.0.0/10, fixing the docs and updating NEWS
2013-10-24 09:47:10 -07:00
Peter Moody
be9c1b133b
#17400 : fix documentation, add cache to is_global and correctly handle 100.64.0.0/10
2013-10-22 12:36:21 -07:00
Tim Golden
a4df90ceb9
Issue #15207 : Fix mimetypes to read from correct area in Windows registry (Original patch by Dave Chambers)
2013-10-22 20:03:47 +01:00
Tim Golden
27a856495e
Issue #15207 : Fix mimetypes to read from correct area in Windows registry (Original patch by Dave Chambers)
2013-10-22 19:27:34 +01:00
Christian Heimes
b7bd5df809
Issue #16595 : Add prlimit() to resource module
...
prlimit() is a Linux specific command that combines setrlimit, getrlimit and can set the limit
of other processes.
2013-10-22 11:21:54 +02:00
Christian Heimes
6fc79bf813
Issue #19324 : Expose Linux-specific constants in resource module
2013-10-22 11:09:27 +02:00
Peter Moody
8ed30c15e8
#17400 ; NEWS and ipaddress.rst change
2013-10-21 16:16:51 -07:00
Georg Brandl
a3fdcaa5d6
Closes #19323 : fix typo. Thanks to Michael Merickel.
2013-10-21 09:08:39 +02:00
Georg Brandl
1a51b558a5
Simplify markup.
2013-10-21 09:07:31 +02:00
Georg Brandl
eb2aeecc2f
Reformat statistics.rst and remove unnecessary headings for each function.
2013-10-21 08:57:26 +02:00
Georg Brandl
a606542e95
#19274 : use captured_stdout() in the test suite; add NEWS entry.
2013-10-21 08:29:29 +02:00
Raymond Hettinger
c93dbe2f9b
Issue #19271 : By Python3.4, the Python 2.4 backport links are no longer of much interest.
2013-10-20 20:42:07 -07:00
Guido van Rossum
2063aafc6e
Update faulthandler docs.
2013-10-20 19:15:19 -07:00
Christian Tismer
59202e5fc7
add a filterfunc to zip file.PyZipFile.writepy, issue 19274
2013-10-21 03:59:23 +02:00
Ezio Melotti
47f1b762fd
#19319 : merge with 3.3.
2013-10-21 04:42:12 +03:00
Ezio Melotti
e45975080b
#19319 : fix ctypes docs: sizeof is an operator in C, not a function.
2013-10-21 04:41:40 +03:00
Ezio Melotti
632f1bfd39
#19238 , #19289 : merge with 3.3.
2013-10-21 02:53:30 +03:00
Ezio Melotti
c318442571
#19238 , #19289 : fix description of the align and fill values of the format specification.
2013-10-21 02:53:07 +03:00
Benjamin Peterson
4ea16e56eb
remove backticks
2013-10-20 17:52:54 -04:00
Benjamin Peterson
44c3065b62
fix declaration of StatisticsError
2013-10-20 17:52:09 -04:00
Nick Coghlan
0acceb7697
What's New updates prior to alpha
2013-10-20 13:22:21 +10:00
Ned Deily
3586673703
Issue #19304 : Fix typos noted by Claudiu Popa.
2013-10-19 12:10:01 -07:00
Larry Hastings
f5e987bbe6
Issue #18606 : Add the new "statistics" module (PEP 450). Contributed
...
by Steven D'Aprano.
2013-10-19 11:50:09 -07:00
Serhiy Storchaka
eaea5e9107
Issue #12866 : The audioop module now supports 24-bit samples.
2013-10-19 21:10:46 +03:00
Georg Brandl
0f5bff24ab
Doc markup fixes.
2013-10-19 17:46:38 +02:00
Nick Coghlan
8608d26e81
contextlib doc updates and refactoring
...
- explain single use, reusable and reentrant in docs
- converted suppress to a reentrant class based impl
- converted redirect_stdout to a reusable impl
- moved both suppress and redirect_stdout behind a functional
facade
- added reentrancy tests for the updated suppress
- added reusability tests for the updated redirect_stdio
- slightly cleaned up an exception from contextmanager
2013-10-20 00:30:51 +10:00
Christian Heimes
e723622775
Issue #18582 : provide a faster C implementation of pbkdf2_hmac that works with OpenSSL < 1.0
2013-10-19 14:24:44 +02:00
Christian Heimes
3626a505db
Issue #19254 : Provide an optimized Python implementation of PBKDF2_HMAC
2013-10-19 14:12:02 +02:00
Nadeem Vawda
ee1be99e05
Issue #19222 : Add support for the 'x' mode to the gzip module.
...
Original patch by Tim Heaney.
2013-10-19 00:11:13 +02:00
Nadeem Vawda
8a9e99cffc
Issue #19223 : Add support for the 'x' mode to the bz2 module.
...
Patch by Tim Heaney and Vajrasky Kok.
2013-10-19 00:11:06 +02:00
Nadeem Vawda
42ca98217c
Issue #19201 : Add support for the 'x' mode to the lzma module.
...
Patch by Tim Heaney and Vajrasky Kok.
2013-10-19 00:06:19 +02:00
Brett Cannon
27e27f7ee1
Issue #18416 : Have importlib.machinery.PathFinder treat '' as the cwd
...
and stop importlib.machinery.FileFinder treating '' as '.'.
Previous PathFinder transformed '' into '.' which led to __file__ for
modules imported from the cwd to always be relative paths. This meant
the values of the attribute were wrong as soon as the cwd changed.
This change now means that as long as the site module is run (which
makes all entries in sys.path absolute) then all values for __file__
will also be absolute unless it's for __main__ when specified by file
path in a relative way (modules imported by runpy will have an
absolute path).
Now that PathFinder is no longer treating '' as '.' it only makes
sense for FileFinder to stop doing so as well. Now no transformation
is performed for the directory given to the __init__ method.
Thanks to Madison May for the initial patch.
2013-10-18 11:39:04 -04:00
Serhiy Storchaka
ef23f1875d
Fix markup.
2013-10-18 11:55:30 +03:00
Serhiy Storchaka
335331311f
Fix markup.
2013-10-18 11:55:02 +03:00
Ethan Furman
2498d9e968
Issue #19272 : slight clarification of pickle docs with regard to lambda.
2013-10-18 00:45:40 -07:00
Ethan Furman
63c141cacd
Close #19030 : inspect.getmembers and inspect.classify_class_attrs
...
Order of search is now:
1. Try getattr
2. If that throws an exception, check __dict__ directly
3. If still not found, walk the mro looking for the eldest class that has
the attribute (e.g. things returned by __getattr__)
4. If none of that works (e.g. due to a buggy __dir__, __getattr__, etc.
method or missing __slot__ attribute), ignore the attribute entirely.
2013-10-18 00:27:39 -07:00
Georg Brandl
2bb0ac0ace
merge with 3.3
2013-10-17 19:52:33 +02:00
Georg Brandl
9ff06dcfad
Fix inaccurate versionchanged tag for compressobj(): most parameter were there, just got kwarg support.
2013-10-17 19:51:34 +02:00
Nick Coghlan
240f86d7dd
Close #19266 : contextlib.ignore -> contextlib.suppress
...
Patch by Zero Piraeus.
2013-10-17 23:40:57 +10:00
R David Murray
3da240fd01
#18891 : Complete new provisional email API.
...
This adds EmailMessage and, MIMEPart subclasses of Message
with new API methods, and a ContentManager class used by
the new methods. Also a new policy setting, content_manager.
Patch was reviewed by Stephen J. Turnbull and Serhiy Storchaka,
and reflects their feedback.
I will ideally add some examples of using the new API to the
documentation before the final release.
2013-10-16 22:48:40 -04:00
Richard Oudkerk
b1694cf588
Issue #18999 : Make multiprocessing use context objects.
...
This allows different parts of a program to use different methods for
starting processes without interfering with each other.
2013-10-16 16:41:56 +01:00
Serhiy Storchaka
acc9f3fb16
Issue #18725 : The textwrap module now supports truncating multiline text.
2013-10-15 21:22:54 +03:00
Serhiy Storchaka
0186721397
Issue #19189 : Improved cross-references in the pickle module documentation.
2013-10-14 10:44:25 +03:00
Serhiy Storchaka
5bbbc94073
Issue #19189 : Improved cross-references in the pickle module documentation.
2013-10-14 10:43:46 +03:00
Serhiy Storchaka
ca1d6db6d3
Merge heads
2013-10-13 23:27:44 +03:00
Serhiy Storchaka
72aabb6177
Merge heads
2013-10-13 23:27:23 +03:00
Georg Brandl
a7c17e552d
Fix spacing of toplevel items.
2013-10-13 22:25:10 +02:00
Georg Brandl
3e30d471e9
merge with 3.3
2013-10-13 22:23:34 +02:00
Georg Brandl
810f1d56ea
Wing IDE is switching to PyQt...
2013-10-13 22:23:27 +02:00
Serhiy Storchaka
98b28fddd8
Issue #18758 : Fixed and improved cross-references.
2013-10-13 23:12:09 +03:00
Serhiy Storchaka
bfdcd436f0
Issue #18758 : Fixed and improved cross-references.
2013-10-13 23:09:14 +03:00
Georg Brandl
fbc3c3c2be
Closes #17730 : in code.interact(), when banner="", do not print anything.
...
Also adds tests for banner printing.
2013-10-13 21:49:06 +02:00
Serhiy Storchaka
7ff4520584
Issue #19197 : Improved cross-references in the shlex module documentation.
2013-10-13 21:20:30 +03:00
Serhiy Storchaka
4e985673bf
Issue #19197 : Improved cross-references in the shlex module documentation.
2013-10-13 21:19:00 +03:00
Serhiy Storchaka
690a6a95bd
Issue #19207 : Improved cross-references in the os, os.path, and posix modules
...
documentation.
2013-10-13 20:13:37 +03:00
Serhiy Storchaka
dab8354920
Issue #19207 : Improved cross-references in the os, os.path, and posix modules
...
documentation.
2013-10-13 20:12:43 +03:00
Serhiy Storchaka
10e73babad
Improve #19204 : Improved cross-references in the urllib package documentation.
2013-10-13 20:07:51 +03:00
Serhiy Storchaka
5e1c053f0c
Improve #19204 : Improved cross-references in the urllib package documentation.
2013-10-13 20:06:50 +03:00
Georg Brandl
ef1605afa8
merge with 3.3
2013-10-13 18:38:53 +02:00
Georg Brandl
b7117af07d
Refer to strftime(3) manpage for platform specific format codes.
...
Suggested by Skip Montanaro on docs@.
2013-10-13 18:28:25 +02:00
Serhiy Storchaka
221d943c5b
Issue #19198 : Improved cross-references in the cgi module documentation.
2013-10-13 18:29:08 +03:00
Serhiy Storchaka
fd1c3d3059
Issue #19198 : Improved cross-references in the cgi module documentation.
2013-10-13 18:28:26 +03:00
Nick Coghlan
e206b6e10e
Issue #17827 : document codecs.encode and codecs.decode
...
- Merge from 3.3
- Added to What's New since these are more important in 3.x,
as the bytes<->bytes and str<->str codecs don't fit the
text model convenience methods in 3.x the way they did the
basestring<->basestring methods in the 2.x text model
- Included under Library in Misc/NEWS for the same reason
2013-10-14 00:55:46 +10:00
Nick Coghlan
6cb2b5b1e1
Issue #17827 : Document codecs.encode and codecs.decode
2013-10-14 00:22:13 +10:00
Nick Coghlan
b4534ae704
Docs tweaks for contextlib additions
2013-10-13 23:23:08 +10:00
Georg Brandl
31f6f4dd03
merge with 3.3
2013-10-13 10:49:47 +02:00
Georg Brandl
aeaecfd257
Closes #13740 : SND_NOWAIT seems to be ignored on modern Windows.
2013-10-13 10:49:41 +02:00
Georg Brandl
daa1fa991c
Back out accidentally pushed changeset b51218966201.
2013-10-13 09:32:59 +02:00
Georg Brandl
4300019e1a
Add re.fullmatch() function and regex.fullmatch() method, which anchor the
...
pattern at both ends of the string to match.
Patch by Matthew Barnett.
Closes #16203 .
2013-10-13 09:18:45 +02:00
Christian Heimes
f1dc3ee16d
Issue #19218 : Rename collections.abc to _collections_abc in order to speed up interpreter start
2013-10-13 02:04:20 +02:00
Raymond Hettinger
84fc7081f5
merge
2013-10-12 16:04:39 -07:00
Raymond Hettinger
64801680d3
Issue #19202 : Add cross-reference and a rough code equivalent
2013-10-12 16:04:17 -07:00
Christian Heimes
e92ef13b0a
Issue #18582 : Add 'pbkdf2_hmac' to the hashlib module.
2013-10-13 00:52:43 +02:00
Georg Brandl
3cb26b77b6
merge with 3.3
2013-10-12 18:41:23 +02:00
Georg Brandl
c96ef1f0ed
Closes #13026 : fix documentation of MAKE_FUNCTION for 3.x.
2013-10-12 18:41:18 +02:00
Georg Brandl
32b2c62db4
merge with 3.3
2013-10-12 18:19:48 +02:00
Georg Brandl
57f936ecde
Closes #19179 : make table of XML vulnerabilities clearer by using "everyday" booleans and explaining the table beforehand.
2013-10-12 18:19:33 +02:00
Raymond Hettinger
1254b407ac
Rename contextlib.ignored() to contextlib.ignore().
2013-10-10 22:39:39 -07:00
R David Murray
d57937656d
#18764 : p(rint) -> p in pdb docs.
...
Missed changing the doc for the command itself, patch for that also by Connor
Osborn.
2013-10-10 17:33:43 -04:00
Benjamin Peterson
94d08d908b
upgrade unicode db to 6.3.0 ( closes #19221 )
2013-10-10 17:24:45 -04:00
R David Murray
78d692f98e
18764: remove the problematic 'print' alias for the PDB 'p' command.
...
So that it no longer shadows the print function.
Patch by Connor Osborn, doc and test changes by R. David Murray.
2013-10-10 17:23:26 -04:00
Raymond Hettinger
088cbf2d39
Issue #15805 : Add contextlib.redirect_stdout()
2013-10-10 00:46:57 -07:00
Georg Brandl
213ef6eb07
Closes #19200 : small grammar fix in multiprocessing docs. Thanks to Elazar Gershuni.
2013-10-09 15:51:57 +02:00
Serhiy Storchaka
210871db72
#19194 : Improved cross-references in the fcntl module documentation.
2013-10-09 14:20:37 +03:00
Serhiy Storchaka
926099d5ce
#19194 : Improved cross-references in the fcntl module documentation.
2013-10-09 14:20:22 +03:00
Serhiy Storchaka
0d85b5c68d
Issue #19190 : Improve cross-references in builtin types and functions documentation.
2013-10-09 14:03:24 +03:00
Serhiy Storchaka
0d196edc37
Issue #19190 : Improve cross-references in builtin types and functions documentation.
2013-10-09 14:02:31 +03:00
Antoine Pitrou
77e904e6a6
Issue #18948 : improve SuppressCoreFiles to include Windows crash popup suppression, and use it in more tests.
...
Patch by Valerie Lambert and Zachary Ware.
2013-10-08 23:04:32 +02:00
Georg Brandl
bc332a2415
merge with 3.3
2013-10-08 21:43:46 +02:00
Georg Brandl
f24c1416eb
Fix wrong link.
2013-10-08 21:43:39 +02:00
Georg Brandl
7c679514a5
merge with 3.3
2013-10-06 21:23:26 +02:00
Georg Brandl
c377fe2b96
Closes #1215 : document better why it is not a good idea to catch e.g. SIGSEGV and refer to faulthandler.
...
Patch by Martin Pool.
2013-10-06 21:22:42 +02:00
Georg Brandl
fd11551710
merge with 3.3
2013-10-06 19:34:19 +02:00
Georg Brandl
29fc4bf5c7
Use the platform-independent way of calling a script from the shell: "python prog.py", not "prog.py"
...
Found by Micheal Wells on docs@.
2013-10-06 19:33:56 +02:00
Georg Brandl
aca718e9f1
merge with 3.3
2013-10-06 19:27:17 +02:00
Georg Brandl
136a050bf3
Fix name of the "exist_ok" argument. Found by Neil Bushong on docs@.
2013-10-06 19:27:13 +02:00
Georg Brandl
a2a7e243aa
merge with 3.3
2013-10-06 19:24:00 +02:00
Georg Brandl
9ad417ee81
Fix: >= and so on are usually called "comparison operators", not "logical operators". Found by Tom Kalt on docs@.
2013-10-06 19:23:57 +02:00
Georg Brandl
89672bf129
merge with 3.3
2013-10-06 19:19:26 +02:00
Georg Brandl
6647a719bc
Fix: win32_ver returns a 4-tuple. Found by Andrew Berg on docs@.
2013-10-06 19:19:18 +02:00
Georg Brandl
3686db104c
merge with 3.3
2013-10-06 19:14:46 +02:00
Georg Brandl
f6d6347fc0
Fix typo in function name.
2013-10-06 19:14:35 +02:00
Georg Brandl
b68b970a01
merge with 3.3
2013-10-06 19:02:13 +02:00
Georg Brandl
ffb94ae46f
Closes #15432 : GzipFile mtime argument is new in 3.1.
2013-10-06 19:02:08 +02:00
Georg Brandl
434bdf413f
merge with 3.3
2013-10-06 18:58:03 +02:00
Georg Brandl
9ad5bf662d
Closes #15228 : remove reference to Unix "touch"; it is confusing since the path needs to exist for os.utime() to succeed
2013-10-06 18:57:49 +02:00
Georg Brandl
94c1467bad
merge with 3.3
2013-10-06 18:57:02 +02:00
Georg Brandl
fc9a113418
Closes #11807 : document argparse add_subparsers method better.
...
Patch by Filip Gruszczyński.
2013-10-06 18:51:39 +02:00
Georg Brandl
af1edb7f45
merge with 3.3
2013-10-06 18:48:30 +02:00
Georg Brandl
c6a2c9b466
Closes #15213 : update comment for _PyOS_URandom
2013-10-06 18:43:19 +02:00
Georg Brandl
7cc439a877
merge with 3.3
2013-10-06 18:26:43 +02:00
Georg Brandl
6e94a3098e
The "FAQ" link at the end was changed to a Wikipedia link; reflect that.
2013-10-06 18:26:36 +02:00
Georg Brandl
99b1a12f2f
merge with 3.3
2013-10-06 18:20:39 +02:00
Georg Brandl
4a6cf6c9d1
Closes #19177 : replace dead link to SSL/TLS introduction with the version from Apache.
2013-10-06 18:20:31 +02:00
Georg Brandl
e448ccaa6f
merge with 3.3
2013-10-06 18:18:16 +02:00
Georg Brandl
036e41de52
Closes #19181 : replace non-existing host ftp.cwi.nl with ftp.debian.org in ftplib example.
2013-10-06 18:17:56 +02:00
Georg Brandl
15f57f61cb
merge with 3.3
2013-10-06 18:12:13 +02:00
Georg Brandl
0bbbeb59f4
Closes #12350 : clarify blocks/block size members of stat result.
2013-10-06 18:11:32 +02:00
Georg Brandl
92965099a6
merge with 3.3
2013-10-06 13:24:52 +02:00
Georg Brandl
df40e860d3
Fix typo. Spotted by Bo Bayles on docs@.
2013-10-06 13:24:49 +02:00
Georg Brandl
cfcd686acf
merge with 3.3
2013-10-06 13:17:14 +02:00
Georg Brandl
9c2505b8fc
Fix order of required StreamReader/StreamWriter base classes. Spotted by Edward Welbourne on docs@.
2013-10-06 13:17:04 +02:00
Georg Brandl
7caabe09aa
merge with 3.3
2013-10-06 13:10:06 +02:00
Georg Brandl
ed86ff868a
Fix missing class name in markup. Found by Tanky Woo on docs@.
2013-10-06 13:09:59 +02:00
Georg Brandl
f70acb7874
merge with 3.3
2013-10-06 12:58:26 +02:00
Georg Brandl
2070e83f28
Fix example in backreference description. Found by Alexander Heger on docs@.
2013-10-06 12:58:20 +02:00
Georg Brandl
93c85a9d1b
merge with 3.3
2013-10-06 12:52:53 +02:00
Georg Brandl
a0b792354e
Fix method name: ensure_directories, not create_directories. Found by Michael Rand on docs@.
2013-10-06 12:52:49 +02:00
Georg Brandl
892cd0ef1f
merge with 3.3
2013-10-06 12:46:35 +02:00
Georg Brandl
0688d68d14
PythonCAD is now on PyQt, use Wing as a prominent PyGtk example.
...
Found by Helge Stenström on docs@.
2013-10-06 12:46:13 +02:00
Georg Brandl
92666d9c2b
merge with 3.3
2013-10-06 12:42:40 +02:00
Georg Brandl
d277a56af3
Fix minor bug in httplib example. Found by Alex MacAulay on docs@.
2013-10-06 12:42:18 +02:00
Georg Brandl
9ace9648e5
merge with 3.3
2013-10-06 12:38:57 +02:00
Georg Brandl
3c1271142d
Fix SQLite datatype name: it is REAL, not FLOAT. Found by Richard Kelsall on docs@.
2013-10-06 12:38:44 +02:00
Georg Brandl
924c822f73
merge with 3.3
2013-10-06 12:37:21 +02:00
Georg Brandl
87f3d7bb54
Counter: fix recipe for "n least common elements". Found by Mikhail Golubev on docs@.
2013-10-06 12:36:39 +02:00
Georg Brandl
3e1e1cfaa6
merge with 3.3
2013-10-06 12:33:31 +02:00
Georg Brandl
f27bfd81ec
Fix typo.
2013-10-06 12:33:20 +02:00
Georg Brandl
5993e29d36
merge with 3.3
2013-10-06 12:08:58 +02:00
Georg Brandl
3c6780c6d8
Closes #15956 : improve documentation of named groups and how to reference them.
2013-10-06 12:08:14 +02:00
Georg Brandl
38552a6661
merge with 3.3
2013-10-06 10:51:07 +02:00
Georg Brandl
b33c6eb640
Closes #13951 : Add a "faulthandler" reference in the ctypes docs talking about crashes.
2013-10-06 10:51:01 +02:00
Georg Brandl
55f4d56091
merge with 3.3
2013-10-06 10:48:48 +02:00
Georg Brandl
b19ef1846c
Closes #18927 : Lock.acquire only accepts -1 or positive values for timeout.
2013-10-06 10:48:08 +02:00
Georg Brandl
3db684ff45
merge with 3.3
2013-10-06 10:11:48 +02:00
Georg Brandl
58d58dad56
Fix small copy-paste typo in ossaudiodev setparameters() example (found by Ken Housley on docs@).
2013-10-06 10:11:12 +02:00
Georg Brandl
1cb28a1be8
merge with 3.3
2013-10-06 09:53:11 +02:00
Georg Brandl
f6324941f0
Clarify docs for os.path.getctime on Unix: it is the inode (metadata) change time
2013-10-06 09:52:55 +02:00
Georg Brandl
d1830c422d
merge with 3.3
2013-10-06 09:50:49 +02:00
Georg Brandl
d2914ce0f7
Fix prefix_chars not being applied in help text example (reported by John Kooker on docs@)
2013-10-06 09:50:36 +02:00
Georg Brandl
808ddaa3ec
merge with 3.3
2013-10-06 09:49:18 +02:00
Georg Brandl
74883a3751
Fix markup to not add parens to the "hashlib.md5" constructor when the object is meant, not the call.
2013-10-06 09:48:47 +02:00
Georg Brandl
e678f51e23
merge with 3.3
2013-10-06 09:32:15 +02:00
Georg Brandl
a84d473f02
Remove dead link to effbot Tkinter introduction material (reported by Ralf Ganswindt from docs@)
2013-10-06 09:32:03 +02:00
Georg Brandl
834a73bf4f
merge with 3.3
2013-10-06 09:23:19 +02:00
Georg Brandl
bdaee3ac95
Fix: Element.text is an attribute, not a method (report by Cameron Laird on docs@)
2013-10-06 09:23:03 +02:00
Georg Brandl
dcd4555242
merge with 3.3
2013-10-06 09:17:52 +02:00
Georg Brandl
c2b17b2eba
Fix "customer timer" -> "custom timer" (reported by Kirk Strauser on docs@)
2013-10-06 09:17:43 +02:00
Eric Snow
dcd01b4932
[issue 19152] Add versionadded for ExtensionFileLoader.get_filename().
2013-10-04 20:35:34 -06:00
Ezio Melotti
17f1eddcfe
Add missing comma.
2013-10-05 04:26:06 +03:00
Ezio Melotti
93d7dda914
#19148 : fix markup errors and wording in enum docs. Patch by Esa Peuha.
2013-10-05 04:13:18 +03:00
Brett Cannon
1448ecf470
Issue #18716 : Deprecate the formatter module
2013-10-04 11:38:59 -04:00
Jesus Cea
cc5d49e3da
MERGE: Close #19160 : Inconsistent size for GIL release in hashlib
2013-10-04 04:21:02 +02:00
Jesus Cea
5b22dd87aa
Close #19160 : Inconsistent size for GIL release in hashlib
2013-10-04 04:20:37 +02:00
Jesus Cea
5f0f51239b
MERGE: Close #19160 : Inconsistent size for GIL release in hashlib
2013-10-04 04:15:48 +02:00
Jesus Cea
f5c499e16c
Close #19160 : Inconsistent size for GIL release in hashlib
2013-10-04 04:15:06 +02:00
Eric Snow
5c4b4c530f
[issue19152] Revert 832579dbafd6.
2013-10-03 15:03:29 -06:00
Eric Snow
af8566c847
[issue19152] Add ExtensionFileLoader.get_filename().
2013-10-03 12:08:55 -06:00
Eric Snow
5179445520
[issue19152] Add ExtensionFileLoader.get_filename().
2013-10-03 12:08:55 -06:00
Serhiy Storchaka
09bb846b01
Issue #19132 : Add versionchanged tags.
2013-10-02 21:40:21 +03:00
Nick Coghlan
fdf239a855
Close #17839 : support bytes-like objects in base64 module
...
This mostly affected the encodebytes and decodebytes function
(which are used by base64_codec)
Also added a test to ensure all bytes-bytes codecs can handle
memoryview input and tests for handling of multidimensional
and non-bytes format input in the modern base64 API.
2013-10-03 00:43:22 +10:00
Nick Coghlan
45163ccce4
Close #18690 : register memoryview with Sequence ABC
2013-10-02 22:31:47 +10:00
Vinay Sajip
dff9e2535f
Closes #19139 : Changed usage of __VENV_NAME__ and added __VENV_PROMPT__.
2013-10-02 11:36:16 +01:00
Serhiy Storchaka
7c411a4041
Issue #19132 : The pprint module now supports compact mode.
2013-10-02 11:56:18 +03:00
Nick Coghlan
f05d981f58
Close #10042 : functools.total_ordering now handles NotImplemented
...
(Patch by Katie Miller)
2013-10-02 00:02:03 +10:00
Senthil Kumaran
65870835a0
merge from 3.3. Minor urllib.parse.rst docs fix.
2013-09-30 22:12:51 -07:00
Senthil Kumaran
21b2933456
Minor doc fix in urllib.parse.rst
2013-09-30 22:12:16 -07:00
Antoine Pitrou
20b85557f2
Issue #19095 : SSLSocket.getpeercert() now raises ValueError when the SSL handshake hasn't been done.
2013-09-29 19:50:53 +02:00
Nick Coghlan
4cc2afa0ec
Close #18990 : remove root attribute from XMLPullParser
...
- this was an internal implementation detail for iterparse
- this has been changed to use a new private method instead
- XMLPullParser.close docs are now more explicit about not
returning a root element and instead direct users towards
read_events
- also added missing docstrings and clarified some details
related to exactly *when* events are consumed from the
internal queue
(Initial patch by Stefan Behnel)
2013-09-28 23:50:35 +10:00
Ethan Furman
9a1daf5765
Close #19011 : Add documentation on some of the non-standard Enum behavior.
...
Issues such as iterating and containment on Enum classes, why Enum member
instances do not show up on other Enum members, and how __new__ should
be used.
2013-09-27 22:58:06 -07:00
Vinay Sajip
5421f35d5e
logging: added support for Unix domain sockets to SocketHandler and DatagramHandler.
2013-09-27 18:18:28 +01:00
Jason R. Coombs
0c47f34385
Issue #18978 : Update docs to reflect explicitly the ability to set the attribute at the class level.
2013-09-22 09:33:45 -04:00
Nick Coghlan
f94a16b494
Close #18626 : add a basic CLI for the inspect module
2013-09-22 22:46:49 +10:00
Nick Coghlan
4c7fe6a5ad
Avoid inconsistent use of 'finalizer'
2013-09-22 21:32:12 +10:00
Nick Coghlan
be57ab8a34
Close #19047 : weakref doc cleanups
...
- be clear finalizers survive automatically
- update for PEP 442 __del__ changes
- mention module cleanup changes and weakref.finalize in What's New
2013-09-22 21:26:30 +10:00
Senthil Kumaran
3af4fad555
Correcting the mistake in 678e3c0d2d99
...
Merge from 3.3
Addresses Issue #18553 : isatty is not Unix only.
2013-09-19 00:10:17 -07:00
Senthil Kumaran
2a97cee5ed
Correcting the mistake in 14ba90816930
...
Addresses Issue #18553 : isatty is not Unix only.
2013-09-19 00:08:56 -07:00
R David Murray
4750fa8369
Merge #14984 : On POSIX, enforce permissions when reading default .netrc.
2013-09-17 21:28:17 -04:00
R David Murray
fb9dc0b3ae
Merge #14984 : On POSIX, enforce permissions when reading default .netrc.
2013-09-17 21:04:50 -04:00
R David Murray
8270a2c209
Merge #14984 : On POSIX, enforce permissions when reading default .netrc.
2013-09-17 20:32:54 -04:00
R David Murray
104aab956f
#14984 : On POSIX, enforce permissions when reading default .netrc.
...
Initial patch by Bruno Piguet.
This is implemented as if a useful .netrc file could exist without passwords,
which is possible in the general case; but in fact our netrc implementation
does not support it. Fixing that issue will be an enhancement.
2013-09-17 20:30:02 -04:00
Serhiy Storchaka
3c41154331
Issue #17003 : Unified the size argument names in the io module with common
...
practice.
2013-09-16 23:18:10 +03:00
Andrew Kuchling
173a157e72
#1565525 : Add traceback.clear_frames() helper function to clear locals ref'd by a traceback
2013-09-15 18:15:56 -04:00
Ethan Furman
101e0746d3
Close #18989 : enum members will no longer overwrite other attributes, nor be overwritten by them.
2013-09-15 12:34:36 -07:00
Senthil Kumaran
defe7f4c62
Expose --bind argument for http.server, enable http.server to bind to a user
...
specified network interface.
Patch contributed by Malte Swart. Addresses issue #17764 .
HG :Enter commit message. Lines beginning with 'HG:' are removed.
2013-09-15 09:37:27 -07:00
Georg Brandl
5642ff9d8e
Fixup reST syntax errors and streamline docs of PEP 446.
2013-09-15 10:37:57 +02:00
Ethan Furman
668dede7e9
Close #18929 : inspect.classify_class_attrs will now search the metaclasses (last) to find where an attr was defined.
2013-09-14 18:53:26 -07:00
Antoine Pitrou
7c89ae206e
Address Terry's comments
2013-09-15 02:01:39 +02:00
Antoine Pitrou
0715b9fad3
Issue #18937 : Add an assertLogs() context manager to unittest.TestCase to ensure that a block of code emits a message using the logging module.
2013-09-14 19:45:47 +02:00
Brett Cannon
a87e31ca52
Issue #18955 : clarify what is removed by importlib.util.module_for_loader.
2013-09-13 16:52:19 -04:00
Ezio Melotti
92ed89081e
#18951 : merge with 3.3.
2013-09-13 22:18:02 +03:00
Ezio Melotti
560a77881b
#18951 : use consistent names in unittest docs.
2013-09-13 22:17:40 +03:00
Senthil Kumaran
aa1004da97
merge from 3.3
...
Clarify mmap.close method behavior. Addresses issue #18815
Patch contributed by Anoop Thomas Mathew.
2013-09-09 22:40:13 -07:00
Senthil Kumaran
b9183950d8
Clarify mmap.close method behavior. Addresses issue #18815
...
Patch contributed by Anoop Thomas Mathew.
2013-09-09 22:39:28 -07:00
Senthil Kumaran
8a7687a631
merge from 3.3
...
Document Fraction's numerator and denominator properties.
Addresses issue #18800
2013-09-09 19:58:20 -07:00
Senthil Kumaran
b505a6ac91
Document Fraction's numerator and denominator properties.
...
Addresses issue #18800
2013-09-09 19:57:37 -07:00
Raymond Hettinger
fb92f393b0
Issue 18752: Make chain.from_iterable() more visible in the documentation.
2013-09-09 02:01:35 -05:00
Raymond Hettinger
223b9c36ad
merge
2013-09-09 01:55:31 -05:00
Raymond Hettinger
ee09458e08
merge
2013-09-09 01:55:07 -05:00
Raymond Hettinger
1e21ebcc2a
Issue 18301: The classmethod decorator didn't fit well with the rough-equivalent example code.
2013-09-09 01:54:27 -05:00
Ethan Furman
455bfdea2f
Close #18980 : Enum doc fixes. Patch from Elazar Gershuni.
2013-09-08 23:48:34 -07:00
Raymond Hettinger
8df58f7ae8
Issue 18752: Make chain.from_iterable() more visible in the documentation.
2013-09-09 01:29:40 -05:00
Nick Coghlan
ff6382b40d
Merge #18952 fix from 3.3
2013-09-08 12:49:53 +10:00
Nick Coghlan
0494c2ae7f
Close #18952 : correctly download test support data
...
When test.support was converted to a package, it started silently
skipping the tests which needed to download support data to run.
This change refactors the affected code, and also tidies up
test.support.findfile to remove the unused *here* parameter, document
the *subdir* parameter and rename the *filename* parameter to avoid
shadowing the file builtin and be consistent with the documentation.
The unexpected skips were noticed and reported by Zachary Ware
2013-09-08 11:40:34 +10:00
Senthil Kumaran
b1424a2908
merge from 3.3
...
Correct Profile class usage example. Addresses issue #18033 .
Patch contributed by Olivier Hervieu and Dmi Baranov.
2013-09-07 17:52:38 -07:00
Senthil Kumaran
21101f7038
Correct Profile class usage example. Addresses issue #18033 .
...
Patch contributed by Olivier Hervieu and Dmi Baranov.
2013-09-07 17:51:58 -07:00
Senthil Kumaran
59b74ec5e3
merge from 3.3
...
Removing the mention of os.isatty mention as Unix only
Correct the wrong documentation.
2013-09-07 11:30:04 -07:00
Senthil Kumaran
1b90227c0d
Removing the mention of os.isatty mention as Unix only
...
Correct the wrong documentation.
2013-09-07 11:28:58 -07:00
Ezio Melotti
84eadd8651
#18895 : merge with 3.3.
2013-09-07 15:24:01 +03:00
Ezio Melotti
e64a91a890
#18895 : split a sentence in unittest docs.
2013-09-07 15:23:36 +03:00
Ezio Melotti
0cd94428ad
#18894 : merge with 3.3.
2013-09-07 15:20:03 +03:00
Ezio Melotti
e2202365ed
#18894 : remove mention of deprecated fail* methods.
2013-09-07 15:19:30 +03:00
Ethan Furman
ed0bf8a729
Close #18908 : Keep Enum docs in their own section. Patch by Elazar Gershuni.
2013-09-06 19:53:30 -07:00
Vinay Sajip
e2549df82e
Closes #18939 : Merged documentation update from 3.3.
2013-09-06 09:51:27 +01:00
Vinay Sajip
a704582002
Issue #18939 : Updated venv documentation with some clarifications.
2013-09-06 09:50:43 +01:00
Vinay Sajip
db2c6819ba
Closes #18933 : Merged update from 3.3.
2013-09-05 23:02:45 +01:00
Vinay Sajip
31b862d40b
Issue #18933 : Added links to source code.
2013-09-05 23:01:07 +01:00
Victor Stinner
73821c47dc
Issue #16853 : Mention the new selectors module in the select module
2013-09-04 20:40:13 +02:00
Charles-François Natali
243d8d85de
Issue #16853 : Add new selectors module.
2013-09-04 19:02:49 +02:00
Andrew Svetlov
58b5c5ad14
Issue #18882 : Add threading.main_thread() function.
2013-09-04 07:01:07 +03:00
Serhiy Storchaka
e06a89655a
Issue #18901 : The sunau getparams method now returns a namedtuple rather than
...
a plain tuple. Patch by Claudiu Popa.
2013-09-04 00:43:03 +03:00
Ethan Furman
ec15a826ce
Close #18738 : Route __format__ calls to mixed-in type for mixed Enums (such as IntEnum).
2013-08-31 19:17:41 -07:00
Eli Bendersky
2c68e300e5
Fix XMLPullParser documentation to say "non-blocking" instead of "asynchronous".
...
The latter is more ambiguous.
Related to issue #17741
2013-08-31 07:37:23 -07:00
Eli Bendersky
b586934f0e
Issue #17741 : Rename IncrementalParser and its methods.
...
The new names are hopefully more descriptive and consistent. If you feel you
don't agree with this change, *please* read issue 17741 first - there's a lot of
discussion in there.
2013-08-30 05:51:20 -07:00
Serhiy Storchaka
a8c2a8aa8d
Issue #18760 : Improved cross-references in the xml package.
2013-08-29 10:29:30 +03:00
Serhiy Storchaka
15e6590774
Issue #18760 : Improved cross-references in the xml package.
2013-08-29 10:28:44 +03:00
Andrew Svetlov
eb97368451
Issue #11798 : TestSuite now drops references to own tests after execution.
2013-08-28 21:28:38 +03:00
Victor Stinner
daf455554b
Issue #18571 : Implementation of the PEP 446: file descriptors and file handles
...
are now created non-inheritable; add functions os.get/set_inheritable(),
os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
2013-08-28 00:53:59 +02:00