Commit graph

20163 commits

Author SHA1 Message Date
R David Murray
bf0ab8377a whatsnew: html.escape 10x faster, _gestalt module gone. 2014-02-03 01:14:03 -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
a56d4e8ea1 whatsnew: hmac accepts more bytes types, importlib decode_source, stat in C. 2014-02-02 12:50:48 -05:00
R David Murray
5147e00c81 whatsnew: -m <namespace package>, plus 'using' doc updates. 2014-02-02 12:19:57 -05:00
R David Murray
900aeb7221 whatsnew: some more importlib replacements for imp functions.
get_magic->util.MAGIC_NUMBER, source_from_cache, and cache_from_source.
2014-02-02 11:32:31 -05:00
R David Murray
4885f49e7f whatsnew: filecmp.clear_cache, and reword description of cache in docs. 2014-02-02 11:11:01 -05:00
R David Murray
70e04f5fbc whatsnew: fix importlib.reload entry.
Turns out I committed a work-in-progress entry because of a time
gap between when I wrote it and when I committed.
2014-02-02 10:50:17 -05:00
Victor Stinner
9592edb834 asyncio doc: add "asyncio-" prefix to references 2014-02-02 15:03:02 +01:00
R David Murray
8c561b52b2 whatsnew: move of reload, update new windows-only ssl functions entry. 2014-02-01 12:27:07 -05:00
Larry Hastings
7726ac9163 #Issue 20456: Several improvements and bugfixes for Argument Clinic,
including correctly generating code for Clinic blocks inside C
preprocessor conditional blocks.
2014-01-31 22:03:12 -08: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
Yury Selivanov
63da7c7b0c inspect.signature: Support duck-types of Python functions (Cython, for instance) #17159 2014-01-31 14:48:37 -05:00
Zachary Ware
28479d8c7d Issue #20460: Merge with 3.3 2014-01-31 12:06:48 -06:00
Zachary Ware
a479b7505e Issue #20460: Render 'bytes' as a class, not a function.
Patch by OSAMU NAKAMURA.
2014-01-31 12:06:14 -06: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
Andrew Kuchling
fe0f0b050d Typo fix 2014-01-31 12:17:53 -05: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
Yury Selivanov
d82eddcf05 inspect.getfullargspec: Use inspect.signature API behind the scenes #17481 2014-01-29 11:24:39 -05: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
Larry Hastings
23105d8014 Merge. 2014-01-26 22:28:06 -08:00
Benjamin Peterson
71215c584a merge 3.3 (closes #12704) 2014-01-26 22:58:42 -05:00
Benjamin Peterson
d1c85fd283 eliminate redundancy between yield stmt and yield expr docs (closes #12704)
Patch by Nikolaus Rath.
2014-01-26 22:52:08 -05: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
Nick Coghlan
77b286b2cc Close #20105: set __traceback__ when chaining exceptions in C 2014-01-27 00:53:38 +10:00
Larry Hastings
0e25410319 Documentation fixes, including fixing "suspicious" problems. 2014-01-26 00:42:02 -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
Benjamin Peterson
ce8d153b02 merge 3.3 2014-01-25 13:27:53 -05:00
Benjamin Peterson
714d7ffd0d update sphinx url 2014-01-25 13:27:06 -05:00
Benjamin Peterson
039a02c64e linkify 2014-01-25 13:26:18 -05:00
Ezio Melotti
a3642b67ca #20348: fix headers markup in Argument Clinic howto. Patch by Moritz Neeb. 2014-01-25 17:27:46 +02: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